problem with IRQ 8 (RTC) [SOLVED]
Posted: Fri Apr 24, 2009 2:53 pm
hey everyone,
I'm having a to me unexplainable problem with IRQ 8. When this interrupt is called the computer/bochs locks up. Bochs as output gives the following:
check_cs(0x0255): conforming code seg descriptor dpl > cpl, dpl = 3 cpl = 1.
The thing is I've not done anything with regard to ring changing yet. and the descriptor has a DPL of 0.
the OS is loaded in at 0x20000, hence the last dw 0x02. When calling the interrupt with int 0x28 it does work correctly.
does anyone have an idea where this problem might just come from?
Solved: A small off by one error was the problem. Please close
I'm having a to me unexplainable problem with IRQ 8. When this interrupt is called the computer/bochs locks up. Bochs as output gives the following:
check_cs(0x0255): conforming code seg descriptor dpl > cpl, dpl = 3 cpl = 1.
The thing is I've not done anything with regard to ring changing yet. and the descriptor has a DPL of 0.
Code: Select all
;##INT 0x28 - Real Time Clock##
dw rtc
dw 0x08
dw 0x8E00
dw 0x02
does anyone have an idea where this problem might just come from?
Solved: A small off by one error was the problem. Please close