problem loading sectors
Posted: Mon May 16, 2005 6:26 pm
Hi all,
I am (finally) implementing the ability to load sectors in my OS. Since my os is only 512 bytes, I have decided to save space and instead of having the user type what sector they want loaded, they press keys F1-F3 to load sectors 1-3 respectively (I am adding F4-F12 later...).
The problem is that when loading a sector, the OS crashes in bochs with the message "00068675875p[CPU0 ] >>PANIC<< prefetch: RIP > CS.limit"
Sectors are loaded to 0x2000:0x0000
The source code is located at http://protonix.asmhackers.net/protonix ... NEWPRO.ASM
(Sorry for the long URL, I have a weird way of organizing my stuff on my webspace)
The relevant sector loading code is at these labels:
sectcomp:
intload2:
intload3:
loadsect:
Here is the Bochs log: http://protonix.asmhackers.net/protonix ... el/log.txt
This is all in FASM, and realmode.
What is causing this PANIC?
-Anthony
I am (finally) implementing the ability to load sectors in my OS. Since my os is only 512 bytes, I have decided to save space and instead of having the user type what sector they want loaded, they press keys F1-F3 to load sectors 1-3 respectively (I am adding F4-F12 later...).
The problem is that when loading a sector, the OS crashes in bochs with the message "00068675875p[CPU0 ] >>PANIC<< prefetch: RIP > CS.limit"
Sectors are loaded to 0x2000:0x0000
The source code is located at http://protonix.asmhackers.net/protonix ... NEWPRO.ASM
(Sorry for the long URL, I have a weird way of organizing my stuff on my webspace)
The relevant sector loading code is at these labels:
sectcomp:
intload2:
intload3:
loadsect:
Here is the Bochs log: http://protonix.asmhackers.net/protonix ... el/log.txt
This is all in FASM, and realmode.
What is causing this PANIC?
-Anthony