How to debug the read sector
Posted: Fri Feb 11, 2005 1:45 am
Ok, so far my bootstrap has able to boot and print a welcome message. So, now it is time to read the kernel image file. I have a few question.
CPU: Pentium 433hz
Compiler: Nasm
#1 How to debug the sector we read is the correct sector. I am new to OS and asm and it is the first time I use bios read. Any idea how to debug it. I am planing to read multi sector by using al = number of sector to read.
#2 I am using bochs. However, I need to create a floppy image, how to manage the file in the image. Any software that is free(If easy to use is the better) for use. I have download winimage but it is a limit time software.
#3 there is any example for simple os that I can download, the os I have is freedos, but the code is too hard for me. Any simple OS that is still in developing? I found some example of os but most of it is bootstrap. Thank you.
Thank you for answer my question.
CPU: Pentium 433hz
Compiler: Nasm
#1 How to debug the sector we read is the correct sector. I am new to OS and asm and it is the first time I use bios read. Any idea how to debug it. I am planing to read multi sector by using al = number of sector to read.
#2 I am using bochs. However, I need to create a floppy image, how to manage the file in the image. Any software that is free(If easy to use is the better) for use. I have download winimage but it is a limit time software.
#3 there is any example for simple os that I can download, the os I have is freedos, but the code is too hard for me. Any simple OS that is still in developing? I found some example of os but most of it is bootstrap. Thank you.
Thank you for answer my question.