Add emulation of IBM PS/1 Model 2121.

As part of this :
- FDC Specify command now completes immediately
- Implemented keyboard system flag status
- Added ability to remap 384kb reserved memory to above extended memory
This commit is contained in:
SarahW 2016-05-02 20:06:49 +01:00
commit 0724cfcae4
20 changed files with 461 additions and 26 deletions

View file

@ -449,7 +449,9 @@ uint8_t keyboard_at_read(uint16_t port, void *priv)
return ppi.pb&~0xe0;
case 0x64:
temp = keyboard_at.status;
temp = keyboard_at.status & ~4;
if (keyboard_at.mem[0] & 0x04)
temp |= 0x04;
keyboard_at.status &= ~(STAT_RTIMEOUT/* | STAT_TTIMEOUT*/);
break;
}