Fix missing read handling for SCAMP registers. Fixes boot on some RAM sizes on
Commodore SL386SX-25.
This commit is contained in:
parent
4ee83be7b5
commit
56a3ab7020
1 changed files with 8 additions and 0 deletions
|
|
@ -637,6 +637,14 @@ uint8_t scamp_read(uint16_t addr, void *p)
|
||||||
ret = scamp.port_92;
|
ret = scamp.port_92;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 0xed:
|
||||||
|
if (scamp.cfg_enable)
|
||||||
|
{
|
||||||
|
if (scamp.cfg_index >= 0x00 && scamp.cfg_index <= 0x16)
|
||||||
|
ret = scamp.cfg_regs[scamp.cfg_index];
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 0xee:
|
case 0xee:
|
||||||
if (!mem_a20_alt)
|
if (!mem_a20_alt)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue