Posts

Showing posts from January 31, 2019

Some Details of The Boot Process of OSes on x86 32-bit machines

Image
1 I'm trying to write a OS for my own use, I want to show a blank (black) screen with VGA output but I have some problems(questions): Under FAT32, I have MBR bootloader to read the first sector of the virtual disk image generated by bximage from Bochs. Where (which sector) should I put the second compiled code that shows the black screen? How to do it with dd utility? My second compiled code file is 9 Bytes only. Is VBR necessary? How do I know where the data region (FAT32) starts and ends? I rewrote the bootloader provided from this link. My disk file specifications is: 20M, CHS 40/16/63 hard-drive boot operating-system bootloader mbr share | improve this question