Code: Select all
//Need to remap the PICs before IRQs can be enabled safely.
OutByteToPort($20,$11);
IOWait();
OutByteToPort($A0,$11);
IOWait();
OutByteToPort($21,$20);
IOWait();
OutByteToPort($A1,$28);
IOWait();
OutByteToPort($21,$04);
IOWait();
OutByteToPort($A1,$02);
IOWait();
OutByteToPort($21,$01);
IOWait();
OutByteToPort($A1,$01);
IOWait();
OutByteToPort($21,$00);
IOWait();
OutByteToPort($A1,$00);
IOWait();
OutByteToPort($21,$FF);
IOWait();
Does anyone know how to make this work? I learned this stuff from this site and BonaFide.