Page 1 of 1
issues with IRQ0 (PIT)
Posted: Sun Jul 26, 2009 4:01 am
by balthasar
I was implementing IRQ's and the PIT (as per JamesM tutorial) and its not working like it should. I do not see the Tick: 1234 thing UNLESS i call the interrupt in this case IRQ0 (32) manually which i know isnt how it works. Included is the code
Ensemble/Includes/Kernel - is where the include files are enclosed
Ensemble/Kernel - is where the kernel resides
Re: issues with IRQ0 (PIT)
Posted: Sun Jul 26, 2009 4:42 am
by Creature
This is probably not going to be the cause of your problem, but do you realize that you've defined all the ISR's as having no error code?
Code: Select all
ISR_NOERRCODE 0
...
ISR_NOERRCODE 31
Whilst ISR 8, 10, 11, 12, 13 and 14 do have an error code.
I've taken a quick glance over the other code but couldn't spot anything wrong at that time. Are you sure you've executed an STI instruction after setting up the descriptor tables to enable hardware interrupts?
In Assembly:
In inline GCC Assembly:
Re: issues with IRQ0 (PIT)
Posted: Sun Jul 26, 2009 4:54 am
by balthasar
thank you for telling about the NOERRCODE thing i overlooked that
also i didnt reenable interrupts hence why it failed
thanks for your help