Andrew Wan
2007-12-28 10:57:12 UTC
Please can Pascal/C gurrus help me to confirm this:
l := port[$60];
l = inp( 0x60 );
keys[l mod 128] := l < 128;
keys[l & 127] = (l < 128);
mem[$0040:$001a] := mem[$0040: $001c]; {Pascal}
pokeb(0x40, 0x1a, peekb(0x40, 0x1c)); // C
port[$20] := $20;
outp( 0x20, 0x20 );
---
Yes you probably figured it out. It's a new keyboard handler.
l := port[$60];
l = inp( 0x60 );
keys[l mod 128] := l < 128;
keys[l & 127] = (l < 128);
mem[$0040:$001a] := mem[$0040: $001c]; {Pascal}
pokeb(0x40, 0x1a, peekb(0x40, 0x1c)); // C
port[$20] := $20;
outp( 0x20, 0x20 );
---
Yes you probably figured it out. It's a new keyboard handler.