From 7a1e91eb005ddba93acb7c519716ce04c83416a0 Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Tue, 19 Aug 2014 01:01:29 +0000 Subject: [PATCH] (MESS) Systems Promoted from GAME_NOT_WORKING: [Peter Ferrie, R. Belmont] - Laser 128 (version 4.2) - Laser 128ex (version 4.5) - Laser 128ex2 (version 6.1) --- src/emu/bus/a2bus/laser128.c | 8 ++++++-- src/mess/drivers/apple2.c | 23 ++++++++++++++++++++--- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/src/emu/bus/a2bus/laser128.c b/src/emu/bus/a2bus/laser128.c index 35cd20cd9fd..bc42e977305 100644 --- a/src/emu/bus/a2bus/laser128.c +++ b/src/emu/bus/a2bus/laser128.c @@ -61,12 +61,16 @@ void a2bus_laser128_device::device_start() { // set_a2bus_device makes m_slot valid set_a2bus_device(); + + save_item(NAME(m_slot7_bank)); + save_item(NAME(m_slot7_ram_bank)); } void a2bus_laser128_device::device_reset() { m_rom = device().machine().root_device().memregion("maincpu")->base(); m_slot7_bank = 0; + m_slot7_ram_bank = 0; } UINT8 a2bus_laser128_device::read_c0nx(address_space &space, UINT8 offset) @@ -120,12 +124,12 @@ void a2bus_laser128_device::write_c800(address_space &space, UINT16 offset, UINT // UDCREG if ((m_slot == 7) && (offset == 0x7f8)) { - printf("%02x to UDCREG\n", data); +// printf("%02x to UDCREG\n", data); m_slot7_ram_bank = (data & 0x8) ? 0x400 : 0; m_slot7_bank = (((data >> 4) & 0x7) * 0x400); - printf("\tRAM bank %x, ROM bank %x\n", m_slot7_ram_bank, m_slot7_bank); +// printf("\tRAM bank %x, ROM bank %x\n", m_slot7_ram_bank, m_slot7_bank); } } diff --git a/src/mess/drivers/apple2.c b/src/mess/drivers/apple2.c index 7de0d1d2e83..e42c75c6e2b 100644 --- a/src/mess/drivers/apple2.c +++ b/src/mess/drivers/apple2.c @@ -1281,6 +1281,23 @@ static MACHINE_CONFIG_DERIVED( laser128, apple2c ) MCFG_A2BUS_SLOT_REMOVE("sl6") + MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl1", A2BUS_LASER128, NULL) + MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl2", A2BUS_LASER128, NULL) + MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl3", A2BUS_LASER128, NULL) + MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl4", A2BUS_LASER128, NULL) + MCFG_A2BUS_SLOT_ADD("a2bus", "sl5", apple2_cards, NULL) + MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl6", A2BUS_LASER128, NULL) + MCFG_A2BUS_SLOT_ADD("a2bus", "sl7", apple2_cards, NULL) +MACHINE_CONFIG_END + +static MACHINE_CONFIG_DERIVED( laser128ex2, apple2c ) + MCFG_MACHINE_START_OVERRIDE(apple2_state,laser128) + + MCFG_APPLEFDC_ADD(LASER128_UDC_TAG, fdc_interface) + MCFG_LEGACY_FLOPPY_APPLE_2_DRIVES_ADD(floppy_interface,15,16) + + MCFG_A2BUS_SLOT_REMOVE("sl6") + MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl1", A2BUS_LASER128, NULL) MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl2", A2BUS_LASER128, NULL) MCFG_A2BUS_ONBOARD_ADD("a2bus", "sl3", A2BUS_LASER128, NULL) @@ -1741,9 +1758,9 @@ COMP( 1984, apple2c, 0, apple2, apple2c, apple2e, driver_device, COMP( 1984, tk2000, apple2c, 0, tk2000, apple2e, driver_device, 0, "Microdigital", "TK2000" , GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) COMP( 1986, tk3000, apple2c, 0, tk3000, apple2e, driver_device, 0, "Microdigital", "TK3000//e" , GAME_SUPPORTS_SAVE ) COMP( 1989, prav8c, apple2c, 0, apple2c, apple2e, driver_device, 0, "Pravetz", "Pravetz 8C", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) -COMP( 1987, laser128, apple2c, 0, laser128, apple2e, driver_device, 0, "Video Technology", "Laser 128 (version 4.2)", GAME_NOT_WORKING ) -COMP( 1988, las128ex, apple2c, 0, laser128, apple2e, driver_device, 0, "Video Technology", "Laser 128ex (version 4.5)", GAME_NOT_WORKING ) -COMP( 1988, las128e2, apple2c, 0, laser128, apple2e, driver_device, 0, "Video Technology", "Laser 128ex2 (version 6.1)", GAME_NOT_WORKING ) +COMP( 1987, laser128, apple2c, 0, laser128, apple2e, driver_device, 0, "Video Technology", "Laser 128 (version 4.2)", GAME_SUPPORTS_SAVE ) +COMP( 1988, las128ex, apple2c, 0, laser128, apple2e, driver_device, 0, "Video Technology", "Laser 128ex (version 4.5)", GAME_SUPPORTS_SAVE ) +COMP( 1988, las128e2, apple2c, 0, laser128ex2, apple2e, driver_device, 0, "Video Technology", "Laser 128ex2 (version 6.1)", GAME_SUPPORTS_SAVE ) COMP( 1985, apple2c0, apple2c, 0, apple2c_iwm, apple2e, driver_device, 0, "Apple Computer", "Apple //c (UniDisk 3.5)", GAME_SUPPORTS_SAVE ) COMP( 1986, apple2c3, apple2c, 0, apple2c_iwm, apple2e, driver_device, 0, "Apple Computer", "Apple //c (Original Memory Expansion)", GAME_SUPPORTS_SAVE ) COMP( 1986, apple2c4, apple2c, 0, apple2c_iwm, apple2e, driver_device, 0, "Apple Computer", "Apple //c (rev 4)", GAME_NOT_WORKING )