Page 1 of 1
very strange bug (please help)
Posted: Sun Oct 19, 2003 11:11 am
by Andrejus
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]
Re:very strange bug (please help)
Posted: Sun Oct 19, 2003 3:19 pm
by dark angel
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...
Re:very strange bug (please help)
Posted: Mon Oct 20, 2003 12:11 am
by Andrejus
I agree with you
But, your answer is 'very strange'
Re:very strange bug (please help)
Posted: Mon Oct 20, 2003 1:32 am
by Pype.Clicker
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.