IBM PC now has correct memory size switch settings implemented - should now boot correctly on configurations other than 640kb.

This commit is contained in:
SarahW 2016-08-16 18:37:34 +01:00
commit 4e9400bfca

View file

@ -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
{