开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
1 Star 1 Fork 0

ThirdPartProject/dev86

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
master
分支 (4)
标签 (45)
master
lr-checks
msdos
release
v0.16.21
v0.16.20
v0.16.17
v0.16.18
v0.16.19
v0.16.12
v0.16.13
v0.16.14
v0.16.15
v0.16.16
v0.16.10
v0.16.11
v0.16.8
v0.16.9
v0.16.4
v0.16.5
v0.16.6
v0.16.7
v0.16.1
v0.16.2
master
分支 (4)
标签 (45)
master
lr-checks
msdos
release
v0.16.21
v0.16.20
v0.16.17
v0.16.18
v0.16.19
v0.16.12
v0.16.13
v0.16.14
v0.16.15
v0.16.16
v0.16.10
v0.16.11
v0.16.8
v0.16.9
v0.16.4
v0.16.5
v0.16.6
v0.16.7
v0.16.1
v0.16.2
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
master
分支 (4)
标签 (45)
master
lr-checks
msdos
release
v0.16.21
v0.16.20
v0.16.17
v0.16.18
v0.16.19
v0.16.12
v0.16.13
v0.16.14
v0.16.15
v0.16.16
v0.16.10
v0.16.11
v0.16.8
v0.16.9
v0.16.4
v0.16.5
v0.16.6
v0.16.7
v0.16.1
v0.16.2
dev86
/
bootblocks
贡献代码
同步代码
对比差异 通过 Pull Request 同步
同步更新到分支
通过 Pull Request 同步
将会在向当前分支创建一个 Pull
Request,合入后将完成同步
File empty ...
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Contents
1.0 ) Boot sectors
1.1 ) Master boot sector
1.2 ) Dosfs boot sector
1.3 ) Minixfs boot block
1.4 ) Tar boot sector
1.5 ) Skip boot sector
1.6 ) Panic boot sector
2.1 ) Booting i86 standalone executable
2.2 ) Booting Elks kernel
2.3 ) Booting Linux-i386 [b]zImage
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
1.0 ) Boot sectors
 These boot sectors are mostly designed for floppy use, the exceptions
 being the MinixFS and Master boot sectors.
 The makeboot program makes them very easy to install just format the
 disk add the correct filesystem then run a command like ...
 $ makeboot minix /dev/fd0
 As far as I know all boot sectors and programs are 8086 clean, with
 the exception that, obviously, the Linux-i386 loader needs access to
 extended memory.
1.1 ) Master boot sector
 This MBR is a very simple one with no frills by default.
 The actual code is less that 254 bytes long so it can be used as
 an MBR for a disk with old style 'Disk manager' partitions.
 The code now only boots one of the last four partitions.
 Option 2 is a boot message that displayed as soon as the MBR loads.
 Option 3 is code to accept a keypress from the user to select which
 partition to boot (or the floppy).
1.2 ) Dosfs boot sector
 Install with makeboot, there is also a version for 16 bit FAT
 filesystems for big floppies (eg LS-120 disks) or hard disk
 partitions. This boot sector loads and executes a binary BOOTFILE.SYS
 from the root directory of the floppy. The file can be any length
 and is loaded at 07ドルC00. Because of the load address this boot sector
 can be configured to load another boot sector, for example LILO can
 be succesfully used in this way.
 Note this boot sector loads the executable 1 sector at a time, as far
 as my testing has gone this is only significant on 8086 machines, all
 others (286 8Mhz +) are fast enough to keep up at a 1-1 interleve.
 But some versions of superformat can defeat this because they do
 not correctly calculate intersector gaps. I suggest using fdformat
 as this uses a 'safe' layout for standard 1440k disks.
