Booting issue
Booting issue
Hi! I am making a OS in C using GRUB as mt boot-loader and an asm file to boot the kernel which is in C everything compiles fine and when I boot it goes to GRUB mutiboot as it should, then I click on my kernel, but the screen goes black with just the cursor and hangs for a few seconds then reboots??? do you know what could cause this?
I've noticed lately that the paranoid fear of computers becoming intelligent and taking over the world has almost entirely disappeared from the common culture. Near as I can tell, this coincides with the release of MS-DOS. (Larry DeLuca)
- thepowersgang
- Member
- Posts: 734
- Joined: Tue Dec 25, 2007 6:03 am
- Libera.chat IRC: thePowersGang
- Location: Perth, Western Australia
- Contact:
Re: Booting issue
Required Knowledge, Asking Good Questions - You should know these.
Have you tried in an emulator? Have you checked if your kernel even starts to execute? (make a stub that just prints to the screen and then locks)
Have you tried in an emulator? Have you checked if your kernel even starts to execute? (make a stub that just prints to the screen and then locks)
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Re: Booting issue
Triple Fault could cause this. Relevant portion of code required.anti149 wrote:Hi! I am making a OS in C using GRUB as mt boot-loader and an asm file to boot the kernel which is in C everything compiles fine and when I boot it goes to GRUB mutiboot as it should, then I click on my kernel, but the screen goes black with just the cursor and hangs for a few seconds then reboots??? do you know what could cause this?
Programming is not about using a language to solve a problem, it's about using logic to find a solution !