Bootloader in C won't compile

后端 未结 5 1905
你的背包
你的背包 2021-01-30 04:30

I am a newbie in writing bootloaders. I have written a helloworld bootloader in asm, and I am now trying to write one in C. I have written a helloworld bootloader in C, but I ca

5条回答
  •  -上瘾入骨i
    2021-01-30 05:09

    As far as I know, you cannot write bootloader in C. That is because, C needs you to work in a 32-bit protected mode while in bootloader some portions are in 16-bit mode.

提交回复
热议问题