Hi,
we have problem
Sometimes (it depends on kernel code), our OS don't boot.
Or if it boot, after few instructions we have Page Fault.
May be our bootloader is wrong ?
[attachment deleted by admin]
very strange bug (please help)
Re:very strange bug (please help)
This is not a very strange bug, like every bug, it causes your code stop working properly. A strange bug would be creating you a multitasking environment while you are trying to write a boot loader, this is ABSOLUTELY NOT a very strange bug. Thats all I can say...
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:very strange bug (please help)
since you do not check sectors were loaded correctly (CF flag) after you called INT 13, i'm not surprised you get Very Strange Things (tm) occuring ... You should know that the Floppy Controller may fail one or two time reading a sector before it succeeds ... It may not be calibrated very well, etc. So you have to try up to three times before you actually can tell it's not working (yeah, i know: it suxx, but that's the way it is), and you should certainly not assume it will succeed without checking the error code.