mirror of
https://github.com/pevans/erc-c.git
synced 2024-11-27 05:49:24 +00:00
We switched the logic for C015
This commit is contained in:
parent
a53ee9698b
commit
ce405531b8
@ -72,9 +72,9 @@ Test(apple2_pc, write)
|
|||||||
Test(apple2_pc, switch_read)
|
Test(apple2_pc, switch_read)
|
||||||
{
|
{
|
||||||
mach->memory_mode = MEMORY_DEFAULT;
|
mach->memory_mode = MEMORY_DEFAULT;
|
||||||
cr_assert_eq(vm_segment_get(mach->main, 0xC015), 0);
|
|
||||||
mach->memory_mode = MEMORY_SLOTCXROM;
|
|
||||||
cr_assert_eq(vm_segment_get(mach->main, 0xC015), 0x80);
|
cr_assert_eq(vm_segment_get(mach->main, 0xC015), 0x80);
|
||||||
|
mach->memory_mode = MEMORY_SLOTCXROM;
|
||||||
|
cr_assert_eq(vm_segment_get(mach->main, 0xC015), 0);
|
||||||
|
|
||||||
cr_assert_eq(vm_segment_get(mach->main, 0xC017), 0);
|
cr_assert_eq(vm_segment_get(mach->main, 0xC017), 0);
|
||||||
mach->memory_mode = MEMORY_SLOTC3ROM;
|
mach->memory_mode = MEMORY_SLOTC3ROM;
|
||||||
|
Loading…
Reference in New Issue
Block a user