my kernel + bootprog not working
Posted: Sat Sep 07, 2002 10:36 am
hi everyone!
I'm new to this stuff of OS development (well, everyone has been a newbie some time :-[) ... and i just got a <<common?>> newbie problem:
As I read a lot of OS dev stuff I realized that making a bootloader is not the best place to start, so i just started an exhaustive search of simple bootloaders... in my opinion, bootprog would be the best one (GRUB does not run COM/EXE binaries) ... well, by using the OS for Dummies i had no problem booting, all went correct and smooth... but i still can't make my simple kernel to load. No error messages, no reboots, the PC just hangs after reading the floppy.
I tried with several things in the start: section of the asm kernel file and no one worked: calling the c_main function, doing a jmp 0xFFFF:0x0000 to force a reboot... nothing works.
Please, can someone guide me on how to boot a simple kernel??? may be i made something wrong in the compiling process???
I'm new to this stuff of OS development (well, everyone has been a newbie some time :-[) ... and i just got a <<common?>> newbie problem:
As I read a lot of OS dev stuff I realized that making a bootloader is not the best place to start, so i just started an exhaustive search of simple bootloaders... in my opinion, bootprog would be the best one (GRUB does not run COM/EXE binaries) ... well, by using the OS for Dummies i had no problem booting, all went correct and smooth... but i still can't make my simple kernel to load. No error messages, no reboots, the PC just hangs after reading the floppy.
I tried with several things in the start: section of the asm kernel file and no one worked: calling the c_main function, doing a jmp 0xFFFF:0x0000 to force a reboot... nothing works.
Please, can someone guide me on how to boot a simple kernel??? may be i made something wrong in the compiling process???