src/mess/machine/zx.c
| r4204 | r4205 | |
| 51 | 51 | { |
| 52 | 52 | const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM); |
| 53 | 53 | |
| 54 | | memory_install_read8_handler(space, 0x4000, 0x4000 + mess_ram_size - 1, 0, 0, SMH_BANK1); |
| 55 | | memory_install_write8_handler(space, 0x4000, 0x4000 + mess_ram_size - 1, 0, 0, zx_ram_w); |
| 54 | memory_install_readwrite8_handler(space, 0x4000, 0x4000 + mess_ram_size - 1, 0, 0, SMH_BANK1, zx_ram_w); |
| 56 | 55 | memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x4000); |
| 57 | 56 | } |
| 58 | 57 | |