Added Atari PC3 emulation. Patch from dns2k.
This commit is contained in:
parent
96905fa3de
commit
9283d0e1b0
4 changed files with 20 additions and 0 deletions
|
|
@ -116,6 +116,10 @@ uint8_t keyboard_xt_read(uint16_t port, void *priv)
|
|||
else
|
||||
temp = 0x6D;
|
||||
}
|
||||
else if ((romset == ROM_ATARIPC3) && (keyboard_xt.pb & 0x80))
|
||||
{
|
||||
temp = 0x7f;
|
||||
}
|
||||
else
|
||||
{
|
||||
temp = keyboard_xt.pa;
|
||||
|
|
@ -144,6 +148,13 @@ uint8_t keyboard_xt_read(uint16_t port, void *priv)
|
|||
else
|
||||
temp = ((mem_size-64) / 32) >> 4;
|
||||
}
|
||||
else if (romset == ROM_ATARIPC3)
|
||||
{
|
||||
if (keyboard_xt.pb & 0x04)
|
||||
temp = 0xf;
|
||||
else
|
||||
temp = 4;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (keyboard_xt.pb & 0x08)
|
||||
|
|
|
|||
Loading…
Reference in a new issue