minor enhancements

This commit is contained in:
Adrien Bourmault 2019-04-29 23:52:53 +02:00
parent b07a4e8956
commit ba94035200
1 changed files with 2 additions and 2 deletions

View File

@ -155,8 +155,8 @@ static void EnablePIC(void)
IoWriteByteOnPort(0xa0, 0x11);
// Set ICW2 (IRQ base offsets)
IoWriteByteOnPort(0x21, 0x20); //0x20 is the first free interrupt
IoWriteByteOnPort(0xa1, 0x28);
IoWriteByteOnPort(0x21, 0x20); //0x20 is the first free interrupt for IRQ0
IoWriteByteOnPort(0xa1, 0x28); // PIC2 is offseted to 0x28
// Set ICW3
IoWriteByteOnPort(0x21, 0x4);