kernel problem..
Posted: Tue Sep 09, 2003 11:00 pm
i have a problem...
i am new to os dev..
i have made a "hello world os" (only boot loader), and it worked well..
then i made a "os" (bootloader) with a command line for commands like:
reboot, ver, help.. the os had also some interrupts (at INT 20h) working, like:
terminate user program, print to screen and input from keyboard..
it all worked fine util my 512 byte of space was filled and i started to make a kernel..
i changed the bootloader so it supported FAT12 and loaded osdata.bin into the memory..
i don´t think that the problem lies at the botloader, but my kernel don´t work at all after this...
i even tested to load a kernel that only prints hello and hangs but _all_ text that i want to print from the kernel becomes strange symbols instead.. =(
(other things that my kernel does, like waiting for a key to be pressed before rebooting, seems to work!)
i think that i got some kind of memory problem, but i have tested to load the
kernel at all kinds of diffrent memory locations without any success...
what am i going to do?
thankful for answer...
/ Christoffer (from sweden..=)
i am new to os dev..
i have made a "hello world os" (only boot loader), and it worked well..
then i made a "os" (bootloader) with a command line for commands like:
reboot, ver, help.. the os had also some interrupts (at INT 20h) working, like:
terminate user program, print to screen and input from keyboard..
it all worked fine util my 512 byte of space was filled and i started to make a kernel..
i changed the bootloader so it supported FAT12 and loaded osdata.bin into the memory..
i don´t think that the problem lies at the botloader, but my kernel don´t work at all after this...
i even tested to load a kernel that only prints hello and hangs but _all_ text that i want to print from the kernel becomes strange symbols instead.. =(
(other things that my kernel does, like waiting for a key to be pressed before rebooting, seems to work!)
i think that i got some kind of memory problem, but i have tested to load the
kernel at all kinds of diffrent memory locations without any success...
what am i going to do?
thankful for answer...
/ Christoffer (from sweden..=)