The IRQ0 handling function is as follows:
Code: Select all
void Tick(struct Registers *R)
{
Video_PrintString("Recieved a tick!\n");
}
Code: Select all
void IRQ_Remap()
{
outportb(0x20, 0x11);
outportb(0xA0, 0x11);
outportb(0x21, 0x20);
outportb(0xA1, 0x28);
outportb(0x21, 0x04);
outportb(0xA1, 0x02);
outportb(0x21, 0x01);
outportb(0xA1, 0x01);
outportb(0x21, 0x0);
outportb(0xA1, 0x0);
}
I'm unsure of what the problem is, but I'm hoping somebody else will have an answer.
Also I did search the forums before posting, but the only thing I could find was this: http://forum.osdev.org/viewtopic.php?f= ... lt#p183021, and that didn't help (I have enabled interrupts).
If any other code is required just ask
Thank you
-0xC