Really needs help - IRQs
Posted: Sat Jun 26, 2004 11:00 pm
Ive started writing an OS and Im done with the boot loader, Protected Mode, and a very small kernel (printf functions and all that) I guess the next step is to get interrupts/exceptions working.. but how to do this? Ive read lots about it but I dont really understand it.. Is this totally wrong?:
>>Disable interrupts
>>Remap the PIC
>>Load IDT and all that
>>Unmask the IRQs I wanna catch.. and so on..
Cause I know that I gotta do this, but I dont know Why I have to remap the pic or how to do all this? Anyone who could explain all these steps shortly or give me a link to a tutorial? Would be very appreciated, been stuck for over a week now
>>Disable interrupts
>>Remap the PIC
>>Load IDT and all that
>>Unmask the IRQs I wanna catch.. and so on..
Cause I know that I gotta do this, but I dont know Why I have to remap the pic or how to do all this? Anyone who could explain all these steps shortly or give me a link to a tutorial? Would be very appreciated, been stuck for over a week now