mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
apple2cp: MIG RAM is 2K, not 0.5K. [mgcaret, R. Belmont]
This commit is contained in:
parent
5fba45b0bc
commit
9deea887f8
@ -400,7 +400,7 @@ private:
|
||||
bool m_intc8rom;
|
||||
|
||||
bool m_isiic, m_isiicplus, m_iscec;
|
||||
uint8_t m_migram[0x200];
|
||||
uint8_t m_migram[0x800];
|
||||
uint16_t m_migpage;
|
||||
|
||||
uint8_t *m_ram_ptr, *m_rom_ptr, *m_cec_ptr;
|
||||
@ -464,7 +464,7 @@ uint8_t apple2e_state::mig_r(uint16_t offset)
|
||||
if (offset == 0x20)
|
||||
{
|
||||
m_migpage += 0x20;
|
||||
m_migpage &= 0x1ff; // make sure we wrap
|
||||
m_migpage &= 0x7ff; // make sure we wrap
|
||||
}
|
||||
|
||||
// reset MIG RAM window
|
||||
@ -489,7 +489,7 @@ void apple2e_state::mig_w(uint16_t offset, uint8_t data)
|
||||
if (offset == 0x20)
|
||||
{
|
||||
m_migpage += 0x20;
|
||||
m_migpage &= 0x1ff; // make sure we wrap
|
||||
m_migpage &= 0x7ff; // make sure we wrap
|
||||
}
|
||||
|
||||
// reset MIG RAM window
|
||||
|
Loading…
Reference in New Issue
Block a user