catch 发表于 2013-4-12 22:19:18

老版的 Linux 的 bootsector.S 有这么一段

老版的 Linux 的 bootsector.S 有这么一段


load_setup:
xorb   %ah, %ah                  # reset FDC
xorb   %dl, %dl
int      $0x13   
xorw   %dx, %dx                  # drive 0, head 0
movb    $0x02, %cl               # sector 2, track 0
movw    $0x0200, %bx            # address = 512, in INITSEG
movb    $0x02, %ah                # service 2, "read sector(s)"
movb    setup_sects, %al         # (assume all on head 0, track 0)
int      $0x13                         # read it

catch 发表于 2013-4-13 07:42:12

强烈支持楼主ing……
页: [1]
查看完整版本: 老版的 Linux 的 bootsector.S 有这么一段