Previous 15994 Revisions Next

r5757 Thursday 17th September, 2009 at 07:35:09 UTC by Curt Coder
[ABC80X] Enabled the floppy controllers.
[src/mess/drivers]abc80.c abc80x.c
[src/mess/machine]conkort.c

src/mess/machine/conkort.c
r5756r5757
235235
236236   if (data == 0x2d) // TODO: bit 0 of this is configurable with S1
237237   {
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);
239239
240240      memory_install_readwrite8_handler(io, ABCBUS_INP, ABCBUS_OUT, 0x18, 0, slow_bus_data_r, slow_bus_data_w);
241241      memory_install_read8_handler(io, ABCBUS_STAT, ABCBUS_STAT, 0x18, 0, slow_bus_stat_r);
r5756r5757
366366
367367   if (data == input_port_read(device->machine, "SW3"))
368368   {
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);
370370
371371      memory_install_readwrite8_handler(io, ABCBUS_INP, ABCBUS_OUT, 0x18, 0, fast_bus_data_r, fast_bus_data_w);
372372      memory_install_read8_handler(io, ABCBUS_STAT, ABCBUS_STAT, 0x18, 0, fast_bus_stat_r);
r5756r5757
566566
567567static const z80pio_interface conkort_pio_intf =
568568{
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 */
576576};
577577
578578static const z80_daisy_chain slow_daisy_chain[] =
r5756r5757
775775
776776ROM_START( luxor_55_10828 )
777777   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)
779779   ROM_LOAD( "basf6106.bin", 0x0800, 0x0800, NO_DUMP ) // BASF 6106
780780
781781   ROM_REGION( 0x1800, "abc832", ROMREGION_LOADBYNAME )
782782   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)
785785
786786   ROM_REGION( 0x1000, "abc838", ROMREGION_LOADBYNAME )
787787   ROM_LOAD( "basf6104.bin", 0x0800, 0x0800, NO_DUMP ) // BASF 6104
src/mess/drivers/abc80.c
r5756r5757
466466
467467static ABCBUS_CONFIG( abcbus_config )
468468{
469//   { luxor_55_10828, CONKORT_TAG },
469   { LUXOR_55_10828, CONKORT_TAG },
470470   { NULL }
471471};
472472
r5756r5757
532532   MDRV_Z80PIO_ADD(Z80PIO_TAG, abc80_pio_intf)
533533
534534   /* Luxor Conkort 55-10828 */
535//   MDRV_DEVICE_ADD(CONKORT_TAG, LUXOR_55_10828)
535   MDRV_LUXOR_55_10828_ADD
536536
537537   /* video hardware */
538538   MDRV_IMPORT_FROM(abc80_video)
src/mess/drivers/abc80x.c
r5756r5757
687687   PORT_CONFSETTING(    0x04, "ABC 852 (640KB/HDD 20MB)" )
688688   PORT_CONFSETTING(    0x05, "ABC 856 (640KB/HDD 64MB)" )
689689
690//   PORT_INCLUDE(luxor_55_21046)
690   PORT_INCLUDE(luxor_55_21046)
691691INPUT_PORTS_END
692692
693693static INPUT_PORTS_START( abc802 )
r5756r5757
10111011
10121012static ABCBUS_CONFIG( abcbus_config )
10131013{
1014//   { LUXOR_55_21046, CONKORT_TAG },
1014   { LUXOR_55_21046, CONKORT_TAG },
10151015   { NULL }
10161016};
10171017
r5756r5757
10611061   state->cassette = devtag_get_device(machine, CASSETTE_TAG);
10621062
10631063   /* initialize the ABC BUS */
1064   abcbus_init(machine, Z80_TAG, abcbus_config);
1064//   abcbus_init(machine, Z80_TAG, abcbus_config);
10651065
10661066   /* configure memory */
10671067   memory_configure_bank(machine, 1, 0, 1, mess_ram, 0);
r5756r5757
11961196   MDRV_Z80SIO_ADD(Z80SIO_TAG, ABC800_X01/2/2, sio_intf)
11971197   MDRV_Z80DART_ADD(Z80DART_TAG, ABC800_X01/2/2, abc800_dart_intf)
11981198//   MDRV_ABC77_ADD(abc800_abc77_intf)
1199//   MDRV_LUXOR_55_21046_ADD
1199   MDRV_LUXOR_55_21046_ADD
12001200   MDRV_PRINTER_ADD("printer")
12011201   MDRV_CASSETTE_ADD( "cassette", default_cassette_config )
12021202
r5756r5757
12701270   MDRV_Z80SIO_ADD(Z80SIO_TAG, ABC800_X01/2/2, sio_intf)
12711271   MDRV_Z80DART_ADD(Z80DART_TAG, ABC800_X01/2/2, abc802_dart_intf)
12721272//   MDRV_ABC77_ADD(abc802_abc77_intf)
1273//   MDRV_LUXOR_55_21046_ADD
1273   MDRV_LUXOR_55_21046_ADD
12741274   MDRV_PRINTER_ADD("printer")
12751275   MDRV_CASSETTE_ADD( "cassette", default_cassette_config )
12761276
r5756r5757
13051305   MDRV_Z80SIO_ADD(Z80SIO_TAG, ABC800_X01/2/2, sio_intf)
13061306   MDRV_Z80DART_ADD(Z80DART_TAG, ABC800_X01/2/2, abc806_dart_intf)
13071307//   MDRV_ABC77_ADD(abc806_abc77_intf)
1308//   MDRV_LUXOR_55_21046_ADD
1308   MDRV_LUXOR_55_21046_ADD
13091309   MDRV_PRINTER_ADD("printer")
13101310   MDRV_CASSETTE_ADD( "cassette", default_cassette_config )
13111311

Previous 15994 Revisions Next


© 1998-2018 The MESS Team