summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-06-11 07:16:42 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-06-11 07:16:42 +0000
commit16f5234d435ee57b65043533f8fa2b105fb15a77 (patch)
treec6f95d84c6a1cb89ced5353230a98e1f61a6938e /src/mame/drivers
parent2dc6458ede8c0039e308c994e50acb3b8de2d1ae (diff)
Cleanups and version bumpmame0149
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/8080bw.c8
-rw-r--r--src/mame/drivers/alpha68k.c10
-rw-r--r--src/mame/drivers/ambush.c10
-rw-r--r--src/mame/drivers/asteroid.c2
-rw-r--r--src/mame/drivers/btime.c4
-rw-r--r--src/mame/drivers/ddealer.c88
-rw-r--r--src/mame/drivers/decocass.c26
-rw-r--r--src/mame/drivers/firebeat.c320
-rw-r--r--src/mame/drivers/fruitpc.c32
-rw-r--r--src/mame/drivers/galaxold.c14
-rw-r--r--src/mame/drivers/galdrvr.c4
-rw-r--r--src/mame/drivers/gaplus.c10
-rw-r--r--src/mame/drivers/jpmsru.c2
-rw-r--r--src/mame/drivers/mappy.c30
-rw-r--r--src/mame/drivers/maygayep.c2
-rw-r--r--src/mame/drivers/mazerbla.c2
-rw-r--r--src/mame/drivers/mil4000.c16
-rw-r--r--src/mame/drivers/mpu4.c20
-rw-r--r--src/mame/drivers/mpu4hw.c8
-rw-r--r--src/mame/drivers/proconn.c26
-rw-r--r--src/mame/drivers/qix.c2
-rw-r--r--src/mame/drivers/quakeat.c2
-rw-r--r--src/mame/drivers/savquest.c30
-rw-r--r--src/mame/drivers/seibuspi.c12
-rw-r--r--src/mame/drivers/speedbal.c5
-rw-r--r--src/mame/drivers/statriv2.c2
-rw-r--r--src/mame/drivers/stuntair.c2
-rw-r--r--src/mame/drivers/taito_f3.c2
-rw-r--r--src/mame/drivers/tempest.c4
-rw-r--r--src/mame/drivers/zn.c8
30 files changed, 351 insertions, 352 deletions
diff --git a/src/mame/drivers/8080bw.c b/src/mame/drivers/8080bw.c
index 48d887cd411..9a4f84338ac 100644
--- a/src/mame/drivers/8080bw.c
+++ b/src/mame/drivers/8080bw.c
@@ -3023,9 +3023,9 @@ INPUT_PORTS_END
Attack Force, by E.G.S., Italy
Not much information is available for this game.
It may have had an amber monitor?
-
+
XTAL 20MHz
-
+
TODO: sound
*****************************************************/
@@ -3073,7 +3073,7 @@ DRIVER_INIT_MEMBER(_8080bw_state,attackfc)
UINT8 *rom = memregion("maincpu")->base();
UINT32 len = memregion("maincpu")->bytes();
UINT8 *buffer = auto_alloc_array(machine(), UINT8, len);
-
+
// swap a8/a9
for (int i = 0; i < len; i++)
buffer[BITSWAP16(i, 15,14,13,12,11,10,8,9, 7,6,5,4,3,2,1,0)] = rom[i];
@@ -4554,7 +4554,7 @@ ROM_START( attackfc )
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_LOAD( "30a.bin", 0x0000, 0x0400, CRC(c12e3386) SHA1(72b1d3d67a83edf0be0b0c37ef6dcffba450f16f) )
ROM_LOAD( "36a.bin", 0x0400, 0x0400, CRC(6738dcb9) SHA1(e4c68553fc3f2d3db3d251b9cb325e2409d9c02a) )
- ROM_LOAD( "31a.bin", 0x0800, 0x0400, CRC(787a4658) SHA1(5be3143bdba6a32256603be94400034a8ea1fda6) )
+ ROM_LOAD( "31a.bin", 0x0800, 0x0400, CRC(787a4658) SHA1(5be3143bdba6a32256603be94400034a8ea1fda6) )
ROM_LOAD( "37a.bin", 0x0c00, 0x0400, CRC(ad6bfbbe) SHA1(5f5437b6c8e7dfe9649b25040862f8a51d8c43ed) )
ROM_LOAD( "32a.bin", 0x1000, 0x0400, CRC(cbe0a711) SHA1(6e5f4214a4b48b70464005f4263c9b1ec3cbbeb1) )
ROM_LOAD( "33a.bin", 0x1800, 0x0400, CRC(53147393) SHA1(57e078f1734e382e8a46be09c133daab30c75681) )
diff --git a/src/mame/drivers/alpha68k.c b/src/mame/drivers/alpha68k.c
index a36b31aea7c..e63ddbb770c 100644
--- a/src/mame/drivers/alpha68k.c
+++ b/src/mame/drivers/alpha68k.c
@@ -2751,15 +2751,15 @@ ROM_END
ROM_START( skysoldrbl )
ROM_REGION( 0x80000, "maincpu", 0 )
- ROM_LOAD16_BYTE( "g.bin", 0x00000, 0x10000, CRC(4d3273e9) SHA1(7ddaba59114180fe371d2326fc49d6274e58f5c9) ) //different from other set
- ROM_LOAD16_BYTE( "c.bin", 0x00001, 0x10000, CRC(86c7af62) SHA1(4092558f3c11130e917d06b8d43f8f00815e4148) ) //different from other set
+ ROM_LOAD16_BYTE( "g.bin", 0x00000, 0x10000, CRC(4d3273e9) SHA1(7ddaba59114180fe371d2326fc49d6274e58f5c9) ) //different from other set
+ ROM_LOAD16_BYTE( "c.bin", 0x00001, 0x10000, CRC(86c7af62) SHA1(4092558f3c11130e917d06b8d43f8f00815e4148) ) //different from other set
ROM_LOAD16_BYTE( "e.bin", 0x20000, 0x10000, CRC(03115b75) SHA1(e36f2eab0198bf6b5b419aacc593b3790b479e81) )
ROM_LOAD16_BYTE( "a.bin", 0x20001, 0x10000, CRC(7aa103c7) SHA1(1907b92a3769089e01af36f74e0ff30e7a8f178c) )
ROM_LOAD16_BYTE( "h-gtop.bin", 0x40000, 0x10000, CRC(f41dfeab) SHA1(1b4f68c0f55e89a9dcd0fae8fb26074b97b5303a) )
ROM_LOAD16_BYTE( "d-ctop.bin", 0x40001, 0x10000, CRC(56560a3c) SHA1(c57c33d3935c23d56ae256981e4c3dcd80fb86a2) )
ROM_LOAD16_BYTE( "f-etop.bin", 0x60000, 0x10000, CRC(60a52583) SHA1(975d309ba55730c87cb5ea786c4d2d82358a1b73) )
ROM_LOAD16_BYTE( "b-atop.bin", 0x60001, 0x10000, CRC(028fd31b) SHA1(feb18a7217c107bb5f8e5c5ec5bc4173e977286b) )
-
+
ROM_REGION( 0x80000, "audiocpu", 0 ) /* Sound CPU */
ROM_LOAD( "33.ic11", 0x00000, 0x08000, CRC(b711fad4) SHA1(0a9515cb36b8d03ee5f7e0669a9948571b4ec34e) )
ROM_CONTINUE( 0x18000, 0x08000 )
@@ -2781,7 +2781,7 @@ ROM_START( skysoldrbl )
ROM_LOAD( "30.ic43", 0x040000, 0x10000, CRC(9eb10d3d) SHA1(ba1445e2c166f72a67295d595990efbdd3460736) )
ROM_LOAD( "31.ic44", 0x050000, 0x10000, CRC(6b6c4e56) SHA1(1af79c5931be2eb1421172e6e7877a97681fdb84) )
ROM_LOAD( "32.ic45", 0x060000, 0x10000, CRC(fdf55eca) SHA1(0c61ab8fc60c69c4d3fa976976f42bda63c06549) )
- ROM_LOAD( "29.ic42", 0x070000, 0x10000, CRC(cf888369) SHA1(d1ef5b2c81bbf4e039cc6cfee8339700a1dbb4ca) ) //different from other set (is one of them bad?)
+ ROM_LOAD( "29.ic42", 0x070000, 0x10000, CRC(cf888369) SHA1(d1ef5b2c81bbf4e039cc6cfee8339700a1dbb4ca) ) //different from other set (is one of them bad?)
ROM_LOAD( "18.ica1", 0x080000, 0x10000, CRC(08419273) SHA1(0ded4b60b0ce17a922fb7170f992c4f6c75be895) )
ROM_LOAD( "17.ic30", 0x090000, 0x10000, CRC(6258a61b) SHA1(d56a9f1dfa02dc59935f03b86a134076e3039bf4) )
ROM_LOAD( "20.ica3", 0x0a0000, 0x10000, CRC(5e716c62) SHA1(9427cd1578221ee48f4a8d8a24a232cb9e9b2206) )
@@ -3377,7 +3377,7 @@ GAME( 1987, btlfield, timesold, alpha68k_II, btlfield, alpha68k_state, btlfi
GAME( 1987, btlfieldb, timesold, btlfieldb, btlfieldb, alpha68k_state,btlfieldb,ROT90, "bootleg", "Battle Field (bootleg)", GAME_SUPPORTS_SAVE )
GAME( 1988, skysoldr, 0, alpha68k_II, skysoldr, alpha68k_state, skysoldr, ROT90, "Alpha Denshi Co. (SNK of America/Romstar license)", "Sky Soldiers (US)", GAME_SUPPORTS_SAVE )
-GAME( 1988, skysoldrbl,skysoldr, alpha68k_II, skysoldr, alpha68k_state, skysoldr, ROT90, "bootleg", "Sky Soldiers (bootleg)", GAME_SUPPORTS_SAVE )
+GAME( 1988, skysoldrbl,skysoldr, alpha68k_II, skysoldr, alpha68k_state, skysoldr, ROT90, "bootleg", "Sky Soldiers (bootleg)", GAME_SUPPORTS_SAVE )
GAME( 1988, goldmedl, 0, alpha68k_II_gm, goldmedl, alpha68k_state, goldmedl, ROT0, "SNK", "Gold Medalist (set 1)", GAME_SUPPORTS_SAVE )
diff --git a/src/mame/drivers/ambush.c b/src/mame/drivers/ambush.c
index 25d197e62fa..2bca6a7a60e 100644
--- a/src/mame/drivers/ambush.c
+++ b/src/mame/drivers/ambush.c
@@ -286,14 +286,14 @@ ROM_END
ROM_START( ambushh )
ROM_REGION( 0x10000, "maincpu", 0 )
- /* displays an M ("Mal" is Bad in Spanish) next to ROM 1 during the test, why is internal checksum wrong (0x02 instead of 0x00) ?
+ /* displays an M ("Mal" is Bad in Spanish) next to ROM 1 during the test, why is internal checksum wrong (0x02 instead of 0x00) ?
I think the ROM has been hacked(?)
*/
ROM_LOAD( "a1_hack.i7", 0x0000, 0x2000, CRC(a7cd149d) SHA1(470ebe60bc23a7908fb96caef8074d65f8c57625) )
- // 1A6D: 0C -> 00
- // 1A75: 18 -> 0D
- // 1A76: D5 -> 18
- // 1A77: 00 -> D6
+ // 1A6D: 0C -> 00
+ // 1A75: 18 -> 0D
+ // 1A76: D5 -> 18
+ // 1A77: 00 -> D6
ROM_LOAD( "a2.g7", 0x2000, 0x2000, CRC(8328d88a) SHA1(690f0af10a0550566b67ee570f849b2764448d15) )
ROM_LOAD( "a3.f7", 0x4000, 0x2000, CRC(8db57ab5) SHA1(5cc7d7ebdfc91fb8d9ed52836d70c1de68001402) )
diff --git a/src/mame/drivers/asteroid.c b/src/mame/drivers/asteroid.c
index 64f59095f94..b343bab4c14 100644
--- a/src/mame/drivers/asteroid.c
+++ b/src/mame/drivers/asteroid.c
@@ -392,7 +392,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( aerolitos )
PORT_INCLUDE( asteroid )
-
+
PORT_MODIFY("DSW1") // this bootleg was for the Spanish market, so set it to Spanish by default
PORT_DIPNAME( 0x03, 0x03, DEF_STR( Language ) ) PORT_DIPLOCATION("SW:1,2")
PORT_DIPSETTING ( 0x00, DEF_STR( English ) )
diff --git a/src/mame/drivers/btime.c b/src/mame/drivers/btime.c
index 6eef6a1b828..738c023d4e2 100644
--- a/src/mame/drivers/btime.c
+++ b/src/mame/drivers/btime.c
@@ -900,9 +900,9 @@ static INPUT_PORTS_START( bnj )
INPUT_PORTS_END
static INPUT_PORTS_START( caractn2 ) /* 2/3 Lives Dip changes in this set */
- PORT_INCLUDE( bnj )
+ PORT_INCLUDE( bnj )
- PORT_MODIFY("DSW2")
+ PORT_MODIFY("DSW2")
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) ) PORT_DIPLOCATION("7D:1")
PORT_DIPSETTING( 0x01, "2" )
PORT_DIPSETTING( 0x00, "3" )
diff --git a/src/mame/drivers/ddealer.c b/src/mame/drivers/ddealer.c
index af92f0d6f23..644bf39f986 100644
--- a/src/mame/drivers/ddealer.c
+++ b/src/mame/drivers/ddealer.c
@@ -1,65 +1,65 @@
/*********************************************************************************************************
- Double Dealer (c)NMK 1991
+ Double Dealer (c)NMK 1991
- driver by Angelo Salese & David Haywood, based on early work by Tomasz Slanina
+ driver by Angelo Salese & David Haywood, based on early work by Tomasz Slanina
- Appears to be a down-grade of the nmk16 HW
+ Appears to be a down-grade of the nmk16 HW
- TODO:
- -When you use the "gun card" the game gives "minus" points,but points are always added,inaccurate protection?
- -Understand better the video emulation and convert it to tilemaps;
- -A Double Dealer manual is needed for the coinage settings and coin/credit simulation;
- -Decap + emulate MCU, required if the random number generation is going to be accurate;
+ TODO:
+ -When you use the "gun card" the game gives "minus" points,but points are always added,inaccurate protection?
+ -Understand better the video emulation and convert it to tilemaps;
+ -A Double Dealer manual is needed for the coinage settings and coin/credit simulation;
+ -Decap + emulate MCU, required if the random number generation is going to be accurate;
==========================================================================================================
- --
+ --
- pcb marked GD91071
+ pcb marked GD91071
- 68000P10
- YM2203C
- 91071-3 (Mask ROM)
- NMK-110 8131 ( Mitsubishi M50747 MCU ?)
- NMK 901
- NMK 902
- NMK 903 x2
- 82S135N ("5")
- 82S129N ("6")
- xtals 16.000 MHz and 6.000 MHz
- DSW x2
+ 68000P10
+ YM2203C
+ 91071-3 (Mask ROM)
+ NMK-110 8131 ( Mitsubishi M50747 MCU ?)
+ NMK 901
+ NMK 902
+ NMK 903 x2
+ 82S135N ("5")
+ 82S129N ("6")
+ xtals 16.000 MHz and 6.000 MHz
+ DSW x2
- --
+ --
- Few words about protection:
+ Few words about protection:
- - Work RAM at $fe000 - $fffff is shared with MCU . Maybe whole $f0000-$fffff is shared ...
- - After boot, game writes random-looking data to work RAM:
+ - Work RAM at $fe000 - $fffff is shared with MCU . Maybe whole $f0000-$fffff is shared ...
+ - After boot, game writes random-looking data to work RAM:
- 00052C: 33FC 1234 000F E086 move.w #$1234, $fe086.l
- 000534: 33FC 5678 000F E164 move.w #$5678, $fe164.l
- 00053C: 33FC 9CA3 000F E62E move.w #$9ca3, $fe62e.l
- 000544: 33FC ABA2 000F E734 move.w #$aba2, $fe734.l
- 00054C: 33FC B891 000F E828 move.w #$b891, $fe828.l
- 000554: 33FC C760 000F E950 move.w #$c760, $fe950.l
- 00055C: 33FC D45F 000F EA7C move.w #$d45f, $fea7c.l
- 000564: 33FC E32E 000F ED4A move.w #$e32e, $fed4a.l
+ 00052C: 33FC 1234 000F E086 move.w #$1234, $fe086.l
+ 000534: 33FC 5678 000F E164 move.w #$5678, $fe164.l
+ 00053C: 33FC 9CA3 000F E62E move.w #$9ca3, $fe62e.l
+ 000544: 33FC ABA2 000F E734 move.w #$aba2, $fe734.l
+ 00054C: 33FC B891 000F E828 move.w #$b891, $fe828.l
+ 000554: 33FC C760 000F E950 move.w #$c760, $fe950.l
+ 00055C: 33FC D45F 000F EA7C move.w #$d45f, $fea7c.l
+ 000564: 33FC E32E 000F ED4A move.w #$e32e, $fed4a.l
- Some (or maybe all ?) of above enables random generator at $fe010 - $fe017
+ Some (or maybe all ?) of above enables random generator at $fe010 - $fe017
- - There's also MCU response (write/read/test) test just after these writes.
- (probably data used in the check depends on above writes). It's similar to
- jalmah.c tests, but num of responses is different, and shared ram is
- used to communicate with MCU
+ - There's also MCU response (write/read/test) test just after these writes.
+ (probably data used in the check depends on above writes). It's similar to
+ jalmah.c tests, but num of responses is different, and shared ram is
+ used to communicate with MCU
- - After last check (or maybe durning tests ... no idea)
- MCU writes $4ef900000604 (jmp $604) to $fe000 and game jumps to this address.
+ - After last check (or maybe durning tests ... no idea)
+ MCU writes $4ef900000604 (jmp $604) to $fe000 and game jumps to this address.
- - code at $604 writes $20.w to $fe018 and $1.w to $fe01e.
- As result shared ram $fe000 - $fe007 is cleared.
+ - code at $604 writes $20.w to $fe018 and $1.w to $fe01e.
+ As result shared ram $fe000 - $fe007 is cleared.
- Also many, many other reads/writes from/to shared mem.
- Few checks every interrupt:
+ Also many, many other reads/writes from/to shared mem.
+ Few checks every interrupt:
interrupt, lvl1
diff --git a/src/mame/drivers/decocass.c b/src/mame/drivers/decocass.c
index f04cc4d2255..e9dc4f446a1 100644
--- a/src/mame/drivers/decocass.c
+++ b/src/mame/drivers/decocass.c
@@ -1657,16 +1657,16 @@ DRIVER_INIT_MEMBER(decocass_state,cdsteljn)
/* 11 */ GAME( 1981, clocknch, decocass, clocknch, clocknch, decocass_state, decocass, ROT270, "Data East Corporation", "Lock'n'Chase (DECO Cassette)", 0 )
/* 12 */ // 1981.08 Flash Boy/DECO Kid
/* 13 */ GAME( 1981, cprogolf, decocass, cprogolf, cprogolf, decocass_state, decocass, ROT270, "Data East Corporation", "Tournament Pro Golf (DECO Cassette)", 0 )
- GAME( 1981, cprogolfj, cprogolf, cprogolfj,cprogolf, decocass_state, decocass, ROT270, "Data East Corporation", "Tournament Pro Golf (DECO Cassette, Japan)", 0 )
+ GAME( 1981, cprogolfj, cprogolf, cprogolfj,cprogolf, decocass_state, decocass, ROT270, "Data East Corporation", "Tournament Pro Golf (DECO Cassette, Japan)", 0 )
/* 14 */ GAME( 1981, cdsteljn, decocass, cdsteljn, cdsteljn, decocass_state, cdsteljn, ROT270, "Data East Corporation", "DS Telejan (DECO Cassette, Japan)", 0 )
/* 15 */ GAME( 1981, cluckypo, decocass, cluckypo, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Lucky Poker (DECO Cassette)", 0 )
/* 16 */ GAME( 1981, ctisland, decocass, ctisland, decocass, decocass_state, decocrom, ROT270, "Data East Corporation", "Treasure Island (DECO Cassette, set 1)", 0 )
- GAME( 1981, ctisland2, ctisland, ctisland, decocass, decocass_state, decocrom, ROT270, "Data East Corporation", "Treasure Island (DECO Cassette, set 2)", 0 )
- GAME( 1981, ctisland3, ctisland, ctisland, decocass, decocass_state, decocrom, ROT270, "Data East Corporation", "Treasure Island (DECO Cassette, set 3)", GAME_NOT_WORKING ) /* Different Bitswap? */
+ GAME( 1981, ctisland2, ctisland, ctisland, decocass, decocass_state, decocrom, ROT270, "Data East Corporation", "Treasure Island (DECO Cassette, set 2)", 0 )
+ GAME( 1981, ctisland3, ctisland, ctisland, decocass, decocass_state, decocrom, ROT270, "Data East Corporation", "Treasure Island (DECO Cassette, set 3)", GAME_NOT_WORKING ) /* Different Bitswap? */
/* 17 */ // 1981.10 Bobbitto
/* 18 */ GAME( 1982, cexplore, decocass, cexplore, cexplore, decocass_state, decocass, ROT270, "Data East Corporation", "Explorer (DECO Cassette)", GAME_NOT_WORKING )
/* 19 */ GAME( 1982, cdiscon1, decocass, cdiscon1, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Disco No.1 (DECO Cassette)", 0 )
- GAME( 1982, csweetht, cdiscon1, cdiscon1, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Sweet Heart (DECO Cassette)", 0 )
+ GAME( 1982, csweetht, cdiscon1, cdiscon1, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Sweet Heart (DECO Cassette)", 0 )
/* 20 */ GAME( 1982, ctornado, decocass, ctornado, ctornado, decocass_state, decocass, ROT270, "Data East Corporation", "Tornado (DECO Cassette)", 0 )
/* 21 */ GAME( 1982, cmissnx, decocass, cmissnx, cmissnx, decocass_state, decocass, ROT270, "Data East Corporation", "Mission-X (DECO Cassette)", 0 )
/* 22 */ GAME( 1982, cptennis, decocass, cptennis, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Pro Tennis (DECO Cassette)", 0 )
@@ -1675,28 +1675,28 @@ DRIVER_INIT_MEMBER(decocass_state,cdsteljn)
/* 25 */ GAME( 1982, cadanglr, decocass, cfishing, cfishing, decocass_state, decocass, ROT270, "Data East Corporation", "Angler Dangler (DECO Cassette)", 0 )
/* 25 */ GAME( 1982, cfishing, cadanglr, cfishing, cfishing, decocass_state, decocass, ROT270, "Data East Corporation", "Fishing (DECO Cassette)", 0 )
/* 26 */ GAME( 1983, cbtime, decocass, cbtime, cbtime, decocass_state, decocass, ROT270, "Data East Corporation", "Burger Time (DECO Cassette)", 0 )
- GAME( 1982, chamburger,cbtime, cbtime, cbtime, decocass_state, decocass, ROT270, "Data East Corporation", "Hamburger (DECO Cassette, Japan)", 0 )
+ GAME( 1982, chamburger,cbtime, cbtime, cbtime, decocass_state, decocass, ROT270, "Data East Corporation", "Hamburger (DECO Cassette, Japan)", 0 )
/* 27 */ GAME( 1982, cburnrub, decocass, cburnrub, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Burnin' Rubber (DECO Cassette, set 1)", 0 )
- GAME( 1982, cburnrub2, cburnrub, cburnrub, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Burnin' Rubber (DECO Cassette, set 2)", 0 )
- GAME( 1982, cbnj, cburnrub, cburnrub, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Bump 'n' Jump (DECO Cassette)", 0 )
+ GAME( 1982, cburnrub2, cburnrub, cburnrub, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Burnin' Rubber (DECO Cassette, set 2)", 0 )
+ GAME( 1982, cbnj, cburnrub, cburnrub, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Bump 'n' Jump (DECO Cassette)", 0 )
/* 28 */ GAME( 1983, cgraplop, decocass, cgraplop, cgraplop, decocass_state, decocass, ROT270, "Data East Corporation", "Cluster Buster (DECO Cassette)", 0 )
- GAME( 1983, cgraplop2, cgraplop, cgraplop2,cgraplop, decocass_state, decocass, ROT270, "Data East Corporation", "Graplop (no title screen) (DECO Cassette)", 0 ) // a version with title screen exists, see reference videos
+ GAME( 1983, cgraplop2, cgraplop, cgraplop2,cgraplop, decocass_state, decocass, ROT270, "Data East Corporation", "Graplop (no title screen) (DECO Cassette)", 0 ) // a version with title screen exists, see reference videos
/* 29 */ GAME( 1983, clapapa, decocass, clapapa, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Rootin' Tootin' / La-Pa-Pa (DECO Cassette)" , 0) /* Displays 'La-Pa-Pa during attract */
- GAME( 1983, clapapa2, clapapa, clapapa, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Rootin' Tootin' (DECO Cassette)" , 0) /* Displays 'Rootin' Tootin' during attract */
+ GAME( 1983, clapapa2, clapapa, clapapa, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Rootin' Tootin' (DECO Cassette)" , 0) /* Displays 'Rootin' Tootin' during attract */
/* 30 */ GAME( 1983, cskater, decocass, cskater, cskater, decocass_state, decocass, ROT270, "Data East Corporation", "Skater (DECO Cassette, Japan)", 0 )
/* 31 */ GAME( 1983, cprobowl, decocass, cprobowl, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Pro Bowling (DECO Cassette)", 0 )
/* 32 */ GAME( 1983, cnightst, decocass, cnightst, cnightst, decocass_state, decocass, ROT270, "Data East Corporation", "Night Star (DECO Cassette, set 1)", 0 )
- GAME( 1983, cnightst2, cnightst, cnightst, cnightst, decocass_state, decocass, ROT270, "Data East Corporation", "Night Star (DECO Cassette, set 2)", 0 )
+ GAME( 1983, cnightst2, cnightst, cnightst, cnightst, decocass_state, decocass, ROT270, "Data East Corporation", "Night Star (DECO Cassette, set 2)", 0 )
/* 33 */ GAME( 1983, cpsoccer, decocass, cpsoccer, cpsoccer, decocass_state, decocass, ROT270, "Data East Corporation", "Pro Soccer (DECO Cassette)", 0 )
- GAME( 1983, cpsoccerj, cpsoccer, cpsoccer, cpsoccer, decocass_state, decocass, ROT270, "Data East Corporation", "Pro Soccer (DECO Cassette, Japan)", 0 )
+ GAME( 1983, cpsoccerj, cpsoccer, cpsoccer, cpsoccer, decocass_state, decocass, ROT270, "Data East Corporation", "Pro Soccer (DECO Cassette, Japan)", 0 )
/* 34 */ GAME( 1983, csdtenis, decocass, csdtenis, csdtenis, decocass_state, decocass, ROT270, "Data East Corporation", "Super Doubles Tennis (DECO Cassette, Japan)", GAME_WRONG_COLORS )
/* 35 */ GAME( 1985, cflyball, decocass, cflyball, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Flying Ball (DECO Cassette)", 0 )
/* 36 */ // 1984.04 Genesis/Boomer Rang'r
/* 37 */ GAME( 1983, czeroize, decocass, czeroize, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Zeroize (DECO Cassette)", 0 )
/* 38 */ GAME( 1984, cscrtry, decocass, type4, cscrtry, decocass_state, decocass, ROT270, "Data East Corporation", "Scrum Try (DECO Cassette, set 1)", 0 )
- GAME( 1984, cscrtry2, cscrtry, type4, cscrtry, decocass_state, decocass, ROT270, "Data East Corporation", "Scrum Try (DECO Cassette, set 2)", 0 )
+ GAME( 1984, cscrtry2, cscrtry, type4, cscrtry, decocass_state, decocass, ROT270, "Data East Corporation", "Scrum Try (DECO Cassette, set 2)", 0 )
/* 39 */ GAME( 1984, cppicf, decocass, cppicf, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Peter Pepper's Ice Cream Factory (DECO Cassette, set 1)", 0 )
- GAME( 1984, cppicf2, cppicf, cppicf, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Peter Pepper's Ice Cream Factory (DECO Cassette, set 2)", 0 )
+ GAME( 1984, cppicf2, cppicf, cppicf, decocass, decocass_state, decocass, ROT270, "Data East Corporation", "Peter Pepper's Ice Cream Factory (DECO Cassette, set 2)", 0 )
/* 40 */ GAME( 1984, cfghtice, decocass, cfghtice, cfghtice, decocass_state, decocass, ROT270, "Data East Corporation", "Fighting Ice Hockey (DECO Cassette)", 0 )
/* 41 */ GAME( 1984, coozumou, decocass, type4, cscrtry, decocass_state, decocass, ROT270, "Data East Corporation", "Oozumou - The Grand Sumo (DECO Cassette, Japan)", 0 )
/* 42 */ // 1984.08 Hellow Gateball // not a typo, this is official spelling
diff --git a/src/mame/drivers/firebeat.c b/src/mame/drivers/firebeat.c
index 0106e69a66a..7b1897345bb 100644
--- a/src/mame/drivers/firebeat.c
+++ b/src/mame/drivers/firebeat.c
@@ -193,7 +193,7 @@ public:
UINT8 m_extend_board_irq_enable;
UINT8 m_extend_board_irq_active;
-// emu_timer *m_keyboard_timer;
+// emu_timer *m_keyboard_timer;
GCU_REGS m_gcu[2];
int m_tick;
int m_layer;
@@ -209,7 +209,7 @@ public:
UINT8 m_temp_data[64*1024];
int m_cab_data_ptr;
const int * m_cur_cab_data;
-// int m_keyboard_state[2];
+// int m_keyboard_state[2];
UINT8 m_spu_shared_ram[0x400];
IBUTTON m_ibutton;
int m_ibutton_state;
@@ -239,8 +239,8 @@ public:
DECLARE_WRITE32_MEMBER(atapi_command_w);
DECLARE_READ32_MEMBER(atapi_control_r);
DECLARE_WRITE32_MEMBER(atapi_control_w);
-// DECLARE_READ32_MEMBER(comm_uart_r);
-// DECLARE_WRITE32_MEMBER(comm_uart_w);
+// DECLARE_READ32_MEMBER(comm_uart_r);
+// DECLARE_WRITE32_MEMBER(comm_uart_w);
DECLARE_READ32_MEMBER(cabinet_r);
DECLARE_READ32_MEMBER(keyboard_wheel_r);
DECLARE_READ8_MEMBER(midi_uart_r);
@@ -257,7 +257,7 @@ public:
DECLARE_READ32_MEMBER(ppc_spu_share_r);
DECLARE_WRITE32_MEMBER(ppc_spu_share_w);
DECLARE_READ16_MEMBER(spu_unk_r);
-// TIMER_CALLBACK_MEMBER(keyboard_timer_callback);
+// TIMER_CALLBACK_MEMBER(keyboard_timer_callback);
void gcu_draw_object(bitmap_ind16 &bitmap, const rectangle &cliprect, int chip, UINT32 *cmd);
void gcu_fill_rect(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT32 *cmd);
void gcu_draw_character(bitmap_ind16 &bitmap, const rectangle &cliprect, int chip, UINT32 *cmd);
@@ -1404,52 +1404,52 @@ WRITE32_MEMBER(firebeat_state::atapi_control_w )
/*
READ32_MEMBER(firebeat_state::comm_uart_r )
{
- UINT32 r = 0;
+ UINT32 r = 0;
- if (ACCESSING_BITS_24_31)
- {
- r |= pc16552d_0_r(space, (offset*4)+0) << 24;
- }
- if (ACCESSING_BITS_16_23)
- {
- r |= pc16552d_0_r(space, (offset*4)+1) << 16;
- }
- if (ACCESSING_BITS_8_15)
- {
- r |= pc16552d_0_r(space, (offset*4)+2) << 8;
- }
- if (ACCESSING_BITS_0_7)
- {
- r |= pc16552d_0_r(space, (offset*4)+3) << 0;
- }
+ if (ACCESSING_BITS_24_31)
+ {
+ r |= pc16552d_0_r(space, (offset*4)+0) << 24;
+ }
+ if (ACCESSING_BITS_16_23)
+ {
+ r |= pc16552d_0_r(space, (offset*4)+1) << 16;
+ }
+ if (ACCESSING_BITS_8_15)
+ {
+ r |= pc16552d_0_r(space, (offset*4)+2) << 8;
+ }
+ if (ACCESSING_BITS_0_7)
+ {
+ r |= pc16552d_0_r(space, (offset*4)+3) << 0;
+ }
- return r;
+ return r;
}
WRITE32_MEMBER(firebeat_state::comm_uart_w )
{
- if (ACCESSING_BITS_24_31)
- {
- pc16552d_0_w(space, (offset*4)+0, (data >> 24) & 0xff);
- }
- if (ACCESSING_BITS_16_23)
- {
- pc16552d_0_w(space, (offset*4)+1, (data >> 16) & 0xff);
- }
- if (ACCESSING_BITS_8_15)
- {
- pc16552d_0_w(space, (offset*4)+2, (data >> 8) & 0xff);
- }
- if (ACCESSING_BITS_0_7)
- {
- pc16552d_0_w(space, (offset*4)+3, (data >> 0) & 0xff);
- }
+ if (ACCESSING_BITS_24_31)
+ {
+ pc16552d_0_w(space, (offset*4)+0, (data >> 24) & 0xff);
+ }
+ if (ACCESSING_BITS_16_23)
+ {
+ pc16552d_0_w(space, (offset*4)+1, (data >> 16) & 0xff);
+ }
+ if (ACCESSING_BITS_8_15)
+ {
+ pc16552d_0_w(space, (offset*4)+2, (data >> 8) & 0xff);
+ }
+ if (ACCESSING_BITS_0_7)
+ {
+ pc16552d_0_w(space, (offset*4)+3, (data >> 0) & 0xff);
+ }
}
static void comm_uart_irq_callback(running_machine &machine, int channel, int value)
{
- // TODO
- //m_maincpu->set_input_line(INPUT_LINE_IRQ2, ASSERT_LINE);
+ // TODO
+ //m_maincpu->set_input_line(INPUT_LINE_IRQ2, ASSERT_LINE);
}
*/
static const ins8250_interface firebeat_com0_interface =
@@ -1569,74 +1569,74 @@ static const ins8250_interface firebeat_midi1_interface =
/*
static const int keyboard_notes[24] =
{
- 0x3c, // C1
- 0x3d, // C1#
- 0x3e, // D1
- 0x3f, // D1#
- 0x40, // E1
- 0x41, // F1
- 0x42, // F1#
- 0x43, // G1
- 0x44, // G1#
- 0x45, // A1
- 0x46, // A1#
- 0x47, // B1
- 0x48, // C2
- 0x49, // C2#
- 0x4a, // D2
- 0x4b, // D2#
- 0x4c, // E2
- 0x4d, // F2
- 0x4e, // F2#
- 0x4f, // G2
- 0x50, // G2#
- 0x51, // A2
- 0x52, // A2#
- 0x53, // B2
+ 0x3c, // C1
+ 0x3d, // C1#
+ 0x3e, // D1
+ 0x3f, // D1#
+ 0x40, // E1
+ 0x41, // F1
+ 0x42, // F1#
+ 0x43, // G1
+ 0x44, // G1#
+ 0x45, // A1
+ 0x46, // A1#
+ 0x47, // B1
+ 0x48, // C2
+ 0x49, // C2#
+ 0x4a, // D2
+ 0x4b, // D2#
+ 0x4c, // E2
+ 0x4d, // F2
+ 0x4e, // F2#
+ 0x4f, // G2
+ 0x50, // G2#
+ 0x51, // A2
+ 0x52, // A2#
+ 0x53, // B2
};
TIMER_CALLBACK_MEMBER(firebeat_state::keyboard_timer_callback)
{
- static const int kb_uart_channel[2] = { 1, 0 };
- static const char *const keynames[] = { "KEYBOARD_P1", "KEYBOARD_P2" };
- int keyboard;
- int i;
-
- for (keyboard=0; keyboard < 2; keyboard++)
- {
- UINT32 kbstate = ioport(keynames[keyboard])->read();
- int uart_channel = kb_uart_channel[keyboard];
-
- if (kbstate != m_keyboard_state[keyboard])
- {
- for (i=0; i < 24; i++)
- {
- int kbnote = keyboard_notes[i];
-
- if ((m_keyboard_state[keyboard] & (1 << i)) != 0 && (kbstate & (1 << i)) == 0)
- {
- // key was on, now off -> send Note Off message
- pc16552d_rx_data(machine(), 1, uart_channel, 0x80);
- pc16552d_rx_data(machine(), 1, uart_channel, kbnote);
- pc16552d_rx_data(machine(), 1, uart_channel, 0x7f);
- }
- else if ((m_keyboard_state[keyboard] & (1 << i)) == 0 && (kbstate & (1 << i)) != 0)
- {
- // key was off, now on -> send Note On message
- pc16552d_rx_data(machine(), 1, uart_channel, 0x90);
- pc16552d_rx_data(machine(), 1, uart_channel, kbnote);
- pc16552d_rx_data(machine(), 1, uart_channel, 0x7f);
- }
- }
- }
- else
- {
- // no messages, send Active Sense message instead
- pc16552d_rx_data(machine(), 1, uart_channel, 0xfe);
- }
-
- m_keyboard_state[keyboard] = kbstate;
- }
+ static const int kb_uart_channel[2] = { 1, 0 };
+ static const char *const keynames[] = { "KEYBOARD_P1", "KEYBOARD_P2" };
+ int keyboard;
+ int i;
+
+ for (keyboard=0; keyboard < 2; keyboard++)
+ {
+ UINT32 kbstate = ioport(keynames[keyboard])->read();
+ int uart_channel = kb_uart_channel[keyboard];
+
+ if (kbstate != m_keyboard_state[keyboard])
+ {
+ for (i=0; i < 24; i++)
+ {
+ int kbnote = keyboard_notes[i];
+
+ if ((m_keyboard_state[keyboard] & (1 << i)) != 0 && (kbstate & (1 << i)) == 0)
+ {
+ // key was on, now off -> send Note Off message
+ pc16552d_rx_data(machine(), 1, uart_channel, 0x80);
+ pc16552d_rx_data(machine(), 1, uart_channel, kbnote);
+ pc16552d_rx_data(machine(), 1, uart_channel, 0x7f);
+ }
+ else if ((m_keyboard_state[keyboard] & (1 << i)) == 0 && (kbstate & (1 << i)) != 0)
+ {
+ // key was off, now on -> send Note On message
+ pc16552d_rx_data(machine(), 1, uart_channel, 0x90);
+ pc16552d_rx_data(machine(), 1, uart_channel, kbnote);
+ pc16552d_rx_data(machine(), 1, uart_channel, 0x7f);
+ }
+ }
+ }
+ else
+ {
+ // no messages, send Active Sense message instead
+ pc16552d_rx_data(machine(), 1, uart_channel, 0xfe);
+ }
+
+ m_keyboard_state[keyboard] = kbstate;
+ }
}
*/
// Extend board IRQs
@@ -1984,57 +1984,57 @@ static INPUT_PORTS_START(kbm)
PORT_BIT( 0xff, 0x80, IPT_PADDLE_V ) PORT_MINMAX(0xff, 0x00) PORT_SENSITIVITY(30) PORT_KEYDELTA(10)
/*
- PORT_START("KEYBOARD_P1")
- PORT_BIT( 0x000001, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 C1") PORT_CODE(KEYCODE_Q)
- PORT_BIT( 0x000002, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 C1#") PORT_CODE(KEYCODE_W)
- PORT_BIT( 0x000004, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 D1") PORT_CODE(KEYCODE_E)
- PORT_BIT( 0x000008, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 D1#") PORT_CODE(KEYCODE_R)
- PORT_BIT( 0x000010, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 E1") PORT_CODE(KEYCODE_T)
- PORT_BIT( 0x000020, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 F1") PORT_CODE(KEYCODE_Y)
- PORT_BIT( 0x000040, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 F1#") PORT_CODE(KEYCODE_U)
- PORT_BIT( 0x000080, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 G1") PORT_CODE(KEYCODE_I)
- PORT_BIT( 0x000100, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 G1#") PORT_CODE(KEYCODE_O)
- PORT_BIT( 0x000200, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 A1") PORT_CODE(KEYCODE_A)
- PORT_BIT( 0x000400, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 A1#") PORT_CODE(KEYCODE_S)
- PORT_BIT( 0x000800, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 B1") PORT_CODE(KEYCODE_D)
- PORT_BIT( 0x001000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 C2") PORT_CODE(KEYCODE_F)
- PORT_BIT( 0x002000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 C2#") PORT_CODE(KEYCODE_G)
- PORT_BIT( 0x004000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 D2") PORT_CODE(KEYCODE_H)
- PORT_BIT( 0x008000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 D2#") PORT_CODE(KEYCODE_J)
- PORT_BIT( 0x010000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 E2") PORT_CODE(KEYCODE_K)
- PORT_BIT( 0x020000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 F2") PORT_CODE(KEYCODE_L)
- PORT_BIT( 0x040000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 F2#") PORT_CODE(KEYCODE_Z)
- PORT_BIT( 0x080000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 G2") PORT_CODE(KEYCODE_X)
- PORT_BIT( 0x100000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 G2#") PORT_CODE(KEYCODE_C)
- PORT_BIT( 0x200000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 A2") PORT_CODE(KEYCODE_V)
- PORT_BIT( 0x400000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 A2#") PORT_CODE(KEYCODE_B)
- PORT_BIT( 0x800000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 B2") PORT_CODE(KEYCODE_N)
-
- PORT_START("KEYBOARD_P2")
- PORT_BIT( 0x000001, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 C1") PORT_CODE(KEYCODE_Q)
- PORT_BIT( 0x000002, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 C1#") PORT_CODE(KEYCODE_W)
- PORT_BIT( 0x000004, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 D1") PORT_CODE(KEYCODE_E)
- PORT_BIT( 0x000008, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 D1#") PORT_CODE(KEYCODE_R)
- PORT_BIT( 0x000010, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 E1") PORT_CODE(KEYCODE_T)
- PORT_BIT( 0x000020, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 F1") PORT_CODE(KEYCODE_Y)
- PORT_BIT( 0x000040, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 F1#") PORT_CODE(KEYCODE_U)
- PORT_BIT( 0x000080, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 G1") PORT_CODE(KEYCODE_I)
- PORT_BIT( 0x000100, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 G1#") PORT_CODE(KEYCODE_O)
- PORT_BIT( 0x000200, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 A1") PORT_CODE(KEYCODE_A)
- PORT_BIT( 0x000400, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 A1#") PORT_CODE(KEYCODE_S)
- PORT_BIT( 0x000800, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 B1") PORT_CODE(KEYCODE_D)
- PORT_BIT( 0x001000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 C2") PORT_CODE(KEYCODE_F)
- PORT_BIT( 0x002000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 C2#") PORT_CODE(KEYCODE_G)
- PORT_BIT( 0x004000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 D2") PORT_CODE(KEYCODE_H)
- PORT_BIT( 0x008000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 D2#") PORT_CODE(KEYCODE_J)
- PORT_BIT( 0x010000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 E2") PORT_CODE(KEYCODE_K)
- PORT_BIT( 0x020000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 F2") PORT_CODE(KEYCODE_L)
- PORT_BIT( 0x040000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 F2#") PORT_CODE(KEYCODE_Z)
- PORT_BIT( 0x080000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 G2") PORT_CODE(KEYCODE_X)
- PORT_BIT( 0x100000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 G2#") PORT_CODE(KEYCODE_C)
- PORT_BIT( 0x200000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 A2") PORT_CODE(KEYCODE_V)
- PORT_BIT( 0x400000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 A2#") PORT_CODE(KEYCODE_B)
- PORT_BIT( 0x800000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 B2") PORT_CODE(KEYCODE_N)
+ PORT_START("KEYBOARD_P1")
+ PORT_BIT( 0x000001, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 C1") PORT_CODE(KEYCODE_Q)
+ PORT_BIT( 0x000002, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 C1#") PORT_CODE(KEYCODE_W)
+ PORT_BIT( 0x000004, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 D1") PORT_CODE(KEYCODE_E)
+ PORT_BIT( 0x000008, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 D1#") PORT_CODE(KEYCODE_R)
+ PORT_BIT( 0x000010, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 E1") PORT_CODE(KEYCODE_T)
+ PORT_BIT( 0x000020, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 F1") PORT_CODE(KEYCODE_Y)
+ PORT_BIT( 0x000040, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 F1#") PORT_CODE(KEYCODE_U)
+ PORT_BIT( 0x000080, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 G1") PORT_CODE(KEYCODE_I)
+ PORT_BIT( 0x000100, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 G1#") PORT_CODE(KEYCODE_O)
+ PORT_BIT( 0x000200, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 A1") PORT_CODE(KEYCODE_A)
+ PORT_BIT( 0x000400, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 A1#") PORT_CODE(KEYCODE_S)
+ PORT_BIT( 0x000800, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 B1") PORT_CODE(KEYCODE_D)
+ PORT_BIT( 0x001000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 C2") PORT_CODE(KEYCODE_F)
+ PORT_BIT( 0x002000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 C2#") PORT_CODE(KEYCODE_G)
+ PORT_BIT( 0x004000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 D2") PORT_CODE(KEYCODE_H)
+ PORT_BIT( 0x008000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 D2#") PORT_CODE(KEYCODE_J)
+ PORT_BIT( 0x010000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 E2") PORT_CODE(KEYCODE_K)
+ PORT_BIT( 0x020000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 F2") PORT_CODE(KEYCODE_L)
+ PORT_BIT( 0x040000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 F2#") PORT_CODE(KEYCODE_Z)
+ PORT_BIT( 0x080000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 G2") PORT_CODE(KEYCODE_X)
+ PORT_BIT( 0x100000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 G2#") PORT_CODE(KEYCODE_C)
+ PORT_BIT( 0x200000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 A2") PORT_CODE(KEYCODE_V)
+ PORT_BIT( 0x400000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 A2#") PORT_CODE(KEYCODE_B)
+ PORT_BIT( 0x800000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P1 B2") PORT_CODE(KEYCODE_N)
+
+ PORT_START("KEYBOARD_P2")
+ PORT_BIT( 0x000001, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 C1") PORT_CODE(KEYCODE_Q)
+ PORT_BIT( 0x000002, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 C1#") PORT_CODE(KEYCODE_W)
+ PORT_BIT( 0x000004, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 D1") PORT_CODE(KEYCODE_E)
+ PORT_BIT( 0x000008, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 D1#") PORT_CODE(KEYCODE_R)
+ PORT_BIT( 0x000010, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 E1") PORT_CODE(KEYCODE_T)
+ PORT_BIT( 0x000020, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 F1") PORT_CODE(KEYCODE_Y)
+ PORT_BIT( 0x000040, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 F1#") PORT_CODE(KEYCODE_U)
+ PORT_BIT( 0x000080, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 G1") PORT_CODE(KEYCODE_I)
+ PORT_BIT( 0x000100, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 G1#") PORT_CODE(KEYCODE_O)
+ PORT_BIT( 0x000200, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 A1") PORT_CODE(KEYCODE_A)
+ PORT_BIT( 0x000400, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 A1#") PORT_CODE(KEYCODE_S)
+ PORT_BIT( 0x000800, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 B1") PORT_CODE(KEYCODE_D)
+ PORT_BIT( 0x001000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 C2") PORT_CODE(KEYCODE_F)
+ PORT_BIT( 0x002000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 C2#") PORT_CODE(KEYCODE_G)
+ PORT_BIT( 0x004000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 D2") PORT_CODE(KEYCODE_H)
+ PORT_BIT( 0x008000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 D2#") PORT_CODE(KEYCODE_J)
+ PORT_BIT( 0x010000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 E2") PORT_CODE(KEYCODE_K)
+ PORT_BIT( 0x020000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 F2") PORT_CODE(KEYCODE_L)
+ PORT_BIT( 0x040000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 F2#") PORT_CODE(KEYCODE_Z)
+ PORT_BIT( 0x080000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 G2") PORT_CODE(KEYCODE_X)
+ PORT_BIT( 0x100000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 G2#") PORT_CODE(KEYCODE_C)
+ PORT_BIT( 0x200000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 A2") PORT_CODE(KEYCODE_V)
+ PORT_BIT( 0x400000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 A2#") PORT_CODE(KEYCODE_B)
+ PORT_BIT( 0x800000, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("P2 B2") PORT_CODE(KEYCODE_N)
*/
INPUT_PORTS_END
@@ -2355,8 +2355,8 @@ void firebeat_state::init_firebeat()
atapi_init();
-// pc16552d_init(machine(), 0, 19660800, comm_uart_irq_callback, 0); // Network UART
-// pc16552d_init(machine(), 1, 24000000, midi_uart_irq_callback, 0); // MIDI UART
+// pc16552d_init(machine(), 0, 19660800, comm_uart_irq_callback, 0); // Network UART
+// pc16552d_init(machine(), 1, 24000000, midi_uart_irq_callback, 0); // MIDI UART
m_extend_board_irq_enable = 0x3f;
m_extend_board_irq_active = 0x00;
@@ -2387,8 +2387,8 @@ DRIVER_INIT_MEMBER(firebeat_state,ppd)
void firebeat_state::init_keyboard()
{
// set keyboard timer
-// m_keyboard_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(firebeat_state::keyboard_timer_callback),this));
-// m_keyboard_timer->adjust(attotime::from_msec(10), 0, attotime::from_msec(10));
+// m_keyboard_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(firebeat_state::keyboard_timer_callback),this));
+// m_keyboard_timer->adjust(attotime::from_msec(10), 0, attotime::from_msec(10));
}
DRIVER_INIT_MEMBER(firebeat_state,kbm)
diff --git a/src/mame/drivers/fruitpc.c b/src/mame/drivers/fruitpc.c
index a20d3dd7988..566d6799187 100644
--- a/src/mame/drivers/fruitpc.c
+++ b/src/mame/drivers/fruitpc.c
@@ -84,21 +84,21 @@ ADDRESS_MAP_END
static INPUT_PORTS_START( fruitpc )
PORT_START("pc_keyboard_0")
-// PORT_BIT ( 0x0001, 0x0000, IPT_UNUSED ) /* unused scancode 0 */
-// AT_KEYB_HELPER( 0x0002, "Esc", KEYCODE_Q ) /* Esc 01 81 */
+// PORT_BIT ( 0x0001, 0x0000, IPT_UNUSED ) /* unused scancode 0 */
+// AT_KEYB_HELPER( 0x0002, "Esc", KEYCODE_Q ) /* Esc 01 81 */
PORT_START("pc_keyboard_1")
-// AT_KEYB_HELPER( 0x0010, "T", KEYCODE_T ) /* T 14 94 */
-// AT_KEYB_HELPER( 0x0020, "Y", KEYCODE_Y ) /* Y 15 95 */
-// AT_KEYB_HELPER( 0x0100, "O", KEYCODE_O ) /* O 18 98 */
-// AT_KEYB_HELPER( 0x1000, "Enter", KEYCODE_ENTER ) /* Enter 1C 9C */
+// AT_KEYB_HELPER( 0x0010, "T", KEYCODE_T ) /* T 14 94 */
+// AT_KEYB_HELPER( 0x0020, "Y", KEYCODE_Y ) /* Y 15 95 */
+// AT_KEYB_HELPER( 0x0100, "O", KEYCODE_O ) /* O 18 98 */
+// AT_KEYB_HELPER( 0x1000, "Enter", KEYCODE_ENTER ) /* Enter 1C 9C */
PORT_START("pc_keyboard_2")
PORT_START("pc_keyboard_3")
-// AT_KEYB_HELPER( 0x0001, "B", KEYCODE_B ) /* B 30 B0 */
-// AT_KEYB_HELPER( 0x0002, "N", KEYCODE_N ) /* N 31 B1 */
-// AT_KEYB_HELPER( 0x0800, "F1", KEYCODE_S ) /* F1 3B BB */
+// AT_KEYB_HELPER( 0x0001, "B", KEYCODE_B ) /* B 30 B0 */
+// AT_KEYB_HELPER( 0x0002, "N", KEYCODE_N ) /* N 31 B1 */
+// AT_KEYB_HELPER( 0x0800, "F1", KEYCODE_S ) /* F1 3B BB */
// AT_KEYB_HELPER( 0x8000, "F5", KEYCODE_F5 )
PORT_START("pc_keyboard_4")
@@ -107,13 +107,13 @@ static INPUT_PORTS_START( fruitpc )
PORT_START("pc_keyboard_5")
PORT_START("pc_keyboard_6")
-// AT_KEYB_HELPER( 0x0040, "(MF2)Cursor Up", KEYCODE_UP ) /* Up 67 e7 */
-// AT_KEYB_HELPER( 0x0080, "(MF2)Page Up", KEYCODE_PGUP ) /* Page Up 68 e8 */
-// AT_KEYB_HELPER( 0x0100, "(MF2)Cursor Left", KEYCODE_LEFT ) /* Left 69 e9 */
-// AT_KEYB_HELPER( 0x0200, "(MF2)Cursor Right", KEYCODE_RIGHT ) /* Right 6a ea */
-// AT_KEYB_HELPER( 0x0800, "(MF2)Cursor Down", KEYCODE_DOWN ) /* Down 6c ec */
-// AT_KEYB_HELPER( 0x1000, "(MF2)Page Down", KEYCODE_PGDN ) /* Page Down 6d ed */
-// AT_KEYB_HELPER( 0x4000, "Del", KEYCODE_A ) /* Delete 6f ef */
+// AT_KEYB_HELPER( 0x0040, "(MF2)Cursor Up", KEYCODE_UP ) /* Up 67 e7 */
+// AT_KEYB_HELPER( 0x0080, "(MF2)Page Up", KEYCODE_PGUP ) /* Page Up 68 e8 */
+// AT_KEYB_HELPER( 0x0100, "(MF2)Cursor Left", KEYCODE_LEFT ) /* Left 69 e9 */
+// AT_KEYB_HELPER( 0x0200, "(MF2)Cursor Right", KEYCODE_RIGHT ) /* Right 6a ea */
+// AT_KEYB_HELPER( 0x0800, "(MF2)Cursor Down", KEYCODE_DOWN ) /* Down 6c ec */
+// AT_KEYB_HELPER( 0x1000, "(MF2)Page Down", KEYCODE_PGDN ) /* Page Down 6d ed */
+// AT_KEYB_HELPER( 0x4000, "Del", KEYCODE_A ) /* Delete 6f ef */
PORT_START("pc_keyboard_7")
diff --git a/src/mame/drivers/galaxold.c b/src/mame/drivers/galaxold.c
index 88ec09b2594..723c9024a0a 100644
--- a/src/mame/drivers/galaxold.c
+++ b/src/mame/drivers/galaxold.c
@@ -637,7 +637,7 @@ static ADDRESS_MAP_START( scrambler_map, AS_PROGRAM, 8, galaxold_state )
AM_RANGE(0x6805, 0x6805) AM_DEVWRITE_LEGACY(GAL_AUDIO, galaxian_shoot_enable_w)
AM_RANGE(0x6806, 0x6807) AM_DEVWRITE_LEGACY(GAL_AUDIO, galaxian_vol_w)
AM_RANGE(0x7000, 0x7000) AM_READ_PORT("IN2") AM_WRITE(galaxold_nmi_enable_w)
-// AM_RANGE(0x7001, 0x7001)
+// AM_RANGE(0x7001, 0x7001)
AM_RANGE(0x7002, 0x7002) AM_WRITE(galaxold_coin_counter_w)
AM_RANGE(0x7003, 0x7003) AM_WRITE(scrambold_background_enable_w)
AM_RANGE(0x7004, 0x7004) AM_WRITE(galaxold_stars_enable_w)
@@ -645,13 +645,13 @@ static ADDRESS_MAP_START( scrambler_map, AS_PROGRAM, 8, galaxold_state )
AM_RANGE(0x7007, 0x7007) AM_WRITE(galaxold_flip_screen_y_w)
AM_RANGE(0x7800, 0x7800) AM_READ(watchdog_reset_r)
AM_RANGE(0x7800, 0x7800) AM_DEVWRITE_LEGACY(GAL_AUDIO, galaxian_pitch_w)
-// AM_RANGE(0x8102, 0x8102) AM_READ(scramblb_protection_1_r)
+// AM_RANGE(0x8102, 0x8102) AM_READ(scramblb_protection_1_r)
AM_RANGE(0x8202, 0x8202) AM_READ(scrambler_protection_2_r)
ADDRESS_MAP_END
WRITE8_MEMBER( galaxold_state::guttang_rombank_w )
{
-// printf("rombank %02x\n",data);
+// printf("rombank %02x\n",data);
if (data&1)
{
UINT8 *rom = memregion("maincpu")->base();
@@ -2104,7 +2104,7 @@ static INPUT_PORTS_START( guttangt )
PORT_DIPNAME( 0x40, 0x40, "IN1:7" )
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x80, 0x80, "IN1:8" )
+ PORT_DIPNAME( 0x80, 0x80, "IN1:8" )
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
@@ -2130,7 +2130,7 @@ static INPUT_PORTS_START( guttangt )
PORT_DIPNAME( 0x40, 0x40, "IN2:7" )
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x80, 0x80, "IN2:8" )
+ PORT_DIPNAME( 0x80, 0x80, "IN2:8" )
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
INPUT_PORTS_END
@@ -2368,7 +2368,7 @@ static MACHINE_CONFIG_DERIVED( guttang, galaxian )
/* video hardware */
MCFG_PALETTE_LENGTH(32+2+64+1) /* 32 for the characters, 2 for the bullets, 64 for the stars, 1 for background */
-// MCFG_PALETTE_INIT_OVERRIDE(galaxold_state,scrambold)
+// MCFG_PALETTE_INIT_OVERRIDE(galaxold_state,scrambold)
MCFG_VIDEO_START_OVERRIDE(galaxold_state,mooncrst)
MACHINE_CONFIG_END
@@ -3282,7 +3282,7 @@ ROM_START( guttangt )
ROM_REGION( 0x2000, "gfx1", 0 )
ROM_LOAD( "gg9-2732.rom", 0x0000, 0x1000, CRC(be6bf522) SHA1(23a09409b7de4bfdb970e4ff23d89a2439a0aee5) )
ROM_LOAD( "gg10-2732.rom", 0x1000, 0x1000, CRC(b04c34c5) SHA1(a37db70ce67d64daa5f0c41cce1136d1c9d8c175) )
-
+
ROM_REGION( 0x0020, "proms", 0 ) // no PROM was present..
ROM_LOAD( "mmi6331.6l", 0x0000, 0x0020, BAD_DUMP CRC(6a0c7d87) SHA1(140335d85c67c75b65689d4e76d29863c209cf32) )
ROM_END
diff --git a/src/mame/drivers/galdrvr.c b/src/mame/drivers/galdrvr.c
index a325b2a5d64..11f3f34d46d 100644
--- a/src/mame/drivers/galdrvr.c
+++ b/src/mame/drivers/galdrvr.c
@@ -46,7 +46,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( galaxianbl )
PORT_INCLUDE(galaxian)
-
+
PORT_MODIFY("IN2")
PORT_DIPNAME( 0x03, 0x00, DEF_STR( Bonus_Life ) )
PORT_DIPSETTING( 0x00, DEF_STR(None) )
@@ -5075,7 +5075,7 @@ ROM_START( mooncrsl ) // similar to above
ROM_LOAD( "07.bin", 0x3000, 0x0800, CRC(8e9ac0fc) SHA1(ddc11ad20ecbd954098becf7d7a1bbe6cddeda1b) )
ROM_LOAD( "08.bin", 0x3800, 0x0800, CRC(020a8e2f) SHA1(b64438cb043252565d8a4f3f58f4a4f78a276ba2) )
- ROM_REGION( 0x2000, "gfx1", 0 ) // not present in this set
+ ROM_REGION( 0x2000, "gfx1", 0 ) // not present in this set
ROM_LOAD( "mcs_b", 0x0000, 0x0800, CRC(fb0f1f81) SHA1(38a6679a8b69bc1870a0e67e692131c42f9535c8) )
ROM_LOAD( "mcs_d", 0x0800, 0x0800, CRC(13932a15) SHA1(b8885c555c6ad7021be55c6925a0a0872c1b6abd) )
ROM_LOAD( "mcs_a", 0x1000, 0x0800, CRC(631ebb5a) SHA1(5bc9493afa76c55858b8c8849524cbc77dc838fc) )
diff --git a/src/mame/drivers/gaplus.c b/src/mame/drivers/gaplus.c
index 49a90fb0ba1..975af49cc92 100644
--- a/src/mame/drivers/gaplus.c
+++ b/src/mame/drivers/gaplus.c
@@ -272,10 +272,10 @@ INTERRUPT_GEN_MEMBER(gaplus_state::gapluso_vblank_main_irq)
{
if(m_main_irq_mask)
m_maincpu->set_input_line(0, ASSERT_LINE);
-
+
if (!m_namco58xx->read_reset_line()) /* give the cpu a tiny bit of time to write the command before processing it */
timer_set(attotime::from_usec(50), TIMER_NAMCOIO_RUN, 1);
-
+
if (!m_namco56xx->read_reset_line()) /* give the cpu a tiny bit of time to write the command before processing it */
timer_set(attotime::from_usec(50), TIMER_NAMCOIO_RUN, 0);
}
@@ -960,15 +960,15 @@ ROM_END
DRIVER_INIT_MEMBER(gaplus_state,gaplus)
{
UINT8 *rom;
-
+
rom = memregion("gfx1")->base();
for (int i = 0;i < 0x2000;i++)
rom[i + 0x2000] = rom[i] >> 4;
-
+
rom = memregion("gfx2")->base() + 0x6000;
for (int i = 0;i < 0x2000;i++)
rom[i + 0x2000] = rom[i] << 4;
-
+
m_type = GAME_GAPLUS;
}
diff --git a/src/mame/drivers/jpmsru.c b/src/mame/drivers/jpmsru.c
index 44562248d3d..138456eba93 100644
--- a/src/mame/drivers/jpmsru.c
+++ b/src/mame/drivers/jpmsru.c
@@ -182,7 +182,7 @@ GAME(198?, j_nuddup ,0 ,jpmsru_4,jpmsru, jpmsru_state,jpmsru,ROT0, "J
GAME(198?, j_nuddup2,j_nuddup ,jpmsru_4,jpmsru, jpmsru_state,jpmsru,ROT0, "JPM","Nudge Double Up (JPM SRU, set 2)", GAME_IS_SKELETON_MECHANICAL )
-GAME(198?, j_unk ,0 ,jpmsru_4,jpmsru, jpmsru_state,jpmsru,ROT0, "JPM?","Unknown SRU Game (JPM?)", GAME_IS_SKELETON_MECHANICAL )
+GAME(198?, j_unk ,0 ,jpmsru_4,jpmsru, jpmsru_state,jpmsru,ROT0, "JPM?","Unknown SRU Game (JPM?)", GAME_IS_SKELETON_MECHANICAL )
// this one is different again?
GAME(198?, j_plus2 ,0 ,jpmsru_4,jpmsru, jpmsru_state,jpmsru,ROT0, "JPM","Plus 2 (JPM)", GAME_IS_SKELETON_MECHANICAL )
diff --git a/src/mame/drivers/mappy.c b/src/mame/drivers/mappy.c
index d551d50b59d..1bb35eedb76 100644
--- a/src/mame/drivers/mappy.c
+++ b/src/mame/drivers/mappy.c
@@ -578,7 +578,7 @@ TODO:
void mappy_state::common_latch_w(UINT32 offset)
{
int bit = offset & 1;
-
+
switch (offset & 0x0e)
{
case 0x00: /* INT ON 2 */
@@ -586,27 +586,27 @@ void mappy_state::common_latch_w(UINT32 offset)
if (!bit)
m_subcpu->set_input_line(0, CLEAR_LINE);
break;
-
+
case 0x02: /* INT ON */
m_main_irq_mask = bit;
if (!bit)
m_maincpu->set_input_line(0, CLEAR_LINE);
break;
-
+
case 0x04: /* n.c. */
break;
-
+
case 0x06: /* SOUND ON */
mappy_sound_enable(machine().device("namco"), bit);
break;
-
+
case 0x0a: /* SUB RESET */
m_subcpu->set_input_line(INPUT_LINE_RESET, bit ? CLEAR_LINE : ASSERT_LINE);
break;
-
+
case 0x0c: /* n.c. */
break;
-
+
case 0x0e: /* n.c. */
break;
}
@@ -638,7 +638,7 @@ WRITE8_MEMBER(mappy_state::superpac_latch_w)
default:
common_latch_w(offset);
- break;
+ break;
}
}
@@ -662,10 +662,10 @@ WRITE8_MEMBER(mappy_state::phozon_latch_w)
case 0x0c:
m_subcpu2->set_input_line(INPUT_LINE_RESET, bit ? CLEAR_LINE : ASSERT_LINE);
break;
-
+
default:
common_latch_w(offset);
- break;
+ break;
}
}
@@ -697,10 +697,10 @@ WRITE8_MEMBER(mappy_state::mappy_latch_w)
break;
}
break;
-
+
default:
common_latch_w(offset);
- break;
+ break;
}
}
@@ -1714,7 +1714,7 @@ static MACHINE_CONFIG_FRAGMENT( superpac_common )
MCFG_WATCHDOG_VBLANK_INIT(8)
MCFG_QUANTUM_TIME(attotime::from_hz(6000)) /* 100 CPU slices per frame - an high value to ensure proper */
- /* synchronization of the CPUs */
+ /* synchronization of the CPUs */
MCFG_MACHINE_START_OVERRIDE(mappy_state,mappy)
MCFG_MACHINE_RESET_OVERRIDE(mappy_state,superpac)
@@ -1792,7 +1792,7 @@ static MACHINE_CONFIG_START( phozon, mappy_state )
MCFG_WATCHDOG_VBLANK_INIT(8)
MCFG_QUANTUM_TIME(attotime::from_hz(6000)) /* 100 CPU slices per frame - an high value to ensure proper */
- /* synchronization of the CPUs */
+ /* synchronization of the CPUs */
MCFG_MACHINE_START_OVERRIDE(mappy_state,mappy)
MCFG_MACHINE_RESET_OVERRIDE(mappy_state,phozon)
@@ -1832,7 +1832,7 @@ static MACHINE_CONFIG_FRAGMENT( mappy_common )
MCFG_WATCHDOG_VBLANK_INIT(8)
MCFG_QUANTUM_TIME(attotime::from_hz(6000)) /* 100 CPU slices per frame - an high value to ensure proper */
- /* synchronization of the CPUs */
+ /* synchronization of the CPUs */
MCFG_MACHINE_START_OVERRIDE(mappy_state,mappy)
MCFG_MACHINE_RESET_OVERRIDE(mappy_state,mappy)
diff --git a/src/mame/drivers/maygayep.c b/src/mame/drivers/maygayep.c
index ac9faab35ef..0b82cb18a8e 100644
--- a/src/mame/drivers/maygayep.c
+++ b/src/mame/drivers/maygayep.c
@@ -6604,7 +6604,7 @@ ROM_END
#define EP_TREAS_SOUND \
ROM_REGION( 0x100000, "ymz", 0 ) \
- ROM_LOAD( "treas1_6.s0", 0x000000, 0x080000, CRC(df792dc0) SHA1(96647eb579a3a60f1a4a2bea53d7a13030838437) )
+ ROM_LOAD( "treas1_6.s0", 0x000000, 0x080000, CRC(df792dc0) SHA1(96647eb579a3a60f1a4a2bea53d7a13030838437) )
ROM_START( ep_treas )
ROM_REGION( 0x080000, "maincpu", 0 )
diff --git a/src/mame/drivers/mazerbla.c b/src/mame/drivers/mazerbla.c
index 3b9110ec34f..41b4df6c143 100644
--- a/src/mame/drivers/mazerbla.c
+++ b/src/mame/drivers/mazerbla.c
@@ -20,7 +20,7 @@ ZPU-2000 - main cpu board
- four 'test button' style switches
- one 4Mhz xtal @A1
- this same board is shared with cliff hanger (clifhgr.c)
-
+
CFB-1000 - video/subcpu board
- this board has a sub-cpu on it and four roms (six sockets for roms, two empty)
- the roms go in sockets "ROM0"@G8, "ROM2"@K8, "ROM3"@K10, "ROM4"@K11
diff --git a/src/mame/drivers/mil4000.c b/src/mame/drivers/mil4000.c
index 0fbf6969945..61a542251ad 100644
--- a/src/mame/drivers/mil4000.c
+++ b/src/mame/drivers/mil4000.c
@@ -502,7 +502,7 @@ ROM_END
Sound: 1x U6295 (U53)
- RAM: 2x 6116.
+ RAM: 2x 6116.
2x 6264 (prg RAM)
2x 62256 (near battery)
@@ -518,27 +518,27 @@ ROM_END
*/
ROM_START( top21 )
- ROM_REGION( 0x100000, "maincpu", 0 ) // 68000 code
+ ROM_REGION( 0x100000, "maincpu", 0 ) // 68000 code
ROM_LOAD16_BYTE( "odd_1-2.u75", 0x000001, 0x80000, CRC(ce4f2a74) SHA1(f9a9043da924ddba16f49d6856dbcfd8f066c824) )
ROM_LOAD16_BYTE( "even_1-2.u76", 0x000000, 0x80000, CRC(8d645456) SHA1(06c59816f259168f15503b276fc28c947e17cc60) )
- ROM_COPY( "maincpu", 0x080000, 0x00000, 0x80000 ) // copying the second halves to the right offset
+ ROM_COPY( "maincpu", 0x080000, 0x00000, 0x80000 ) // copying the second halves to the right offset
ROM_REGION( 0xa0000, "gfx1", 0 )
ROM_LOAD( "36.u36", 0x000000, 0x20000, CRC(071883f7) SHA1(16b5c251975394bb94c0d32277912ea99280c21c) )
- ROM_LOAD( "35.u35", 0x020000, 0x20000, CRC(cdc8cc44) SHA1(ce703e7f050465b1bc07800eb84eb7f127ebbddb) ) // double size. 2nd half empty
+ ROM_LOAD( "35.u35", 0x020000, 0x20000, CRC(cdc8cc44) SHA1(ce703e7f050465b1bc07800eb84eb7f127ebbddb) ) // double size. 2nd half empty
ROM_IGNORE( 0x20000)
ROM_LOAD( "34.u34", 0x040000, 0x20000, CRC(bdbe7360) SHA1(3038f66d57a43afea9d6c05908bfb50167a881c2) )
ROM_LOAD( "33.u33", 0x060000, 0x20000, CRC(670584b0) SHA1(23772404b5e5066828c59d9baa03b732a80db676) )
ROM_LOAD( "32.u32", 0x080000, 0x20000, CRC(c5bc3950) SHA1(aebaae91ade0c221ba14186fde78206996cdec30) )
- ROM_REGION( 0x80000, "oki", 0 ) // 6295 samples (first half empty)
+ ROM_REGION( 0x80000, "oki", 0 ) // 6295 samples (first half empty)
ROM_LOAD( "audio.u64", 0x00000, 0x80000, CRC(4f70a9bc) SHA1(83f0664eadf923ed45e3e18bfcefafb85163c4a0) )
- ROM_COPY( "oki", 0x40000, 0x00000, 0x40000 ) // copying the second half to the right offset
+ ROM_COPY( "oki", 0x40000, 0x00000, 0x40000 ) // copying the second half to the right offset
- ROM_REGION( 0x4000, "mcu", 0 ) // MCU code
+ ROM_REGION( 0x4000, "mcu", 0 ) // MCU code
ROM_LOAD( "pic16c65b_top21.u60", 0x0000, 0x4000, NO_DUMP )
- ROM_REGION( 0x10000, "nvram", 0 ) // default NVRAM (2x 62256)
+ ROM_REGION( 0x10000, "nvram", 0 ) // default NVRAM (2x 62256)
ROM_LOAD( "top21_nvram.bin", 0x00000, 0x10000, CRC(638726ce) SHA1(c55c77df5fbddfb19acf50f1b4467c63c818d5e7) )
ROM_END
diff --git a/src/mame/drivers/mpu4.c b/src/mame/drivers/mpu4.c
index 38169cd07f0..17f8ce392ef 100644
--- a/src/mame/drivers/mpu4.c
+++ b/src/mame/drivers/mpu4.c
@@ -1885,27 +1885,27 @@ ROM_END
/*
Coinworld data
-Error Number Cause of alarm Comments
-11 1 GBP coin in These alarms go off when a coin is jammed in the mech, or if the Mars anti-strimming alarm is activated.
+Error Number Cause of alarm Comments
+11 1 GBP coin in These alarms go off when a coin is jammed in the mech, or if the Mars anti-strimming alarm is activated.
12 50p coin in The machine will lock up for a short amount of time, whilst sounding as alarm tone.
13 20p coin in Error 15 can be caused by having DIL switch 6 in the wrong position for your coin mech loom.
14 10p coin in
15 5p coin in
-16 2 GBP coin in
+16 2 GBP coin in
21 Reel 1 alarm The faulty reel will flash. Nothing more will happen until the machine is reset
22 Reel 2 alarm
-23 Reel 3 alarm
-42 Ram Cleared The RAM is cleared when the machine is turned on for the first time, or when the price of play is changed. The alarm
+23 Reel 3 alarm
+42 Ram Cleared The RAM is cleared when the machine is turned on for the first time, or when the price of play is changed. The alarm
clears after a short time
-51 Checksum error The machine will lock up completely if the eprom has failed, or if the security chip is missing or has failed
+51 Checksum error The machine will lock up completely if the eprom has failed, or if the security chip is missing or has failed
54 Security chip fail
61 Cash in meter failure The machine will not run if the cash in, or cash out meters are not connected properly.
-62 Cash out meter failure
-71 Datapack error If the machine is in protocol mode, and a datapack is not connected, then the machine alarms. It will reset after a
+62 Cash out meter failure
+71 Datapack error If the machine is in protocol mode, and a datapack is not connected, then the machine alarms. It will reset after a
time, and have another go at transmitting the data
-72 Sound card fail If the sound card is missing, or the wrong sound eprom is fitted, the machine alarms on power on. The machine will then
+72 Sound card fail If the sound card is missing, or the wrong sound eprom is fitted, the machine alarms on power on. The machine will then
operate in silence.
-99 Payout tubes empty If one of the tubes runs dry, the machine will attempt to compensate by paying from the other tube. If this runs dry
+99 Payout tubes empty If one of the tubes runs dry, the machine will attempt to compensate by paying from the other tube. If this runs dry
as well, the machine will lock up, requiring a refill before games can continue. The alarm tone is a softer, more friendly one.
*/
diff --git a/src/mame/drivers/mpu4hw.c b/src/mame/drivers/mpu4hw.c
index 9c424f463d5..a6bde3283e0 100644
--- a/src/mame/drivers/mpu4hw.c
+++ b/src/mame/drivers/mpu4hw.c
@@ -1801,7 +1801,7 @@ INPUT_PORTS_START( mpu4_cw )
PORT_DIPNAME( 0x0C, 0x00, "Jackpot" ) PORT_DIPLOCATION("DIL1:03,04")
PORT_DIPSETTING( 0x04, "15 GBP" )
PORT_DIPSETTING( 0x00, "10 GBP" )
- PORT_DIPSETTING( 0x08, "5 GBP" )
+ PORT_DIPSETTING( 0x08, "5 GBP" )
PORT_DIPNAME( 0x10, 0x00, "Hold Mode" ) PORT_DIPLOCATION("DIL1:05")
PORT_DIPSETTING( 0x00, "Show Hints" )
PORT_DIPSETTING( 0x10, "Auto Hold" )
@@ -1813,18 +1813,18 @@ INPUT_PORTS_START( mpu4_cw )
PORT_DIPSETTING( 0x40, "Fat motor" )
PORT_DIPNAME( 0x80, 0x00, "Payout Tube" ) PORT_DIPLOCATION("DIL1:05")
PORT_DIPSETTING( 0x00, "20p" )
- PORT_DIPSETTING( 0x80, "10p" )
+ PORT_DIPSETTING( 0x80, "10p" )
PORT_MODIFY("DIL2")
PORT_DIPNAME( 0x07, 0x00, "Stake Setting" )
PORT_DIPSETTING( 0x00, "Not fitted / 5p" )
PORT_DIPSETTING( 0x01, "10p" )
PORT_DIPSETTING( 0x02, "20p" )
- PORT_DIPSETTING( 0x03, "25p" )
+ PORT_DIPSETTING( 0x03, "25p" )
PORT_DIPSETTING( 0x04, "30p" )
PORT_BIT(0xE0, IP_ACTIVE_HIGH, IPT_UNUSED)
INPUT_PORTS_END
-
+
INPUT_PORTS_START( mpu4jackpot8tkn )
PORT_INCLUDE( mpu4 )
diff --git a/src/mame/drivers/proconn.c b/src/mame/drivers/proconn.c
index a66d209b5d5..bc59912cda1 100644
--- a/src/mame/drivers/proconn.c
+++ b/src/mame/drivers/proconn.c
@@ -5,20 +5,20 @@
what's the difference between the platforms, sound hardware?
Some early Proconn hardware was used for Maygay stuff, so this may be a bit of a mix.
-
+
Error codes:
-
- ERROR 1 EPROM FAILED
- ERROR 3 RAM CORRUPTION DETECTED (common on PC90 boards)
- ERROR 10 RAM FAILURE
- ERROR 20 METERS DISCONNECTED
- ERROR 21 CASH IN METER FAIL
- ERROR 22 CASH OUT METER FAIL
- ERROR 25 REFILL METER FAIL
- ERROR 30 REEL 1 FAIL
- ERROR 31 REEL 2 FAIL
- ERROR 32 REEL 3 FAIL
- ERROR 99 SECURITY CARD MISSING OR FAILED, OR INCORRECT FOR PROGRAM
+
+ ERROR 1 EPROM FAILED
+ ERROR 3 RAM CORRUPTION DETECTED (common on PC90 boards)
+ ERROR 10 RAM FAILURE
+ ERROR 20 METERS DISCONNECTED
+ ERROR 21 CASH IN METER FAIL
+ ERROR 22 CASH OUT METER FAIL
+ ERROR 25 REFILL METER FAIL
+ ERROR 30 REEL 1 FAIL
+ ERROR 31 REEL 2 FAIL
+ ERROR 32 REEL 3 FAIL
+ ERROR 99 SECURITY CARD MISSING OR FAILED, OR INCORRECT FOR PROGRAM
*/
diff --git a/src/mame/drivers/qix.c b/src/mame/drivers/qix.c
index 59f1b4115d6..5924344b530 100644
--- a/src/mame/drivers/qix.c
+++ b/src/mame/drivers/qix.c
@@ -31,7 +31,7 @@
The kram3 set used to be playable with the implementation in the MAME M6809
CPU core, encrypting only the first byte in 10 xx and 11 xx opcodes.
This should get a cleaner implementation. Until then, kram3 is broken on purpose.
-
+
According to the QIX and Kram schematics, these games should be using 68A90Es.
The 6809E has a 'Last Instruction Cycle' pin that is likely tied in with the encryption:
"LIC is HIGH during the last cycle of every instruction and its transition from
diff --git a/src/mame/drivers/quakeat.c b/src/mame/drivers/quakeat.c
index 20ac096a7ee..bb7abce1373 100644
--- a/src/mame/drivers/quakeat.c
+++ b/src/mame/drivers/quakeat.c
@@ -92,7 +92,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( quake_io, AS_IO, 32, quakeat_state )
AM_IMPORT_FROM(pcat32_io_common)
AM_RANGE(0x00e8, 0x00eb) AM_NOP
-// AM_RANGE(0x01f0, 0x01f7) AM_DEVREADWRITE16("ide", ide_controller_device, read_cs0_pc, write_cs0_pc, 0xffffffff)
+// AM_RANGE(0x01f0, 0x01f7) AM_DEVREADWRITE16("ide", ide_controller_device, read_cs0_pc, write_cs0_pc, 0xffffffff)
AM_RANGE(0x0300, 0x03af) AM_NOP
AM_RANGE(0x03b0, 0x03df) AM_NOP
// AM_RANGE(0x0278, 0x027b) AM_WRITE(pnp_config_w)
diff --git a/src/mame/drivers/savquest.c b/src/mame/drivers/savquest.c
index 19cf3b8026b..cf9090ccdb7 100644
--- a/src/mame/drivers/savquest.c
+++ b/src/mame/drivers/savquest.c
@@ -423,24 +423,24 @@ WRITE32_MEMBER(savquest_state::parallel_port_w)
*/
if ((data8 == 0x94)
- || (data8 == 0x9e)
- || (data8 == 0xa4)
- || (data8 == 0xb2)
- || (data8 == 0xbe)
- || (data8 == 0xd0)
- )
+ || (data8 == 0x9e)
+ || (data8 == 0xa4)
+ || (data8 == 0xb2)
+ || (data8 == 0xbe)
+ || (data8 == 0xd0)
+ )
{
return;
}
if ((data8 == 0x8a)
- || (data8 == 0x8e)
- || (data8 == 0xca)
- || (data8 == 0xd2)
- || (data8 == 0xe2)
- || (data8 == 0xf0)
- || (data8 == 0xfc)
- )
+ || (data8 == 0x8e)
+ || (data8 == 0xca)
+ || (data8 == 0xd2)
+ || (data8 == 0xe2)
+ || (data8 == 0xf0)
+ || (data8 == 0xfc)
+ )
{
/* someone with access to the actual dongle could dump the true values
I've never seen it so I just determined the relevant bits instead
@@ -509,8 +509,8 @@ WRITE32_MEMBER(savquest_state::parallel_port_w)
}
if ((m_haspstate == HASPSTATE_PASSBEG)
- && (data8 & 1)
- )
+ && (data8 & 1)
+ )
{
m_hasp_tmppass[m_hasp_passind] = data8;
diff --git a/src/mame/drivers/seibuspi.c b/src/mame/drivers/seibuspi.c
index 5693f0de306..f3bb80cdd1f 100644
--- a/src/mame/drivers/seibuspi.c
+++ b/src/mame/drivers/seibuspi.c
@@ -30,7 +30,7 @@
This code is also in the main PRG ROM at offset 0x1ffffc, even on single
board games. Known regions are:
-
+
0x01 Japan
0x10 US
0x20 Taiwan
@@ -951,8 +951,8 @@ WRITE32_MEMBER(seibuspi_state::ejsakura_input_select_w)
static ADDRESS_MAP_START( base_map, AS_PROGRAM, 32, seibuspi_state )
-// AM_RANGE(0x00000104, 0x00000107) AM_WRITENOP // ?
-// AM_RANGE(0x00000108, 0x0000010b) AM_WRITENOP // ?
+// AM_RANGE(0x00000104, 0x00000107) AM_WRITENOP // ?
+// AM_RANGE(0x00000108, 0x0000010b) AM_WRITENOP // ?
AM_RANGE(0x00000000, 0x000003ff) AM_RAM
AM_RANGE(0x00000414, 0x00000417) AM_WRITENOP // bg gfx decryption key, see machine/seibuspi.c
AM_RANGE(0x00000418, 0x0000041b) AM_READWRITE(spi_layer_bank_r, spi_layer_bank_w)
@@ -1059,7 +1059,7 @@ WRITE8_MEMBER(seibuspi_state::z80_bank_w)
m_z80_lastbank = bank;
membank("bank1")->set_entry(bank);
}
-
+
// d3: watchdog?
}
@@ -1067,7 +1067,7 @@ WRITE8_MEMBER(seibuspi_state::spi_coin_w)
{
coin_counter_w(machine(), 0, data & 1);
coin_counter_w(machine(), 1, data & 2);
-
+
// coin latch used by single boards
if (data)
m_sb_coin_latch = 0xa0 | data;
@@ -1903,7 +1903,7 @@ static MACHINE_CONFIG_DERIVED( sxx2f, sxx2e )
MCFG_DEVICE_REMOVE("ds2404")
MCFG_EEPROM_ADD("eeprom", eeprom_intf)
-
+
// Z80 is Z84C0006PCS instead of Z84C0008PEC
// clock is unknown, possibly slower than 7.159MHz
MACHINE_CONFIG_END
diff --git a/src/mame/drivers/speedbal.c b/src/mame/drivers/speedbal.c
index aa041f87fdf..33426f89634 100644
--- a/src/mame/drivers/speedbal.c
+++ b/src/mame/drivers/speedbal.c
@@ -80,7 +80,7 @@ WRITE8_MEMBER(speedbal_state::leds_output_block)
{
if (!m_leds_start)
return;
-
+
m_leds_start = false;
// Each hypothetical led block has 3 7seg leds.
@@ -362,11 +362,10 @@ DRIVER_INIT_MEMBER(speedbal_state,musicbal)
for (int i=0;i<0x8000;i++)
{
-
// some bits are ^ 0x05
/*if ((i&0x30) == 0x00)
{
- if ((( i & 0x0f ) > 0x08) && (( i & 0x0f ) < 0x0f)) MUSICBALL_XOR05
+ if ((( i & 0x0f ) > 0x08) && (( i & 0x0f ) < 0x0f)) MUSICBALL_XOR05
}
*/
diff --git a/src/mame/drivers/statriv2.c b/src/mame/drivers/statriv2.c
index c6ccc11d603..ad499d9ccd0 100644
--- a/src/mame/drivers/statriv2.c
+++ b/src/mame/drivers/statriv2.c
@@ -85,7 +85,7 @@ public:
m_tms(*this, "tms"),
m_videoram(*this, "videoram"),
m_question_offset(*this, "question_offset")
- { }
+ { }
required_device<cpu_device> m_maincpu;
required_device<tms9927_device> m_tms;
diff --git a/src/mame/drivers/stuntair.c b/src/mame/drivers/stuntair.c
index fe407896255..1db703b82a3 100644
--- a/src/mame/drivers/stuntair.c
+++ b/src/mame/drivers/stuntair.c
@@ -149,7 +149,7 @@ PALETTE_INIT( stuntair )
int b = (data&0xc0)>>6;
int g = (data&0x38)>>3;
int r = (data&0x07)>>0;
-
+
palette_set_color(machine,i,MAKE_RGB(r<<5,g<<5,b<<6));
}
diff --git a/src/mame/drivers/taito_f3.c b/src/mame/drivers/taito_f3.c
index b4945634204..d9b37cd0fba 100644
--- a/src/mame/drivers/taito_f3.c
+++ b/src/mame/drivers/taito_f3.c
@@ -1,7 +1,7 @@
/***************************************************************************
Taito F3 Package System (aka F3 Cybercore System)
-
+
Emulation by Bryan McPhail, mish@tendril.co.uk/mish@mame.net
Thanks to Ian Schmidt and Stiletto for sound information!
Major thanks to Aaron Giles for sound info, figuring out the 68K/ES5505
diff --git a/src/mame/drivers/tempest.c b/src/mame/drivers/tempest.c
index dcde67990d0..92a052cd355 100644
--- a/src/mame/drivers/tempest.c
+++ b/src/mame/drivers/tempest.c
@@ -288,11 +288,11 @@ public:
tempest_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
- m_mathbox(*this, "mathbox") { }
+ m_mathbox(*this, "mathbox") { }
required_device<cpu_device> m_maincpu;
required_device<mathbox_device> m_mathbox;
-
+
UINT8 m_player_select;
DECLARE_WRITE8_MEMBER(wdclr_w);
DECLARE_WRITE8_MEMBER(tempest_led_w);
diff --git a/src/mame/drivers/zn.c b/src/mame/drivers/zn.c
index 01ed37083ed..c04374a0cab 100644
--- a/src/mame/drivers/zn.c
+++ b/src/mame/drivers/zn.c
@@ -2132,7 +2132,7 @@ static ADDRESS_MAP_START(coh1001l_map, AS_PROGRAM, 32, zn_state)
AM_RANGE(0x1f000000, 0x1f7fffff) AM_ROMBANK("bankedroms")
AM_RANGE(0x1fb00000, 0x1fb00003) AM_WRITE16(coh1001l_latch_w, 0x0000ffff)
AM_RANGE(0x1fb00000, 0x1fb00003) AM_WRITE8(coh1001l_bank_w, 0x00ff0000)
-
+
AM_IMPORT_FROM(zn_map)
ADDRESS_MAP_END
@@ -2368,7 +2368,7 @@ WRITE8_MEMBER(zn_state::coh1002m_bank_w)
static ADDRESS_MAP_START(coh1002m_map, AS_PROGRAM, 32, zn_state)
AM_RANGE(0x1f000000, 0x1f7fffff) AM_ROMBANK("bankedroms")
AM_RANGE(0x1fb00004, 0x1fb00007) AM_WRITE8(coh1002m_bank_w, 0x00ff0000)
-
+
AM_IMPORT_FROM(zn_map)
ADDRESS_MAP_END
@@ -2394,7 +2394,7 @@ static ADDRESS_MAP_START(coh1002msnd_map, AS_PROGRAM, 32, zn_state)
AM_RANGE(0x1fb00000, 0x1fb00003) AM_DEVREAD8("cbaj_fifo2", fifo7200_device, data_byte_r, 0x000000ff)
AM_RANGE(0x1fb00000, 0x1fb00003) AM_DEVWRITE8("cbaj_fifo1", fifo7200_device, data_byte_w, 0x000000ff)
AM_RANGE(0x1fb00000, 0x1fb00003) AM_READ8(cbaj_sound_main_status_r, 0xff000000)
-
+
AM_IMPORT_FROM(coh1002m_map)
ADDRESS_MAP_END
@@ -2426,7 +2426,7 @@ static MACHINE_CONFIG_DERIVED( coh1002msnd, coh1002m )
MCFG_CPU_ADD("audiocpu", Z80, XTAL_32MHz/8)
MCFG_CPU_PROGRAM_MAP(cbaj_z80_map)
MCFG_CPU_IO_MAP(cbaj_z80_port_map)
-
+
MCFG_FIFO7200_ADD("cbaj_fifo1", 0x400) // LH540202
MCFG_FIFO7200_ADD("cbaj_fifo2", 0x400) // "