Previous 15994 Revisions Next

r2574 Thursday 8th May, 2008 at 00:46:22 UTC by Robbbert
[SUPER80] Added 3 more variants.
[docs]messnew.txt
[src/mess]messdriv.c
[src/mess/drivers]super80.c

src/mess/messdriv.c
r2573r2574
827827   DRIVER( super80d )
828828   DRIVER( super80e )
829829   DRIVER( super80m )
830   DRIVER( super80r )
830831   DRIVER( super80v )
831832
832833   /* Galeb */
src/mess/drivers/super80.c
r2573r2574
472472   last_data = data;
473473}
474474
475static WRITE8_HANDLER( super80r_f0_w )
476{
477   UINT8 bits = data ^ last_data;
478
479   if (bits & 0x20) set_led_status(2,(data & 32) ? 0 : 1);      /* bit 5 - LED - scroll lock led is used */
480   speaker_level_w(0, (data & 8) ? 0 : 1);            /* bit 3 - speaker */
481   if (bits & 0x02) cassette_motor( machine, data & 2 ? 1 : 0);      /* bit 1 - cassette motor */
482   if (bits & 0x01) cassette_output(cassette_device_image(), (data & 1) ? -1.0 : +1.0);   /* bit 0 - cass out */
483
484   last_data = data;
485}
486
475487static WRITE8_HANDLER( super80v_f0_w )
476488{
477489   UINT8 bits = data ^ last_data;
r2573r2574
540552   AM_RANGE(0xfb, 0xfb) AM_MIRROR(0x04) AM_READWRITE(super80_fb_r,super80_fb_w)
541553ADDRESS_MAP_END
542554
555static ADDRESS_MAP_START( super80r_io, ADDRESS_SPACE_IO, 8 )
556   ADDRESS_MAP_GLOBAL_MASK(0xff)
557   ADDRESS_MAP_UNMAP_HIGH
558   AM_RANGE(0x10, 0x10) AM_WRITE(super80v_10_w)
559   AM_RANGE(0x11, 0x11) AM_READWRITE(super80v_11_r, super80v_11_w)
560   AM_RANGE(0xe0, 0xe0) AM_MIRROR(0x14) AM_WRITE(super80r_f0_w)
561   AM_RANGE(0xe2, 0xe2) AM_MIRROR(0x14) AM_READ(super80_f2_r)
562   AM_RANGE(0xf8, 0xf8) AM_MIRROR(0x04) AM_READWRITE(super80_f8_r,super80_f8_w)
563   AM_RANGE(0xf9, 0xf9) AM_MIRROR(0x04) AM_READWRITE(super80_f9_r,super80_f9_w)
564   AM_RANGE(0xfa, 0xfa) AM_MIRROR(0x04) AM_READWRITE(super80_fa_r,super80_fa_w)
565   AM_RANGE(0xfb, 0xfb) AM_MIRROR(0x04) AM_READWRITE(super80_fb_r,super80_fb_w)
566ADDRESS_MAP_END
567
543568static ADDRESS_MAP_START( super80v_io, ADDRESS_SPACE_IO, 8 )
544569   ADDRESS_MAP_GLOBAL_MASK(0xff)
545570   ADDRESS_MAP_UNMAP_HIGH
r2573r2574
683708   PORT_BIT( 0x16, 0x16, IPT_UNUSED )
684709INPUT_PORTS_END
685710
711static INPUT_PORTS_START( super80r )
712   PORT_INCLUDE( super80v )
713
714   PORT_MODIFY("CONFIG")
715   PORT_BIT( 0x16, 0x16, IPT_UNUSED )
716   PORT_CONFNAME( 0x60, 0x40, "Colour")
717   PORT_CONFSETTING(    0x60, "MonoChrome")
718   PORT_CONFSETTING(    0x40, "Green")
719INPUT_PORTS_END
720
686721/**************************** GRAPHICS DECODE *****************************************************************/
687722
688723static const gfx_layout super80_charlayout =
r2573r2574
868903   MDRV_Z80BIN_QUICKLOAD_ADD(default, 1)
869904MACHINE_DRIVER_END
870905
906static MACHINE_DRIVER_START( super80r )
907   MDRV_IMPORT_FROM(super80v)
908   MDRV_CPU_MODIFY("main")
909   MDRV_CPU_IO_MAP(super80r_io, 0)
910MACHINE_DRIVER_END
911
871912static void driver_init_common( void )
872913{
873914   UINT8 *RAM = memory_region(REGION_CPU1);
r2573r2574
902943
903944ROM_START( super80 )
904945   ROM_REGION(0x10000, REGION_CPU1, 0)
905   ROM_LOAD("super80.u26",  0xc000, 0x1000, CRC(6a6a9664) SHA1(2c4fcd943aa9bf7419d58fbc0e28ffb89ef22e0b) )
906   ROM_LOAD("super80.u33",  0xd000, 0x1000, CRC(cf8020a8) SHA1(2179a61f80372cd49e122ad3364773451531ae85) )
907   ROM_LOAD("super80.u42",  0xe000, 0x1000, CRC(a1c6cb75) SHA1(d644ca3b399c1a8902f365c6095e0bbdcea6733b) )
946   ROM_LOAD("super80.u26",   0xc000, 0x1000, CRC(6a6a9664) SHA1(2c4fcd943aa9bf7419d58fbc0e28ffb89ef22e0b) )
947   ROM_LOAD("super80.u33",   0xd000, 0x1000, CRC(cf8020a8) SHA1(2179a61f80372cd49e122ad3364773451531ae85) )
948   ROM_LOAD("super80.u42",   0xe000, 0x1000, CRC(a1c6cb75) SHA1(d644ca3b399c1a8902f365c6095e0bbdcea6733b) )
908949
909950   ROM_REGION(0x0400, REGION_GFX1, ROMREGION_DISPOSE)
910   ROM_LOAD("super80.u27",  0x0000, 0x0400, CRC(d1e4b3c6) SHA1(3667b97c6136da4761937958f281609690af4081) )
951   ROM_LOAD("super80.u27",  0x0000, 0x0400, CRC(d1e4b3c6) SHA1(3667b97c6136da4761937958f281609690af4081) )
911952ROM_END
912953
913954ROM_START( super80d )
914955   ROM_REGION(0x10000, REGION_CPU1, 0)
915   ROM_LOAD("super80d.u26", 0xc000, 0x1000, CRC(cebd2613) SHA1(87b94cc101a5948ce590211c68272e27f4cbe95a) )
916   ROM_LOAD("super80.u33",    0xd000, 0x1000, CRC(cf8020a8) SHA1(2179a61f80372cd49e122ad3364773451531ae85) )
917   ROM_LOAD("super80.u42",    0xe000, 0x1000, CRC(a1c6cb75) SHA1(d644ca3b399c1a8902f365c6095e0bbdcea6733b) )
956   ROM_SYSTEM_BIOS(0, "super80d", "V2.2")
957   ROMX_LOAD("super80d.u26", 0xc000, 0x1000, CRC(cebd2613) SHA1(87b94cc101a5948ce590211c68272e27f4cbe95a), ROM_BIOS(1))
958   ROM_SYSTEM_BIOS(1, "super80f", "MDS (original)")
959   ROMX_LOAD("super80f.u26", 0xc000, 0x1000, CRC(d39775f0) SHA1(b47298ee028924612e9728bb2debd0f47399add7), ROM_BIOS(2))
960   ROM_LOAD("super80.u33",     0xd000, 0x1000, CRC(cf8020a8) SHA1(2179a61f80372cd49e122ad3364773451531ae85) )
961   ROM_LOAD("super80.u42",     0xe000, 0x1000, CRC(a1c6cb75) SHA1(d644ca3b399c1a8902f365c6095e0bbdcea6733b) )
918962
919963   ROM_REGION(0x1000, REGION_GFX1, ROMREGION_DISPOSE)
920   ROM_LOAD("super80d.u27", 0x0000, 0x0800, CRC(cb4c81e2) SHA1(8096f21c914fa76df5d23f74b1f7f83bd8645783) )
921   ROM_RELOAD(              0x0800, 0x0800 )
964   ROM_LOAD("super80d.u27",  0x0000, 0x0800, CRC(cb4c81e2) SHA1(8096f21c914fa76df5d23f74b1f7f83bd8645783) )
965   ROM_RELOAD(               0x0800, 0x0800 )
922966ROM_END
923967
924968ROM_START( super80e )
925969   ROM_REGION(0x10000, REGION_CPU1, 0)
926   ROM_LOAD("super80e.u26", 0xc000, 0x1000, CRC(bdc668f8) SHA1(3ae30b3cab599fca77d5e461f3ec1acf404caf07) )
927   ROM_LOAD("super80.u33",    0xd000, 0x1000, CRC(cf8020a8) SHA1(2179a61f80372cd49e122ad3364773451531ae85) )
928   ROM_LOAD("super80.u42",    0xe000, 0x1000, CRC(a1c6cb75) SHA1(d644ca3b399c1a8902f365c6095e0bbdcea6733b) )
970   ROM_LOAD("super80e.u26",  0xc000, 0x1000, CRC(bdc668f8) SHA1(3ae30b3cab599fca77d5e461f3ec1acf404caf07) )
971   ROM_LOAD("super80.u33",     0xd000, 0x1000, CRC(cf8020a8) SHA1(2179a61f80372cd49e122ad3364773451531ae85) )
972   ROM_LOAD("super80.u42",     0xe000, 0x1000, CRC(a1c6cb75) SHA1(d644ca3b399c1a8902f365c6095e0bbdcea6733b) )
929973
930974   ROM_REGION(0x1000, REGION_GFX1, ROMREGION_DISPOSE)
931   ROM_LOAD("super80e.u27", 0x0000, 0x1000, CRC(ebe763a7) SHA1(ffaa6d6a2c5dacc5a6651514e6707175a32e83e8) )
975   ROM_LOAD("super80e.u27", 0x0000, 0x1000, CRC(ebe763a7) SHA1(ffaa6d6a2c5dacc5a6651514e6707175a32e83e8) )
932976ROM_END
933977
934978ROM_START( super80m )
935979   ROM_REGION(0x10000, REGION_CPU1, 0)
936   ROM_LOAD("s80-8r0.u26",    0xc000, 0x1000, CRC(48d410d8) SHA1(750d984abc013a3344628300288f6d1ba140a95f) )
937   ROM_LOAD("s80-8r0.u33",  0xd000, 0x1000, CRC(9765793e) SHA1(4951b127888c1f3153004cc9fb386099b408f52c) )
938   ROM_LOAD("s80-8r0.u42",  0xe000, 0x1000, CRC(5f65d94b) SHA1(fe26b54dec14e1c4911d996c9ebd084a38dcb691) )
980   ROM_LOAD("s80-8r0.u26",     0xc000, 0x1000, CRC(48d410d8) SHA1(750d984abc013a3344628300288f6d1ba140a95f) )
981   ROM_LOAD("s80-8r0.u33",   0xd000, 0x1000, CRC(9765793e) SHA1(4951b127888c1f3153004cc9fb386099b408f52c) )
982   ROM_LOAD("s80-8r0.u42",   0xe000, 0x1000, CRC(5f65d94b) SHA1(fe26b54dec14e1c4911d996c9ebd084a38dcb691) )
939983
940984   ROM_REGION(0x1000, REGION_GFX1, ROMREGION_DISPOSE)
941   ROM_LOAD("super80d.u27", 0x0000, 0x0800, CRC(cb4c81e2) SHA1(8096f21c914fa76df5d23f74b1f7f83bd8645783) )
942   ROM_RELOAD(              0x0800, 0x0800 )
985   ROM_LOAD("super80d.u27",  0x0000, 0x0800, CRC(cb4c81e2) SHA1(8096f21c914fa76df5d23f74b1f7f83bd8645783) )
986   ROM_RELOAD(               0x0800, 0x0800 )
943987
944988   ROM_REGION(0x1000, REGION_GFX2, ROMREGION_DISPOSE)
945   ROM_LOAD("super80e.u27", 0x0000, 0x1000, CRC(ebe763a7) SHA1(ffaa6d6a2c5dacc5a6651514e6707175a32e83e8) )
989   ROM_LOAD("super80e.u27", 0x0000, 0x1000, CRC(ebe763a7) SHA1(ffaa6d6a2c5dacc5a6651514e6707175a32e83e8) )
946990ROM_END
947991
992ROM_START( super80r )
993   ROM_REGION( 0x20000, REGION_CPU1, 0 )
994   ROM_SYSTEM_BIOS(0, "super80r", "MCE (original)")
995   ROMX_LOAD("super80r.u26", 0xc000, 0x1000, CRC(01bb6406) SHA1(8e275ecf5141b93f86e45ff8a735b965ea3e8d44), ROM_BIOS(1))
996   ROM_SYSTEM_BIOS(1, "super80s", "MCE (upgraded)")
997   ROMX_LOAD("super80s.u26", 0xc000, 0x1000, CRC(3e29d307) SHA1(b3f4667633e0a4eb8577e39b5bd22e1f0bfbc0a9), ROM_BIOS(2))
998
999   ROM_LOAD("super80.u33",     0xd000, 0x1000, CRC(cf8020a8) SHA1(2179a61f80372cd49e122ad3364773451531ae85) )
1000   ROM_LOAD("super80.u42",     0xe000, 0x1000, CRC(a1c6cb75) SHA1(d644ca3b399c1a8902f365c6095e0bbdcea6733b) )
1001   ROM_LOAD("s80hmce.ic24",  0xf000, 0x0800, CRC(a6488a1e) SHA1(7ba613d70a37a6b738dcd80c2bb9988ff1f011ef) )
1002ROM_END
1003
9481004ROM_START( super80v )
9491005   ROM_REGION( 0x20000, REGION_CPU1, 0 )
950   ROM_LOAD("s80-v37v.u26", 0xc000, 0x1000, CRC(01e0c0dd) SHA1(ef66af9c44c651c65a21d5bda939ffa100078c08) )
951   ROM_LOAD("s80-v37.u33",  0xd000, 0x1000, CRC(812ad777) SHA1(04f355bea3470a7d9ea23bb2811f6af7d81dc400) )
952   ROM_LOAD("s80-v37.u42",  0xe000, 0x1000, CRC(e02e736e) SHA1(57b0264c805da99234ab5e8e028fca456851a4f9) )
953   ROM_LOAD("s80hmce.ic24", 0xf000, 0x0800, CRC(a6488a1e) SHA1(7ba613d70a37a6b738dcd80c2bb9988ff1f011ef) )
1006   ROM_LOAD("s80-v37v.u26",  0xc000, 0x1000, CRC(01e0c0dd) SHA1(ef66af9c44c651c65a21d5bda939ffa100078c08) )
1007   ROM_LOAD("s80-v37.u33",   0xd000, 0x1000, CRC(812ad777) SHA1(04f355bea3470a7d9ea23bb2811f6af7d81dc400) )
1008   ROM_LOAD("s80-v37.u42",   0xe000, 0x1000, CRC(e02e736e) SHA1(57b0264c805da99234ab5e8e028fca456851a4f9) )
1009   ROM_LOAD("s80hmce.ic24",  0xf000, 0x0800, CRC(a6488a1e) SHA1(7ba613d70a37a6b738dcd80c2bb9988ff1f011ef) )
9541010ROM_END
9551011
9561012/**************************** DEVICES *****************************************************************/
r2573r2574
10141070COMP( 1981, super80d, super80, 0, super80d, super80,  super80d, super80, "Dick Smith","Super-80 (V2.2)" , 0)
10151071COMP( 1981, super80e, super80, 0, super80d, super80,  super80,  super80, "Dick Smith","Super-80 (El Graphix 4)" , 0)
10161072COMP( 1981, super80m, super80, 0, super80m, super80m, super80d, super80, "Dick Smith","Super-80 (8R0)" , 0)
1017COMP( 1981, super80v, super80, 0, super80v, super80v, super80v, super80, "Dick Smith","Super-80 (with VDUEB)" , 0)
1073COMP( 1981, super80r, super80, 0, super80r, super80r, super80v, super80, "Dick Smith","Super-80 (with VDUEB)" , 0)
1074COMP( 1981, super80v, super80, 0, super80v, super80v, super80v, super80, "Dick Smith","Super-80 (with enhanced VDUEB)" , 0)
10181075
docs/messnew.txt
r2573r2574
10.125
10.125
22
33New System Drivers Supported (in no particular order):
44------------------------------------------------------
55- Bashkiria-2M (not fully operational) [Miodrag Milanovic]
66- BK 0010/0010.01 [Miodrag Milanovic]
77- Bondwell 2 (not working)  [Tomas Karlsson]
8- Dick Smith Super-80 with VDUEB (original version) [Robbbert]
89- KOEI PasoGo (not working) [Peter Trauner]
910- Orion 128/Z80 Card II/Pro   [Miodrag Milanovic]
1011- Pentagon (not fully operational)[Miodrag Milanovic]
r2573r2574
5455
5556- [LISA] Fixed serial number read.  (bug #1583)  [Gilles Fetis]
5657
57- [MBEE] Added snapload support for COM and MWB filetypes. Added LOCK key to
58- [MBEE] Added quikload support for COM and MWB filetypes. Added LOCK key to
5859  keyboard. [Robbbert]
5960
6061- [ORION] Added cassete loading [Miodrag Milanovic]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team