src/mess/machine/vector06.c
| r3571 | r3572 | |
| 55 | 55 | UINT8 r = (data & 7) << 4; |
| 56 | 56 | UINT8 g = ((data >> 3) & 7) << 4; |
| 57 | 57 | UINT8 b = ((data >>6) & 3) << 5; |
| 58 | | palette_set_color( machine, vector_color_index, MAKE_RGB(r,g,b) ); |
| 58 | palette_set_color( space->machine, vector_color_index, MAKE_RGB(r,g,b) ); |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | const ppi8255_interface vector06_ppi8255_interface = |
| r3571 | r3572 | |
| 69 | 69 | }; |
| 70 | 70 | |
| 71 | 71 | READ8_HANDLER(vector_8255_1_r) { |
| 72 | | return ppi8255_r((device_config*)device_list_find_by_tag( machine->config->devicelist, PPI8255, "ppi8255" ), (offset ^ 0x03)); |
| 72 | return ppi8255_r((device_config*)device_list_find_by_tag( space->machine->config->devicelist, PPI8255, "ppi8255" ), (offset ^ 0x03)); |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | WRITE8_HANDLER(vector_8255_1_w) { |
| 76 | | ppi8255_w((device_config*)device_list_find_by_tag( machine->config->devicelist, PPI8255, "ppi8255" ), (offset ^0x03) , data ); |
| 76 | ppi8255_w((device_config*)device_list_find_by_tag( space->machine->config->devicelist, PPI8255, "ppi8255" ), (offset ^0x03) , data ); |
| 77 | 77 | |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | |
| 81 | 81 | INTERRUPT_GEN( vector06_interrupt ) |
| 82 | 82 | { |
| 83 | | cpunum_set_input_line(machine, 0, 0, ASSERT_LINE); |
| 83 | cpu_set_input_line(device, 0, ASSERT_LINE); |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | static IRQ_CALLBACK ( vector06_irq_callback ) |
| r3571 | r3572 | |
| 91 | 91 | |
| 92 | 92 | MACHINE_RESET( vector06 ) |
| 93 | 93 | { |
| 94 | | cpunum_set_irq_callback(0, vector06_irq_callback); |
| 95 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0x0000, 0x7fff, 0, 0, SMH_BANK1); |
| 96 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0x0000, 0x7fff, 0, 0, SMH_BANK2); |
| 97 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0x8000, 0xffff, 0, 0, SMH_BANK3); |
| 98 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0x8000, 0xffff, 0, 0, SMH_BANK4); |
| 94 | const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM); |
| 95 | |
| 96 | cpu_set_irq_callback(machine->cpu[0], vector06_irq_callback); |
| 97 | memory_install_read8_handler (space, 0x0000, 0x7fff, 0, 0, SMH_BANK1); |
| 98 | memory_install_write8_handler(space, 0x0000, 0x7fff, 0, 0, SMH_BANK2); |
| 99 | memory_install_read8_handler (space, 0x8000, 0xffff, 0, 0, SMH_BANK3); |
| 100 | memory_install_write8_handler(space, 0x8000, 0xffff, 0, 0, SMH_BANK4); |
| 99 | 101 | |
| 100 | | memory_set_bankptr(1, memory_region(machine, "main") + 0x10000); |
| 101 | | memory_set_bankptr(2, mess_ram + 0x0000); |
| 102 | | memory_set_bankptr(3, mess_ram + 0x8000); |
| 103 | | memory_set_bankptr(4, mess_ram + 0x8000); |
| 102 | memory_set_bankptr(machine, 1, memory_region(machine, "main") + 0x10000); |
| 103 | memory_set_bankptr(machine, 2, mess_ram + 0x0000); |
| 104 | memory_set_bankptr(machine, 3, mess_ram + 0x8000); |
| 105 | memory_set_bankptr(machine, 4, mess_ram + 0x8000); |
| 104 | 106 | |
| 105 | 107 | vector06_keyboard_mask = 0; |
| 106 | 108 | } |
src/mess/machine/ondra.c
| r3571 | r3572 | |
| 26 | 26 | { |
| 27 | 27 | UINT8 *mem = memory_region(machine, "main"); |
| 28 | 28 | if (ondra_bank1_status==0) { |
| 29 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x0000, 0x07ff, 0, 0, SMH_UNMAP); |
| 30 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x0800, 0x0fff, 0, 0, SMH_UNMAP); |
| 31 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x1000, 0x17ff, 0, 0, SMH_UNMAP); |
| 32 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x1800, 0x1fff, 0, 0, SMH_UNMAP); |
| 33 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x2000, 0x27ff, 0, 0, SMH_UNMAP); |
| 34 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x2800, 0x2fff, 0, 0, SMH_UNMAP); |
| 35 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x3000, 0x37ff, 0, 0, SMH_UNMAP); |
| 36 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x3800, 0x3fff, 0, 0, SMH_UNMAP); |
| 29 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x0000, 0x07ff, 0, 0, SMH_UNMAP); |
| 30 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x0800, 0x0fff, 0, 0, SMH_UNMAP); |
| 31 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x1000, 0x17ff, 0, 0, SMH_UNMAP); |
| 32 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x1800, 0x1fff, 0, 0, SMH_UNMAP); |
| 33 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x2000, 0x27ff, 0, 0, SMH_UNMAP); |
| 34 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x2800, 0x2fff, 0, 0, SMH_UNMAP); |
| 35 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x3000, 0x37ff, 0, 0, SMH_UNMAP); |
| 36 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x3800, 0x3fff, 0, 0, SMH_UNMAP); |
| 37 | 37 | |
| 38 | | memory_set_bankptr(1, mem + 0x010000); |
| 39 | | memory_set_bankptr(2, mem + 0x010000); |
| 40 | | memory_set_bankptr(3, mem + 0x010000); |
| 41 | | memory_set_bankptr(4, mem + 0x010000); |
| 42 | | memory_set_bankptr(5, mem + 0x010800); |
| 43 | | memory_set_bankptr(6, mem + 0x010800); |
| 44 | | memory_set_bankptr(7, mem + 0x010800); |
| 45 | | memory_set_bankptr(8, mem + 0x010800); |
| 38 | memory_set_bankptr(machine, 1, mem + 0x010000); |
| 39 | memory_set_bankptr(machine, 2, mem + 0x010000); |
| 40 | memory_set_bankptr(machine, 3, mem + 0x010000); |
| 41 | memory_set_bankptr(machine, 4, mem + 0x010000); |
| 42 | memory_set_bankptr(machine, 5, mem + 0x010800); |
| 43 | memory_set_bankptr(machine, 6, mem + 0x010800); |
| 44 | memory_set_bankptr(machine, 7, mem + 0x010800); |
| 45 | memory_set_bankptr(machine, 8, mem + 0x010800); |
| 46 | 46 | } else { |
| 47 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x0000, 0x07ff, 0, 0, SMH_BANK1); |
| 48 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x0800, 0x0fff, 0, 0, SMH_BANK2); |
| 49 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x1000, 0x17ff, 0, 0, SMH_BANK3); |
| 50 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x1800, 0x1fff, 0, 0, SMH_BANK4); |
| 51 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x2000, 0x27ff, 0, 0, SMH_BANK5); |
| 52 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x2800, 0x2fff, 0, 0, SMH_BANK6); |
| 53 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x3000, 0x37ff, 0, 0, SMH_BANK7); |
| 54 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x3800, 0x3fff, 0, 0, SMH_BANK8); |
| 47 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x0000, 0x07ff, 0, 0, SMH_BANK1); |
| 48 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x0800, 0x0fff, 0, 0, SMH_BANK2); |
| 49 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x1000, 0x17ff, 0, 0, SMH_BANK3); |
| 50 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x1800, 0x1fff, 0, 0, SMH_BANK4); |
| 51 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x2000, 0x27ff, 0, 0, SMH_BANK5); |
| 52 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x2800, 0x2fff, 0, 0, SMH_BANK6); |
| 53 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x3000, 0x37ff, 0, 0, SMH_BANK7); |
| 54 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x3800, 0x3fff, 0, 0, SMH_BANK8); |
| 55 | 55 | |
| 56 | | memory_set_bankptr(1, mess_ram + 0x0000); |
| 57 | | memory_set_bankptr(2, mess_ram + 0x0800); |
| 58 | | memory_set_bankptr(3, mess_ram + 0x1000); |
| 59 | | memory_set_bankptr(4, mess_ram + 0x1800); |
| 60 | | memory_set_bankptr(5, mess_ram + 0x2000); |
| 61 | | memory_set_bankptr(6, mess_ram + 0x2800); |
| 62 | | memory_set_bankptr(7, mess_ram + 0x3000); |
| 63 | | memory_set_bankptr(8, mess_ram + 0x3800); |
| 56 | memory_set_bankptr(machine, 1, mess_ram + 0x0000); |
| 57 | memory_set_bankptr(machine, 2, mess_ram + 0x0800); |
| 58 | memory_set_bankptr(machine, 3, mess_ram + 0x1000); |
| 59 | memory_set_bankptr(machine, 4, mess_ram + 0x1800); |
| 60 | memory_set_bankptr(machine, 5, mess_ram + 0x2000); |
| 61 | memory_set_bankptr(machine, 6, mess_ram + 0x2800); |
| 62 | memory_set_bankptr(machine, 7, mess_ram + 0x3000); |
| 63 | memory_set_bankptr(machine, 8, mess_ram + 0x3800); |
| 64 | 64 | } |
| 65 | | memory_set_bankptr(9, mess_ram + 0x4000); |
| 65 | memory_set_bankptr(machine, 9, mess_ram + 0x4000); |
| 66 | 66 | if (ondra_bank2_status==0) { |
| 67 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xe000, 0xffff, 0, 0, SMH_BANK10); |
| 68 | | memory_install_read8_handler (machine, 0, ADDRESS_SPACE_PROGRAM, 0xe000, 0xffff, 0, 0, SMH_BANK10); |
| 69 | | memory_set_bankptr(10, mess_ram + 0xe000); |
| 67 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0xe000, 0xffff, 0, 0, SMH_BANK10); |
| 68 | memory_install_read8_handler (cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0xe000, 0xffff, 0, 0, SMH_BANK10); |
| 69 | memory_set_bankptr(machine, 10, mess_ram + 0xe000); |
| 70 | 70 | } else { |
| 71 | | memory_install_write8_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0xe000, 0xffff, 0, 0, SMH_UNMAP); |
| 72 | | memory_install_read8_handler (machine, 0, ADDRESS_SPACE_PROGRAM, 0xe000, 0xffff, 0, 0, SMH_UNMAP); |
| 71 | memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0xe000, 0xffff, 0, 0, SMH_UNMAP); |
| 72 | memory_install_read8_handler (cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0xe000, 0xffff, 0, 0, SMH_UNMAP); |
| 73 | 73 | } |
| 74 | 74 | } |
| 75 | 75 | |
| r3571 | r3572 | |
| 78 | 78 | ondra_video_enable = data & 1; |
| 79 | 79 | ondra_bank1_status = (data >> 1) & 1; |
| 80 | 80 | ondra_bank2_status = (data >> 2) & 1; |
| 81 | | ondra_update_banks(machine); |
| 81 | ondra_update_banks(space->machine); |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | WRITE8_HANDLER( ondra_port_09_w ) |
src/mess/machine/pk8020.c
| r3571 | r3572 | |
| 19 | 19 | |
| 20 | 20 | MACHINE_RESET( pk8020 ) |
| 21 | 21 | { |
| 22 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0x0000, 0x1fff, 0, 0, SMH_BANK1); |
| 23 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0x0000, 0x7fff, 0, 0, SMH_UNMAP); |
| 24 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0x2000, 0x37ff, 0, 0, SMH_BANK2); |
| 25 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0x2000, 0x37ff, 0, 0, SMH_UNMAP); |
| 22 | const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM); |
| 23 | |
| 24 | memory_install_read8_handler (space, 0x0000, 0x1fff, 0, 0, SMH_BANK1); |
| 25 | memory_install_write8_handler(space, 0x0000, 0x7fff, 0, 0, SMH_UNMAP); |
| 26 | memory_install_read8_handler (space, 0x2000, 0x37ff, 0, 0, SMH_BANK2); |
| 27 | memory_install_write8_handler(space, 0x2000, 0x37ff, 0, 0, SMH_UNMAP); |
| 26 | 28 | |
| 27 | 29 | |
| 28 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0x4000, 0x5fff, 0, 0, SMH_BANK7); |
| 29 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0x6000, 0x7fff, 0, 0, SMH_BANK8); |
| 30 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0x8000, 0xbeff, 0, 0, SMH_BANK9); |
| 31 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0xbf00, 0xbfff, 0, 0, SMH_BANK10); |
| 32 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0xc000, 0xf7ff, 0, 0, SMH_BANK11); |
| 33 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0xf800, 0xf9ff, 0, 0, SMH_BANK12); |
| 34 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0xfa00, 0xfaff, 0, 0, SMH_BANK13); |
| 35 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0xfb00, 0xfbff, 0, 0, SMH_BANK14); |
| 36 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0xfc00, 0xfdff, 0, 0, SMH_BANK15); |
| 37 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0xfe00, 0xfeff, 0, 0, SMH_BANK16); |
| 38 | | memory_install_read8_handler (machine,0, ADDRESS_SPACE_PROGRAM, 0xff00, 0xffff, 0, 0, SMH_BANK17); |
| 30 | memory_install_read8_handler (space, 0x4000, 0x5fff, 0, 0, SMH_BANK7); |
| 31 | memory_install_read8_handler (space, 0x6000, 0x7fff, 0, 0, SMH_BANK8); |
| 32 | memory_install_read8_handler (space, 0x8000, 0xbeff, 0, 0, SMH_BANK9); |
| 33 | memory_install_read8_handler (space, 0xbf00, 0xbfff, 0, 0, SMH_BANK10); |
| 34 | memory_install_read8_handler (space, 0xc000, 0xf7ff, 0, 0, SMH_BANK11); |
| 35 | memory_install_read8_handler (space, 0xf800, 0xf9ff, 0, 0, SMH_BANK12); |
| 36 | memory_install_read8_handler (space, 0xfa00, 0xfaff, 0, 0, SMH_BANK13); |
| 37 | memory_install_read8_handler (space, 0xfb00, 0xfbff, 0, 0, SMH_BANK14); |
| 38 | memory_install_read8_handler (space, 0xfc00, 0xfdff, 0, 0, SMH_BANK15); |
| 39 | memory_install_read8_handler (space, 0xfe00, 0xfeff, 0, 0, SMH_BANK16); |
| 40 | memory_install_read8_handler (space, 0xff00, 0xffff, 0, 0, SMH_BANK17); |
| 39 | 41 | |
| 40 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0x4000, 0x5fff, 0, 0, SMH_BANK7); |
| 41 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0x6000, 0x7fff, 0, 0, SMH_BANK8); |
| 42 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0x8000, 0xbeff, 0, 0, SMH_BANK9); |
| 43 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0xbf00, 0xbfff, 0, 0, SMH_BANK10); |
| 44 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0xc000, 0xf7ff, 0, 0, SMH_BANK11); |
| 45 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0xf800, 0xf9ff, 0, 0, SMH_BANK12); |
| 46 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0xfa00, 0xfaff, 0, 0, SMH_BANK13); |
| 47 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0xfb00, 0xfbff, 0, 0, SMH_BANK14); |
| 48 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0xfc00, 0xfdff, 0, 0, SMH_BANK15); |
| 49 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0xfe00, 0xfeff, 0, 0, SMH_BANK16); |
| 50 | | memory_install_write8_handler(machine,0, ADDRESS_SPACE_PROGRAM, 0xff00, 0xffff, 0, 0, SMH_BANK17); |
| 42 | memory_install_write8_handler(space, 0x4000, 0x5fff, 0, 0, SMH_BANK7); |
| 43 | memory_install_write8_handler(space, 0x6000, 0x7fff, 0, 0, SMH_BANK8); |
| 44 | memory_install_write8_handler(space, 0x8000, 0xbeff, 0, 0, SMH_BANK9); |
| 45 | memory_install_write8_handler(space, 0xbf00, 0xbfff, 0, 0, SMH_BANK10); |
| 46 | memory_install_write8_handler(space, 0xc000, 0xf7ff, 0, 0, SMH_BANK11); |
| 47 | memory_install_write8_handler(space, 0xf800, 0xf9ff, 0, 0, SMH_BANK12); |
| 48 | memory_install_write8_handler(space, 0xfa00, 0xfaff, 0, 0, SMH_BANK13); |
| 49 | memory_install_write8_handler(space, 0xfb00, 0xfbff, 0, 0, SMH_BANK14); |
| 50 | memory_install_write8_handler(space, 0xfc00, 0xfdff, 0, 0, SMH_BANK15); |
| 51 | memory_install_write8_handler(space, 0xfe00, 0xfeff, 0, 0, SMH_BANK16); |
| 52 | memory_install_write8_handler(space, 0xff00, 0xffff, 0, 0, SMH_BANK17); |
| 51 | 53 | |
| 52 | | memory_set_bankptr(1, memory_region(machine,"main") + 0x10000); |
| 53 | | memory_set_bankptr(2, memory_region(machine,"main") + 0x12000); |
| 54 | memory_set_bankptr(machine, 1, memory_region(machine,"main") + 0x10000); |
| 55 | memory_set_bankptr(machine, 2, memory_region(machine,"main") + 0x12000); |
| 54 | 56 | |
| 55 | | memory_set_bankptr(7, mess_ram + 0x4000); |
| 56 | | memory_set_bankptr(8, mess_ram + 0x6000); |
| 57 | | memory_set_bankptr(9, mess_ram + 0x8000); |
| 58 | | memory_set_bankptr(10, mess_ram + 0xbf00); |
| 59 | | memory_set_bankptr(11, mess_ram + 0xc000); |
| 60 | | memory_set_bankptr(12, mess_ram + 0xf800); |
| 61 | | memory_set_bankptr(13, mess_ram + 0xfa00); |
| 62 | | memory_set_bankptr(14, mess_ram + 0xfb00); |
| 63 | | memory_set_bankptr(15, mess_ram + 0xfc00); |
| 64 | | memory_set_bankptr(16, mess_ram + 0xfe00); |
| 65 | | memory_set_bankptr(17, mess_ram + 0xff00); |
| 57 | memory_set_bankptr(machine, 7, mess_ram + 0x4000); |
| 58 | memory_set_bankptr(machine, 8, mess_ram + 0x6000); |
| 59 | memory_set_bankptr(machine, 9, mess_ram + 0x8000); |
| 60 | memory_set_bankptr(machine, 10, mess_ram + 0xbf00); |
| 61 | memory_set_bankptr(machine, 11, mess_ram + 0xc000); |
| 62 | memory_set_bankptr(machine, 12, mess_ram + 0xf800); |
| 63 | memory_set_bankptr(machine, 13, mess_ram + 0xfa00); |
| 64 | memory_set_bankptr(machine, 14, mess_ram + 0xfb00); |
| 65 | memory_set_bankptr(machine, 15, mess_ram + 0xfc00); |
| 66 | memory_set_bankptr(machine, 16, mess_ram + 0xfe00); |
| 67 | memory_set_bankptr(machine, 17, mess_ram + 0xff00); |
| 66 | 68 | } |