How to load a kernel from disk with BIOS int 13h in NASM assembly?

前端 未结 5 2102
醉话见心
醉话见心 2021-02-02 01:21

I\'ve been stuck with this for weeks now and have no idea where I\'m going wrong because NASM hasn\'t given me any errors. The code is pretty self explanatory because of the com

5条回答
  •  孤城傲影
    2021-02-02 02:05

    One gotcha with INT13 is that head and track numbers start at 0, but sector numbers for some reason start at 1. You might check that your sector-writing utility conforms to this numbering scheme.

    Questions:

    • How many dots do you see when you boot?
    • Does the floppy motor kick on?

提交回复
热议问题