u/AloneNefariousness62in r/ProgrammingLanguages • Recommends
Reading the disk with BIOS
31K subscribers • 2 videos on Hallway
Intermediate. Assumes working knowledge.
57K views5 years ago2 recommendations
Systems programmingHardwareOperating systemsEmbedded systems
This tutorial demonstrates how to read sectors from a disk using BIOS interrupt 13h in x86 assembly for OS development.
Corrections: - the size of the boot sector is 512 bytes, not 256 - you can't just move 0 to the es register. you should do something like: mov ax, 0 mov es , ax make sure you're not losing the contents of ax, do a push/pop if you want to be safe with that. Full Code: github.com/mell-o-tron/OS-Reference/blob/main/5/5.asm As requested by some of you, I made a patreon: patreon.com/DaedalusCommunity More info: - stanislavs.org/helppc/int_13.html (really valuable resource!!) - en.wikipedia.org/wiki/INT_13HWhat people say. Recommended to help developers understand the process of reading from disk during bootloader development.
u/AloneNefariousness62in r/ProgrammingLanguages • Recommends
u/markolein r/osdev • Recommends
On “I can't figure out what's wrong, could really use some help”