IBM PC now has correct memory size switch settings implemented - should now boot correctly on configurations other than 640kb.
This commit is contained in:
parent
5f6fb407d4
commit
4e9400bfca
1 changed files with 2 additions and 2 deletions
|
|
@ -137,9 +137,9 @@ uint8_t keyboard_xt_read(uint16_t port, void *priv)
|
|||
if (romset == ROM_IBMPC)
|
||||
{
|
||||
if (keyboard_xt.pb & 0x04)
|
||||
temp = 0x02;
|
||||
temp = ((mem_size-64) / 32) & 0xf;
|
||||
else
|
||||
temp = 0x01;
|
||||
temp = ((mem_size-64) / 32) >> 4;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue