From a9b8065a5c0b6c4c6d10c20795b04b957110f75c Mon Sep 17 00:00:00 2001 From: etabeta78 Date: Sat, 1 Nov 2014 07:34:25 +0100 Subject: [PATCH] (MESS) apfimag: added software list for cassettes (they require you to mount the BASIC cart to be loaded, of course). [Fabio Priuli] out of whatsnew: I also set the default tape state to CASSETTE_STOP, because the APF Imagination requires you to immediately press Return after the CLOAD + Press Play sequence. With current CASSETTE_PLAY default, the tape was starting immediately after the first Return press (the one for CLOAD) and I often had the second Return input being ignored by the system, with the result that the tape was not loaded correctly... Having to press play separately seems to give the system enough time to recover from the first Return and being ready to accept a second one ;) --- hash/apfimag_cass.xml | 1214 ++++++++++++++++++++++++++++++++++++++++ src/mess/drivers/apf.c | 12 +- 2 files changed, 1219 insertions(+), 7 deletions(-) create mode 100644 hash/apfimag_cass.xml diff --git a/hash/apfimag_cass.xml b/hash/apfimag_cass.xml new file mode 100644 index 00000000000..22e89445cf7 --- /dev/null +++ b/hash/apfimag_cass.xml @@ -0,0 +1,1214 @@ + + + + + + + + + + + + 16K Letter Writter + 1982 + Milt Perry + + + + + + + + + + An Adventure in Murder + 198? + R. Eisman + + + + + + + + + + ALPHAbit + 19?? + MR R's + + + + + + + + + + + Alpha Centurion + 1983 + G. Karabin + + + + + + + + + + Alpine Skiing + 19?? + York 10 Computerware + + + + + + + + + APF-MAN + 1982 + Carl A. Echols + + + + + + + + + + Artist and Easel + 1979 + APF Electronics + + + + + + + + + + Asteroids + 19?? + York 10 Computerware + + + + + + + + + Astroid Patrol + 198? + Rief Games + + + + + + + + + + Baja + 19?? + York 10 Computerware + + + + + + + + + + Basic Tutor + 1980 + APF Electronics + + + + + + + + + + + + + + + + Battle Zone + 19?? + IM-1 Games + + + + + + + + + Bi-Plane Rescue + 19?? + York 10 Computerware + + + + + + + + + + Electronic Billboard + 1979 + APF Electronics + + + + + + + + + Boxing + 198? + Millivision + + + + + + + + + + Bugger (Bad?) + 19?? + MR R's + + + + + + + + + Burger Man + 198? + Rief Games + + + + + + + + + Centipeed + 198? + John Mechalas + + + + + + + + + + Choplifter + 19?? + York 10 Computerware + + + + + + + + + Chopper Interceptor + 19?? + York 10 Computerware + + + + + + + + + + Concentration + 198? + G. R. Jones + + + + + + + + + Copy Cat + 198? + R. Eisman + + + + + + + + + + Death Tank + 19?? + York 10 Computerware + + + + + + + + + Defender (MR R) + 19?? + MR R's + + + + + + + + + + Defender (York 10 Computerware) + 19?? + York 10 Computerware + + + + + + + + + + + Defender (York 10 Computerware, Alt) + 19?? + York 10 Computerware + + + + + + + + + Demo + 197? + APF Electronics + + + + + + + + + Depth Charge!! + 19?? + MR R's + + + + + + + + + Donkey Kong II + 198? + Rief Games + + + + + + + + + Donki-Kong + 198? + Millivision + + + + + + + + + Donki-Kong Jr + 198? + Millivision + + + + + + + + + + Draw Draw + 198? + Rief Games + + + + + + + + + + Dungeon_Treasure + 19?? + IM-1 Games + + + + + + + + + E.T. + 19?? + York 10 Computerware + + + + + + + + + + Escape + 21 + Escape 2 (Bad?) + 198? + Lacroix Games + + + + + + + + + + + Escape!!! + 198? + E. Beckett + + + + + + + + + Excape Mommies Tumb + 19?? + Handy Dandy Games + + + + + + + + + Ferzerx + 1983 + G. R. Jones + + + + + + + + + Fire! + 19?? + MR R's + + + + + + + + + FooseBall + 198? + E. Beckett + + + + + + + + + + Frogger + 19?? + York 10 Computerware + + + + + + + + + Froggy (Bad?) + 198? + E. Beckett + + + + + + + + + + Gondola Pitts + Saucer Shoot + 19?? + MR R's + + + + + + + + + Graphics Helper + 1982 + Carl A. Echols + + + + + + + + + + GraySkull + 1984 + G. Karabin + + + + + + + + + + Head-Hunter + 198? + G. R. Jones + + + + + + + + + Heart Attack + 1983 + MR R's + + + + + + + + + + IM-1 in a Million Club Newsletter Tape 4 + 19?? + IM-1 in a Million Club Newsletter + + + + + + + + + IM-1 in a Million Club Newsletter Tape 9 + 19?? + IM-1 in a Million Club Newsletter + + + + + + + + + Lord Logic-Locks + 19?? + IM-1 in a Million Club Newsletter + + + + + + + + + + Lunar Lander (Bad?) + 19?? + IM-1 in a Million Club Newsletter + + + + + + + + + Maze + 198? + R. Eisman + + + + + + + + + Mimic My Music + 19?? + IM-1 in a Million Club Newsletter + + + + + + + + + Minotaur + 1982 + G. R. Jones + + + + + + + + + Mission: Improbable - Mission Alpha + 1982 + Geo-Grafix + + + + + + + + + + + Mission: Improbable - Mission Bravo + 198? + Geo-Grafix + + + + + + + + + + Music Composer Player Piano + 1979 + APF Electronics + + + + + + + + + Mystry Mansion + 19?? + Handy Dandy Games + + + + + + + + + Pac-Rat + 19?? + MR R's + + + + + + + + + Pak-Man + 198? + E. Beckett + + + + + + + + + + Pinball Wiz + 1983 + G. Karabin + + + + + + + + + Planet Atack + 198? + Rief Games + + + + + + + + + Rattler + 198? + Geo-Grafix + + + + + + + + + Recollection + 19?? + IM-1 in a Million Club Newsletter + + + + + + + + + RoadRunner + 19?? + MR R's + + + + + + + + + Run Around + 198? + Millivision + + + + + + + + + Safari in Africa + 198? + DataComp + + + + + + + + + + Sailing + 19?? + York 10 Computerware + + + + + + + + + + Sky Diver + 19?? + York 10 Computerware + + + + + + + + + + Solar Wars! + 1983 + Handmade Games + + + + + + + + + + Sound Effects Demo Program + 19?? + Ralph A. Rodriguez + + + + + + + + + + Space Destroyers + 1980 + APF Electronics + + + + + + + + + + Space Shuttle + 19?? + York 10 Computerware + + + + + + + + + + Star Battle + 19?? + Handy Dandy Games + + + + + + + + + + Star Castle + 19?? + York 10 Computerware + + + + + + + + + + Star Ship + 198? + R. Eisman + + + + + + + + + Star Trex + 1981 + G. R. Jones + + + + + + + + + Super 21 + Space Hunt + 1983 + Geo-Grafix + + + + + + + + + + Super 21 + Space Hunt (Alt?) + 1983 + Geo-Grafix + + + + + + + + + + Super Frog + 198? + E. Beckett + + + + + + + + + + SY-50 IM-1 Diagnostics + 1979 + APF Electronics + + + + + + + + + + Theft at the Art Museum + 1982 + Carl A. Echols + + + + + + + + + Thief + 198? + Millivision + + + + + + + + + + Transport + 15 Matches + 19?? + R. T. Carman + + + + + + + + + + + Treasure Hunt (Bad?) + 1982 + Carl A. Echols + + + + + + + + + + Three-for-One : Space War + Air Fortress + Squeeze Play + 19?? + <unknown> + + + + + + + + + Tronn + 19?? + MR R's + + + + + + + + + Turbo + 19?? + York 10 Computerware + + + + + + + + + UBet + 19?? + MR R's + + + + + + + + + Wall Street Cartel + 19?? + IM-1 in a Million Club Newsletter + + + + + + + + + Zap + 198? + R. Eisman + + + + + + + + + + + + + 40 Track Initialization Program + 1983 + Hex-Mart Software + + + + + + + + + BasNum + 1983 + Hex-Mart Software + + + + + + + + + Basic Trace + 1982 + Carl A. Echols + + + + + + + + + Disk Modification Program + 1983 + Hex-Mart Software + + + + + + + + + Disk Test + 19?? + IM-1 in a Million Club Newsletter + + + + + + + + + Graphics Tablet + 19?? + IM-1 in a Million Club Newsletter + + + + + + + + + Hi-res Plot + 19?? + IM-1 in a Million Club Newsletter + + + + + + + + + Lo-res Plot + 19?? + IM-1 in a Million Club Newsletter + + + + + + + + + + MAE + 1981 + David Donnelly + + + + + + + + + Renumber + 1982 + Carl A. Echols + + + + + + + + + SY-40 Disassembler + 1979 + APF Electronics + + + + + + + + + + + + Primera? (Bad?) + 19?? + <unknown> + + + + + + + + diff --git a/src/mess/drivers/apf.c b/src/mess/drivers/apf.c index 1ad3d9c15eb..11cf134a2b7 100644 --- a/src/mess/drivers/apf.c +++ b/src/mess/drivers/apf.c @@ -258,10 +258,6 @@ void apf_state::machine_reset() m_portb = 0; m_ca2 = 0; - // apfimag only - if (m_cass) - m_cass->change_state(CASSETTE_MOTOR_DISABLED, CASSETTE_MASK_MOTOR); - // apfimag only if (m_ram) { @@ -554,7 +550,7 @@ static MACHINE_CONFIG_START( apfm1000, apf_state ) MCFG_APF_CARTRIDGE_ADD("cartslot", apf_cart, NULL) /* software lists */ - MCFG_SOFTWARE_LIST_ADD("cart_list","apfm1000") + MCFG_SOFTWARE_LIST_ADD("cart_list", "apfm1000") MACHINE_CONFIG_END static MACHINE_CONFIG_DERIVED( apfimag, apfm1000 ) @@ -574,13 +570,15 @@ static MACHINE_CONFIG_DERIVED( apfimag, apfm1000 ) MCFG_PIA_READPB_HANDLER(READ8(apf_state, pia1_portb_r)) MCFG_PIA_WRITEPB_HANDLER(WRITE8(apf_state, pia1_portb_w)) - MCFG_CASSETTE_ADD( "cassette" ) + MCFG_CASSETTE_ADD("cassette") MCFG_CASSETTE_FORMATS(apf_cassette_formats) - MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_PLAY) + MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_DISABLED) MCFG_FD1771x_ADD("fdc", 1000000) // guess MCFG_FLOPPY_DRIVE_ADD("fdc:0", apf_floppies, "525dd", floppy_image_device::default_floppy_formats) MCFG_FLOPPY_DRIVE_ADD("fdc:1", apf_floppies, "525dd", floppy_image_device::default_floppy_formats) + + MCFG_SOFTWARE_LIST_ADD("cass_list", "apfimag_cass") MACHINE_CONFIG_END