We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c01cfa8 commit 7785ca5Copy full SHA for 7785ca5
src/keyb.c
@@ -492,11 +492,15 @@ void int16()
492
unsigned ax = cpuGetAX();
493
switch(ax >> 8)
494
{
495
- case 0: // GET KEY
+ case 0: // GET KEY
496
+ case 0x10: // GET ENHANCED KEY:
497
+ // TODO: implement differences between 00h / 10h
498
ax = getch(0);
499
cpuSetAX(ax);
500
break;
- case 1: // GET KEY AVAILABLE
501
+ case 1: // GET KEY AVAILABLE
502
+ case 0x11: // CHECK FOR ENHANCED KEY AVAILABLE
503
+ // TODO: implement differences between 01h / 11h
504
ax = kbhit();
505
506
if(ax == 0)
0 commit comments