1.3 ) Minixfs boot block
 This boot block has varients for floppy and harddisk and works similarly
 for both. For the hard disk it must be installed in the partition boot
 block with a normal MBR in sector zero of the disk. This boot sector can
 be installed with makeboot or simply by copying the 1k file to the start
 of the partition (or floppy) to be booted.
 The sector looks for a file or directory called 'boot' if it's a
 directory it loads that and does the search again. When it finds a
 file it loads it at location 10000ドル and executes it, note this
 is limited to a file size of 519k.
 There is also support for a helper boot which mean this is the only
 boot sector able to load an ELKS image (almost) directly.
1.4 ) Tar boot sector
 This boot sector converts a tar file with a GNU Volume label into a
 bootable floppy image. The boot sector loads and executes the first
 item in the tar file after the label:
 $ tar cvfV the_file.tar ENIAC monitor.sys item2 item3
 $ makeboot tar the_file.tar
 $ cp the_file.tar /dev/fd0
 This sequence makes a bootable floppy that tar sees as a normal labeled
 tar file but when booted from will load and execute 'monitor.sys' at
 location 00800ドル (Yes thats 2k!)
 Warning: the tar boot sector moves the BPB to the location 666ドル.
1.5 ) Skip boot sector
 This bootsector displays a message then loads and executes the hard disk
 MBR at location 07ドルC00
1.6 ) Panic boot sector
 Displays the message 'PANIC! NO OS Found!' (or the message specified
 on install) and freezes.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2.1 ) Booting i86 standalone executable
 All the boot sectors (dos, minix, tar) check for a ELKS-i86 magic number
 at the start of the file they load and will correctly set the segment
 registers before calling. The executable should be a 'standalone'
 executable compiled with 'bcc -Ms ...' or similar.
2.2 ) Booting Elks kernel
 Only the minix boot sector can directly boot an elks kernel and even that
 needs a helper function because of the complexity. The helper is called
 'minix_elks.bin' and needs to be copied onto the disk as '/boot/boot'
 with the ELKS image copied on as '/boot/linux'. This works, with the
 correct boot block, on either floppy or harddisk.
2.3 ) Booting Linux-i386 [b]zImage
 None of the boot blocks can _directly_ boot a Linux-i386 kernel the
 program 'monitor.sys' must loaded by the boot sector and this can
 load a zimage or bzimage from an MSDOS, Minix or Tar floppy. It can
 also load the image from a minix hard disk filesystem.
 This example is for and MSDOS floppy, Tar is very similar except that
 'monitor.sys' must be the first file in the tar and can have any name.
 Note also for a tar file the 'ramdisk.gz' file must start on the first
 disk but can extend across as many floppies as is needed.
 $ mformat a:
 $ makeboot dos /dev/fd0
 $ mount -t msdos /dev/fd0 /mnt
 $ cp monitor.sys /mnt/bootfile.sys
 $ cp /usr/src/linux/arch/i386/boot/zImage /mnt/vmlinuz
 $ echo 'root=/dev/ram ramdisk_file=ramdisk.gz mem=80M' > /mnt/vmlinuz.cfg
 $ cp /archive/ramdisk.gz /mnt/ramdisk.gz
 $ umount /dev/fd0
 The stuff about ramdisk is only if you want an init ramdisk. If
 the ramdisk isn't on this floppy monitor.sys will ask for the
 right floppy. If you specify multiple ramdisk files then will be
 concatenated and passed to the kernel as one ramdisk, each file 
 can be on a different floppy.
 If the file isn't called 'vmlinuz' you can still boot it by typing "=linux"
 at the prompt '>' where 'linux' is the name of the bzImage file.
 Escape or ^C will interrupt the boot and drop you to the '>' prompt.
 ^C at the '>' prompt will reboot
 A file called 'help.txt' will be displayed upto the first line that starts
 with a '%', chunks after that (seperated by '%'s) will be displayed when
 the user presses a function key, home, page up or page down.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Robert de Bath <robert$@debath.co.uk>
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

C compiler, assembler and linker environment for the production of 8086 executables
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ThirdPartProject/dev86.git
git@gitee.com:ThirdPartProject/dev86.git
ThirdPartProject
dev86
dev86
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /