diff options
author | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2011-11-05 17:34:21 +0000 |
---|---|---|
committer | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2011-11-05 17:34:21 +0000 |
commit | a6004b88eb777c8a1cc646d1e2134ff133967e8a (patch) | |
tree | 05f776724b311a0debcdfbd67f89ee04fcfbc6ec /src | |
parent | efba74d06b31cd7278d4716706df4304cc689315 (diff) |
Fixed listing errors (including ROL) pointed out by Quantum Leaper at mameworld. Also went over the listing compared to the sw97 pdf and fixed some typos and alignments. This included a couple of typos in the data section, these are the correct ones as per sw97 pdf:
1169 007020 076 11050 .BYTE 76, 121, 111, 105, 76
1170 007021 121
1171 007022 111
1172 007023 105
1468 007536 002600 12080 002600
1536 010310 030500 12760 30500
1595 010464 137300 13350 137300
1635 010574 173400 13750 173400
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/drivers/galgame.c | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/mame/drivers/galgame.c b/src/mame/drivers/galgame.c index f8367e6d2c6..d3749ba480c 100644 --- a/src/mame/drivers/galgame.c +++ b/src/mame/drivers/galgame.c @@ -232,10 +232,10 @@ static WRITE16_HANDLER(y_w) static INPUT_PORTS_START( galaxygame ) PORT_START("COINAC") - PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_COIN1 ) - PORT_BIT(0x0002, IP_ACTIVE_HIGH, IPT_COIN2 ) - PORT_BIT(0x0100, IP_ACTIVE_HIGH, IPT_COIN3 ) - PORT_BIT(0x0200, IP_ACTIVE_HIGH, IPT_COIN4 ) + PORT_BIT(0x0001, IP_ACTIVE_HIGH, IPT_COIN3 ) // 25 cents, left + PORT_BIT(0x0002, IP_ACTIVE_HIGH, IPT_COIN1 ) // 10 cents, left + PORT_BIT(0x0100, IP_ACTIVE_HIGH, IPT_COIN4 ) // 25 cents, right + PORT_BIT(0x0200, IP_ACTIVE_HIGH, IPT_COIN2 ) // 10 cents, right PORT_START("SR") PORT_DIPNAME( 0x8000, 0x0000, "Gravity" ) @@ -347,8 +347,10 @@ static MACHINE_CONFIG_START( galaxygame, galaxygame_state ) MACHINE_CONFIG_END ROM_START(galgame) + // Original Galaxy Game listing, the one used in the 2nd hardware revision (blue dual cabinet) + // PALX11 V413R 19-NOV-71 8:46 ROM_REGION( 0x20000, "code", ROMREGION_ERASE00 ) - ROM_LOAD( "original galaxy game listing.lst", 0x00000, 0x1efce, CRC(1dcd2c96) SHA1(4426828e85ecad3a370787b4286b83986cd902e3) ) + ROM_LOAD( "sw97.lst", 0x00000, 0x1f062, CRC(838018a5) SHA1(e3c47c5cf78299650b031ec49fde7d9e4024a759) ) ROM_END /************************************* @@ -456,13 +458,6 @@ static DRIVER_INIT(galaxygame) } } -// there is a wrong code on listing (compiled code doesn't match ROL instructions): -// 1006 006432 006601 10060 ROL R1 -// 1007 006434 006602 10070 ROL R2 -// here wrong code is patched - main->write_word(006432, 006101); /* ROL R1 */ - main->write_word(006434, 006102); /* ROL R2 */ - // set startup code main->write_word(0, 012700); /* MOV #0, R0 */ main->write_word(2, 0); |