Writing my own BIOS

前端 未结 5 2053
北海茫月
北海茫月 2020-12-07 09:10

I\'m not crazy, just reinventing the wheel :D
I wrote boot-loaders, mouse & keyboard mini-drivers, mini OS and so on.

I\'m always trying to avoid DOS inter

5条回答
  •  渐次进展
    2020-12-07 09:29

    BIOS can be written in any of your favorite language, although lower level languages give you more control. Assembly and machine code are almost the same, the difference being microcode interface and what you type, eg. for machine code you'd only type 2 characters, and assembly give you alphanumerics. My hunt for custom BIOS began when I needed computer to boot up every few hours and haven't found any BIOS that does that.

    To flash BIOS, follow manufacturer guidelines. BIOS has now been replaced with UEFI (for added security). Checkout: https://www.pcworld.com/article/187437/how-to-update-your-bios.html

    x86 and amd64 instruction reference: https://www.felixcloutier.com/x86/
    x86 instructions with extensions: https://en.wikipedia.org/wiki/X86_instruction_listings
    i386 instruction ref: https://css.csail.mit.edu/6.858/2014/readings/i386.pdf
    x86 Assembly Guide: https://www.cs.virginia.edu/~evans/cs216/guides/x86.html
    Intel Instruction Set Ref: https://software.intel.com/sites/default/files/managed/a4/60/325383-sdm-vol-2abcd.pdf

提交回复
热议问题