mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-19 17:30:56 +00:00
Merge branch 'master' of https://github.com/MoleskiCoder/EightBit
This commit is contained in:
commit
b6ffb07e4b
@ -221,8 +221,10 @@ namespace EightBit {
|
|||||||
return m_lowInternalRam.reference(address - 0xc000);
|
return m_lowInternalRam.reference(address - 0xc000);
|
||||||
if (address < 0xfe00)
|
if (address < 0xfe00)
|
||||||
return m_lowInternalRam.reference(address - 0xe000); // Low internal RAM mirror
|
return m_lowInternalRam.reference(address - 0xe000); // Low internal RAM mirror
|
||||||
if (address < 0xff00)
|
if (address < 0xfea0)
|
||||||
return m_oamRam.reference(address - 0xfe00);
|
return m_oamRam.reference(address - 0xfe00);
|
||||||
|
if (address < 0xff00)
|
||||||
|
return placeDATA(0);
|
||||||
if (address < 0xff80)
|
if (address < 0xff80)
|
||||||
return m_ioPorts.reference(address - 0xff00);
|
return m_ioPorts.reference(address - 0xff00);
|
||||||
return m_highInternalRam.reference(address - 0xff80);
|
return m_highInternalRam.reference(address - 0xff80);
|
||||||
|
Loading…
Reference in New Issue
Block a user