Previous 15994 Revisions Next

r4205 Thursday 29th January, 2009 at 09:02:55 UTC by Robbbert
[ZX] read and write handler -> readwrite handler
[src/mess/machine]zx.c

src/mess/machine/zx.c
r4204r4205
5151{
5252   const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
5353
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);
5655   memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x4000);
5756}
5857

Previous 15994 Revisions Next


© 1998-2018 The MESS Team