mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-21 23:29:16 +00:00
Use explicit memory size of MOS6502
This commit is contained in:
parent
73f7d8f63a
commit
3fe7a4e0bb
@ -87,7 +87,7 @@ apple2_mem_map(apple2 *mach)
|
|||||||
{
|
{
|
||||||
size_t addr;
|
size_t addr;
|
||||||
|
|
||||||
for (addr = APPLE2_BANK_OFFSET; addr < 0x10000; addr++) {
|
for (addr = APPLE2_BANK_OFFSET; addr < MOS6502_MEMSIZE; addr++) {
|
||||||
vm_segment_read_map(mach->memory, addr, apple2_mem_read_bank);
|
vm_segment_read_map(mach->memory, addr, apple2_mem_read_bank);
|
||||||
vm_segment_write_map(mach->memory, addr, apple2_mem_write_bank);
|
vm_segment_write_map(mach->memory, addr, apple2_mem_write_bank);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user