src/mess/machine/conkort.c
| r5756 | r5757 | |
| 235 | 235 | |
| 236 | 236 | if (data == 0x2d) // TODO: bit 0 of this is configurable with S1 |
| 237 | 237 | { |
| 238 | | const address_space *io = cputag_get_address_space(device->machine, Z80_TAG, ADDRESS_SPACE_IO); |
| 238 | const address_space *io = cpu_get_address_space(device->machine->firstcpu, ADDRESS_SPACE_IO); |
| 239 | 239 | |
| 240 | 240 | memory_install_readwrite8_handler(io, ABCBUS_INP, ABCBUS_OUT, 0x18, 0, slow_bus_data_r, slow_bus_data_w); |
| 241 | 241 | memory_install_read8_handler(io, ABCBUS_STAT, ABCBUS_STAT, 0x18, 0, slow_bus_stat_r); |
| r5756 | r5757 | |
| 366 | 366 | |
| 367 | 367 | if (data == input_port_read(device->machine, "SW3")) |
| 368 | 368 | { |
| 369 | | const address_space *io = cputag_get_address_space(device->machine, Z80_TAG, ADDRESS_SPACE_IO); |
| 369 | const address_space *io = cpu_get_address_space(device->machine->firstcpu, ADDRESS_SPACE_IO); |
| 370 | 370 | |
| 371 | 371 | memory_install_readwrite8_handler(io, ABCBUS_INP, ABCBUS_OUT, 0x18, 0, fast_bus_data_r, fast_bus_data_w); |
| 372 | 372 | memory_install_read8_handler(io, ABCBUS_STAT, ABCBUS_STAT, 0x18, 0, fast_bus_stat_r); |
| r5756 | r5757 | |
| 566 | 566 | |
| 567 | 567 | static const z80pio_interface conkort_pio_intf = |
| 568 | 568 | { |
| 569 | | DEVCB_LINE(conkort_pio_interrupt), /* interrupt callback */ |
| 570 | | DEVCB_HANDLER(conkort_pio_port_a_r), /* port A read callback */ |
| 571 | | DEVCB_HANDLER(conkort_pio_port_b_r), /* port B read callback */ |
| 572 | | DEVCB_HANDLER(conkort_pio_port_a_w), /* port A write callback */ |
| 573 | | DEVCB_HANDLER(conkort_pio_port_b_w), /* port B write callback */ |
| 574 | | DEVCB_LINE(conkort_pio_ardy_w), /* port A ready callback */ |
| 575 | | DEVCB_NULL /* port B ready callback */ |
| 569 | DEVCB_LINE(conkort_pio_interrupt), /* interrupt callback */ |
| 570 | DEVCB_HANDLER(conkort_pio_port_a_r), /* port A read callback */ |
| 571 | DEVCB_HANDLER(conkort_pio_port_b_r), /* port B read callback */ |
| 572 | DEVCB_HANDLER(conkort_pio_port_a_w), /* port A write callback */ |
| 573 | DEVCB_HANDLER(conkort_pio_port_b_w), /* port B write callback */ |
| 574 | DEVCB_LINE(conkort_pio_ardy_w), /* port A ready callback */ |
| 575 | DEVCB_NULL /* port B ready callback */ |
| 576 | 576 | }; |
| 577 | 577 | |
| 578 | 578 | static const z80_daisy_chain slow_daisy_chain[] = |
| r5756 | r5757 | |
| 775 | 775 | |
| 776 | 776 | ROM_START( luxor_55_10828 ) |
| 777 | 777 | ROM_REGION( 0x1000, "abc830", ROMREGION_LOADBYNAME ) |
| 778 | | ROM_LOAD( "mpi02.bin", 0x0000, 0x0800, CRC(2aac9296) SHA1(c01a62e7933186bdf7068d2e9a5bc36590544349) ) // MPI 51 |
| 778 | ROM_LOAD( "mpi02.bin", 0x0000, 0x0800, CRC(2aac9296) SHA1(c01a62e7933186bdf7068d2e9a5bc36590544349) ) // MPI 51 (5510760-01) |
| 779 | 779 | ROM_LOAD( "basf6106.bin", 0x0800, 0x0800, NO_DUMP ) // BASF 6106 |
| 780 | 780 | |
| 781 | 781 | ROM_REGION( 0x1800, "abc832", ROMREGION_LOADBYNAME ) |
| 782 | 782 | ROM_LOAD( "micr1015.bin", 0x0000, 0x0800, CRC(a7bc05fa) SHA1(6ac3e202b7ce802c70d89728695f1cb52ac80307) ) // Micropolis 1015 |
| 783 | | ROM_LOAD( "micr1115.bin", 0x0800, 0x0800, CRC(f2fc5ccc) SHA1(86d6baadf6bf1d07d0577dc1e092850b5ff6dd1b) ) // Micropolis 1115 |
| 784 | | ROM_LOAD( "basf6118.bin", 0x1000, 0x0800, CRC(9ca1a1eb) SHA1(04973ad69de8da403739caaebe0b0f6757e4a6b1) ) // BASF 6118 |
| 783 | ROM_LOAD( "micr1115.bin", 0x0800, 0x0800, CRC(f2fc5ccc) SHA1(86d6baadf6bf1d07d0577dc1e092850b5ff6dd1b) ) // Micropolis 1115 (v2.3) |
| 784 | ROM_LOAD( "basf6118.bin", 0x1000, 0x0800, CRC(9ca1a1eb) SHA1(04973ad69de8da403739caaebe0b0f6757e4a6b1) ) // BASF 6118 (v1.2) |
| 785 | 785 | |
| 786 | 786 | ROM_REGION( 0x1000, "abc838", ROMREGION_LOADBYNAME ) |
| 787 | 787 | ROM_LOAD( "basf6104.bin", 0x0800, 0x0800, NO_DUMP ) // BASF 6104 |
src/mess/drivers/abc80x.c
| r5756 | r5757 | |
| 687 | 687 | PORT_CONFSETTING( 0x04, "ABC 852 (640KB/HDD 20MB)" ) |
| 688 | 688 | PORT_CONFSETTING( 0x05, "ABC 856 (640KB/HDD 64MB)" ) |
| 689 | 689 | |
| 690 | | // PORT_INCLUDE(luxor_55_21046) |
| 690 | PORT_INCLUDE(luxor_55_21046) |
| 691 | 691 | INPUT_PORTS_END |
| 692 | 692 | |
| 693 | 693 | static INPUT_PORTS_START( abc802 ) |
| r5756 | r5757 | |
| 1011 | 1011 | |
| 1012 | 1012 | static ABCBUS_CONFIG( abcbus_config ) |
| 1013 | 1013 | { |
| 1014 | | // { LUXOR_55_21046, CONKORT_TAG }, |
| 1014 | { LUXOR_55_21046, CONKORT_TAG }, |
| 1015 | 1015 | { NULL } |
| 1016 | 1016 | }; |
| 1017 | 1017 | |
| r5756 | r5757 | |
| 1061 | 1061 | state->cassette = devtag_get_device(machine, CASSETTE_TAG); |
| 1062 | 1062 | |
| 1063 | 1063 | /* initialize the ABC BUS */ |
| 1064 | | abcbus_init(machine, Z80_TAG, abcbus_config); |
| 1064 | // abcbus_init(machine, Z80_TAG, abcbus_config); |
| 1065 | 1065 | |
| 1066 | 1066 | /* configure memory */ |
| 1067 | 1067 | memory_configure_bank(machine, 1, 0, 1, mess_ram, 0); |
| r5756 | r5757 | |
| 1196 | 1196 | MDRV_Z80SIO_ADD(Z80SIO_TAG, ABC800_X01/2/2, sio_intf) |
| 1197 | 1197 | MDRV_Z80DART_ADD(Z80DART_TAG, ABC800_X01/2/2, abc800_dart_intf) |
| 1198 | 1198 | // MDRV_ABC77_ADD(abc800_abc77_intf) |
| 1199 | | // MDRV_LUXOR_55_21046_ADD |
| 1199 | MDRV_LUXOR_55_21046_ADD |
| 1200 | 1200 | MDRV_PRINTER_ADD("printer") |
| 1201 | 1201 | MDRV_CASSETTE_ADD( "cassette", default_cassette_config ) |
| 1202 | 1202 | |
| r5756 | r5757 | |
| 1270 | 1270 | MDRV_Z80SIO_ADD(Z80SIO_TAG, ABC800_X01/2/2, sio_intf) |
| 1271 | 1271 | MDRV_Z80DART_ADD(Z80DART_TAG, ABC800_X01/2/2, abc802_dart_intf) |
| 1272 | 1272 | // MDRV_ABC77_ADD(abc802_abc77_intf) |
| 1273 | | // MDRV_LUXOR_55_21046_ADD |
| 1273 | MDRV_LUXOR_55_21046_ADD |
| 1274 | 1274 | MDRV_PRINTER_ADD("printer") |
| 1275 | 1275 | MDRV_CASSETTE_ADD( "cassette", default_cassette_config ) |
| 1276 | 1276 | |
| r5756 | r5757 | |
| 1305 | 1305 | MDRV_Z80SIO_ADD(Z80SIO_TAG, ABC800_X01/2/2, sio_intf) |
| 1306 | 1306 | MDRV_Z80DART_ADD(Z80DART_TAG, ABC800_X01/2/2, abc806_dart_intf) |
| 1307 | 1307 | // MDRV_ABC77_ADD(abc806_abc77_intf) |
| 1308 | | // MDRV_LUXOR_55_21046_ADD |
| 1308 | MDRV_LUXOR_55_21046_ADD |
| 1309 | 1309 | MDRV_PRINTER_ADD("printer") |
| 1310 | 1310 | MDRV_CASSETTE_ADD( "cassette", default_cassette_config ) |
| 1311 | 1311 | |