diff options
Diffstat (limited to 'src/mame')
137 files changed, 547 insertions, 581 deletions
diff --git a/src/mame/drivers/4roses.c b/src/mame/drivers/4roses.c index 8c7c0b2884c..4fc1ed2c6c1 100644 --- a/src/mame/drivers/4roses.c +++ b/src/mame/drivers/4roses.c @@ -365,7 +365,7 @@ static const ay8910_interface ay8910_intf = static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/5clown.c b/src/mame/drivers/5clown.c index 1ffa9a399d9..e3fcd048735 100644 --- a/src/mame/drivers/5clown.c +++ b/src/mame/drivers/5clown.c @@ -991,7 +991,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/albazg.c b/src/mame/drivers/albazg.c index fb4960948ba..076cd604a9a 100644 --- a/src/mame/drivers/albazg.c +++ b/src/mame/drivers/albazg.c @@ -210,7 +210,7 @@ static const ay8910_interface ay8910_config = static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/amaticmg.c b/src/mame/drivers/amaticmg.c index 0faf46441f6..4f17de6718e 100644 --- a/src/mame/drivers/amaticmg.c +++ b/src/mame/drivers/amaticmg.c @@ -804,7 +804,7 @@ static const ym3812_interface ym3812_config = static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 4, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/aristmk4.c b/src/mame/drivers/aristmk4.c index 43e3c0e42f2..b003f30a01e 100644 --- a/src/mame/drivers/aristmk4.c +++ b/src/mame/drivers/aristmk4.c @@ -1551,8 +1551,8 @@ static MC6845_INTERFACE( mc6845_intf ) that's why the big horizontal parameters */ "screen", /* screen we are acting on */ - false, /* show border area */ - 4, /* number of pixels per video memory address */ + false, /* show border area */ + 4, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ NULL, /* after pixel update callback */ diff --git a/src/mame/drivers/atvtrack.c b/src/mame/drivers/atvtrack.c index 32da20a2729..70ea24c8944 100644 --- a/src/mame/drivers/atvtrack.c +++ b/src/mame/drivers/atvtrack.c @@ -85,11 +85,11 @@ public: UINT32 screen_update_atvtrack(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); inline UINT32 decode64_32(offs_t offset64, UINT64 data, UINT64 mem_mask, offs_t &offset32); void logbinary(UINT32 data,int high,int low); - + memory_region *m_nandregion; int m_nandcommand[4], m_nandoffset[4], m_nandaddressstep, m_nandaddress[4]; UINT32 m_area1_data[4]; - + }; void atvtrack_state::logbinary(UINT32 data,int high=31,int low=0) diff --git a/src/mame/drivers/avt.c b/src/mame/drivers/avt.c index 358c900ca42..1afa22e038b 100644 --- a/src/mame/drivers/avt.c +++ b/src/mame/drivers/avt.c @@ -850,7 +850,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/belatra.c b/src/mame/drivers/belatra.c index 6254c9a357f..77ab22b7721 100644 --- a/src/mame/drivers/belatra.c +++ b/src/mame/drivers/belatra.c @@ -4,7 +4,7 @@ These appear to run on Acorn Archimedes-compatible hardware, similar to ertictac.c. That would make the SoC an ARM7500 or similar. - + */ /* diff --git a/src/mame/drivers/blitz.c b/src/mame/drivers/blitz.c index 477a91c79e4..87b289f2143 100644 --- a/src/mame/drivers/blitz.c +++ b/src/mame/drivers/blitz.c @@ -741,7 +741,7 @@ static const pia6821_interface megadpkr_pia1_intf = static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/blitz68k.c b/src/mame/drivers/blitz68k.c index a67a0770485..c990d517274 100644 --- a/src/mame/drivers/blitz68k.c +++ b/src/mame/drivers/blitz68k.c @@ -1666,7 +1666,7 @@ WRITE_LINE_MEMBER(blitz68k_state::crtc_vsync_irq5) static MC6845_INTERFACE( mc6845_intf_irq1 ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 4, /* number of pixels per video memory address */ /* Horizontal Display programmed to 160 characters */ NULL, /* before pixel update callback */ NULL, /* row update callback */ @@ -1681,7 +1681,7 @@ static MC6845_INTERFACE( mc6845_intf_irq1 ) static MC6845_INTERFACE( mc6845_intf_irq3 ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 4, /* number of pixels per video memory address */ /* Horizontal Display programmed to 160 characters */ NULL, /* before pixel update callback */ NULL, /* row update callback */ @@ -1696,7 +1696,7 @@ static MC6845_INTERFACE( mc6845_intf_irq3 ) static MC6845_INTERFACE( mc6845_intf_irq5 ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 4, /* number of pixels per video memory address */ /* Horizontal Display programmed to 160 characters */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/buster.c b/src/mame/drivers/buster.c index bc644c8c354..9ed4c6b7a0a 100644 --- a/src/mame/drivers/buster.c +++ b/src/mame/drivers/buster.c @@ -309,7 +309,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/calomega.c b/src/mame/drivers/calomega.c index db6dcc724a9..08bf14e8f3f 100644 --- a/src/mame/drivers/calomega.c +++ b/src/mame/drivers/calomega.c @@ -2717,7 +2717,7 @@ static const ay8910_interface sys906_ay8912_intf = static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/carrera.c b/src/mame/drivers/carrera.c index 25e3ae77bb1..e33ca521cf2 100644 --- a/src/mame/drivers/carrera.c +++ b/src/mame/drivers/carrera.c @@ -312,7 +312,7 @@ void carrera_state::palette_init() static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/ccastles.c b/src/mame/drivers/ccastles.c index 6dd0f4a1295..9e545cc79b8 100644 --- a/src/mame/drivers/ccastles.c +++ b/src/mame/drivers/ccastles.c @@ -140,7 +140,6 @@ inline void ccastles_state::schedule_next_irq( int curscanline ) { - /* scan for a rising edge on the IRQCK signal */ for (curscanline++; ; curscanline = (curscanline + 1) & 0xff) if ((m_syncprom[(curscanline - 1) & 0xff] & 8) == 0 && (m_syncprom[curscanline] & 8) != 0) diff --git a/src/mame/drivers/chance32.c b/src/mame/drivers/chance32.c index 561dea3e996..344846a03fe 100644 --- a/src/mame/drivers/chance32.c +++ b/src/mame/drivers/chance32.c @@ -449,7 +449,7 @@ void chance32_state::machine_reset() static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 16, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/cloud9.c b/src/mame/drivers/cloud9.c index f3abe97e64c..fc2aeb1bd17 100644 --- a/src/mame/drivers/cloud9.c +++ b/src/mame/drivers/cloud9.c @@ -112,7 +112,6 @@ inline void cloud9_state::schedule_next_irq(int curscanline) { - /* IRQ is clocked by /32V, so every 64 scanlines */ curscanline = (curscanline + 64) & 255; diff --git a/src/mame/drivers/coinmstr.c b/src/mame/drivers/coinmstr.c index 287657778b4..8efa74c597c 100644 --- a/src/mame/drivers/coinmstr.c +++ b/src/mame/drivers/coinmstr.c @@ -995,7 +995,7 @@ static const ay8910_interface ay8912_interface = static MC6845_INTERFACE( h46505_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/coolridr.c b/src/mame/drivers/coolridr.c index c2ed8bd9a62..8b71501da7f 100644 --- a/src/mame/drivers/coolridr.c +++ b/src/mame/drivers/coolridr.c @@ -1164,9 +1164,9 @@ static I8237_INTERFACE( dmac_intf ) { DEVCB_NULL, DEVCB_NULL, DEVCB_NULL, DEVCB_NULL }, { DEVCB_NULL, DEVCB_NULL, DEVCB_NULL, DEVCB_NULL }, { DEVCB_NULL /*DEVCB_DRIVER_LINE_MEMBER(coolridr_state, coolridr_dack0_w)*/, - DEVCB_NULL/*DEVCB_DRIVER_LINE_MEMBER(coolridr_state, coolridr_dack1_w)*/, - DEVCB_NULL/*DEVCB_DRIVER_LINE_MEMBER(coolridr_state, coolridr_dack2_w)*/, - DEVCB_NULL/*DEVCB_DRIVER_LINE_MEMBER(coolridr_state, coolridr_dack3_w)*/ } + DEVCB_NULL/*DEVCB_DRIVER_LINE_MEMBER(coolridr_state, coolridr_dack1_w)*/, + DEVCB_NULL/*DEVCB_DRIVER_LINE_MEMBER(coolridr_state, coolridr_dack2_w)*/, + DEVCB_NULL/*DEVCB_DRIVER_LINE_MEMBER(coolridr_state, coolridr_dack3_w)*/ } }; #define MAIN_CLOCK XTAL_28_63636MHz diff --git a/src/mame/drivers/cps1.c b/src/mame/drivers/cps1.c index 1ded3c3f7f1..72d989ae5e9 100644 --- a/src/mame/drivers/cps1.c +++ b/src/mame/drivers/cps1.c @@ -5679,7 +5679,7 @@ ROM_START( nemoj ) ROMX_LOAD( "nm_33.9f", 0x100007, 0x20000, CRC(c469dc74) SHA1(d06956eef5f9b31779f218d597a1a504c1e16bad) , ROM_SKIP(7) ) // == nm-3m.5a ROM_REGION( 0x18000, "audiocpu", 0 ) /* 64k for the audio CPU (+banks) */ - ROM_LOAD( "nm_23.13b", 0x00000, 0x08000, CRC(0f4b0581) SHA1(2e5a2885149c632abfaf4292a1bf032c13c8da6c) ) // == nme_09.12b + ROM_LOAD( "nm_23.13b", 0x00000, 0x08000, CRC(0f4b0581) SHA1(2e5a2885149c632abfaf4292a1bf032c13c8da6c) ) // == nme_09.12b ROM_CONTINUE( 0x10000, 0x08000 ) ROM_REGION( 0x40000, "oki", 0 ) /* Samples */ @@ -8627,7 +8627,7 @@ ROM_START( sf2dongb ) ROM_REGION( CODE_SIZE, "maincpu", 0 ) /* 68000 code */ ROM_LOAD16_WORD_SWAP( "1.8f", 0x000000, 0x80000, CRC(19fffa37) SHA1(db464c64de3aebe929c85ee167961de05d2c16be) ) ROM_LOAD16_WORD_SWAP( "1.7f", 0x080000, 0x80000, CRC(99f1cca4) SHA1(64111eba81d743fc3fd51d7a89cd0b2eefcc900d) ) // same as sf2ceea - ROM_LOAD16_WORD_SWAP( "1.6f", 0x100000, 0x80000, CRC(65c2c719) SHA1(d407cae5f04fc8d05776d478a6eb4363b3c36805) ) + ROM_LOAD16_WORD_SWAP( "1.6f", 0x100000, 0x80000, CRC(65c2c719) SHA1(d407cae5f04fc8d05776d478a6eb4363b3c36805) ) ROM_REGION( 0x600000, "gfx", 0 ) ROMX_LOAD( "s92-1m.3a", 0x000000, 0x80000, CRC(03b0d852) SHA1(f370f25c96ad2b94f8c53d6b7139100285a25bef) , ROM_GROUPWORD | ROM_SKIP(6) ) @@ -8647,7 +8647,7 @@ ROM_START( sf2dongb ) ROM_LOAD( "s92_09.11a", 0x00000, 0x08000, CRC(08f6b60e) SHA1(8258fcaca4ac419312531eec67079b97f471179c) ) ROM_CONTINUE( 0x10000, 0x08000 ) - ROM_REGION( 0x40000, "oki", 0 ) /* Samples */ + ROM_REGION( 0x40000, "oki", 0 ) /* Samples */ ROM_LOAD( "s92_18.11c", 0x00000, 0x20000, CRC(7f162009) SHA1(346bf42992b4c36c593e21901e22c87ae4a7d86d) ) ROM_LOAD( "s92_19.12c", 0x20000, 0x20000, CRC(beade53f) SHA1(277c397dc12752719ec6b47d2224750bd1c07f79) ) @@ -11246,7 +11246,7 @@ GAME( 1992, sf2m7, sf2ce, cps1_12MHz, sf2hack, cps_state, sf2hack, GAME( 1992, sf2m8, sf2ce, cps1_12MHz, sf2hack, cps_state, sf2hack, ROT0, "bootleg", "Street Fighter II': Champion Edition (M8, bootleg)", GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION | GAME_SUPPORTS_SAVE ) GAME( 1992, sf2yyc, sf2ce, cps1_12MHz, sf2hack, cps_state, sf2hack, ROT0, "bootleg", "Street Fighter II': Champion Edition (YYC, bootleg)", GAME_SUPPORTS_SAVE ) // 920313 - based on World version GAME( 1992, sf2koryu, sf2ce, cps1_12MHz, sf2hack, cps_state, sf2hack, ROT0, "bootleg", "Street Fighter II': Champion Edition (Xiang Long, Chinese bootleg)", GAME_SUPPORTS_SAVE ) // 811102 !!! - based on World version -GAME( 1992, sf2dongb, sf2ce, cps1_12MHz, sf2, cps_state, sf2dongb, ROT0, "bootleg", "Street Fighter II': Champion Edition (Dongfang Bubai protection, bootleg)", GAME_SUPPORTS_SAVE ) // 920313 - based on World version +GAME( 1992, sf2dongb, sf2ce, cps1_12MHz, sf2, cps_state, sf2dongb, ROT0, "bootleg", "Street Fighter II': Champion Edition (Dongfang Bubai protection, bootleg)", GAME_SUPPORTS_SAVE ) // 920313 - based on World version GAME( 1992, cworld2j, 0, cps1_12MHz, cworld2j, cps_state, cps1, ROT0, "Capcom", "Adventure Quiz Capcom World 2 (Japan 920611)", GAME_SUPPORTS_SAVE ) GAME( 1992, varth, 0, cps1_12MHz, varth, cps_state, cps1, ROT270, "Capcom", "Varth: Operation Thunderstorm (World 920714)", GAME_SUPPORTS_SAVE ) // "ETC" // 12MHz verified GAME( 1992, varthr1, varth, cps1_12MHz, varth, cps_state, cps1, ROT270, "Capcom", "Varth: Operation Thunderstorm (World 920612)", GAME_SUPPORTS_SAVE ) // "ETC" diff --git a/src/mame/drivers/cps3.c b/src/mame/drivers/cps3.c index 3d19197849c..2bd0cb0866a 100644 --- a/src/mame/drivers/cps3.c +++ b/src/mame/drivers/cps3.c @@ -692,7 +692,6 @@ void cps3_state::cps3_decrypt_bios() void cps3_state::init_common(UINT32 key1, UINT32 key2, int altEncryption) { - m_key1 = key1; m_key2 = key2; m_altEncryption = altEncryption; diff --git a/src/mame/drivers/dkong.c b/src/mame/drivers/dkong.c index a4eb6e2f831..719c928d3dc 100644 --- a/src/mame/drivers/dkong.c +++ b/src/mame/drivers/dkong.c @@ -402,7 +402,6 @@ INTERRUPT_GEN_MEMBER(dkong_state::s2650_interrupt) void dkong_state::dkong_init_device_driver_data( ) { - m_dev_n2a03a = machine().device("n2a03a"); m_dev_n2a03b = machine().device("n2a03b"); m_dev_6h = machine().device("ls259.6h"); diff --git a/src/mame/drivers/equites.c b/src/mame/drivers/equites.c index 4b6a4e394ca..09cc4eb2dbd 100644 --- a/src/mame/drivers/equites.c +++ b/src/mame/drivers/equites.c @@ -536,7 +536,6 @@ WRITE8_MEMBER(equites_state::equites_cymbal_ctrl_w) void equites_state::equites_update_dac( ) { - // there is only one latch, which is used to drive two DAC channels. // When the channel is enabled in the 4066, it goes to a series of // low-pass filters. The channel is kept enabled only for a short time, diff --git a/src/mame/drivers/fcrash.c b/src/mame/drivers/fcrash.c index 20602bb9075..8ce9f4972ae 100644 --- a/src/mame/drivers/fcrash.c +++ b/src/mame/drivers/fcrash.c @@ -457,12 +457,12 @@ static ADDRESS_MAP_START( knightsb_map, AS_PROGRAM, 16, cps_state ) AM_RANGE(0x000000, 0x3fffff) AM_ROM AM_RANGE(0x800000, 0x800001) AM_READ_PORT("IN1") /* Player input ports */ AM_RANGE(0x800002, 0x800003) AM_READ_PORT("IN2")//(cps1_in2_r) /* Player 3 controls */ - AM_RANGE(0x800006, 0x800007) AM_WRITE(cps1_soundlatch_w) /* Sound command */ + AM_RANGE(0x800006, 0x800007) AM_WRITE(cps1_soundlatch_w) /* Sound command */ AM_RANGE(0x800018, 0x80001f) AM_READ(cps1_dsw_r) /* System input ports / Dip Switches */ AM_RANGE(0x800030, 0x800037) AM_WRITENOP //AM_WRITE(cps1_coinctrl_w) only writes bit 15 - AM_RANGE(0x800100, 0x80013f) AM_WRITE(cps1_cps_a_w) AM_SHARE("cps_a_regs") /* CPS-A custom */ - AM_RANGE(0x800140, 0x80017f) AM_READWRITE(cps1_cps_b_r, cps1_cps_b_w) AM_SHARE("cps_b_regs") /* CPS-B custom */ - AM_RANGE(0x800180, 0x800181) AM_WRITE(cps1_soundlatch2_w) /* Sound timer fade */ + AM_RANGE(0x800100, 0x80013f) AM_WRITE(cps1_cps_a_w) AM_SHARE("cps_a_regs") /* CPS-A custom */ + AM_RANGE(0x800140, 0x80017f) AM_READWRITE(cps1_cps_b_r, cps1_cps_b_w) AM_SHARE("cps_b_regs") /* CPS-B custom */ + AM_RANGE(0x800180, 0x800181) AM_WRITE(cps1_soundlatch2_w) /* Sound timer fade */ AM_RANGE(0x880000, 0x880001) AM_WRITENOP //? AM_RANGE(0x900000, 0x93ffff) AM_RAM_WRITE(cps1_gfxram_w) AM_SHARE("gfxram") AM_RANGE(0x980000, 0x98002f) AM_WRITE(knightsb_layer_w) diff --git a/src/mame/drivers/flipjack.c b/src/mame/drivers/flipjack.c index 84b4ce8a42c..629f57c3a44 100644 --- a/src/mame/drivers/flipjack.c +++ b/src/mame/drivers/flipjack.c @@ -430,7 +430,7 @@ static AY8910_INTERFACE( ay8910_config_2 ) static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/fortecar.c b/src/mame/drivers/fortecar.c index 509a7ef9ec1..dc4859a005b 100644 --- a/src/mame/drivers/fortecar.c +++ b/src/mame/drivers/fortecar.c @@ -538,7 +538,7 @@ static const ay8910_interface ay8910_config = static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/fresh.c b/src/mame/drivers/fresh.c index e4df1f9c072..1dada4254c4 100644 --- a/src/mame/drivers/fresh.c +++ b/src/mame/drivers/fresh.c @@ -37,7 +37,7 @@ public: m_attr_2_videoram(*this, "attr_videoram_2"), m_paletteram_1(*this, "paletteram_1"), m_paletteram_2(*this, "paletteram_2") - + { } tilemap_t *m_bg_tilemap; @@ -79,11 +79,11 @@ public: DECLARE_WRITE16_MEMBER( c75000_write ) { logerror("c75000_write (scroll 2) %04x (m_d30000_value = %04x)\n", data, m_d30000_value); - } + } DECLARE_WRITE16_MEMBER( c76000_write ) { logerror("c76000_write (scroll 3) %04x (m_d30000_value = %04x)\n", data, m_d30000_value); - } + } void update_palette(int offset); DECLARE_READ16_MEMBER( unk_r ) @@ -195,29 +195,29 @@ static ADDRESS_MAP_START( fresh_map, AS_PROGRAM, 16, fresh_state ) AM_RANGE(0xC20000, 0xC2ffff) AM_RAM_WRITE( fresh_bg_videoram_w ) AM_SHARE( "bg_videoram" ) AM_RANGE(0xC30000, 0xC3ffff) AM_RAM_WRITE( fresh_attr_videoram_w ) AM_SHARE( "attr_videoram" ) -// AM_RANGE(0xC70000, 0xC70001) AM_RAM -// AM_RANGE(0xC70002, 0xC70003) AM_RAM +// AM_RANGE(0xC70000, 0xC70001) AM_RAM +// AM_RANGE(0xC70002, 0xC70003) AM_RAM AM_RANGE(0xC71000, 0xC71001) AM_WRITE(c71000_write) -// AM_RANGE(0xC72000, 0xC72001) AM_RAM -// AM_RANGE(0xC72002, 0xC72003) AM_RAM -// AM_RANGE(0xC73000, 0xC73001) AM_RAM -// AM_RANGE(0xC73002, 0xC73003) AM_RAM +// AM_RANGE(0xC72000, 0xC72001) AM_RAM +// AM_RANGE(0xC72002, 0xC72003) AM_RAM +// AM_RANGE(0xC73000, 0xC73001) AM_RAM +// AM_RANGE(0xC73002, 0xC73003) AM_RAM AM_RANGE(0xC74000, 0xC74001) AM_WRITE(c74000_write) AM_RANGE(0xC75000, 0xC75001) AM_WRITE(c75000_write) AM_RANGE(0xC76000, 0xC76001) AM_WRITE(c76000_write) -// AM_RANGE(0xC77000, 0xC77001) AM_RAM -// AM_RANGE(0xC77002, 0xC77003) AM_RAM - +// AM_RANGE(0xC77000, 0xC77001) AM_RAM +// AM_RANGE(0xC77002, 0xC77003) AM_RAM + // written together AM_RANGE(0xC40000, 0xC417ff) AM_RAM_WRITE(fresh_paletteram_1_w) AM_SHARE( "paletteram_1" ) // 16-bit AM_RANGE(0xC50000, 0xC517ff) AM_RAM_WRITE(fresh_paletteram_2_w) AM_SHARE( "paletteram_2" ) // 8-bit -// AM_RANGE(0xD00000, 0xD00001) AM_RAM -// AM_RANGE(0xD10000, 0xD10001) AM_RAM +// AM_RANGE(0xD00000, 0xD00001) AM_RAM +// AM_RANGE(0xD10000, 0xD10001) AM_RAM AM_RANGE(0xD30000, 0xD30001) AM_WRITE(d30000_write) AM_RANGE(0xD40000, 0xD40001) AM_READ_PORT("IN0") //AM_WRITENOP // checks for 0x10 -// AM_RANGE(0xD40002, 0xD40003) AM_WRITENOP +// AM_RANGE(0xD40002, 0xD40003) AM_WRITENOP AM_RANGE(0xD70000, 0xD70001) AM_READ_PORT("IN1") // checks for 0x10, dead loop if fail AM_RANGE(0xE00000, 0xE00001) AM_READ_PORT("DSW0") //AM_WRITENOP @@ -336,7 +336,7 @@ static INPUT_PORTS_START( fresh ) PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x8000, DEF_STR( On ) ) - PORT_START("DSW0") + PORT_START("DSW0") PORT_DIPNAME( 0x0001, 0x0000, "DSW-0:0" ) // SWITCH 1 in test mode PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0001, DEF_STR( On ) ) @@ -593,14 +593,14 @@ TIMER_DEVICE_CALLBACK_MEMBER(fresh_state::fake_scanline) } -// if(scanline == 32) -// machine().device("maincpu")->execute().set_input_line(4, HOLD_LINE); +// if(scanline == 32) +// machine().device("maincpu")->execute().set_input_line(4, HOLD_LINE); if(scanline == 64) machine().device("maincpu")->execute().set_input_line(5, HOLD_LINE); -// if(scanline == 96) -// machine().device("maincpu")->execute().set_input_line(5, HOLD_LINE); +// if(scanline == 96) +// machine().device("maincpu")->execute().set_input_line(5, HOLD_LINE); if(scanline == 200) // vbl? @@ -646,5 +646,5 @@ ROM_END -// title shows Fruit Fresh but on resetting you get text strings of 'Dream World V2.41SI 97. 1.28' +// title shows Fruit Fresh but on resetting you get text strings of 'Dream World V2.41SI 97. 1.28' GAME( 1996, fresh, 0, fresh, fresh, driver_device, 0, ROT0, "Chain Leisure", "Fruit Fresh (Italy)", GAME_NOT_WORKING|GAME_NO_SOUND ) diff --git a/src/mame/drivers/funworld.c b/src/mame/drivers/funworld.c index e2900e83838..58c424e57f6 100644 --- a/src/mame/drivers/funworld.c +++ b/src/mame/drivers/funworld.c @@ -817,8 +817,8 @@ - Added a Jolly Card (Italian) set from an encrypted blue TAB bootleg board. This one allows to play in both 'remote' and 'normal' mode. The game could pay through regular hopper, or - through manual switch/button, discharging the credits one - by one. + through manual switch/button, discharging the credits one + by one. *** TO DO *** @@ -1317,29 +1317,29 @@ static INPUT_PORTS_START( jolycdic ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START("DSW") // place '10000000' for NVRAM creation. - PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:8") + PORT_START("DSW") // place '10000000' for NVRAM creation. + PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:8") PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x02, 0x02, "Remote Value" ) PORT_DIPLOCATION("SW1:7") + PORT_DIPNAME( 0x02, 0x02, "Remote Value" ) PORT_DIPLOCATION("SW1:7") PORT_DIPSETTING( 0x00, "10 Points/Pulse" ) PORT_DIPSETTING( 0x02, "100 Points/Pulse" ) - PORT_DIPNAME( 0x04, 0x04, "Coinage B" ) PORT_DIPLOCATION("SW1:6") + PORT_DIPNAME( 0x04, 0x04, "Coinage B" ) PORT_DIPLOCATION("SW1:6") PORT_DIPSETTING( 0x04, "10 Credits" ) PORT_DIPSETTING( 0x00, "5 Credits" ) - PORT_DIPNAME( 0x08, 0x08, "Coinage A" ) PORT_DIPLOCATION("SW1:5") + PORT_DIPNAME( 0x08, 0x08, "Coinage A" ) PORT_DIPLOCATION("SW1:5") PORT_DIPSETTING( 0x08, "20 Credits" ) PORT_DIPSETTING( 0x00, "1 Credit" ) - PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:4") + PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:4") PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x20, 0x00, "Joker" ) PORT_DIPLOCATION("SW1:3") + PORT_DIPNAME( 0x20, 0x00, "Joker" ) PORT_DIPLOCATION("SW1:3") PORT_DIPSETTING( 0x00, "With Joker" ) /* also enables Five of a Kind */ PORT_DIPSETTING( 0x20, "Without Joker" ) - PORT_DIPNAME( 0x40, 0x00, "Auto Hold" ) PORT_DIPLOCATION("SW1:2") + PORT_DIPNAME( 0x40, 0x00, "Auto Hold" ) PORT_DIPLOCATION("SW1:2") PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) /* when is ON, allow the player to activate/deactivate the autohold through CANCEL button */ - PORT_DIPNAME( 0x80, 0x00, "Payout" ) PORT_DIPLOCATION("SW1:1") + PORT_DIPNAME( 0x80, 0x00, "Payout" ) PORT_DIPLOCATION("SW1:1") PORT_DIPSETTING( 0x00, "Hopper" ) PORT_DIPSETTING( 0x80, "Manual Payout SW" ) INPUT_PORTS_END @@ -2526,7 +2526,7 @@ static const ay8910_interface funquiz_ay8910_intf = static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 4, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ @@ -3015,15 +3015,15 @@ ROM_END Jolly Card (italian encrypted bootleg, set 2) --------------------------------------------- - This program works in both 'normal' and 'remote' modes, + This program works in both 'normal' and 'remote' modes, allowing to pay through hopper, or just through manual - switch/button. + switch/button. To initialize the NVRAM, DIP switches should be placed - at factory default: (On On On On On On On Off), then - keep pressed both service buttons (key 9 & 0), reset - using F3 key, and then finally releasing the service - buttons. + at factory default: (On On On On On On On Off), then + keep pressed both service buttons (key 9 & 0), reset + using F3 key, and then finally releasing the service + buttons. */ ROM_START( jolycdic ) /* another bootleg PCB, encrypted graphics */ diff --git a/src/mame/drivers/ghosteo.c b/src/mame/drivers/ghosteo.c index 20322a1ade7..4e5974e1008 100644 --- a/src/mame/drivers/ghosteo.c +++ b/src/mame/drivers/ghosteo.c @@ -106,7 +106,7 @@ public: virtual void machine_reset(); }; - + /* diff --git a/src/mame/drivers/goldnpkr.c b/src/mame/drivers/goldnpkr.c index 86a17522ff6..8f60a8421c6 100644 --- a/src/mame/drivers/goldnpkr.c +++ b/src/mame/drivers/goldnpkr.c @@ -3402,7 +3402,7 @@ static const pia6821_interface wcfalcon_pia1_intf = static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/gticlub.c b/src/mame/drivers/gticlub.c index 2805f400087..4cb4d56735b 100644 --- a/src/mame/drivers/gticlub.c +++ b/src/mame/drivers/gticlub.c @@ -509,10 +509,10 @@ ADDRESS_MAP_END static INPUT_PORTS_START( gticlub ) PORT_START("IN0") - PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("View switch") - PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Shift Down") - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Shift Up") - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("AT/MT switch") + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("View switch") + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Shift Down") + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Shift Up") + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("AT/MT switch") PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Service Button") PORT_CODE(KEYCODE_8) PORT_BIT( 0x0b, IP_ACTIVE_LOW, IPT_UNKNOWN ) diff --git a/src/mame/drivers/highvdeo.c b/src/mame/drivers/highvdeo.c index 0f875a091d5..c8d5f961860 100644 --- a/src/mame/drivers/highvdeo.c +++ b/src/mame/drivers/highvdeo.c @@ -394,10 +394,10 @@ static ADDRESS_MAP_START( nyjoker_map, AS_PROGRAM, 16, highvdeo_state ) ADDRESS_MAP_END static ADDRESS_MAP_START( nyjoker_io, AS_IO, 16, highvdeo_state ) - AM_RANGE(0x0000, 0x0001) AM_WRITE(write1_w ) // lamps - AM_RANGE(0x0002, 0x0003) AM_WRITENOP // alternate coin counter (bits 0 and 2) + AM_RANGE(0x0000, 0x0001) AM_WRITE(write1_w ) // lamps + AM_RANGE(0x0002, 0x0003) AM_WRITENOP // alternate coin counter (bits 0 and 2) AM_RANGE(0x0004, 0x0005) AM_WRITE(nyj_write2_w ) // coin and note counter -// AM_RANGE(0x0006, 0x0007) AM_WRITENOP +// AM_RANGE(0x0006, 0x0007) AM_WRITENOP AM_RANGE(0x0008, 0x0009) AM_WRITE(tv_ncf_oki6376_w ) AM_RANGE(0x000a, 0x000b) AM_WRITE(tv_ncf_oki6376_st_w ) AM_RANGE(0x000c, 0x000d) AM_READ_PORT("IN0") @@ -419,9 +419,9 @@ WRITE16_MEMBER(highvdeo_state::nyj_write2_w) ---x ---- Note counter. xxx- ---- Unknown. */ -// popmessage("%04x",data); - coin_counter_w(machine(), 0, ~data & 0x0f); // Coins (all) - coin_counter_w(machine(), 1, ~data & 0x10); // Notes (all) +// popmessage("%04x",data); + coin_counter_w(machine(), 0, ~data & 0x0f); // Coins (all) + coin_counter_w(machine(), 1, ~data & 0x10); // Notes (all) } @@ -727,44 +727,44 @@ static INPUT_PORTS_START( nyjoker ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 ) // Coin 2 PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_COIN3 ) // Coin 3 PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_COIN4 ) // Coin 4 <--- This one has non-timed pulse, so maybe was designed to be KEY IN. - PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_COIN5 ) PORT_NAME("Note 1") PORT_CODE(KEYCODE_1_PAD) // Note 1 - PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_COIN6 ) PORT_NAME("Note 2") PORT_CODE(KEYCODE_2_PAD) // Note 2 - PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN7 ) PORT_NAME("Note 3") PORT_CODE(KEYCODE_3_PAD) // Note 3 - PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_COIN8 ) PORT_NAME("Note 4") PORT_CODE(KEYCODE_4_PAD) // Note 4 + PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_COIN5 ) PORT_NAME("Note 1") PORT_CODE(KEYCODE_1_PAD) // Note 1 + PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_COIN6 ) PORT_NAME("Note 2") PORT_CODE(KEYCODE_2_PAD) // Note 2 + PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN7 ) PORT_NAME("Note 3") PORT_CODE(KEYCODE_3_PAD) // Note 3 + PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_COIN8 ) PORT_NAME("Note 4") PORT_CODE(KEYCODE_4_PAD) // Note 4 PORT_START("IN3") - PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Bookkeeping") // Account - PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN ) PORT_NAME("Key") // Key - PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Ticket") PORT_CODE(KEYCODE_T) // Ticket - PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Unknown") PORT_CODE(KEYCODE_U) // Unknown - PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper 1") PORT_CODE(KEYCODE_H) // Hopper 1 - PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper 2") PORT_CODE(KEYCODE_J) // Hopper 2 - PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Level 2") PORT_CODE(KEYCODE_K) // Level 2 - PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Level 1") PORT_CODE(KEYCODE_L) // Level 1 - - PORT_START("DSW") // DIP switches bank - PORT_DIPNAME( 0x0001, 0x0000, "DSW 8" ) PORT_DIPLOCATION("DSW:!8") + PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Bookkeeping") // Account + PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN ) PORT_NAME("Key") // Key + PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Ticket") PORT_CODE(KEYCODE_T) // Ticket + PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Unknown") PORT_CODE(KEYCODE_U) // Unknown + PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper 1") PORT_CODE(KEYCODE_H) // Hopper 1 + PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Hopper 2") PORT_CODE(KEYCODE_J) // Hopper 2 + PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Level 2") PORT_CODE(KEYCODE_K) // Level 2 + PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Level 1") PORT_CODE(KEYCODE_L) // Level 1 + + PORT_START("DSW") // DIP switches bank + PORT_DIPNAME( 0x0001, 0x0000, "DSW 8" ) PORT_DIPLOCATION("DSW:!8") PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0001, DEF_STR( On ) ) - PORT_DIPNAME( 0x0002, 0x0002, "Test Mode" ) PORT_DIPLOCATION("DSW:!7") + PORT_DIPNAME( 0x0002, 0x0002, "Test Mode" ) PORT_DIPLOCATION("DSW:!7") PORT_DIPSETTING( 0x0002, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - PORT_DIPNAME( 0x0004, 0x0000, "DSW 6" ) PORT_DIPLOCATION("DSW:!6") + PORT_DIPNAME( 0x0004, 0x0000, "DSW 6" ) PORT_DIPLOCATION("DSW:!6") PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0004, DEF_STR( On ) ) - PORT_DIPNAME( 0x0008, 0x0000, "DSW 5" ) PORT_DIPLOCATION("DSW:!5") + PORT_DIPNAME( 0x0008, 0x0000, "DSW 5" ) PORT_DIPLOCATION("DSW:!5") PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0008, DEF_STR( On ) ) - PORT_DIPNAME( 0x0010, 0x0000, "DSW 4" ) PORT_DIPLOCATION("DSW:!4") + PORT_DIPNAME( 0x0010, 0x0000, "DSW 4" ) PORT_DIPLOCATION("DSW:!4") PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0010, DEF_STR( On ) ) - PORT_DIPNAME( 0x0020, 0x0000, "DSW 3" ) PORT_DIPLOCATION("DSW:!3") + PORT_DIPNAME( 0x0020, 0x0000, "DSW 3" ) PORT_DIPLOCATION("DSW:!3") PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0020, DEF_STR( On ) ) - PORT_DIPNAME( 0x0040, 0x0000, "DSW 2" ) PORT_DIPLOCATION("DSW:!2") + PORT_DIPNAME( 0x0040, 0x0000, "DSW 2" ) PORT_DIPLOCATION("DSW:!2") PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0040, DEF_STR( On ) ) - PORT_DIPNAME( 0x0080, 0x0000, "DSW 1" ) PORT_DIPLOCATION("DSW:!1") + PORT_DIPNAME( 0x0080, 0x0000, "DSW 1" ) PORT_DIPLOCATION("DSW:!1") PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0080, DEF_STR( On ) ) INPUT_PORTS_END @@ -1244,7 +1244,7 @@ ROM_END adv476kp35 CMOS Monolithic 256x18 Color Palette RAM-DAC Xtal 16Mhz oki m6376 - Lattice isplsi1032e + Lattice isplsi1032e model TV vers 2.0 diff --git a/src/mame/drivers/hitpoker.c b/src/mame/drivers/hitpoker.c index cf6138a5ce5..bc37a4a76eb 100644 --- a/src/mame/drivers/hitpoker.c +++ b/src/mame/drivers/hitpoker.c @@ -458,7 +458,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/igs_m036.c b/src/mame/drivers/igs_m036.c index 79428f7065d..b04e3b8ede2 100644 --- a/src/mame/drivers/igs_m036.c +++ b/src/mame/drivers/igs_m036.c @@ -15,7 +15,7 @@ but with GFX processor integrated I dont know the CPU core (should ARM based due to fail test) the chip has internal rom build-in the the FLASH(u33, EV29LV160AB-90PCR) is external rom and encrypted -if the external rom decrypted then we can +if the external rom decrypted then we can try to trojan the internal rom here we offer several revision a same game to see if anyone could find any clue, these 4 revision can @@ -43,11 +43,11 @@ CPU: IGS036 GFX: IGS036 SND: TT5665 ---------------------------------------------------------------------------- -Filename TYPE CRC32 SHA1 -cjddzsp_s122cn.u27 GFX 797e5ba3 784fae513ac8cfd1143f0d0ce0936f74e2e64e48 -cjddzsp_s122cn.u28 GFX d0441a6b e1c948f94472398aa5887963cf8e87be28dd66e0 -cjddzsp_s122cn.u30 SND e0e02a57 96074a5226dd24d0bc150adff7324b5349cb5dc2 -cjddzsp_s122cn.u18 PRG 4a42aad6 96805e5bfbd50686177fe50020229ea8787ade17 +Filename TYPE CRC32 SHA1 +cjddzsp_s122cn.u27 GFX 797e5ba3 784fae513ac8cfd1143f0d0ce0936f74e2e64e48 +cjddzsp_s122cn.u28 GFX d0441a6b e1c948f94472398aa5887963cf8e87be28dd66e0 +cjddzsp_s122cn.u30 SND e0e02a57 96074a5226dd24d0bc150adff7324b5349cb5dc2 +cjddzsp_s122cn.u18 PRG 4a42aad6 96805e5bfbd50686177fe50020229ea8787ade17 ---------------------------------------------------------------------------- check more info and photo from cjdh2.zip!!! @@ -252,4 +252,3 @@ GAME( 200?, cjdh2c, cjdh2, igs_m036, igs_m036, igs_m036_state, igs_m036, GAME( 200?, cjddzsp, 0, igs_m036_tt, igs_m036, igs_m036_state, igs_m036, ROT0, "IGS", "Super Dou Di Zhu Special (V122CN)", GAME_IS_SKELETON ) GAME( 200?, igsm312, 0, igs_m036_tt, igs_m036, igs_m036_state, igs_m036, ROT0, "IGS", "Unknown IGS036 CPU game (V312CN)", GAME_IS_SKELETON ) - diff --git a/src/mame/drivers/imolagp.c b/src/mame/drivers/imolagp.c index ce382422df4..a4991f58104 100644 --- a/src/mame/drivers/imolagp.c +++ b/src/mame/drivers/imolagp.c @@ -206,7 +206,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(imolagp_state::imolagp_pot_callback) steer = -steer; m_steerlatch = (m_steerlatch << 1) | (~m_steerlatch >> 1 & 1); } - + // steering speed is determined by timer period // these values(in usec) may need tweaking: const int base = 6500; @@ -262,15 +262,15 @@ WRITE8_MEMBER(imolagp_state::imola_led_board_w) output_set_digit_value(offset, ls48_map[data & 0x0f]); /* - score: 0, 1, 2, 3 - time: 4, 5 - result: 10, 11 - credits: 12, 13 - highscore 1: 32, 33, 34, 35 - highscore 2: 36, 37, 24, 25 - highscore 3: 26, 27, 28, 29 - highscore 4: 16, 17, 18, 19 - highscore 5: 20, 21, 8, 9 + score: 0, 1, 2, 3 + time: 4, 5 + result: 10, 11 + credits: 12, 13 + highscore 1: 32, 33, 34, 35 + highscore 2: 36, 37, 24, 25 + highscore 3: 26, 27, 28, 29 + highscore 4: 16, 17, 18, 19 + highscore 5: 20, 21, 8, 9 */ } @@ -302,7 +302,7 @@ WRITE8_MEMBER(imolagp_state::screenram_w) // when in tunnel: $81/$82 -> sprite ram? if (m_draw_mode & 0x80) m_videoram[1][offset] = data; - + // sprites: $05 else if (m_draw_mode & 0x01) m_videoram[1][offset] = data; @@ -325,7 +325,7 @@ static ADDRESS_MAP_START( imolagp_master_map, AS_PROGRAM, 8, imolagp_state ) AM_RANGE(0x2800, 0x2803) AM_DEVREADWRITE("ppi8255", i8255_device, read, write) AM_RANGE(0x3000, 0x3000) AM_WRITE(vreg_control_w) AM_RANGE(0x37f0, 0x37f0) AM_DEVWRITE_LEGACY("aysnd", ay8910_address_w) -// AM_RANGE(0x37f7, 0x37f7) AM_NOP +// AM_RANGE(0x37f7, 0x37f7) AM_NOP AM_RANGE(0x3800, 0x3800) AM_READWRITE(vreg_data_r, vreg_data_w) AM_RANGE(0x3810, 0x3810) AM_DEVWRITE_LEGACY("aysnd", ay8910_data_w) AM_RANGE(0x4000, 0x4000) AM_READ_PORT("DSWA") diff --git a/src/mame/drivers/jaguar.c b/src/mame/drivers/jaguar.c index bc7321f5f41..b50938e2ee1 100644 --- a/src/mame/drivers/jaguar.c +++ b/src/mame/drivers/jaguar.c @@ -1542,7 +1542,7 @@ INPUT_PORTS_END * *************************************/ - static const jaguar_cpu_config gpu_config = + static const jaguar_cpu_config gpu_config = { &jaguar_state::gpu_cpu_int }; diff --git a/src/mame/drivers/jokrwild.c b/src/mame/drivers/jokrwild.c index c65a2131a3c..2dec682e270 100644 --- a/src/mame/drivers/jokrwild.c +++ b/src/mame/drivers/jokrwild.c @@ -459,7 +459,7 @@ static const pia6821_interface pia1_intf = static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/jubilee.c b/src/mame/drivers/jubilee.c index 93cd21dc82b..14e06a6d30b 100644 --- a/src/mame/drivers/jubilee.c +++ b/src/mame/drivers/jubilee.c @@ -395,7 +395,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/kingdrby.c b/src/mame/drivers/kingdrby.c index 7a7933c3e8c..741c1efeb4e 100644 --- a/src/mame/drivers/kingdrby.c +++ b/src/mame/drivers/kingdrby.c @@ -915,7 +915,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/laserbas.c b/src/mame/drivers/laserbas.c index 28d8af05a13..66ae8ef5b93 100644 --- a/src/mame/drivers/laserbas.c +++ b/src/mame/drivers/laserbas.c @@ -239,7 +239,7 @@ void laserbas_state::machine_reset() static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/lordgun.c b/src/mame/drivers/lordgun.c index f8f8da75308..ebcebf7e8f0 100644 --- a/src/mame/drivers/lordgun.c +++ b/src/mame/drivers/lordgun.c @@ -157,12 +157,12 @@ READ16_MEMBER(lordgun_state::aliencha_protection_r) WRITE8_MEMBER(lordgun_state::fake_w) { -// popmessage("%02x",data); +// popmessage("%02x",data); } WRITE8_MEMBER(lordgun_state::fake2_w) { -// popmessage("%02x",data); +// popmessage("%02x",data); } WRITE8_MEMBER(lordgun_state::lordgun_eeprom_w) @@ -172,7 +172,7 @@ WRITE8_MEMBER(lordgun_state::lordgun_eeprom_w) if (data & ~0xfd) { -// popmessage("EE: %02x", data); +// popmessage("EE: %02x", data); logerror("%s: Unknown EEPROM bit written %02X\n",machine().describe_context(),data); } @@ -203,7 +203,7 @@ WRITE8_MEMBER(lordgun_state::aliencha_eeprom_w) if (~data & ~0xf8) { -// popmessage("EE: %02x", data); +// popmessage("EE: %02x", data); logerror("%s: Unknown EEPROM bit written %02X\n",machine().describe_context(),data); } @@ -354,7 +354,7 @@ WRITE8_MEMBER(lordgun_state::lordgun_okibank_w) device_t *device = machine().device("oki"); downcast<okim6295_device *>(device)->set_bank_base((data & 2) ? 0x40000 : 0); if (data & ~3) logerror("%s: unknown okibank bits %02x\n", machine().describe_context(), data); -// popmessage("OKI %x", data); +// popmessage("OKI %x", data); } static ADDRESS_MAP_START( lordgun_soundio_map, AS_IO, 8, lordgun_state ) @@ -565,7 +565,7 @@ static INPUT_PORTS_START( aliencha ) PORT_DIPSETTING( 0x01, "3" ) PORT_DIPSETTING( 0x02, "4" ) PORT_DIPSETTING( 0x03, "6" ) -// PORT_DIPSETTING( 0x00, "6" ) +// PORT_DIPSETTING( 0x00, "6" ) PORT_DIPNAME( 0x04, 0x04, "Vs. Rounds" ) PORT_DIPLOCATION("SW3:3") PORT_DIPSETTING( 0x00, "3" ) PORT_DIPSETTING( 0x04, "5" ) diff --git a/src/mame/drivers/luckgrln.c b/src/mame/drivers/luckgrln.c index 175cb6302f1..a9045627d5e 100644 --- a/src/mame/drivers/luckgrln.c +++ b/src/mame/drivers/luckgrln.c @@ -976,7 +976,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/lucky74.c b/src/mame/drivers/lucky74.c index 336a3d5326c..00e33b2a864 100644 --- a/src/mame/drivers/lucky74.c +++ b/src/mame/drivers/lucky74.c @@ -661,7 +661,7 @@ [2013-01-15] - Added another set of Lucky'74 (reclassified as bootleg set 2). This one has - a different payrate table that match 100% the one from the manual... + a different payrate table that match 100% the one from the manual... [2012-06-05] @@ -1202,14 +1202,14 @@ INPUT_PORTS_END static INPUT_PORTS_START( excitbj ) PORT_START("IN0") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_1) PORT_NAME("1BET") // Bet 1 - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_2) PORT_NAME("10BET") // Bet 10 + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_1) PORT_NAME("1BET") // Bet 1 + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_2) PORT_NAME("10BET") // Bet 10 PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_3) PORT_NAME("CNT") - PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("HIT") // Hit - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_5) PORT_NAME("SND") // Sound? - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_6) PORT_NAME("DWN") // Double Down? - PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_7) PORT_NAME("SPT") // Split? - PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_8) PORT_NAME("INS") // Insurance? + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("HIT") // Hit + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_5) PORT_NAME("SND") // Sound? + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_6) PORT_NAME("DWN") // Double Down? + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_7) PORT_NAME("SPT") // Split? + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_8) PORT_NAME("INS") // Insurance? PORT_START("IN1") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Q) PORT_NAME("IN1-1") @@ -1224,9 +1224,9 @@ static INPUT_PORTS_START( excitbj ) PORT_START("IN2") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_A) PORT_NAME("HCN") PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_S) PORT_NAME("EMP") - PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_D) PORT_NAME("BOK") // Bookkeeping - PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode") PORT_CODE(KEYCODE_F2) PORT_TOGGLE - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_G) PORT_NAME("PAY") // Payout + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_D) PORT_NAME("BOK") // Bookkeeping + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode") PORT_CODE(KEYCODE_F2) PORT_TOGGLE + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_G) PORT_NAME("PAY") // Payout PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("KSW") PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_J) PORT_NAME("IN2-7") PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_K) PORT_NAME("IN2-8") @@ -1676,31 +1676,31 @@ ROM_END */ ROM_START( lucky74a ) ROM_REGION( 0x10000, "maincpu", 0 ) - ROM_LOAD( "10.cpu", 0x0000, 0x10000, CRC(663d139e) SHA1(259c36d741c13bf06f317dc893f46e2cfca15ace) ) + ROM_LOAD( "10.cpu", 0x0000, 0x10000, CRC(663d139e) SHA1(259c36d741c13bf06f317dc893f46e2cfca15ace) ) ROM_REGION( 0x20000, "fgtiles", 0 ) - ROM_LOAD( "2.2j", 0x00000, 0x8000, CRC(ff934c20) SHA1(07cd2225dfc0e5b74be2e1b379c6b180e37660db) ) - ROM_LOAD( "1.2f", 0x08000, 0x8000, CRC(2fd6fb8a) SHA1(1a910e0a2e6db22a8d9a65d7b932f9ca39601e9c) ) - ROM_LOAD( "3.2k", 0x10000, 0x8000, CRC(c70a6da3) SHA1(195772ef649e21a5c54c5871e7b858967b6ebee8) ) - ROM_LOAD( "4.2m", 0x18000, 0x8000, CRC(b5813b67) SHA1(cce38e33a5218d6839d956174807d88e7c070d5a) ) + ROM_LOAD( "2.2j", 0x00000, 0x8000, CRC(ff934c20) SHA1(07cd2225dfc0e5b74be2e1b379c6b180e37660db) ) + ROM_LOAD( "1.2f", 0x08000, 0x8000, CRC(2fd6fb8a) SHA1(1a910e0a2e6db22a8d9a65d7b932f9ca39601e9c) ) + ROM_LOAD( "3.2k", 0x10000, 0x8000, CRC(c70a6da3) SHA1(195772ef649e21a5c54c5871e7b858967b6ebee8) ) + ROM_LOAD( "4.2m", 0x18000, 0x8000, CRC(b5813b67) SHA1(cce38e33a5218d6839d956174807d88e7c070d5a) ) ROM_REGION( 0x20000, "bgtiles", 0 ) - ROM_LOAD( "7.1j", 0x00000, 0x8000, CRC(010ffa4a) SHA1(8856d61b71e951509073bc359851f47c39c4274d) ) - ROM_LOAD( "6.1f", 0x08000, 0x8000, CRC(15104810) SHA1(586df734740209e2a05932e31d2a301d330e8cbd) ) - ROM_LOAD( "8.1k", 0x10000, 0x8000, CRC(f2d45e76) SHA1(46df7bf98434c836fd38539575a35bf67c9ec2c6) ) - ROM_LOAD( "9.1m", 0x18000, 0x8000, CRC(6b0196f3) SHA1(277049279dcfcf07189dbdb20935c2a71b2f6061) ) + ROM_LOAD( "7.1j", 0x00000, 0x8000, CRC(010ffa4a) SHA1(8856d61b71e951509073bc359851f47c39c4274d) ) + ROM_LOAD( "6.1f", 0x08000, 0x8000, CRC(15104810) SHA1(586df734740209e2a05932e31d2a301d330e8cbd) ) + ROM_LOAD( "8.1k", 0x10000, 0x8000, CRC(f2d45e76) SHA1(46df7bf98434c836fd38539575a35bf67c9ec2c6) ) + ROM_LOAD( "9.1m", 0x18000, 0x8000, CRC(6b0196f3) SHA1(277049279dcfcf07189dbdb20935c2a71b2f6061) ) - ROM_REGION( 0x20000, "adpcm", 0 ) /* 4-bits ADPCM samples @ 8kHz */ - ROM_LOAD( "5.2n", 0x00000, 0x10000, CRC(b896c87f) SHA1(985e625a937abd6353218f0cace14d3adec4c1bf) ) /* location 2n */ - ROM_FILL( 0x10000, 0x10000, 0xff ) /* empty socket @ 1n */ + ROM_REGION( 0x20000, "adpcm", 0 ) /* 4-bits ADPCM samples @ 8kHz */ + ROM_LOAD( "5.2n", 0x00000, 0x10000, CRC(b896c87f) SHA1(985e625a937abd6353218f0cace14d3adec4c1bf) ) /* location 2n */ + ROM_FILL( 0x10000, 0x10000, 0xff ) /* empty socket @ 1n */ ROM_REGION( 0x0600, "proms", 0 ) - ROM_LOAD( "82s129.e6", 0x0000, 0x0100, CRC(ae793fef) SHA1(e4e2d2dccabad7d756811fb2d5e123bf30f106f3) ) - ROM_LOAD( "82s129.e7", 0x0100, 0x0100, CRC(7c772d0c) SHA1(9c99daa01ca56c7ebd48945505fcbae184998b13) ) - ROM_LOAD( "82s129.d6", 0x0200, 0x0100, CRC(61716584) SHA1(7a3e17f47ce173d79c12b2394edb8f32b7509e39) ) - ROM_LOAD( "82s129.d7", 0x0300, 0x0100, CRC(4003bc8f) SHA1(f830203c22a4f94b8b9f0b24e287204a742a8322) ) - ROM_LOAD( "82s129.c6", 0x0400, 0x0100, CRC(a8d2b3db) SHA1(7b346797bedc627fb2d49f19b18860a81c69e122) ) - ROM_LOAD( "82s129.c7", 0x0500, 0x0100, CRC(e62fd192) SHA1(86a189df2e2ccef6bd2a4e6d969e777fbba8cdf7) ) + ROM_LOAD( "82s129.e6", 0x0000, 0x0100, CRC(ae793fef) SHA1(e4e2d2dccabad7d756811fb2d5e123bf30f106f3) ) + ROM_LOAD( "82s129.e7", 0x0100, 0x0100, CRC(7c772d0c) SHA1(9c99daa01ca56c7ebd48945505fcbae184998b13) ) + ROM_LOAD( "82s129.d6", 0x0200, 0x0100, CRC(61716584) SHA1(7a3e17f47ce173d79c12b2394edb8f32b7509e39) ) + ROM_LOAD( "82s129.d7", 0x0300, 0x0100, CRC(4003bc8f) SHA1(f830203c22a4f94b8b9f0b24e287204a742a8322) ) + ROM_LOAD( "82s129.c6", 0x0400, 0x0100, CRC(a8d2b3db) SHA1(7b346797bedc627fb2d49f19b18860a81c69e122) ) + ROM_LOAD( "82s129.c7", 0x0500, 0x0100, CRC(e62fd192) SHA1(86a189df2e2ccef6bd2a4e6d969e777fbba8cdf7) ) ROM_END /* @@ -1715,7 +1715,7 @@ ROM_END */ ROM_START( lucky74b ) ROM_REGION( 0x10000, "maincpu", 0 ) - ROM_LOAD( "luckygde.00", 0x0000, 0x10000, CRC(e3f7db99) SHA1(5c7d9d3fed9eb19d3d666c8c08b34968a9996a96) ) /* bad dump? */ + ROM_LOAD( "luckygde.00", 0x0000, 0x10000, CRC(e3f7db99) SHA1(5c7d9d3fed9eb19d3d666c8c08b34968a9996a96) ) /* bad dump? */ ROM_REGION( 0x20000, "fgtiles", 0 ) ROM_LOAD( "luckygde.12", 0x00000, 0x8000, CRC(7127465b) SHA1(3f72f91652fcab52c073744b1651fdfe772c584a) ) @@ -1730,8 +1730,8 @@ ROM_START( lucky74b ) ROM_LOAD( "luckygde.19", 0x18000, 0x8000, CRC(bb4608ae) SHA1(cc8ec596f445fe0364f254241227de368f309ebb) ) ROM_REGION( 0x20000, "adpcm", 0 ) /* 4-bits ADPCM samples @ 8kHz */ - ROM_LOAD( "luckyson.15", 0x00000, 0x10000, CRC(b896c87f) SHA1(985e625a937abd6353218f0cace14d3adec4c1bf) ) /* location 2n */ - ROM_FILL( 0x10000, 0x10000, 0xff ) /* empty socket @ 1n */ + ROM_LOAD( "luckyson.15", 0x00000, 0x10000, CRC(b896c87f) SHA1(985e625a937abd6353218f0cace14d3adec4c1bf) ) /* location 2n */ + ROM_FILL( 0x10000, 0x10000, 0xff ) /* empty socket @ 1n */ ROM_REGION( 0x0600, "proms", 0 ) ROM_LOAD( "luckyprom.e6", 0x0000, 0x0100, CRC(ae793fef) SHA1(e4e2d2dccabad7d756811fb2d5e123bf30f106f3) ) @@ -1785,8 +1785,8 @@ ROM_START( excitbj ) ROM_LOAD( "ebj_s9.1l", 0x30000, 0x10000, CRC(79ba7d75) SHA1(7301143a019d5e79eff7941a1a34fe96036acffa) ) ROM_REGION( 0x20000, "adpcm", 0 ) /* 4-bits ADPCM samples @ 8kHz */ - ROM_LOAD( "ebj_s5.2n", 0x00000, 0x10000, CRC(9b4a10a2) SHA1(843ab5955ba96bb1b1a5367652d0f6424ba23bdf) ) /* location 2n */ - ROM_LOAD( "ebj_s10.1n", 0x10000, 0x10000, CRC(2fa7401d) SHA1(80a5dfd2b7c183acd2fc124d220de4a4921178b2) ) /* location 1n */ + ROM_LOAD( "ebj_s5.2n", 0x00000, 0x10000, CRC(9b4a10a2) SHA1(843ab5955ba96bb1b1a5367652d0f6424ba23bdf) ) /* location 2n */ + ROM_LOAD( "ebj_s10.1n", 0x10000, 0x10000, CRC(2fa7401d) SHA1(80a5dfd2b7c183acd2fc124d220de4a4921178b2) ) /* location 1n */ ROM_REGION( 0x0600, "proms", 0 ) ROM_LOAD( "6e-a.6e", 0x0000, 0x0100, CRC(bcaa7a0d) SHA1(75554d539bf67effb862234cdf89e4df4e2193ed) ) diff --git a/src/mame/drivers/lwings.c b/src/mame/drivers/lwings.c index 9d7a7264869..74eb9ccac0a 100644 --- a/src/mame/drivers/lwings.c +++ b/src/mame/drivers/lwings.c @@ -133,7 +133,6 @@ WRITE8_MEMBER(lwings_state::avengers_prot_bank_w) int lwings_state::avengers_fetch_paldata( ) { - static const char pal_data[] = /* page 1: 0x03,0x02,0x01,0x00 */ "0000000000000000" "A65486A6364676D6" "C764C777676778A7" "A574E5E5C5756AE5" diff --git a/src/mame/drivers/magicfly.c b/src/mame/drivers/magicfly.c index 0ad88ccb124..96baae3b287 100644 --- a/src/mame/drivers/magicfly.c +++ b/src/mame/drivers/magicfly.c @@ -330,7 +330,7 @@ With the default DIP switches positions, the game is totally in French, and is titled 'BONNE CHANCE!'. Turning the 4th DIP switch ON, the game switch to English, - and the title changes to 'GOOD LUCK!' (as the above mentioned games). + and the title changes to 'GOOD LUCK!' (as the above mentioned games). To enter the test mode, press SERVICE (key 9). You can see an input-test matrix to test all the valid inputs. Pressing BET (key M) and START (Key 1) simultaneou- @@ -416,7 +416,7 @@ [2013-01-17] - Added Bonne Chance!. A French/English poker game prototype of - the well known 'Golden Poker' and 'Jack Potten Poker'. + the well known 'Golden Poker' and 'Jack Potten Poker'. - Worked complete inputs from the scratch. Promoted to working. - Added proper palette. Now the game seems to get accurate colors. - Added some notes. @@ -608,8 +608,8 @@ PALETTE_INIT_MEMBER(magicfly_state, bchance) palette_set_color(machine(), i + 15, MAKE_RGB(0xff, 0xff, 0xff)); } - palette_set_color(machine(), 0x08 , MAKE_RGB(0xff, 0xff, 0xff)); // white for the cards back logo background. - palette_set_color(machine(), 0x12 , MAKE_RGB(0x00, 0x00, 0x00)); // black for the cards corners (should be transparent) + palette_set_color(machine(), 0x08 , MAKE_RGB(0xff, 0xff, 0xff)); // white for the cards back logo background. + palette_set_color(machine(), 0x12 , MAKE_RGB(0x00, 0x00, 0x00)); // black for the cards corners (should be transparent) } @@ -814,42 +814,42 @@ static INPUT_PORTS_START( bchance ) R4C1 + R4C5 to exit... */ PORT_START("IN0-0") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) // input test R1C1 (coin 1) - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) // input test R1C2 (coin 2) - PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_D) PORT_NAME("IN0-3") // input test R1C3 (unknown) - PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F) PORT_NAME("IN0-4") // input test R1C4 (unknown) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) // input test R1C1 (coin 1) + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) // input test R1C2 (coin 2) + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_D) PORT_NAME("IN0-3") // input test R1C3 (unknown) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F) PORT_NAME("IN0-4") // input test R1C4 (unknown) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_G) PORT_NAME("IN0-6") // input test R1C5 (unknown) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_G) PORT_NAME("IN0-6") // input test R1C5 (unknown) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START("IN0-1") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small") // input test R2C1 (small) - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big") // input test R2C2 (big) - PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Payout") // input test R2C3 (payout) - PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) // input test R2C4 (take) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small") // input test R2C1 (small) + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big") // input test R2C2 (big) + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Payout") // input test R2C3 (payout) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) // input test R2C4 (take) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("IN1-6") // input test R2C5 (unknown) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("IN1-6") // input test R2C5 (unknown) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START("IN0-2") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) // input test R3C1 (hold 4) - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) // input test R3C2 (hold 5) - PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) // input test R3C3 (hold 2) - PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) // input test R3C4 (hold 3) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) // input test R3C1 (hold 4) + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) // input test R3C2 (hold 5) + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) // input test R3C3 (hold 2) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) // input test R3C4 (hold 3) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) // input test R3C5 (hold 1) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) // input test R3C5 (hold 1) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START("IN0-3") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start") // input test R4C1 (start/deal) - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) // input test R4C2 (cancel) - PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) // input test R4C3 (service/test) - PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) // input test R4C4 (d-up) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start") // input test R4C1 (start/deal) + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) // input test R4C2 (cancel) + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) // input test R4C3 (service/test) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) // input test R4C4 (d-up) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) // input test R4C5 (bet) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) // input test R4C5 (bet) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) @@ -918,7 +918,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ @@ -1031,23 +1031,23 @@ ROM_END ROM_START( bchance ) ROM_REGION( 0x10000, "maincpu", 0 ) - ROM_LOAD( "v-pk-4gag.bin", 0xc000, 0x4000, CRC(7c2dd908) SHA1(97b1390fb4c8c838a0d5b78d6904d597a9abe27f) ) + ROM_LOAD( "v-pk-4gag.bin", 0xc000, 0x4000, CRC(7c2dd908) SHA1(97b1390fb4c8c838a0d5b78d6904d597a9abe27f) ) - ROM_REGION( 0x6000, "gfx", 0 ) /* ROM n-pk-2.bin was created from an exhaustive analysis of 25 different bad dumps */ - ROM_LOAD( "n-pk-2.bin", 0x0000, 0x2000, BAD_DUMP CRC(462c3dd7) SHA1(fb30d6147e0d607b3fb631d8bdca35e98eccfd2d) ) - ROM_LOAD( "n-pk-1.bin", 0x2000, 0x2000, CRC(e35cebd6) SHA1(b0dd86fd4c06f98e486b04e09808985bfa4f0e9c) ) - ROM_LOAD( "n-pk-0.bin", 0x4000, 0x2000, CRC(3c64edc4) SHA1(97b677b7c4999b502ab4b4f70c33b40050843796) ) + ROM_REGION( 0x6000, "gfx", 0 ) /* ROM n-pk-2.bin was created from an exhaustive analysis of 25 different bad dumps */ + ROM_LOAD( "n-pk-2.bin", 0x0000, 0x2000, BAD_DUMP CRC(462c3dd7) SHA1(fb30d6147e0d607b3fb631d8bdca35e98eccfd2d) ) + ROM_LOAD( "n-pk-1.bin", 0x2000, 0x2000, CRC(e35cebd6) SHA1(b0dd86fd4c06f98e486b04e09808985bfa4f0e9c) ) + ROM_LOAD( "n-pk-0.bin", 0x4000, 0x2000, CRC(3c64edc4) SHA1(97b677b7c4999b502ab4b4f70c33b40050843796) ) ROM_REGION( 0x0800, "gfxbnk0", 0 ) - ROM_COPY( "gfx", 0x1800, 0x0000, 0x0800 ) /* chars */ + ROM_COPY( "gfx", 0x1800, 0x0000, 0x0800 ) /* chars */ ROM_REGION( 0x1800, "gfxbnk1", 0 ) - ROM_COPY( "gfx", 0x1000, 0x0000, 0x0800 ) /* 3bpp tiles, bitplane 1 */ - ROM_COPY( "gfx", 0x3800, 0x0800, 0x0800 ) /* 3bpp tiles, bitplane 2 */ - ROM_COPY( "gfx", 0x5800, 0x1000, 0x0800 ) /* 3bpp tiles, bitplane 3 */ + ROM_COPY( "gfx", 0x1000, 0x0000, 0x0800 ) /* 3bpp tiles, bitplane 1 */ + ROM_COPY( "gfx", 0x3800, 0x0800, 0x0800 ) /* 3bpp tiles, bitplane 2 */ + ROM_COPY( "gfx", 0x5800, 0x1000, 0x0800 ) /* 3bpp tiles, bitplane 3 */ ROM_REGION( 0x0200, "plds", 0 ) - ROM_LOAD( "gal16v8-bchance.bin", 0x0000, 0x0104, NO_DUMP ) /* protected */ + ROM_LOAD( "gal16v8-bchance.bin", 0x0000, 0x0104, NO_DUMP ) /* protected */ ROM_END diff --git a/src/mame/drivers/majorpkr.c b/src/mame/drivers/majorpkr.c index 26d0ffce967..befd214af3d 100644 --- a/src/mame/drivers/majorpkr.c +++ b/src/mame/drivers/majorpkr.c @@ -1002,7 +1002,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 16, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/merit.c b/src/mame/drivers/merit.c index b8fa8533c81..00b704e60f0 100644 --- a/src/mame/drivers/merit.c +++ b/src/mame/drivers/merit.c @@ -316,7 +316,7 @@ WRITE_LINE_MEMBER(merit_state::vsync_changed) static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ begin_update, /* before pixel update callback */ update_row, /* row update callback */ diff --git a/src/mame/drivers/miniboy7.c b/src/mame/drivers/miniboy7.c index 507b6394a9a..7223da3469e 100644 --- a/src/mame/drivers/miniboy7.c +++ b/src/mame/drivers/miniboy7.c @@ -394,7 +394,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/missile.c b/src/mame/drivers/missile.c index 73f276e9c22..c2eac681ffb 100644 --- a/src/mame/drivers/missile.c +++ b/src/mame/drivers/missile.c @@ -513,7 +513,7 @@ TIMER_CALLBACK_MEMBER(missile_state::adjust_cpu_speed) void missile_state::machine_start() { /* initialize globals */ - m_mainrom = memregion("maincpu")->base(); + m_mainrom = memregion("maincpu")->base(); m_writeprom = memregion("proms")->base(); m_flipscreen = 0; diff --git a/src/mame/drivers/mpu12wbk.c b/src/mame/drivers/mpu12wbk.c index 9dde807e763..ed8ac8007b2 100644 --- a/src/mame/drivers/mpu12wbk.c +++ b/src/mame/drivers/mpu12wbk.c @@ -494,7 +494,7 @@ static const ay8910_interface ay8910_config = static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 4, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/mpu4dealem.c b/src/mame/drivers/mpu4dealem.c index 6092a0ea392..5baa6b7b42d 100644 --- a/src/mame/drivers/mpu4dealem.c +++ b/src/mame/drivers/mpu4dealem.c @@ -147,7 +147,7 @@ WRITE_LINE_MEMBER(mpu4dealem_state::dealem_vsync_changed) static MC6845_INTERFACE( hd6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/murogem.c b/src/mame/drivers/murogem.c index cb73c0085d5..ae88e20bbd9 100644 --- a/src/mame/drivers/murogem.c +++ b/src/mame/drivers/murogem.c @@ -231,7 +231,7 @@ UINT32 murogem_state::screen_update_murogem(screen_device &screen, bitmap_ind16 static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/namcops2.c b/src/mame/drivers/namcops2.c index db8e2d6fa7b..e4f8e361eaf 100644 --- a/src/mame/drivers/namcops2.c +++ b/src/mame/drivers/namcops2.c @@ -455,11 +455,11 @@ ROM_START( rrvac ) ROM_LOAD( "rrv3vera.ic002", 0x000000, 0x800000, CRC(dd20c4a2) SHA1(07bddaac958ac62d9fc29671fc83bd1e3b27f4b8) ) ROM_LOAD( "rrv3vera_spr.ic002", 0x800000, 0x040000, CRC(712e0e9a) SHA1(d396aaf918036ff7f909a84daefe8f651fdf9b05) ) - ROM_REGION(0x4010, "jvsio", 0) // Namco "FCA" JVS I/O board PIC16F84 code (see namcos23.c for FCA details) - ROM_LOAD( "fcap11.ic2", 0x000000, 0x004010, CRC(1b2592ce) SHA1(a1a487361053af564f6ec67e545413e370a3b38c) ) + ROM_REGION(0x4010, "jvsio", 0) // Namco "FCA" JVS I/O board PIC16F84 code (see namcos23.c for FCA details) + ROM_LOAD( "fcap11.ic2", 0x000000, 0x004010, CRC(1b2592ce) SHA1(a1a487361053af564f6ec67e545413e370a3b38c) ) - ROM_REGION(0x80000, "steering", 0) // Steering I/O board MB90242A code (see namcos23.c for steering board details) - ROM_LOAD( "rrv3_str-0a.ic16", 0x000000, 0x080000, CRC(df8b6cac) SHA1(d45e150678218084925673e1d77edefc04135035) ) + ROM_REGION(0x80000, "steering", 0) // Steering I/O board MB90242A code (see namcos23.c for steering board details) + ROM_LOAD( "rrv3_str-0a.ic16", 0x000000, 0x080000, CRC(df8b6cac) SHA1(d45e150678218084925673e1d77edefc04135035) ) DISK_REGION("dvd") DISK_IMAGE_READONLY( "rrv1-a", 0, SHA1(77bb70407511cbb12ab999410e797dcaf0779229) ) diff --git a/src/mame/drivers/namcos22.c b/src/mame/drivers/namcos22.c index 14e481e9f96..6019c2523ec 100644 --- a/src/mame/drivers/namcos22.c +++ b/src/mame/drivers/namcos22.c @@ -2749,20 +2749,20 @@ TIMER_DEVICE_CALLBACK_MEMBER(namcos22_state::adillor_trackball_update) iy = 0x7f; double x = (double)(ix - 0x80) / 127.0; double y = (double)(0x80 - iy) / 127.0; - + // normalize double a = atan(x/y); double p = sqrt(x*x + y*y); double v = (fabs(a) < (M_PI / 4.0)) ? p*cos(a) : p*sin(a); v = fabs(v); - + // note that it is rotated by 45 degrees, so instead of axes like (+), they are like (x) a += (M_PI / 4.0); if (a < 0) a = 0; else if (a > (M_PI / 2.0)) a = M_PI / 2.0; - + // tied to mcu A2/A3 timer (speed determines frequency) // these values(in usec) may need tweaking: const int base = 1000; @@ -2771,7 +2771,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(namcos22_state::adillor_trackball_update) double t[2]; t[0] = v*sin(a); // y -> A2 t[1] = v*cos(a); // x -> A3 - + for (int axis = 0; axis < 2; axis++) { if (t[axis] > (1.0 / (double)(range))) @@ -2822,7 +2822,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(namcos22_state::propcycl_pedal_update) { // arbitrary timer for reading optical pedal UINT8 i = ioport("PEDAL")->read(); - + if (i != 0) { // the pedal has a simple 1-bit "light interrupted" sensor. the faster you pedal, @@ -3082,7 +3082,7 @@ static MACHINE_CONFIG_START( namcos22, namcos22_state ) MCFG_CPU_PROGRAM_MAP( mcu_s22_program) MCFG_CPU_IO_MAP( mcu_s22_io) - MCFG_CPU_ADD("iomcu", M37702, XTAL_6_144MHz) // 6.144MHz XTAL on I/O board, not sure if it has a divider + MCFG_CPU_ADD("iomcu", M37702, XTAL_6_144MHz) // 6.144MHz XTAL on I/O board, not sure if it has a divider MCFG_CPU_PROGRAM_MAP( iomcu_s22_program) MCFG_CPU_IO_MAP( iomcu_s22_io) @@ -4916,7 +4916,7 @@ static INPUT_PORTS_START( adillor ) PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) PORT_NAME("Dev Service Up") PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) PORT_NAME("Dev Service Down") PORT_BIT( 0xffc0, IP_ACTIVE_LOW, IPT_UNKNOWN ) - + PORT_START("MCUP5A") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) diff --git a/src/mame/drivers/nyny.c b/src/mame/drivers/nyny.c index 445e1eea57d..a6847f101f7 100644 --- a/src/mame/drivers/nyny.c +++ b/src/mame/drivers/nyny.c @@ -425,7 +425,7 @@ WRITE_LINE_MEMBER(nyny_state::display_enable_changed) static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ begin_update, /* before pixel update callback */ update_row, /* row update callback */ diff --git a/src/mame/drivers/othello.c b/src/mame/drivers/othello.c index 5c58e1088ff..3204c170c2e 100644 --- a/src/mame/drivers/othello.c +++ b/src/mame/drivers/othello.c @@ -367,7 +367,7 @@ INPUT_PORTS_END static MC6845_INTERFACE( h46505_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ TILE_WIDTH, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ update_row, /* row update callback */ diff --git a/src/mame/drivers/peplus.c b/src/mame/drivers/peplus.c index 10d9bb0ff7f..66c5817e70c 100644 --- a/src/mame/drivers/peplus.c +++ b/src/mame/drivers/peplus.c @@ -294,7 +294,7 @@ static MC6845_ON_UPDATE_ADDR_CHANGED(crtc_addr); static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/pgm.c b/src/mame/drivers/pgm.c index 9a090490aef..4ff1784e33e 100644 --- a/src/mame/drivers/pgm.c +++ b/src/mame/drivers/pgm.c @@ -3860,7 +3860,7 @@ GAME( 2002, dmnfrnta, dmnfrnt, pgm_arm_type3, pgm, pgm_arm_type3_state GAME( 2002, dmnfrntpcb, dmnfrnt, pgm_arm_type3, pgm, pgm_arm_type3_state, dmnfrnt, ROT0, "IGS", "Demon Front (68k label V107KR, ROM M107KR 11/03/03) (ARM label V106KR, ROM 10/16/03 S106KR) (JAMMA PCB)", GAME_IMPERFECT_SOUND | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING | GAME_SUPPORTS_SAVE ) // works but reports version mismatch (wants internal rom version and region to match external?) - + /* these don't use an External ARM rom, and don't have any weak internal functions which would allow the internal ROM to be read out */ GAME( 2002, ddpdoj, 0, pgm_arm_type1_cave, pgm, pgm_arm_type1_state, ddp3, ROT270, "Cave", "DoDonPachi Dai-Ou-Jou V101 (2002.04.05.Master Ver)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) // is there a v101 without the . after 05? GAME( 2002, ddpdoja, ddpdoj, pgm_arm_type1_cave, pgm, pgm_arm_type1_state, ddp3, ROT270, "Cave", "DoDonPachi Dai-Ou-Jou V100 (2002.04.05.Master Ver)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) diff --git a/src/mame/drivers/pgm2.c b/src/mame/drivers/pgm2.c index 9f6a675bd3d..c404880e4b2 100644 --- a/src/mame/drivers/pgm2.c +++ b/src/mame/drivers/pgm2.c @@ -176,165 +176,165 @@ MACHINE_CONFIG_END ROM_START( orleg2 ) ROM_REGION( 0x04000, "maincpu", 0 ) - ROM_LOAD( "xyj2_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) + ROM_LOAD( "xyj2_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) - ROM_REGION( 0x800000, "user1", 0 ) - ROM_LOAD( "xyj2_v104cn.u7", 0x00000000, 0x0800000, CRC(7c24a4f5) SHA1(3cd9f9264ef2aad0869afdf096e88eb8d74b2570) ) + ROM_REGION( 0x800000, "user1", 0 ) + ROM_LOAD( "xyj2_v104cn.u7", 0x00000000, 0x0800000, CRC(7c24a4f5) SHA1(3cd9f9264ef2aad0869afdf096e88eb8d74b2570) ) - ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) - ROM_LOAD( "ig-a_text.u4", 0x00000000, 0x0200000, CRC(fa444c32) SHA1(31e5e3efa92d52bf9ab97a0ece51e3b77f52ce8a) ) + ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) + ROM_LOAD( "ig-a_text.u4", 0x00000000, 0x0200000, CRC(fa444c32) SHA1(31e5e3efa92d52bf9ab97a0ece51e3b77f52ce8a) ) - ROM_REGION( 0x1000000, "bgtile", 0 ) - ROM_LOAD32_WORD( "ig-a_bgl.u35", 0x00000000, 0x0800000, CRC(083a8315) SHA1(0dba25e132fbb12faa59ced648c27b881dc73478) ) - ROM_LOAD32_WORD( "ig-a_bgh.u36", 0x00000002, 0x0800000, CRC(e197221d) SHA1(5574b1e3da4b202db725be906dd868edc2fd4634) ) + ROM_REGION( 0x1000000, "bgtile", 0 ) + ROM_LOAD32_WORD( "ig-a_bgl.u35", 0x00000000, 0x0800000, CRC(083a8315) SHA1(0dba25e132fbb12faa59ced648c27b881dc73478) ) + ROM_LOAD32_WORD( "ig-a_bgh.u36", 0x00000002, 0x0800000, CRC(e197221d) SHA1(5574b1e3da4b202db725be906dd868edc2fd4634) ) - ROM_REGION( 0x2000000, "spritesa", 0 ) // 1bpp sprite mask data - ROM_LOAD32_WORD( "ig-a_bml.u12", 0x00000000, 0x1000000, CRC(113a331c) SHA1(ee6b31bb2b052cc8799573de0d2f0a83f0ab4f6a) ) - ROM_LOAD32_WORD( "ig-a_bmh.u16", 0x00000002, 0x1000000, CRC(fbf411c8) SHA1(5089b5cc9bbf6496ef1367c6255e63e9ab895117) ) + ROM_REGION( 0x2000000, "spritesa", 0 ) // 1bpp sprite mask data + ROM_LOAD32_WORD( "ig-a_bml.u12", 0x00000000, 0x1000000, CRC(113a331c) SHA1(ee6b31bb2b052cc8799573de0d2f0a83f0ab4f6a) ) + ROM_LOAD32_WORD( "ig-a_bmh.u16", 0x00000002, 0x1000000, CRC(fbf411c8) SHA1(5089b5cc9bbf6496ef1367c6255e63e9ab895117) ) - ROM_REGION( 0x4000000, "spritesb", 0 ) // sprite colour data - ROM_LOAD32_WORD( "ig-a_cgl.u18", 0x00000000, 0x2000000, CRC(43501fa6) SHA1(58ccce6d393964b771fec3f5c583e3ede57482a3) ) - ROM_LOAD32_WORD( "ig-a_cgh.u26", 0x00000002, 0x2000000, CRC(7051d020) SHA1(3d9b24c6fda4c9699bb9f00742e0888059b623e1) ) + ROM_REGION( 0x4000000, "spritesb", 0 ) // sprite colour data + ROM_LOAD32_WORD( "ig-a_cgl.u18", 0x00000000, 0x2000000, CRC(43501fa6) SHA1(58ccce6d393964b771fec3f5c583e3ede57482a3) ) + ROM_LOAD32_WORD( "ig-a_cgh.u26", 0x00000002, 0x2000000, CRC(7051d020) SHA1(3d9b24c6fda4c9699bb9f00742e0888059b623e1) ) - ROM_REGION( 0x1000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ - ROM_LOAD16_WORD_SWAP( "ig-a_sp.u2", 0x00000000, 0x1000000, CRC(8250688c) SHA1(d2488477afc528aeee96826065deba2bce4f0a7d) ) + ROM_REGION( 0x1000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ + ROM_LOAD16_WORD_SWAP( "ig-a_sp.u2", 0x00000000, 0x1000000, CRC(8250688c) SHA1(d2488477afc528aeee96826065deba2bce4f0a7d) ) ROM_END ROM_START( orleg2o ) - ROM_REGION( 0x04000, "maincpu", 0 ) - ROM_LOAD( "xyj2_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) + ROM_REGION( 0x04000, "maincpu", 0 ) + ROM_LOAD( "xyj2_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) - ROM_REGION( 0x800000, "user1", 0 ) - ROM_LOAD( "xyj2_v103cn.u7", 0x000000, 0x800000, CRC(21c1fae8) SHA1(36eeb7a5e8dc8ee7c834f3ff1173c28cf6c2f1a3) ) + ROM_REGION( 0x800000, "user1", 0 ) + ROM_LOAD( "xyj2_v103cn.u7", 0x000000, 0x800000, CRC(21c1fae8) SHA1(36eeb7a5e8dc8ee7c834f3ff1173c28cf6c2f1a3) ) - ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) - ROM_LOAD( "ig-a_text.u4", 0x00000000, 0x0200000, CRC(fa444c32) SHA1(31e5e3efa92d52bf9ab97a0ece51e3b77f52ce8a) ) + ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) + ROM_LOAD( "ig-a_text.u4", 0x00000000, 0x0200000, CRC(fa444c32) SHA1(31e5e3efa92d52bf9ab97a0ece51e3b77f52ce8a) ) - ROM_REGION( 0x1000000, "bgtile", 0 ) - ROM_LOAD32_WORD( "ig-a_bgl.u35", 0x00000000, 0x0800000, CRC(083a8315) SHA1(0dba25e132fbb12faa59ced648c27b881dc73478) ) - ROM_LOAD32_WORD( "ig-a_bgh.u36", 0x00000002, 0x0800000, CRC(e197221d) SHA1(5574b1e3da4b202db725be906dd868edc2fd4634) ) + ROM_REGION( 0x1000000, "bgtile", 0 ) + ROM_LOAD32_WORD( "ig-a_bgl.u35", 0x00000000, 0x0800000, CRC(083a8315) SHA1(0dba25e132fbb12faa59ced648c27b881dc73478) ) + ROM_LOAD32_WORD( "ig-a_bgh.u36", 0x00000002, 0x0800000, CRC(e197221d) SHA1(5574b1e3da4b202db725be906dd868edc2fd4634) ) - ROM_REGION( 0x2000000, "spritesa", 0 ) // 1bpp sprite mask data - ROM_LOAD32_WORD( "ig-a_bml.u12", 0x00000000, 0x1000000, CRC(113a331c) SHA1(ee6b31bb2b052cc8799573de0d2f0a83f0ab4f6a) ) - ROM_LOAD32_WORD( "ig-a_bmh.u16", 0x00000002, 0x1000000, CRC(fbf411c8) SHA1(5089b5cc9bbf6496ef1367c6255e63e9ab895117) ) + ROM_REGION( 0x2000000, "spritesa", 0 ) // 1bpp sprite mask data + ROM_LOAD32_WORD( "ig-a_bml.u12", 0x00000000, 0x1000000, CRC(113a331c) SHA1(ee6b31bb2b052cc8799573de0d2f0a83f0ab4f6a) ) + ROM_LOAD32_WORD( "ig-a_bmh.u16", 0x00000002, 0x1000000, CRC(fbf411c8) SHA1(5089b5cc9bbf6496ef1367c6255e63e9ab895117) ) - ROM_REGION( 0x4000000, "spritesb", 0 ) // sprite colour data - ROM_LOAD32_WORD( "ig-a_cgl.u18", 0x00000000, 0x2000000, CRC(43501fa6) SHA1(58ccce6d393964b771fec3f5c583e3ede57482a3) ) - ROM_LOAD32_WORD( "ig-a_cgh.u26", 0x00000002, 0x2000000, CRC(7051d020) SHA1(3d9b24c6fda4c9699bb9f00742e0888059b623e1) ) + ROM_REGION( 0x4000000, "spritesb", 0 ) // sprite colour data + ROM_LOAD32_WORD( "ig-a_cgl.u18", 0x00000000, 0x2000000, CRC(43501fa6) SHA1(58ccce6d393964b771fec3f5c583e3ede57482a3) ) + ROM_LOAD32_WORD( "ig-a_cgh.u26", 0x00000002, 0x2000000, CRC(7051d020) SHA1(3d9b24c6fda4c9699bb9f00742e0888059b623e1) ) - ROM_REGION( 0x1000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ - ROM_LOAD16_WORD_SWAP( "ig-a_sp.u2", 0x00000000, 0x1000000, CRC(8250688c) SHA1(d2488477afc528aeee96826065deba2bce4f0a7d) ) + ROM_REGION( 0x1000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ + ROM_LOAD16_WORD_SWAP( "ig-a_sp.u2", 0x00000000, 0x1000000, CRC(8250688c) SHA1(d2488477afc528aeee96826065deba2bce4f0a7d) ) ROM_END ROM_START( kov2nl ) - ROM_REGION( 0x04000, "maincpu", 0 ) - ROM_LOAD( "gsyx_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) + ROM_REGION( 0x04000, "maincpu", 0 ) + ROM_LOAD( "gsyx_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) - ROM_REGION( 0x800000, "user1", 0 ) - ROM_LOAD( "gsyx_v302cn.u7", 0x00000000, 0x0800000, CRC(b19cf540) SHA1(25da5804bbfd7ef2cdf5cc5aabaa803d18b98929) ) + ROM_REGION( 0x800000, "user1", 0 ) + ROM_LOAD( "gsyx_v302cn.u7", 0x00000000, 0x0800000, CRC(b19cf540) SHA1(25da5804bbfd7ef2cdf5cc5aabaa803d18b98929) ) - ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) - ROM_LOAD( "ig-a3_text.u4", 0x00000000, 0x0200000, CRC(214530ff) SHA1(4231a02054b0345392a077042b95779fd45d6c22) ) + ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) + ROM_LOAD( "ig-a3_text.u4", 0x00000000, 0x0200000, CRC(214530ff) SHA1(4231a02054b0345392a077042b95779fd45d6c22) ) - ROM_REGION( 0x1000000, "bgtile", 0 ) - ROM_LOAD32_WORD( "ig-a3_bgl.u35", 0x00000000, 0x0800000, CRC(2d46b1f6) SHA1(ea8c805eda6292e86a642e9633d8fee7054d10b1) ) - ROM_LOAD32_WORD( "ig-a3_bgh.u36", 0x00000002, 0x0800000, CRC(df710c36) SHA1(f826c3f496c4f17b46d18af1d8e02cac7b7027ac) ) + ROM_REGION( 0x1000000, "bgtile", 0 ) + ROM_LOAD32_WORD( "ig-a3_bgl.u35", 0x00000000, 0x0800000, CRC(2d46b1f6) SHA1(ea8c805eda6292e86a642e9633d8fee7054d10b1) ) + ROM_LOAD32_WORD( "ig-a3_bgh.u36", 0x00000002, 0x0800000, CRC(df710c36) SHA1(f826c3f496c4f17b46d18af1d8e02cac7b7027ac) ) - ROM_REGION( 0x2000000, "spritesa", 0 ) // 1bpp sprite mask data - ROM_LOAD32_WORD( "ig-a3_bml.u12", 0x00000000, 0x1000000, CRC(0bf63836) SHA1(b8e4f1951f8074b475b795bd7840c5a375b6f5ef) ) - ROM_LOAD32_WORD( "ig-a3_bmh.u16", 0x00000002, 0x1000000, CRC(4a378542) SHA1(5d06a8a8796285a786ebb690c34610f923ef5570) ) + ROM_REGION( 0x2000000, "spritesa", 0 ) // 1bpp sprite mask data + ROM_LOAD32_WORD( "ig-a3_bml.u12", 0x00000000, 0x1000000, CRC(0bf63836) SHA1(b8e4f1951f8074b475b795bd7840c5a375b6f5ef) ) + ROM_LOAD32_WORD( "ig-a3_bmh.u16", 0x00000002, 0x1000000, CRC(4a378542) SHA1(5d06a8a8796285a786ebb690c34610f923ef5570) ) - ROM_REGION( 0x4000000, "spritesb", 0 ) // sprite colour data - ROM_LOAD32_WORD( "ig-a3_cgl.u18", 0x00000000, 0x2000000, CRC(8d923e1f) SHA1(14371cf385dd8857017d3111cd4710f4291b1ae2) ) - ROM_LOAD32_WORD( "ig-a3_cgh.u26", 0x00000002, 0x2000000, CRC(5b6fbf3f) SHA1(d1f52e230b91ee6cde939d7c2b74da7fd6527e73) ) + ROM_REGION( 0x4000000, "spritesb", 0 ) // sprite colour data + ROM_LOAD32_WORD( "ig-a3_cgl.u18", 0x00000000, 0x2000000, CRC(8d923e1f) SHA1(14371cf385dd8857017d3111cd4710f4291b1ae2) ) + ROM_LOAD32_WORD( "ig-a3_cgh.u26", 0x00000002, 0x2000000, CRC(5b6fbf3f) SHA1(d1f52e230b91ee6cde939d7c2b74da7fd6527e73) ) - ROM_REGION( 0x2000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ - ROM_LOAD16_WORD_SWAP( "ig-a3_sp.u37", 0x00000000, 0x2000000, CRC(45cdf422) SHA1(8005d284bcee73cff37a147fcd1c3e9f039a7203) ) + ROM_REGION( 0x2000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ + ROM_LOAD16_WORD_SWAP( "ig-a3_sp.u37", 0x00000000, 0x2000000, CRC(45cdf422) SHA1(8005d284bcee73cff37a147fcd1c3e9f039a7203) ) ROM_END ROM_START( kov2nlo ) - ROM_REGION( 0x04000, "maincpu", 0 ) - ROM_LOAD( "gsyx_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) + ROM_REGION( 0x04000, "maincpu", 0 ) + ROM_LOAD( "gsyx_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) - ROM_REGION( 0x800000, "user1", 0 ) - ROM_LOAD( "gsyx_v301cn.u7", 0x000000, 0x800000, CRC(c4595c2c) SHA1(09e379556ef76f81a63664f46d3f1415b315f384) ) + ROM_REGION( 0x800000, "user1", 0 ) + ROM_LOAD( "gsyx_v301cn.u7", 0x000000, 0x800000, CRC(c4595c2c) SHA1(09e379556ef76f81a63664f46d3f1415b315f384) ) - ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) - ROM_LOAD( "ig-a3_text.u4", 0x00000000, 0x0200000, CRC(214530ff) SHA1(4231a02054b0345392a077042b95779fd45d6c22) ) + ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) + ROM_LOAD( "ig-a3_text.u4", 0x00000000, 0x0200000, CRC(214530ff) SHA1(4231a02054b0345392a077042b95779fd45d6c22) ) - ROM_REGION( 0x1000000, "bgtile", 0 ) - ROM_LOAD32_WORD( "ig-a3_bgl.u35", 0x00000000, 0x0800000, CRC(2d46b1f6) SHA1(ea8c805eda6292e86a642e9633d8fee7054d10b1) ) - ROM_LOAD32_WORD( "ig-a3_bgh.u36", 0x00000002, 0x0800000, CRC(df710c36) SHA1(f826c3f496c4f17b46d18af1d8e02cac7b7027ac) ) + ROM_REGION( 0x1000000, "bgtile", 0 ) + ROM_LOAD32_WORD( "ig-a3_bgl.u35", 0x00000000, 0x0800000, CRC(2d46b1f6) SHA1(ea8c805eda6292e86a642e9633d8fee7054d10b1) ) + ROM_LOAD32_WORD( "ig-a3_bgh.u36", 0x00000002, 0x0800000, CRC(df710c36) SHA1(f826c3f496c4f17b46d18af1d8e02cac7b7027ac) ) - ROM_REGION( 0x2000000, "spritesa", 0 ) // 1bpp sprite mask data - ROM_LOAD32_WORD( "ig-a3_bml.u12", 0x00000000, 0x1000000, CRC(0bf63836) SHA1(b8e4f1951f8074b475b795bd7840c5a375b6f5ef) ) - ROM_LOAD32_WORD( "ig-a3_bmh.u16", 0x00000002, 0x1000000, CRC(4a378542) SHA1(5d06a8a8796285a786ebb690c34610f923ef5570) ) + ROM_REGION( 0x2000000, "spritesa", 0 ) // 1bpp sprite mask data + ROM_LOAD32_WORD( "ig-a3_bml.u12", 0x00000000, 0x1000000, CRC(0bf63836) SHA1(b8e4f1951f8074b475b795bd7840c5a375b6f5ef) ) + ROM_LOAD32_WORD( "ig-a3_bmh.u16", 0x00000002, 0x1000000, CRC(4a378542) SHA1(5d06a8a8796285a786ebb690c34610f923ef5570) ) - ROM_REGION( 0x4000000, "spritesb", 0 ) // sprite colour data - ROM_LOAD32_WORD( "ig-a3_cgl.u18", 0x00000000, 0x2000000, CRC(8d923e1f) SHA1(14371cf385dd8857017d3111cd4710f4291b1ae2) ) - ROM_LOAD32_WORD( "ig-a3_cgh.u26", 0x00000002, 0x2000000, CRC(5b6fbf3f) SHA1(d1f52e230b91ee6cde939d7c2b74da7fd6527e73) ) + ROM_REGION( 0x4000000, "spritesb", 0 ) // sprite colour data + ROM_LOAD32_WORD( "ig-a3_cgl.u18", 0x00000000, 0x2000000, CRC(8d923e1f) SHA1(14371cf385dd8857017d3111cd4710f4291b1ae2) ) + ROM_LOAD32_WORD( "ig-a3_cgh.u26", 0x00000002, 0x2000000, CRC(5b6fbf3f) SHA1(d1f52e230b91ee6cde939d7c2b74da7fd6527e73) ) - ROM_REGION( 0x2000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ - ROM_LOAD16_WORD_SWAP( "ig-a3_sp.u37", 0x00000000, 0x2000000, CRC(45cdf422) SHA1(8005d284bcee73cff37a147fcd1c3e9f039a7203) ) + ROM_REGION( 0x2000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ + ROM_LOAD16_WORD_SWAP( "ig-a3_sp.u37", 0x00000000, 0x2000000, CRC(45cdf422) SHA1(8005d284bcee73cff37a147fcd1c3e9f039a7203) ) ROM_END #ifdef OTHER_PGM2_SETS ROM_START( ddpdojh ) - ROM_REGION( 0x04000, "maincpu", 0 ) - ROM_LOAD( "ddpdoj_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) + ROM_REGION( 0x04000, "maincpu", 0 ) + ROM_LOAD( "ddpdoj_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) - ROM_REGION( 0x800000, "user1", 0 ) - ROM_LOAD( "ddpdoj_v201cn.u4", 0x00000000, 0x0200000, CRC(89e4b760) SHA1(9fad1309da31d12a413731b416a8bbfdb304ed9e) ) + ROM_REGION( 0x800000, "user1", 0 ) + ROM_LOAD( "ddpdoj_v201cn.u4", 0x00000000, 0x0200000, CRC(89e4b760) SHA1(9fad1309da31d12a413731b416a8bbfdb304ed9e) ) - ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) - ROM_LOAD( "ddpdoj_text.u1", 0x00000000, 0x0200000, CRC(f18141d1) SHA1(a16e0a76bc926a158bb92dfd35aca749c569ef50) ) + ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) + ROM_LOAD( "ddpdoj_text.u1", 0x00000000, 0x0200000, CRC(f18141d1) SHA1(a16e0a76bc926a158bb92dfd35aca749c569ef50) ) - ROM_REGION( 0x2000000, "bgtile", 0 ) - ROM_LOAD32_WORD( "ddpdoj_bgl.u23", 0x00000000, 0x1000000, CRC(ff65fdab) SHA1(abdd5ca43599a2daa722547a999119123dd9bb28) ) - ROM_LOAD32_WORD( "ddpdoj_bgh.u24", 0x00000002, 0x1000000, CRC(bb84d2a6) SHA1(a576a729831b5946287fa8f0d923016f43a9bedb) ) + ROM_REGION( 0x2000000, "bgtile", 0 ) + ROM_LOAD32_WORD( "ddpdoj_bgl.u23", 0x00000000, 0x1000000, CRC(ff65fdab) SHA1(abdd5ca43599a2daa722547a999119123dd9bb28) ) + ROM_LOAD32_WORD( "ddpdoj_bgh.u24", 0x00000002, 0x1000000, CRC(bb84d2a6) SHA1(a576a729831b5946287fa8f0d923016f43a9bedb) ) - ROM_REGION( 0x1000000, "spritesa", 0 ) // 1bpp sprite mask data - ROM_LOAD32_WORD( "ddpdoj_mapl0.u13", 0x00000000, 0x800000, CRC(bcfbb0fc) SHA1(9ec478eba9905913cf997bd9b46c70c1ad383630) ) - ROM_LOAD32_WORD( "ddpdoj_maph0.u15", 0x00000002, 0x800000, CRC(0cc75d4e) SHA1(6d1b5ef0fdebf1e84fa199b939ffa07b810b12c9) ) + ROM_REGION( 0x1000000, "spritesa", 0 ) // 1bpp sprite mask data + ROM_LOAD32_WORD( "ddpdoj_mapl0.u13", 0x00000000, 0x800000, CRC(bcfbb0fc) SHA1(9ec478eba9905913cf997bd9b46c70c1ad383630) ) + ROM_LOAD32_WORD( "ddpdoj_maph0.u15", 0x00000002, 0x800000, CRC(0cc75d4e) SHA1(6d1b5ef0fdebf1e84fa199b939ffa07b810b12c9) ) - ROM_REGION( 0x2000000, "spritesb", 0 ) // sprite colour data - ROM_LOAD32_WORD( "ddpdoj_spa0.u9", 0x00000000, 0x1000000, CRC(1232c1b4) SHA1(ecc1c549ae19d2f052a85fe4a993608aedf49a25) ) - ROM_LOAD32_WORD( "ddpdoj_spb0.u18", 0x00000002, 0x1000000, CRC(6a9e2cbf) SHA1(8e0a4ea90f5ef534820303d62f0873f8ac9f080e) ) + ROM_REGION( 0x2000000, "spritesb", 0 ) // sprite colour data + ROM_LOAD32_WORD( "ddpdoj_spa0.u9", 0x00000000, 0x1000000, CRC(1232c1b4) SHA1(ecc1c549ae19d2f052a85fe4a993608aedf49a25) ) + ROM_LOAD32_WORD( "ddpdoj_spb0.u18", 0x00000002, 0x1000000, CRC(6a9e2cbf) SHA1(8e0a4ea90f5ef534820303d62f0873f8ac9f080e) ) - ROM_REGION( 0x1000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ - ROM_LOAD16_WORD_SWAP( "ddpdoj_wave0.u12", 0x00000000, 0x1000000, CRC(2b71a324) SHA1(f69076cc561f40ca564d804bc7bd455066f8d77c) ) + ROM_REGION( 0x1000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ + ROM_LOAD16_WORD_SWAP( "ddpdoj_wave0.u12", 0x00000000, 0x1000000, CRC(2b71a324) SHA1(f69076cc561f40ca564d804bc7bd455066f8d77c) ) ROM_END ROM_START( kov3 ) - ROM_REGION( 0x04000, "maincpu", 0 ) - ROM_LOAD( "kov3_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) + ROM_REGION( 0x04000, "maincpu", 0 ) + ROM_LOAD( "kov3_igs036.rom", 0x00000000, 0x0004000, NO_DUMP ) - ROM_REGION( 0x800000, "user1", 0 ) /* custom ROM module instead of regular ROMs, this might be incorrect - same module is used on newer gambling boards */ + ROM_REGION( 0x800000, "user1", 0 ) /* custom ROM module instead of regular ROMs, this might be incorrect - same module is used on newer gambling boards */ // this was an attempt to read the ROM module directly and could be bad - ROM_LOAD( "kov3_v102cn_direct.bin", 0x00000000, 0x0800000, CRC(2568cca4) SHA1(3f0e949bc0ae5d7ec0109f2748b30024dcd19ac4) ) + ROM_LOAD( "kov3_v102cn_direct.bin", 0x00000000, 0x0800000, CRC(2568cca4) SHA1(3f0e949bc0ae5d7ec0109f2748b30024dcd19ac4) ) // this was read with a logic analyser after booting, you can't however replace the module directly with this because some kind of // additional check / communication with the module is done on startup resulting in the internal ROM refusing to boot it ROM_LOAD( "kov3_v102cn.bin", 0x00000000, 0x0800000, CRC(1fcedff3) SHA1(522538510c5f94e8b1f641250c25a2a58962ca42) ) - ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) - ROM_LOAD( "kov3_text.u1", 0x00000000, 0x0200000, CRC(198b52d6) SHA1(e4502abe7ba01053d16c02114f0c88a3f52f6f40) ) + ROM_REGION( 0x200000, "tiles", ROMREGION_ERASEFF ) + ROM_LOAD( "kov3_text.u1", 0x00000000, 0x0200000, CRC(198b52d6) SHA1(e4502abe7ba01053d16c02114f0c88a3f52f6f40) ) - ROM_REGION( 0x2000000, "bgtile", 0 ) - ROM_LOAD32_WORD( "kov3_bgl.u6", 0x00000000, 0x1000000, CRC(49a4c5bc) SHA1(26b7da91067bda196252520e9b4893361c2fc675) ) - ROM_LOAD32_WORD( "kov3_bgh.u7", 0x00000002, 0x1000000, CRC(adc1aff1) SHA1(b10490f0dbef9905cdb064168c529f0b5a2b28b8) ) + ROM_REGION( 0x2000000, "bgtile", 0 ) + ROM_LOAD32_WORD( "kov3_bgl.u6", 0x00000000, 0x1000000, CRC(49a4c5bc) SHA1(26b7da91067bda196252520e9b4893361c2fc675) ) + ROM_LOAD32_WORD( "kov3_bgh.u7", 0x00000002, 0x1000000, CRC(adc1aff1) SHA1(b10490f0dbef9905cdb064168c529f0b5a2b28b8) ) - ROM_REGION( 0x4000000, "spritesa", 0 ) // 1bpp sprite mask data - ROM_LOAD32_WORD( "kov3_mapl0.u15", 0x00000000, 0x2000000, CRC(9e569bf7) SHA1(03d26e000e9d8e744546be9649628d2130f2ec4c) ) - ROM_LOAD32_WORD( "kov3_maph0.u16", 0x00000002, 0x2000000, CRC(6f200ad8) SHA1(cd12c136d4f5d424bd7daeeacd5c4127beb3d565) ) + ROM_REGION( 0x4000000, "spritesa", 0 ) // 1bpp sprite mask data + ROM_LOAD32_WORD( "kov3_mapl0.u15", 0x00000000, 0x2000000, CRC(9e569bf7) SHA1(03d26e000e9d8e744546be9649628d2130f2ec4c) ) + ROM_LOAD32_WORD( "kov3_maph0.u16", 0x00000002, 0x2000000, CRC(6f200ad8) SHA1(cd12c136d4f5d424bd7daeeacd5c4127beb3d565) ) - ROM_REGION( 0x8000000, "spritesb", 0 ) // sprite colour data - ROM_LOAD32_WORD( "kov3_spa0.u17", 0x00000000, 0x4000000, CRC(3a1e58a9) SHA1(6ba251407c69ee62f7ea0baae91bc133acc70c6f) ) - ROM_LOAD32_WORD( "kov3_spb0.u10", 0x00000002, 0x4000000, CRC(90396065) SHA1(01bf9f69d77a792d5b39afbba70fbfa098e194f1) ) + ROM_REGION( 0x8000000, "spritesb", 0 ) // sprite colour data + ROM_LOAD32_WORD( "kov3_spa0.u17", 0x00000000, 0x4000000, CRC(3a1e58a9) SHA1(6ba251407c69ee62f7ea0baae91bc133acc70c6f) ) + ROM_LOAD32_WORD( "kov3_spb0.u10", 0x00000002, 0x4000000, CRC(90396065) SHA1(01bf9f69d77a792d5b39afbba70fbfa098e194f1) ) - ROM_REGION( 0x4000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ - ROM_LOAD16_WORD_SWAP( "kov3_wave0.u13", 0x00000000, 0x4000000, CRC(aa639152) SHA1(2314c6bd05524525a31a2a4668a36a938b924ba4) ) + ROM_REGION( 0x4000000, "ymz770", ROMREGION_ERASEFF ) /* ymz770 */ + ROM_LOAD16_WORD_SWAP( "kov3_wave0.u13", 0x00000000, 0x4000000, CRC(aa639152) SHA1(2314c6bd05524525a31a2a4668a36a938b924ba4) ) ROM_END #endif @@ -435,4 +435,3 @@ GAME( 2009, ddpdojh, 0, pgm2, pgm2, pgm2_state, ddpdojh, ROT27 GAME( 2009, kov3, 0, pgm2, pgm2, pgm2_state, kov3, ROT0, "IGS", "Knights of Valour 3 (V102, China)", GAME_IS_SKELETON ) #endif - diff --git a/src/mame/drivers/progolf.c b/src/mame/drivers/progolf.c index fcc5b755603..ae1cce42586 100644 --- a/src/mame/drivers/progolf.c +++ b/src/mame/drivers/progolf.c @@ -371,7 +371,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/r2dtank.c b/src/mame/drivers/r2dtank.c index 391046d30f1..dc593b0fc53 100644 --- a/src/mame/drivers/r2dtank.c +++ b/src/mame/drivers/r2dtank.c @@ -395,7 +395,7 @@ WRITE_LINE_MEMBER(r2dtank_state::display_enable_changed) static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ begin_update, /* before pixel update callback */ update_row, /* row update callback */ diff --git a/src/mame/drivers/rgum.c b/src/mame/drivers/rgum.c index ff43e1a4194..dbe98ed73e3 100644 --- a/src/mame/drivers/rgum.c +++ b/src/mame/drivers/rgum.c @@ -231,7 +231,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/sanremo.c b/src/mame/drivers/sanremo.c index ad268fefce9..7e84749ee8d 100644 --- a/src/mame/drivers/sanremo.c +++ b/src/mame/drivers/sanremo.c @@ -89,11 +89,11 @@ *******************************************************************************/ -#define MASTER_CLOCK XTAL_18MHz +#define MASTER_CLOCK XTAL_18MHz -#define CPU_CLOCK MASTER_CLOCK/3 -#define SND_CLOCK MASTER_CLOCK/12 -#define CRTC_CLOCK MASTER_CLOCK/12 +#define CPU_CLOCK MASTER_CLOCK/3 +#define SND_CLOCK MASTER_CLOCK/12 +#define CRTC_CLOCK MASTER_CLOCK/12 #include "emu.h" #include "cpu/z80/z80.h" @@ -187,13 +187,13 @@ WRITE8_MEMBER(sanremo_state::lamps_w) -x-- ---- BET x--- ---- (always on) */ - output_set_lamp_value(0, (data >> 0) & 1); /* DISCARD 1 */ - output_set_lamp_value(1, (data >> 1) & 1); /* DISCARD 2 */ - output_set_lamp_value(2, (data >> 2) & 1); /* DISCARD 3 */ - output_set_lamp_value(3, (data >> 3) & 1); /* DISCARD 4 */ - output_set_lamp_value(4, (data >> 4) & 1); /* DISCARD 5 */ - output_set_lamp_value(5, (data >> 5) & 1); /* START */ - output_set_lamp_value(6, (data >> 6) & 1); /* BET */ + output_set_lamp_value(0, (data >> 0) & 1); /* DISCARD 1 */ + output_set_lamp_value(1, (data >> 1) & 1); /* DISCARD 2 */ + output_set_lamp_value(2, (data >> 2) & 1); /* DISCARD 3 */ + output_set_lamp_value(3, (data >> 3) & 1); /* DISCARD 4 */ + output_set_lamp_value(4, (data >> 4) & 1); /* DISCARD 5 */ + output_set_lamp_value(5, (data >> 5) & 1); /* START */ + output_set_lamp_value(6, (data >> 6) & 1); /* BET */ } WRITE8_MEMBER(sanremo_state::banksel_w) @@ -214,8 +214,8 @@ WRITE8_MEMBER(sanremo_state::banksel_w) static ADDRESS_MAP_START( sanremo_map, AS_PROGRAM, 8, sanremo_state ) AM_RANGE(0x0000, 0x7fff) AM_ROM - AM_RANGE(0x8000, 0x87ff) AM_RAM_WRITE(sanremo_videoram_w) AM_SHARE("videoram") // 2x 76C28 (1x accessed directly, latched bank written to other like subsino etc.) - AM_RANGE(0xc000, 0xc7ff) AM_RAM AM_SHARE("nvram") // battery backed UM6116 + AM_RANGE(0x8000, 0x87ff) AM_RAM_WRITE(sanremo_videoram_w) AM_SHARE("videoram") // 2x 76C28 (1x accessed directly, latched bank written to other like subsino etc.) + AM_RANGE(0xc000, 0xc7ff) AM_RAM AM_SHARE("nvram") // battery backed UM6116 ADDRESS_MAP_END static ADDRESS_MAP_START( sanremo_portmap, AS_IO, 8, sanremo_state ) @@ -255,49 +255,49 @@ ADDRESS_MAP_END *********************************************/ static INPUT_PORTS_START( number1 ) - PORT_START("IN0") // from I/O port 01h. - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN1-1") PORT_CODE(KEYCODE_A) + PORT_START("IN0") // from I/O port 01h. + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN1-1") PORT_CODE(KEYCODE_A) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) - PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN1-4") PORT_CODE(KEYCODE_S) - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN1-5") PORT_CODE(KEYCODE_D) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN1-6") PORT_CODE(KEYCODE_F) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN1-4") PORT_CODE(KEYCODE_S) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN1-5") PORT_CODE(KEYCODE_D) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN1-6") PORT_CODE(KEYCODE_F) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) - PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN1-8") PORT_CODE(KEYCODE_G) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN1-8") PORT_CODE(KEYCODE_G) - PORT_START("IN1") // from I/O port 02h. + PORT_START("IN1") // from I/O port 02h. PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start") PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Discard 2 / Basso (Low) / Left Card") PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Discard 4 / Alto (High) / Right Card") - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN0-5") PORT_CODE(KEYCODE_H) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("IN0-5") PORT_CODE(KEYCODE_H) PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Discard 3") PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Discard 5") PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Discard 1") - PORT_START("DSW") // from AY-8910 por A. - PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:1") + PORT_START("DSW") // from AY-8910 por A. + PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:1") PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:2") + PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:2") PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:3") + PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:3") PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:4") + PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:4") PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x10, 0x00, "Auto Hold" ) PORT_DIPLOCATION("DSW:5") + PORT_DIPNAME( 0x10, 0x00, "Auto Hold" ) PORT_DIPLOCATION("DSW:5") PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:6") + PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:6") PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x40, 0x00, "Test Mode" ) PORT_DIPLOCATION("DSW:7") + PORT_DIPNAME( 0x40, 0x00, "Test Mode" ) PORT_DIPLOCATION("DSW:7") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x40, DEF_STR( On ) ) - PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:8") + PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW:8") PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) @@ -344,7 +344,7 @@ static const mc6845_interface mc6845_intf = */ { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ @@ -413,21 +413,21 @@ MACHINE_CONFIG_END ROM_START( number1 ) ROM_REGION( 0x10000, "maincpu", 0 ) - ROM_LOAD( "no_g0.ic26", 0x0000, 0x8000, CRC(2d83646f) SHA1(d1fafcce44ed3ec3dd53d84338c42244ebfca820) ) + ROM_LOAD( "no_g0.ic26", 0x0000, 0x8000, CRC(2d83646f) SHA1(d1fafcce44ed3ec3dd53d84338c42244ebfca820) ) ROM_REGION( 0x40000, "gfx", 0 ) - ROM_LOAD( "no_i4.ic30", 0x00000, 0x10000, CRC(55b351a4) SHA1(b0c8a30dde076520234281da051f21f1b7cb3166) ) // I - ROM_LOAD( "no_b4.ic27", 0x10000, 0x10000, CRC(e48b1c8a) SHA1(88f60268fd43c06e146d936a1bdc078c44e2a213) ) // B - ROM_LOAD( "no_g4.ic28", 0x20000, 0x10000, CRC(4eea9a9b) SHA1(c86c083ccf08c3c310028920f9a0fe809fd7ccbe) ) // G - ROM_LOAD( "no_r4.ic29", 0x30000, 0x10000, CRC(ab08cdaf) SHA1(e0518403039b6bada79ffe4c6bc22fbb64d16e43) ) // R + ROM_LOAD( "no_i4.ic30", 0x00000, 0x10000, CRC(55b351a4) SHA1(b0c8a30dde076520234281da051f21f1b7cb3166) ) // I + ROM_LOAD( "no_b4.ic27", 0x10000, 0x10000, CRC(e48b1c8a) SHA1(88f60268fd43c06e146d936a1bdc078c44e2a213) ) // B + ROM_LOAD( "no_g4.ic28", 0x20000, 0x10000, CRC(4eea9a9b) SHA1(c86c083ccf08c3c310028920f9a0fe809fd7ccbe) ) // G + ROM_LOAD( "no_r4.ic29", 0x30000, 0x10000, CRC(ab08cdaf) SHA1(e0518403039b6bada79ffe4c6bc22fbb64d16e43) ) // R ROM_REGION( 0x0800, "nvram", 0 ) /* default NVRAM */ ROM_LOAD( "number1_nvram.bin", 0x0000, 0x0800, CRC(4ece7b39) SHA1(49815571d75a39ab67d26691f902dfbd4e05feb4) ) ROM_REGION( 0x0600, "plds", 0 ) - ROM_LOAD( "palce1.bin", 0x0000, 0x0104, NO_DUMP ) /* PALCE is read protected */ - ROM_LOAD( "palce2.bin", 0x0200, 0x0104, NO_DUMP ) /* PALCE is read protected */ - ROM_LOAD( "palce3.bin", 0x0400, 0x0104, NO_DUMP ) /* PALCE is read protected */ + ROM_LOAD( "palce1.bin", 0x0000, 0x0104, NO_DUMP ) /* PALCE is read protected */ + ROM_LOAD( "palce2.bin", 0x0200, 0x0104, NO_DUMP ) /* PALCE is read protected */ + ROM_LOAD( "palce3.bin", 0x0400, 0x0104, NO_DUMP ) /* PALCE is read protected */ ROM_END diff --git a/src/mame/drivers/skeetsht.c b/src/mame/drivers/skeetsht.c index 483cfa8cd25..c99d4c87460 100644 --- a/src/mame/drivers/skeetsht.c +++ b/src/mame/drivers/skeetsht.c @@ -2,8 +2,8 @@ Dynamo Skeet Shot - Notes: - Pop Shot is a prototype sequal (or upgrade) to Skeet Shot + Notes: + Pop Shot is a prototype sequal (or upgrade) to Skeet Shot ***************************************************************************/ diff --git a/src/mame/drivers/slotcarn.c b/src/mame/drivers/slotcarn.c index d1f9af092de..f76d7f1bc27 100644 --- a/src/mame/drivers/slotcarn.c +++ b/src/mame/drivers/slotcarn.c @@ -169,7 +169,7 @@ WRITE_LINE_MEMBER(slotcarn_state::vsync_changed) static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ begin_update, /* before pixel update callback */ update_row, /* row update callback */ diff --git a/src/mame/drivers/snk6502.c b/src/mame/drivers/snk6502.c index 32ee777d41f..0632cccdefa 100644 --- a/src/mame/drivers/snk6502.c +++ b/src/mame/drivers/snk6502.c @@ -758,7 +758,7 @@ INTERRUPT_GEN_MEMBER(snk6502_state::snk6502_interrupt) static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/spbactn.c b/src/mame/drivers/spbactn.c index c823e93995d..26d6c538f28 100644 --- a/src/mame/drivers/spbactn.c +++ b/src/mame/drivers/spbactn.c @@ -212,7 +212,7 @@ static ADDRESS_MAP_START( spbactnp_map, AS_PROGRAM, 16, spbactn_state ) AM_RANGE(0x90124, 0x90125) AM_WRITE( spbatnp_90124_w ) // bg scroll AM_RANGE(0x9012c, 0x9012d) AM_WRITE( spbatnp_9012c_w ) // bg scroll - + AM_RANGE(0x90000, 0x900ff) AM_READ(temp_read_handler_r) // temp @@ -461,7 +461,7 @@ static MACHINE_CONFIG_START( spbactnp, spbactn_state ) MCFG_CPU_ADD("extracpu", Z80, XTAL_4MHz) MCFG_CPU_PROGRAM_MAP(spbactnp_extra_map) MCFG_CPU_VBLANK_INT_DRIVER("screen", spbactn_state, irq0_line_hold) -// MCFG_CPU_VBLANK_INT_DRIVER("screen", spbactn_state, nmi_line_pulse) +// MCFG_CPU_VBLANK_INT_DRIVER("screen", spbactn_state, nmi_line_pulse) /* video hardware */ @@ -552,7 +552,7 @@ ROM_START( spbactnp ) ROM_REGION( 0x10000, "audiocpu", 0 ) ROM_LOAD( "spa.17g", 0x00000, 0x10000, CRC(445fc2c5) SHA1(c0e40496cfcaa0a8c90fb05111fadee74582f91a) ) - + ROM_REGION( 0x40000, "oki", 0 ) ROM_LOAD( "spa_data_2-21-a10.8e", 0x00000, 0x20000, CRC(87427d7d) SHA1(f76b0dc3f0d87deb0f0c81084aff9756b236e867) ) // same as regular @@ -573,7 +573,7 @@ ROM_START( spbactnp ) ROM_REGION( 0x10000, "extracpu", 0 ) // what? it's annother z80 rom... unused for now ROM_LOAD( "6204_6-6.29c", 0x00000, 0x10000, CRC(e8250c26) SHA1(9b669878790c8e3c5d80f165b5ffa1d6830f4696) ) - ROM_REGION( 0x080000, "gfx4", 0 ) /* 8x8 BG Tiles */ // more 8x8 tiles, with the girl graphics? unused for now .. for horizontal orientation?? + ROM_REGION( 0x080000, "gfx4", 0 ) /* 8x8 BG Tiles */ // more 8x8 tiles, with the girl graphics? unused for now .. for horizontal orientation?? ROM_LOAD( "spa.25c", 0x00000, 0x20000, CRC(02b69ab9) SHA1(368e774693a6fab756faaeec4ffd42406816e6e2) ) ROM_REGION( 0x10000, "misc", 0 ) //misc diff --git a/src/mame/drivers/speedatk.c b/src/mame/drivers/speedatk.c index 0209eff4437..65a9dbdb514 100644 --- a/src/mame/drivers/speedatk.c +++ b/src/mame/drivers/speedatk.c @@ -286,7 +286,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/spiders.c b/src/mame/drivers/spiders.c index 6dff19d1a22..b3115659faf 100644 --- a/src/mame/drivers/spiders.c +++ b/src/mame/drivers/spiders.c @@ -508,7 +508,7 @@ WRITE_LINE_MEMBER(spiders_state::display_enable_changed) static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ begin_update, /* before pixel update callback */ update_row, /* row update callback */ diff --git a/src/mame/drivers/supercrd.c b/src/mame/drivers/supercrd.c index ffc795a50d2..828c0c4c6af 100644 --- a/src/mame/drivers/supercrd.c +++ b/src/mame/drivers/supercrd.c @@ -402,7 +402,7 @@ GFXDECODE_END //static MC6845_INTERFACE( mc6845_intf ) //{ // "screen", /* screen we are acting on */ -// false, +// false, // 4, /* number of pixels per video memory address */ // NULL, /* before pixel update callback */ // NULL, /* row update callback */ diff --git a/src/mame/drivers/taitosj.c b/src/mame/drivers/taitosj.c index fb2b4d3d6ed..ac228b2b066 100644 --- a/src/mame/drivers/taitosj.c +++ b/src/mame/drivers/taitosj.c @@ -2749,7 +2749,7 @@ void taitosj_state::init_common() save_item(NAME(m_kikstart_gears)); save_item(NAME(m_dac_out)); save_item(NAME(m_dac_vol)); - + machine().add_notifier(MACHINE_NOTIFY_RESET, machine_notify_delegate(FUNC(taitosj_state::reset_common), this)); } diff --git a/src/mame/drivers/taitotz.c b/src/mame/drivers/taitotz.c index 37fba119d81..5b94e295443 100644 --- a/src/mame/drivers/taitotz.c +++ b/src/mame/drivers/taitotz.c @@ -619,42 +619,42 @@ public: /* static void taitotz_exit(running_machine &machine) { - - taitotz_state *state = machine.driver_data<taitotz_state>(); - - FILE *file; - int i; - - file = fopen("screen_ram.bin","wb"); - for (i=0; i < 0x200000; i++) - { - fputc((UINT8)(state->m_screen_ram[i] >> 24), file); - fputc((UINT8)(state->m_screen_ram[i] >> 16), file); - fputc((UINT8)(state->m_screen_ram[i] >> 8), file); - fputc((UINT8)(state->m_screen_ram[i] >> 0), file); - } - fclose(file); - file = fopen("frame_ram.bin","wb"); - for (i=0; i < 0x80000; i++) - { - fputc((UINT8)(state->m_frame_ram[i] >> 24), file); - fputc((UINT8)(state->m_frame_ram[i] >> 16), file); - fputc((UINT8)(state->m_frame_ram[i] >> 8), file); - fputc((UINT8)(state->m_frame_ram[i] >> 0), file); - } - fclose(file); + taitotz_state *state = machine.driver_data<taitotz_state>(); + + FILE *file; + int i; + + file = fopen("screen_ram.bin","wb"); + for (i=0; i < 0x200000; i++) + { + fputc((UINT8)(state->m_screen_ram[i] >> 24), file); + fputc((UINT8)(state->m_screen_ram[i] >> 16), file); + fputc((UINT8)(state->m_screen_ram[i] >> 8), file); + fputc((UINT8)(state->m_screen_ram[i] >> 0), file); + } + fclose(file); + + file = fopen("frame_ram.bin","wb"); + for (i=0; i < 0x80000; i++) + { + fputc((UINT8)(state->m_frame_ram[i] >> 24), file); + fputc((UINT8)(state->m_frame_ram[i] >> 16), file); + fputc((UINT8)(state->m_frame_ram[i] >> 8), file); + fputc((UINT8)(state->m_frame_ram[i] >> 0), file); + } + fclose(file); + + file = fopen("texture_ram.bin","wb"); + for (i=0; i < 0x800000; i++) + { + fputc((UINT8)(state->m_texture_ram[i] >> 24), file); + fputc((UINT8)(state->m_texture_ram[i] >> 16), file); + fputc((UINT8)(state->m_texture_ram[i] >> 8), file); + fputc((UINT8)(state->m_texture_ram[i] >> 0), file); + } + fclose(file); - file = fopen("texture_ram.bin","wb"); - for (i=0; i < 0x800000; i++) - { - fputc((UINT8)(state->m_texture_ram[i] >> 24), file); - fputc((UINT8)(state->m_texture_ram[i] >> 16), file); - fputc((UINT8)(state->m_texture_ram[i] >> 8), file); - fputc((UINT8)(state->m_texture_ram[i] >> 0), file); - } - fclose(file); - } */ void taitotz_state::video_start() diff --git a/src/mame/drivers/tapatune.c b/src/mame/drivers/tapatune.c index 8408ac9761c..6af31e0b761 100644 --- a/src/mame/drivers/tapatune.c +++ b/src/mame/drivers/tapatune.c @@ -362,7 +362,7 @@ WRITE_LINE_MEMBER(tapatune_state::crtc_vsync) static MC6845_INTERFACE( h46505_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 5, /* number of pixels per video memory address */ begin_update,/* before pixel update callback */ update_row, /* row update callback */ diff --git a/src/mame/drivers/tmspoker.c b/src/mame/drivers/tmspoker.c index 2ac3698daef..6954f084d67 100644 --- a/src/mame/drivers/tmspoker.c +++ b/src/mame/drivers/tmspoker.c @@ -547,7 +547,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/tp84.c b/src/mame/drivers/tp84.c index 4d291b6df38..0e998c6e262 100644 --- a/src/mame/drivers/tp84.c +++ b/src/mame/drivers/tp84.c @@ -104,7 +104,7 @@ WRITE8_MEMBER(tp84_state::tp84_filter_w) C = 0; if (offset & 0x020) C += 47000; /* 47000pF = 0.047uF */ if (offset & 0x040) C += 470000; /* 470000pF = 0.47uF */ - // dynamic_cast<filter_rc_device*>(machine().device("filter2"))->filter_rc_set_RC(,1000,2200,1000,C); + // dynamic_cast<filter_rc_device*>(machine().device("filter2"))->filter_rc_set_RC(,1000,2200,1000,C); /* 76489 #2 */ C = 0; diff --git a/src/mame/drivers/truco.c b/src/mame/drivers/truco.c index 6f0b25234c2..18e17f12d52 100644 --- a/src/mame/drivers/truco.c +++ b/src/mame/drivers/truco.c @@ -435,7 +435,7 @@ static const pia6821_interface pia0_intf = static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 4, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/usgames.c b/src/mame/drivers/usgames.c index d52f97a8f23..e93f1879e39 100644 --- a/src/mame/drivers/usgames.c +++ b/src/mame/drivers/usgames.c @@ -217,7 +217,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/vastar.c b/src/mame/drivers/vastar.c index f34f0676a28..aa7cd3cc41e 100644 --- a/src/mame/drivers/vastar.c +++ b/src/mame/drivers/vastar.c @@ -548,7 +548,7 @@ ROM_START( vastar3 ) ROM_REGION( 0x10000, "sub", 0 ) /* 64k for the second CPU */ ROM_LOAD( "vst_0.2f", 0x0000, 0x1000, CRC(713478d8) SHA1(9cbd1fb689d93a8964f48e59d4effaa4878b2945) ) - ROM_LOAD( "vst_1.2j", 0x1000, 0x1000, CRC(e4535442) SHA1(280d93bec5cf6183250827ce70ed5ddff968bba5) ) + ROM_LOAD( "vst_1.2j", 0x1000, 0x1000, CRC(e4535442) SHA1(280d93bec5cf6183250827ce70ed5ddff968bba5) ) ROM_REGION( 0x2000, "gfx1", 0 ) ROM_LOAD( "c_c9.rom", 0x0000, 0x2000, CRC(34f067b6) SHA1(45d7f8be5bd1dc9e5e511aa2e99c216c5ff12273) ) diff --git a/src/mame/drivers/vcombat.c b/src/mame/drivers/vcombat.c index 1c926526f7a..443e7eb3507 100644 --- a/src/mame/drivers/vcombat.c +++ b/src/mame/drivers/vcombat.c @@ -569,7 +569,7 @@ WRITE_LINE_MEMBER(vcombat_state::sound_update) static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 16, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/drivers/vlc.c b/src/mame/drivers/vlc.c index 71030cc16a9..ab33524fa7e 100644 --- a/src/mame/drivers/vlc.c +++ b/src/mame/drivers/vlc.c @@ -217,9 +217,9 @@ static const UINT8 pal35[256] = { static MC6845_INTERFACE( mc6845_intf ) { - "screen", /* screen we are acting on */ - false, /* show border area */ - 8, /* number of pixels per video memory address */ + "screen", /* screen we are acting on */ + false, /* show border area */ + 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ NULL, /* after pixel update callback */ diff --git a/src/mame/drivers/whitestar.c b/src/mame/drivers/whitestar.c index 9c21e71f695..799b9bd5a27 100644 --- a/src/mame/drivers/whitestar.c +++ b/src/mame/drivers/whitestar.c @@ -247,7 +247,7 @@ MC6845_UPDATE_ROW( whitestar_update_row ) static MC6845_INTERFACE( whitestar_crtc6845_interface ) { NULL, - false, /* show border area */ + false, /* show border area */ 1, NULL, whitestar_update_row, diff --git a/src/mame/drivers/wwfsstar.c b/src/mame/drivers/wwfsstar.c index 994de49d59c..d306500305d 100644 --- a/src/mame/drivers/wwfsstar.c +++ b/src/mame/drivers/wwfsstar.c @@ -142,10 +142,10 @@ Notes: Offset WWFS47.BIN 24j6-0.112 (first 0x10000 bytes) -------------------------------------------------------- - 0xBB03 F8 F0 - 0xD9B1 0F 07 - 0xED63 4C 44 - 0xEE00 3B 33 + 0xBB03 F8 F0 + 0xD9B1 0F 07 + 0xED63 4C 44 + 0xEE00 3B 33 0xF8B8 F8 F0 *******************************************************************************/ diff --git a/src/mame/drivers/xexex.c b/src/mame/drivers/xexex.c index 93bc95236a8..192149b9699 100644 --- a/src/mame/drivers/xexex.c +++ b/src/mame/drivers/xexex.c @@ -462,7 +462,7 @@ void xexex_state::machine_start() m_k056832 = machine().device("k056832"); m_k054338 = machine().device("k054338"); m_k054539 = machine().device("k054539"); - m_filter1l = machine().device<filter_volume_device>("filter1l"); + m_filter1l = machine().device<filter_volume_device>("filter1l"); m_filter1r = machine().device<filter_volume_device>("filter1r"); m_filter2l = machine().device<filter_volume_device>("filter2l"); m_filter2r = machine().device<filter_volume_device>("filter2r"); diff --git a/src/mame/drivers/xtheball.c b/src/mame/drivers/xtheball.c index e7c172902de..48c72577f80 100644 --- a/src/mame/drivers/xtheball.c +++ b/src/mame/drivers/xtheball.c @@ -19,11 +19,11 @@ class xtheball_state : public driver_device public: xtheball_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , - m_tlc34076(*this, "tlc34076"), - m_vram_bg(*this, "vrabg"), - m_vram_fg(*this, "vrafg"), - m_analog_x(*this, "ANALOGX"), - m_analog_y(*this, "ANALOGY") + m_tlc34076(*this, "tlc34076"), + m_vram_bg(*this, "vrabg"), + m_vram_fg(*this, "vrafg"), + m_analog_x(*this, "ANALOGX"), + m_analog_y(*this, "ANALOGY") { } required_device<tlc34076_device> m_tlc34076; diff --git a/src/mame/drivers/zn.c b/src/mame/drivers/zn.c index 95f8becad11..31acbbb6d1d 100644 --- a/src/mame/drivers/zn.c +++ b/src/mame/drivers/zn.c @@ -2890,7 +2890,7 @@ ROM_START( sfexa ) CPZN1_BIOS ROM_REGION32_LE( 0x80000, "user3", 0 ) - ROM_LOAD( "sfea_04a.2h", 0x0000000, 0x080000, CRC(08247bd4) SHA1(07f356ef2827b3fbd0bfaf2010915315d9d60ef1) ) // could be sfea_04.2h + ROM_LOAD( "sfea_04a.2h", 0x0000000, 0x080000, CRC(08247bd4) SHA1(07f356ef2827b3fbd0bfaf2010915315d9d60ef1) ) // could be sfea_04.2h ROM_REGION32_LE( 0x2400000, "user2", 0 ) ROM_LOAD( "sfe-05m.3h", 0x0000000, 0x400000, CRC(eab781fe) SHA1(205476cb72c8dac915e140fb32243dfc5d209ba4) ) diff --git a/src/mame/includes/20pacgal.h b/src/mame/includes/20pacgal.h index 5e1f5143da0..29b5cefdde7 100644 --- a/src/mame/includes/20pacgal.h +++ b/src/mame/includes/20pacgal.h @@ -63,8 +63,8 @@ public: void draw_chars(bitmap_rgb32 &bitmap); void draw_stars(bitmap_rgb32 &bitmap, const rectangle &cliprect ); void draw_sprite(bitmap_rgb32 &bitmap, int y, int x, - UINT8 code, UINT8 color, int flip_y, int flip_x); - + UINT8 code, UINT8 color, int flip_y, int flip_x); + }; diff --git a/src/mame/includes/4enraya.h b/src/mame/includes/4enraya.h index 049582e02e8..a840ef6954b 100644 --- a/src/mame/includes/4enraya.h +++ b/src/mame/includes/4enraya.h @@ -15,7 +15,7 @@ public: m_snd_latch_bit(4) { } - + required_device<ay8910_device> m_ay; /* memory pointers */ diff --git a/src/mame/includes/8080bw.h b/src/mame/includes/8080bw.h index bf098f8fe4e..e02bc004aa3 100644 --- a/src/mame/includes/8080bw.h +++ b/src/mame/includes/8080bw.h @@ -131,7 +131,7 @@ public: DECLARE_WRITE8_MEMBER(polaris_sh_port_1_w); DECLARE_WRITE8_MEMBER(polaris_sh_port_2_w); DECLARE_WRITE8_MEMBER(polaris_sh_port_3_w); - + void schaser_reinit_555_time_remain(); void invadpt2_get_pens( pen_t *pens ); void sflush_get_pens( pen_t *pens ); diff --git a/src/mame/includes/alpha68k.h b/src/mame/includes/alpha68k.h index 44460b650cc..48a9041c336 100644 --- a/src/mame/includes/alpha68k.h +++ b/src/mame/includes/alpha68k.h @@ -123,5 +123,3 @@ enum ALPHA68K_JONGBOU, // used in kyros_alpha_trigger_r & kyros_draw_sprites ALPHA68K_KYROS // used in kyros_draw_sprites }; - - diff --git a/src/mame/includes/amiga.h b/src/mame/includes/amiga.h index 2d9e5b748cd..77e7735d58b 100644 --- a/src/mame/includes/amiga.h +++ b/src/mame/includes/amiga.h @@ -410,7 +410,7 @@ public: optional_ioport m_p2joy_port; optional_memory_bank m_bank1; - + const amiga_machine_interface *m_intf; autoconfig_device *m_autoconfig_list; diff --git a/src/mame/includes/armedf.h b/src/mame/includes/armedf.h index 066e0e17f18..52bc259962e 100644 --- a/src/mame/includes/armedf.h +++ b/src/mame/includes/armedf.h @@ -84,7 +84,7 @@ public: void armedf_drawgfx(bitmap_ind16 &dest_bmp,const rectangle &clip,gfx_element *gfx, UINT32 code,UINT32 color, UINT32 clut,int flipx,int flipy,int offsx,int offsy, int transparent_color); - + }; class bigfghtr_state : public armedf_state diff --git a/src/mame/includes/btime.h b/src/mame/includes/btime.h index e0659320301..23b66a3dcf8 100644 --- a/src/mame/includes/btime.h +++ b/src/mame/includes/btime.h @@ -121,5 +121,5 @@ public: void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 color, UINT8 sprite_y_adjust, UINT8 sprite_y_adjust_flip_screen, UINT8 *sprite_ram, offs_t interleave ); - + }; diff --git a/src/mame/includes/carpolo.h b/src/mame/includes/carpolo.h index eb1215b860f..4b95ae40e03 100644 --- a/src/mame/includes/carpolo.h +++ b/src/mame/includes/carpolo.h @@ -98,7 +98,7 @@ public: int check_sprite_sprite_collision(int x1, int y1, int code1, int flipy1, int x2, int y2, int code2, int flipy2, int *col_x, int *col_y); - + }; diff --git a/src/mame/includes/cps3.h b/src/mame/includes/cps3.h index 7b3e2258c62..9a846ec4260 100644 --- a/src/mame/includes/cps3.h +++ b/src/mame/includes/cps3.h @@ -127,7 +127,7 @@ public: unsigned int code,unsigned int color,int flipx,int flipy,int sx,int sy, int transparency,int transparent_color, int scalex, int scaley,bitmap_ind8 *pri_buffer,UINT32 pri_mask); - + }; diff --git a/src/mame/includes/deco32.h b/src/mame/includes/deco32.h index 1ea6df6fae8..fca13a018c5 100644 --- a/src/mame/includes/deco32.h +++ b/src/mame/includes/deco32.h @@ -151,7 +151,7 @@ public: DECLARE_VIDEO_START(lockload); UINT32 screen_update_dragngun(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); void screen_eof_dragngun(screen_device &screen, bool state); - void dragngun_draw_sprites( bitmap_rgb32 &bitmap, const rectangle &cliprect, const UINT32 *spritedata); + void dragngun_draw_sprites( bitmap_rgb32 &bitmap, const rectangle &cliprect, const UINT32 *spritedata); }; /*----------- defined in video/deco32.c -----------*/ diff --git a/src/mame/includes/eolith.h b/src/mame/includes/eolith.h index 17ce9f6db73..2042f04c61a 100644 --- a/src/mame/includes/eolith.h +++ b/src/mame/includes/eolith.h @@ -35,7 +35,7 @@ public: optional_ioport m_penx2port; optional_ioport m_peny2port; optional_memory_bank m_sndbank; - + DECLARE_READ32_MEMBER(eolith_custom_r); DECLARE_WRITE32_MEMBER(systemcontrol_w); diff --git a/src/mame/includes/galaga.h b/src/mame/includes/galaga.h index 0b64315d2a5..000a39011d7 100644 --- a/src/mame/includes/galaga.h +++ b/src/mame/includes/galaga.h @@ -116,7 +116,7 @@ public: DECLARE_WRITE8_MEMBER( xevious_vh_latch_w ); DECLARE_WRITE8_MEMBER( xevious_bs_w ); DECLARE_READ8_MEMBER( xevious_bb_r ); - + // Custom I/O void battles_customio_init(); @@ -132,7 +132,7 @@ public: DECLARE_WRITE8_MEMBER( battles_customio_data3_w ); DECLARE_WRITE8_MEMBER( battles_CPU4_coin_w ); DECLARE_WRITE8_MEMBER( battles_noise_sound_w ); - + UINT8 m_customio[16]; char m_battles_customio_command; char m_battles_customio_prev_command; @@ -170,11 +170,11 @@ public: DECLARE_PALETTE_INIT(bosco); UINT32 screen_update_bosco(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void screen_eof_bosco(screen_device &screen, bool state); - + inline void get_tile_info_bosco(tile_data &tileinfo,int tile_index,int ram_offs); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_bullets(bitmap_ind16 &bitmap, const rectangle &cliprect); - void draw_stars(bitmap_ind16 &bitmap, const rectangle &cliprect, int flip); + void draw_stars(bitmap_ind16 &bitmap, const rectangle &cliprect, int flip); DECLARE_WRITE8_MEMBER( bosco_videoram_w ); DECLARE_WRITE8_MEMBER( bosco_scrollx_w ); DECLARE_WRITE8_MEMBER( bosco_scrolly_w ); @@ -207,7 +207,7 @@ public: UINT32 screen_update_digdug(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect); DECLARE_WRITE8_MEMBER( digdug_videoram_w ); - DECLARE_WRITE8_MEMBER( digdug_PORT_w ); + DECLARE_WRITE8_MEMBER( digdug_PORT_w ); }; /*----------- defined in audio/galaga.c -----------*/ diff --git a/src/mame/includes/galaxian.h b/src/mame/includes/galaxian.h index f45881c5e8d..a37d0daba4d 100644 --- a/src/mame/includes/galaxian.h +++ b/src/mame/includes/galaxian.h @@ -64,18 +64,18 @@ public: int m_tenspot_current_game; UINT8 m_frogger_adjust; UINT8 m_sfx_tilemap; - + /* video extension callbacks */ typedef void (galaxian_state::*galaxian_extend_tile_info_func)(UINT16 *code, UINT8 *color, UINT8 attrib, UINT8 x); typedef void (galaxian_state::*galaxian_extend_sprite_info_func)(const UINT8 *base, UINT8 *sx, UINT8 *sy, UINT8 *flipx, UINT8 *flipy, UINT16 *code, UINT8 *color); typedef void (galaxian_state::*galaxian_draw_bullet_func)(bitmap_rgb32 &bitmap, const rectangle &cliprect, int offs, int x, int y); typedef void (galaxian_state::*galaxian_draw_background_func)(bitmap_rgb32 &bitmap, const rectangle &cliprect); - + galaxian_extend_tile_info_func m_extend_tile_info_ptr; galaxian_extend_sprite_info_func m_extend_sprite_info_ptr; galaxian_draw_bullet_func m_draw_bullet_ptr; galaxian_draw_background_func m_draw_background_ptr; - + tilemap_t *m_bg_tilemap; UINT8 m_flipscreen_x; UINT8 m_flipscreen_y; diff --git a/src/mame/includes/itech32.h b/src/mame/includes/itech32.h index 125379b8485..ad8f11ba454 100644 --- a/src/mame/includes/itech32.h +++ b/src/mame/includes/itech32.h @@ -184,4 +184,3 @@ public: void install_timekeeper(); void init_gt_common(); }; - diff --git a/src/mame/includes/itech8.h b/src/mame/includes/itech8.h index e182d543e7b..a6c4dab6ebd 100644 --- a/src/mame/includes/itech8.h +++ b/src/mame/includes/itech8.h @@ -18,7 +18,7 @@ public: m_tlc34076(*this, "tlc34076"), m_visarea(0, 0, 0, 0){ } - required_device<tlc34076_device> m_tlc34076; + required_device<tlc34076_device> m_tlc34076; rectangle m_visarea; UINT8 m_grom_bank; diff --git a/src/mame/includes/ladybug.h b/src/mame/includes/ladybug.h index 251c67114b4..57294ee6080 100644 --- a/src/mame/includes/ladybug.h +++ b/src/mame/includes/ladybug.h @@ -96,7 +96,7 @@ public: void redclash_set_stars_enable(UINT8 on); void redclash_update_stars_state(); void redclash_set_stars_speed(UINT8 speed); - void redclash_draw_stars(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 palette_offset, UINT8 sraider, UINT8 firstx, UINT8 lastx); + void redclash_draw_stars(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 palette_offset, UINT8 sraider, UINT8 firstx, UINT8 lastx); void redclash_draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect ); void redclash_draw_bullets( bitmap_ind16 &bitmap, const rectangle &cliprect ); }; diff --git a/src/mame/includes/n64.h b/src/mame/includes/n64.h index fbcdec359fc..8651c5b3069 100644 --- a/src/mame/includes/n64.h +++ b/src/mame/includes/n64.h @@ -24,7 +24,7 @@ public: virtual void machine_reset(); virtual void video_start(); void n64_machine_stop(); - + UINT32 screen_update_n64(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); }; diff --git a/src/mame/includes/stv.h b/src/mame/includes/stv.h index 9c0e5e24e9c..ff2db978995 100644 --- a/src/mame/includes/stv.h +++ b/src/mame/includes/stv.h @@ -297,7 +297,7 @@ public: void drawpixel_4bpp_trans(int x, int y, int patterndata, int offsetcnt); void drawpixel_generic(int x, int y, int patterndata, int offsetcnt); void vdp1_fill_slope(const rectangle &cliprect, int patterndata, int xsize, - INT32 x1, INT32 x2, INT32 sl1, INT32 sl2, INT32 *nx1, INT32 *nx2, + INT32 x1, INT32 x2, INT32 sl1, INT32 sl2, INT32 *nx1, INT32 *nx2, INT32 u1, INT32 u2, INT32 slu1, INT32 slu2, INT32 *nu1, INT32 *nu2, INT32 v1, INT32 v2, INT32 slv1, INT32 slv2, INT32 *nv1, INT32 *nv2, INT32 _y1, INT32 y2); @@ -390,7 +390,7 @@ public: void stv_vdp2_draw_basic_bitmap(bitmap_rgb32 &bitmap, const rectangle &cliprect); void draw_4bpp_bitmap(bitmap_rgb32 &bitmap, const rectangle &cliprect); void draw_8bpp_bitmap(bitmap_rgb32 &bitmap, const rectangle &cliprect); -// void draw_11bpp_bitmap(bitmap_rgb32 &bitmap, const rectangle &cliprect); +// void draw_11bpp_bitmap(bitmap_rgb32 &bitmap, const rectangle &cliprect); void draw_rgb15_bitmap(bitmap_rgb32 &bitmap, const rectangle &cliprect); void draw_rgb32_bitmap(bitmap_rgb32 &bitmap, const rectangle &cliprect); @@ -714,4 +714,3 @@ public: #define IRQ_DMAILL 1 << 12 #define IRQ_VDP1_END 1 << 13 #define IRQ_ABUS 1 << 15 - diff --git a/src/mame/includes/tecmosys.h b/src/mame/includes/tecmosys.h index cbdfb0285db..f414870ff89 100644 --- a/src/mame/includes/tecmosys.h +++ b/src/mame/includes/tecmosys.h @@ -83,4 +83,3 @@ public: void tecmosys_prot_init(int which); void tecmosys_prot_reset(); }; - diff --git a/src/mame/machine/amiga.c b/src/mame/machine/amiga.c index 0a27656f4d2..45fcf71df66 100644 --- a/src/mame/machine/amiga.c +++ b/src/mame/machine/amiga.c @@ -1192,7 +1192,7 @@ READ16_HANDLER( amiga_custom_r ) case REG_JOY1DAT: if (state->m_intf->joy1dat_r != NULL) return (*state->m_intf->joy1dat_r)(space.machine()); - + if (state->m_joy1dat_port) return state->m_joy1dat_port->read(); else return 0xffff; diff --git a/src/mame/machine/chaknpop.c b/src/mame/machine/chaknpop.c index fc7f1771ae6..9e448061eee 100644 --- a/src/mame/machine/chaknpop.c +++ b/src/mame/machine/chaknpop.c @@ -47,7 +47,6 @@ static const UINT8 mcu_data[256] = { void chaknpop_state::mcu_update_seed( UINT8 data ) { - if (!(data & 0x80)) { m_mcu_seed += 0x83; diff --git a/src/mame/machine/megadriv.c b/src/mame/machine/megadriv.c index 90998e1252d..4ceeba6e41e 100644 --- a/src/mame/machine/megadriv.c +++ b/src/mame/machine/megadriv.c @@ -306,7 +306,7 @@ UINT8 megadrive_io_read_data_port_3button(running_machine &machine, int portnum) { UINT8 retdata, helper = (megadrive_io_ctrl_regs[portnum] & 0x7f) | 0x80; // bit 7 always comes from megadrive_io_data_regs static const char *const pad3names[] = { "PAD1", "PAD2", "IN0", "UNK" }; - + if (megadrive_io_data_regs[portnum] & 0x40) { /* here we read B, C & the directional buttons */ diff --git a/src/mame/machine/scudsp.c b/src/mame/machine/scudsp.c index 5aa197567ed..4a9c59097ac 100644 --- a/src/mame/machine/scudsp.c +++ b/src/mame/machine/scudsp.c @@ -66,17 +66,17 @@ Changelog: - Add control flags - Croc: has a bug somewhere that never allows it to trip the ENDI opcode. Snippet of interest is: - 08 00823500 CLR A MOV M0,PL - 09 08040000 OR MOV ALU,A - 0A D208000D JMP NZ,$D - 0B 00000000 NOP - 0C F8000000 ENDI + 08 00823500 CLR A MOV M0,PL + 09 08040000 OR MOV ALU,A + 0A D208000D JMP NZ,$D + 0B 00000000 NOP + 0C F8000000 ENDI ... - 40 00863502 MOV M0,A MOV M2,PL - 41 10003009 ADD MOV ALL,MC0 - 42 D3400042 JMP T0,$42 - 43 00000000 NOP - 44 D0000007 JMP $7 + 40 00863502 MOV M0,A MOV M2,PL + 41 10003009 ADD MOV ALL,MC0 + 42 D3400042 JMP T0,$42 + 43 00000000 NOP + 44 D0000007 JMP $7 ******************************************************************************************/ #include "emu.h" diff --git a/src/mame/machine/smpc.c b/src/mame/machine/smpc.c index c470aea7dda..5754bc72be8 100644 --- a/src/mame/machine/smpc.c +++ b/src/mame/machine/smpc.c @@ -226,7 +226,7 @@ static TIMER_CALLBACK( smpc_slave_enable ) state->m_smpc.OREG[31] = param + 0x02; //read-back for last command issued state->m_smpc.SF = 0x00; //clear hand-shake flag state->m_smpc.slave_on = param; -// printf("%d %d\n",machine.primary_screen->hpos(),machine.primary_screen->vpos()); +// printf("%d %d\n",machine.primary_screen->hpos(),machine.primary_screen->vpos()); } static TIMER_CALLBACK( smpc_sound_enable ) @@ -618,7 +618,7 @@ static TIMER_CALLBACK( smpc_nmi_set ) { saturn_state *state = machine.driver_data<saturn_state>(); -// printf("%d %d\n",machine.primary_screen->hpos(),machine.primary_screen->vpos()); +// printf("%d %d\n",machine.primary_screen->hpos(),machine.primary_screen->vpos()); state->m_NMI_reset = param; /* put issued command in OREG31 */ state->m_smpc.OREG[31] = 0x19 + param; @@ -878,7 +878,7 @@ UINT8 saturn_state::smpc_th_control_mode(UINT8 pad_n) break; case 2: res = th<<6; - // 1 C B Right Left Down Up + // 1 C B Right Left Down Up res|= (((machine().root_device().ioport(padnames[pad_n])->read()>>4)) & 0x30); // C & B res|= (((machine().root_device().ioport(padnames[pad_n])->read()>>12)) & 0xf); break; diff --git a/src/mame/machine/snes7110.c b/src/mame/machine/snes7110.c index ad27cd0ac65..0aa5299f591 100644 --- a/src/mame/machine/snes7110.c +++ b/src/mame/machine/snes7110.c @@ -127,7 +127,7 @@ public: void init(running_machine &machine, UINT8 *ROM, UINT32 mode, UINT32 offset, UINT32 index); void reset(); - + UINT8 read(UINT8 *ROM); void write(UINT8 data); void mode0(UINT8 init, UINT8 *ROM); @@ -159,7 +159,7 @@ public: UINT32 m_morton16[2][256]; UINT32 m_morton32[4][256]; - + private: running_machine& m_machine; UINT32 m_rom_size; @@ -238,10 +238,10 @@ UINT8 SPC7110Decomp::read(UINT8 *ROM) { UINT8 data; - if (m_decomp_buffer_length == 0) + if (m_decomp_buffer_length == 0) { //decompress at least (SPC7110_DECOMP_BUFFER_SIZE / 2) bytes to the buffer - switch (m_decomp_mode) + switch (m_decomp_mode) { case 0: mode0(0, ROM); diff --git a/src/mame/machine/snessdd1.c b/src/mame/machine/snessdd1.c index 943c9c02e02..91608a857b8 100644 --- a/src/mame/machine/snessdd1.c +++ b/src/mame/machine/snessdd1.c @@ -485,7 +485,7 @@ SDD1emu::SDD1emu(running_machine &machine) m_BG6 = auto_alloc(machine, SDD1_BG(m_GCD, 6)); m_BG7 = auto_alloc(machine, SDD1_BG(m_GCD, 7)); m_PEM = auto_alloc(machine, SDD1_PEM(m_BG0, m_BG1, m_BG2, m_BG3, - m_BG4, m_BG5, m_BG6, m_BG7)); + m_BG4, m_BG5, m_BG6, m_BG7)); m_CM = auto_alloc(machine, SDD1_CM(m_PEM)); m_OL = auto_alloc(machine, SDD1_OL(m_CM)); } diff --git a/src/mame/machine/stvcd.c b/src/mame/machine/stvcd.c index f7f15be6bae..6ec36582670 100644 --- a/src/mame/machine/stvcd.c +++ b/src/mame/machine/stvcd.c @@ -103,10 +103,10 @@ void saturn_state::cd_exec_command( void ) UINT32 temp; if(cr1 != 0 && - ((cr1 & 0xff00) != 0x5100) && - ((cr1 & 0xff00) != 0x5200) && - ((cr1 & 0xff00) != 0x5300) && - 1) + ((cr1 & 0xff00) != 0x5100) && + ((cr1 & 0xff00) != 0x5200) && + ((cr1 & 0xff00) != 0x5300) && + 1) printf("CD: command exec %04x %04x %04x %04x %04x (stat %04x)\n", hirqreg, cr1, cr2, cr3, cr4, cd_stat); switch (cr1 & 0xff00) @@ -1222,8 +1222,8 @@ void saturn_state::cd_exec_command( void ) CDROM_LOG(("%s:CD: Verify copy protection\n", machine.describe_context())) if(((cd_stat & 0x0f00) != CD_STAT_NODISC) && ((cd_stat & 0x0f00) != CD_STAT_OPEN)) cd_stat = CD_STAT_PAUSE; -// cr1 = cd_stat; // necessary to pass -// cr2 = 0x4; +// cr1 = cd_stat; // necessary to pass +// cr2 = 0x4; // hirqreg |= (CMOK|EFLS|CSCT); sectorstore = 1; hirqreg = 0xfc5; @@ -1239,7 +1239,7 @@ void saturn_state::cd_exec_command( void ) cr3 = 0; cr4 = 0; hirqreg |= (CMOK); -// cr_standard_return(cd_stat); +// cr_standard_return(cd_stat); break; default: @@ -1489,7 +1489,7 @@ UINT16 saturn_state::cd_readWord(UINT32 addr) case 0x000c: case 0x000e: -// CDROM_LOG(("RW HIRM: %04x\n", hirqmask)) +// CDROM_LOG(("RW HIRM: %04x\n", hirqmask)) printf("RW HIRM: %04x\n", hirqmask); return hirqmask; @@ -1636,9 +1636,9 @@ UINT32 saturn_state::cd_readLong(UINT32 addr) { // get next longword rv = (transpart->blocks[xfersectpos+xfersect]->data[xferoffs + 0]<<24) | - (transpart->blocks[xfersectpos+xfersect]->data[xferoffs + 1]<<16) | - (transpart->blocks[xfersectpos+xfersect]->data[xferoffs + 2]<<8) | - (transpart->blocks[xfersectpos+xfersect]->data[xferoffs + 3]<<0); + (transpart->blocks[xfersectpos+xfersect]->data[xferoffs + 1]<<16) | + (transpart->blocks[xfersectpos+xfersect]->data[xferoffs + 2]<<8) | + (transpart->blocks[xfersectpos+xfersect]->data[xferoffs + 3]<<0); xferdnum += 4; xferoffs += 4; @@ -1699,7 +1699,7 @@ void saturn_state::cd_writeWord(UINT32 addr, UINT16 data) { case 0x0008: case 0x000a: -// CDROM_LOG(("%s:WW HIRQ: %04x & %04x => %04x\n", machine().describe_context(), hirqreg, data, hirqreg & data)) +// CDROM_LOG(("%s:WW HIRQ: %04x & %04x => %04x\n", machine().describe_context(), hirqreg, data, hirqreg & data)) hirqreg &= data; if(!(hirqreg & CMOK)) { @@ -1709,7 +1709,7 @@ void saturn_state::cd_writeWord(UINT32 addr, UINT16 data) return; case 0x000c: case 0x000e: -// CDROM_LOG(("WW HIRM: %04x => %04x\n", hirqmask, data)) +// CDROM_LOG(("WW HIRM: %04x => %04x\n", hirqmask, data)) printf("WW HIRM: %04x => %04x\n", hirqmask, data); hirqmask = data; return; diff --git a/src/mame/machine/tecmosys.c b/src/mame/machine/tecmosys.c index c38f3bace4a..bd1678d9dc1 100644 --- a/src/mame/machine/tecmosys.c +++ b/src/mame/machine/tecmosys.c @@ -104,7 +104,7 @@ static const struct prot_data tkdensha_data = void tecmosys_state::tecmosys_prot_reset() -{ +{ m_device_read_ptr = 0; m_device_status = DS_IDLE; m_device_value = 0xff; diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 2d1965b132a..73256970bbe 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -701,7 +701,7 @@ nrallyx // (c) 1981 Namco nrallyxb // (c) 1981 Namco jungler // GX327 (c) 1981 Konami junglers // GX327 (c) 1981 Stern -jackler // 1 9 8 2 (Jungler Bootleg) +jackler // 1 9 8 2 (Jungler Bootleg) savanna // Olympia (c) 1982 (Jungler bootleg) tactcian // GX335 (c) 1982 Sega tactcian2 // GX335 (c) 1981 Sega @@ -2974,7 +2974,7 @@ sf2m7 // hack sf2m8 // bootleg sf2yyc // hack sf2koryu // hack -sf2dongb // hack +sf2dongb // hack sf2mdt // bootleg sf2mdta // bootleg cworld2j // 11/06/1992 (c) 1992 (Japan) @@ -4156,8 +4156,8 @@ wbmljo // (c) 1987 Sega/Westone (S2) wbmljb // (c) 1987 Sega/Westone (S2) wbmlb // bootleg? (S2) wbmlbg // bootleg (Galaxy Electronics) -wbmlbge // bootleg (Gecas) -wbmlvc // Virtual Console +wbmlbge // bootleg (Gecas) +wbmlvc // Virtual Console dakkochn // 836-6483 (S2) ufosensi // 834-6659 (S2) ufosensib // bootleg @@ -4619,7 +4619,7 @@ pclub2 // 1997.09 Print Club 2 thunt // 1997.09 Puzzle & Action Treasure Hunt (Sega (Deniam License)) thuntk winterht // 1997.10 Winter Heat (Data East) -pclb297w // 1997.10 Print Club 2 '97 Winter Ver +pclb297w // 1997.10 Print Club 2 '97 Winter Ver pclub298 // 1997.10 Print Club 2 '98 Spring Ver cotton2 // 1997.11 Cotton 2 (Success) hanagumi // 1997.11 Sakura Taisen Hanagumi Taisen Columns @@ -5804,7 +5804,7 @@ wc90b1 // bootleg wc90b2 // bootleg spbactn // 9002 - (c) 1991 Tecmo spbactnj // 9002 - (c) 1991 Tecmo -spbactnp // prototype +spbactnp // prototype fstarfrc // (c) 1992 Tecmo fstarfrcj // (c) 1992 Tecmo ginkun // (c) 1995 Tecmo @@ -8294,7 +8294,7 @@ netwars // (c) 1983 Orca + Esco Trading Co license // the name "Orca" vastar // (c) 1983 Sesame Japan vastar2 // (c) 1983 Sesame Japan -vastar3 // (c) 1983 Sesame Japan +vastar3 // (c) 1983 Sesame Japan /* other Orca games: 82 Battle Cross Kit 2P @@ -8770,7 +8770,7 @@ wbeachvl2 // (c) 1995 wbeachvl3 // (c) 1995 excelsr // (c) 1995 hotmind // (c) 1995 -luckboomh // (c) 1995 +luckboomh // (c) 1995 hrdtimes // (c) 1994 hrdtimesa // (c) 1994 drtomy // (c) 1993 no copyright message (1993 on pcb), some code taken from 'Big Karnak' @@ -9186,12 +9186,12 @@ haunthig // (c) 200? fearless // (c) 2006 // IGS036 Cpu Games -cjdh2 // (c) 200? -cjdh2a // (c) 200? -cjdh2b // (c) 200? -cjdh2c // (c) 200? -cjddzsp // (c) 200? -igsm312 // (c) 200? +cjdh2 // (c) 200? +cjdh2a // (c) 200? +cjdh2b // (c) 200? +cjdh2c // (c) 200? +cjddzsp // (c) 200? +igsm312 // (c) 200? // IGS PGM System Games pgm // Base Unit @@ -9256,10 +9256,10 @@ py2k2 // (c) 2001 Photo Y2K2 pgm3in1 // (c) 2004 Photo Y2K2 3-in-1 dmnfrnt // (c) 2002 Demon Front dmnfrnta // -dmnfrntb // +dmnfrntb // dmnfrntpcb // kovshp // (c) 200? Knights of Valor Superheroes PLUS -kovytzy // (c) 1999 Knights of Valour: Yi Tong Zhong Yuan +kovytzy // (c) 1999 Knights of Valour: Yi Tong Zhong Yuan kovshxas // bootleg kovlsqh // bootleg kovlsqh2 // bootleg @@ -9848,7 +9848,7 @@ quake // (c) 19?? Lazer-Tron / iD Software majorpkr // (c) 1994 PAL System. su2000 // (c) 1993 Virtuality boonggab // (c) 2001 Taff System -fresh // (c) Chain Leisure +fresh // (c) Chain Leisure // Success tonton // (c) 199? Success / Taiyo Jidoki. @@ -10519,7 +10519,7 @@ cfever51 // (c) 2000 High Video cfever61 // (c) 2000 High Video cfever1k // (c) 2000 High Video girotutt // (c) 2000 High Video -nyjoker // +nyjoker // // Sure games mil4000 // (c) 2000 Sure Milano @@ -10701,7 +10701,7 @@ nfb96a // (c) 1996 Amcoe nfb96b // (c) 1996 Amcoe nfb96c // (c) 1996 Amcoe nfb96txt // (c) 2000 Amcoe -fb2010 // (c) 2009 Amcoe +fb2010 // (c) 2009 Amcoe nfb96se // bootleg nfb96sea // bootleg nfb96seb // bootleg diff --git a/src/mame/video/ccastles.c b/src/mame/video/ccastles.c index 860067abe80..c6c7b49bd12 100644 --- a/src/mame/video/ccastles.c +++ b/src/mame/video/ccastles.c @@ -163,7 +163,6 @@ inline void ccastles_state::ccastles_write_vram( UINT16 addr, UINT8 data, UINT8 inline void ccastles_state::bitmode_autoinc( ) { - /* auto increment in the x-direction if it's enabled */ if (!m_video_control[0]) /* /AX */ { diff --git a/src/mame/video/cchasm.c b/src/mame/video/cchasm.c index e69992dba34..d97df1fa06a 100644 --- a/src/mame/video/cchasm.c +++ b/src/mame/video/cchasm.c @@ -26,7 +26,6 @@ TIMER_CALLBACK_MEMBER(cchasm_state::cchasm_refresh_end) void cchasm_state::cchasm_refresh () { - int pc = 0; int done = 0; int opcode, data; diff --git a/src/mame/video/centiped.c b/src/mame/video/centiped.c index b964bb15b28..76ba7849369 100644 --- a/src/mame/video/centiped.c +++ b/src/mame/video/centiped.c @@ -80,7 +80,6 @@ void centiped_state::init_penmask() void centiped_state::init_common() { - save_item(NAME(m_flipscreen)); save_item(NAME(m_gfx_bank)); save_item(NAME(m_bullsdrt_sprites_bank)); diff --git a/src/mame/video/cloud9.c b/src/mame/video/cloud9.c index 473220449e3..9bfa978b817 100644 --- a/src/mame/video/cloud9.c +++ b/src/mame/video/cloud9.c @@ -156,7 +156,6 @@ inline void cloud9_state::cloud9_write_vram( UINT16 addr, UINT8 data, UINT8 bitm inline void cloud9_state::bitmode_autoinc( ) { - /* auto increment in the x-direction if it's enabled */ if (!m_video_control[0]) /* /AX */ m_bitmode_addr[0]++; diff --git a/src/mame/video/cps1.c b/src/mame/video/cps1.c index 3a4f294d75a..a7624c4e113 100644 --- a/src/mame/video/cps1.c +++ b/src/mame/video/cps1.c @@ -2276,7 +2276,6 @@ void cps_state::cps1_find_last_sprite() /* Find the offset of last sprite */ void cps_state::cps1_render_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect ) { - #define DRAWSPRITE(CODE,COLOR,FLIPX,FLIPY,SX,SY) \ { \ if (flip_screen()) \ @@ -2510,7 +2509,6 @@ void cps_state::cps2_find_last_sprite() /* Find the offset of last sprite */ void cps_state::cps2_render_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect, int *primasks ) { - #define DRAWSPRITE(CODE,COLOR,FLIPX,FLIPY,SX,SY) \ { \ if (flip_screen()) \ diff --git a/src/mame/video/dday.c b/src/mame/video/dday.c index dc6b9a83be4..c18596db1b3 100644 --- a/src/mame/video/dday.c +++ b/src/mame/video/dday.c @@ -33,7 +33,6 @@ TIMER_CALLBACK_MEMBER(dday_state::countdown_timer_callback) void dday_state::start_countdown_timer() { - m_timer_value = 0; machine().scheduler().timer_pulse(attotime::from_seconds(1), timer_expired_delegate(FUNC(dday_state::countdown_timer_callback),this)); diff --git a/src/mame/video/dkong.c b/src/mame/video/dkong.c index f35e8adade5..86f0a2bf5b5 100644 --- a/src/mame/video/dkong.c +++ b/src/mame/video/dkong.c @@ -669,7 +669,6 @@ void dkong_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, inline double dkong_state::CD4049(double x) { - if (x>0) return exp(-m_cd4049_a * pow(x,m_cd4049_b)); else @@ -690,7 +689,6 @@ inline double dkong_state::CD4049(double x) void dkong_state::radarscp_step(int line_cnt) { - /* Condensator is illegible in schematics for TRS2 board. * TRS1 board states 3.3u. */ diff --git a/src/mame/video/fromanc2.c b/src/mame/video/fromanc2.c index f0d1128d7f7..75354c27e03 100644 --- a/src/mame/video/fromanc2.c +++ b/src/mame/video/fromanc2.c @@ -288,7 +288,6 @@ WRITE16_MEMBER(fromanc2_state::fromancr_gfxreg_1_w) void fromanc2_state::fromancr_gfxbank_w( int data ) { - m_gfxbank[0][0] = (data & 0x0010) >> 4; // BG (1P) m_gfxbank[0][1] = (data & 0xf000) >> 12; // FG (1P) m_gfxbank[1][0] = (data & 0x0008) >> 3; // BG (2P) diff --git a/src/mame/video/fromance.c b/src/mame/video/fromance.c index 54865729da9..44e62c22b97 100644 --- a/src/mame/video/fromance.c +++ b/src/mame/video/fromance.c @@ -55,7 +55,6 @@ TILE_GET_INFO_MEMBER(fromance_state::get_nekkyoku_fg_tile_info){ get_nekkyoku_ti void fromance_state::init_common( ) { - /* allocate local videoram */ m_local_videoram[0] = auto_alloc_array(machine(), UINT8, 0x1000 * 3); m_local_videoram[1] = auto_alloc_array(machine(), UINT8, 0x1000 * 3); diff --git a/src/mame/video/galaga.c b/src/mame/video/galaga.c index fce68cdc943..e7d12d8a78e 100644 --- a/src/mame/video/galaga.c +++ b/src/mame/video/galaga.c @@ -472,7 +472,6 @@ WRITE8_MEMBER(galaga_state::gatsbee_bank_w) void galaga_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect ) { - UINT8 *spriteram = m_galaga_ram1 + 0x380; UINT8 *spriteram_2 = m_galaga_ram2 + 0x380; UINT8 *spriteram_3 = m_galaga_ram3 + 0x380; diff --git a/src/mame/video/galaxold.c b/src/mame/video/galaxold.c index 4528ddc1692..e6f831a6f05 100644 --- a/src/mame/video/galaxold.c +++ b/src/mame/video/galaxold.c @@ -1305,7 +1305,6 @@ void galaxold_state::dambustr_draw_background(bitmap_ind16 &bitmap, const rectan void galaxold_state::dambustr_draw_upper_background(bitmap_ind16 &bitmap, const rectangle &cliprect) { - if (flip_screen_x()) { rectangle clip(254 - m_dambustr_bg_split_line, m_dambustr_bg_split_line, 0, 255); diff --git a/src/mame/video/konicdev.c b/src/mame/video/konicdev.c index 24f1ab937cc..3c59c5f9990 100644 --- a/src/mame/video/konicdev.c +++ b/src/mame/video/konicdev.c @@ -10327,7 +10327,7 @@ void k001604_draw_back_layer( device_t *device, bitmap_rgb32 &bitmap, const rect window_x = ((k001604->reg[0x1b] >> 1) & 3) * 512; else window_x = ((k001604->reg[0x1b] >> 1) & 1) * 512; - + window_y = 0; switch (layer_size) @@ -10339,7 +10339,7 @@ void k001604_draw_back_layer( device_t *device, bitmap_rgb32 &bitmap, const rect } window_ymask = pixmap.height() - 1; - + // loop over rows while (sy <= ey) diff --git a/src/mame/video/lastduel.c b/src/mame/video/lastduel.c index 4ccde683063..de2cb93285c 100644 --- a/src/mame/video/lastduel.c +++ b/src/mame/video/lastduel.c @@ -199,7 +199,6 @@ WRITE16_MEMBER(lastduel_state::lastduel_palette_word_w) void lastduel_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect, int pri ) { - UINT16 *buffered_spriteram16 = m_spriteram->buffer(); int offs; diff --git a/src/mame/video/lockon.c b/src/mame/video/lockon.c index 4a9613c8a12..07ef300ba24 100644 --- a/src/mame/video/lockon.c +++ b/src/mame/video/lockon.c @@ -300,7 +300,6 @@ TIMER_CALLBACK_MEMBER(lockon_state::bufend_callback) void lockon_state::ground_draw( ) { - /* ROM pointers */ const UINT8 *const gfx_rom = memregion("gfx4")->base(); const UINT8 *const lut_rom = gfx_rom + 0x30000 + ((m_ground_ctrl >> 2) & 0x3 ? 0x10000 : 0); diff --git a/src/mame/video/madalien.c b/src/mame/video/madalien.c index 6efa6face08..f61d58a23ec 100644 --- a/src/mame/video/madalien.c +++ b/src/mame/video/madalien.c @@ -380,7 +380,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ NULL, /* before pixel update callback */ NULL, /* row update callback */ diff --git a/src/mame/video/qix.c b/src/mame/video/qix.c index 2cd3db62a27..70a7ba9dce3 100644 --- a/src/mame/video/qix.c +++ b/src/mame/video/qix.c @@ -385,7 +385,7 @@ ADDRESS_MAP_END static MC6845_INTERFACE( mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 8, /* number of pixels per video memory address */ begin_update, /* before pixel update callback */ update_row, /* row update callback */ diff --git a/src/mame/video/redclash.c b/src/mame/video/redclash.c index c5d327df41f..0d8ed261796 100644 --- a/src/mame/video/redclash.c +++ b/src/mame/video/redclash.c @@ -286,7 +286,7 @@ void ladybug_state::redclash_draw_bullets( bitmap_ind16 &bitmap, const rectangle /* This line can reset the LFSR to zero and disables the star generator */ void ladybug_state::redclash_set_stars_enable(UINT8 on) -{ +{ if ((m_stars_enable == 0) && (on == 1)) { m_stars_offset = 0; diff --git a/src/mame/video/spbactn.c b/src/mame/video/spbactn.c index c2213592bda..2cec9383b79 100644 --- a/src/mame/video/spbactn.c +++ b/src/mame/video/spbactn.c @@ -59,7 +59,7 @@ TILE_GET_INFO_MEMBER(spbactn_state::get_fg_tile_info) int tileno = m_fgvideoram[tile_index+0x2000]; int color = ((attr & 0x00f0)>>4); - + /* blending */ if (attr & 0x0008) color += 0x00f0; diff --git a/src/mame/video/stvvdp1.c b/src/mame/video/stvvdp1.c index 15100909b9a..98365f8a1e8 100644 --- a/src/mame/video/stvvdp1.c +++ b/src/mame/video/stvvdp1.c @@ -239,7 +239,7 @@ void saturn_state::stv_vdp1_change_framebuffers( void ) void saturn_state::stv_set_framebuffer_config( void ) { if ( m_vdp1.framebuffer_mode == STV_VDP1_TVM && - m_vdp1.framebuffer_double_interlace == STV_VDP1_DIE ) return; + m_vdp1.framebuffer_double_interlace == STV_VDP1_DIE ) return; if ( VDP1_LOG ) logerror( "Setting framebuffer config\n" ); m_vdp1.framebuffer_mode = STV_VDP1_TVM; @@ -1908,7 +1908,7 @@ void saturn_state::stv_vdp1_process_list( void ) break; case 0x0005: -// case 0x0007: // mirror? Baroque uses it, crashes for whatever reason +// case 0x0007: // mirror? Baroque uses it, crashes for whatever reason if (VDP1_LOG) logerror ("Sprite List Polyline\n"); stv2_current_sprite.ispoly = 1; stv_vdp1_draw_poly_line(*cliprect); @@ -1921,7 +1921,7 @@ void saturn_state::stv_vdp1_process_list( void ) break; case 0x0008: -// case 0x000b: // mirror? Bug 2 +// case 0x000b: // mirror? Bug 2 if (VDP1_LOG) logerror ("Sprite List Set Command for User Clipping (%d,%d),(%d,%d)\n", stv2_current_sprite.CMDXA, stv2_current_sprite.CMDYA, stv2_current_sprite.CMDXC, stv2_current_sprite.CMDYC); m_vdp1.user_cliprect.set(stv2_current_sprite.CMDXA, stv2_current_sprite.CMDXC, stv2_current_sprite.CMDYA, stv2_current_sprite.CMDYC); break; @@ -2021,7 +2021,7 @@ void saturn_state::video_update_vdp1( void ) /* TODO: Slam n Jam 96 & Cross Romance doesn't like this, investigate. */ framebuffer_changed = 1; } - // framebuffer_changed = 1; + // framebuffer_changed = 1; break; } m_vdp1.fbcr_accessed = 0; diff --git a/src/mame/video/stvvdp2.c b/src/mame/video/stvvdp2.c index 4e27cbac89f..e22ea9cd652 100644 --- a/src/mame/video/stvvdp2.c +++ b/src/mame/video/stvvdp2.c @@ -2604,9 +2604,9 @@ void saturn_state::stv_vdp2_drawgfxzoom_rgb555( myclip = clip; myclip &= dest_bmp.cliprect(); -// if( gfx ) +// if( gfx ) { -// const UINT8 *source_base = gfx->get_data(code % gfx->elements()); +// const UINT8 *source_base = gfx->get_data(code % gfx->elements()); //int sprite_screen_height = (scaley*gfx->height()+0x8000)>>16; //int sprite_screen_width = (scalex*gfx->width()+0x8000)>>16; @@ -3264,27 +3264,27 @@ void saturn_state::stv_vdp2_draw_basic_bitmap(bitmap_rgb32 &bitmap, const rectan /* intentional fall-through*/ popmessage("%d %s %s %s %s",stv2_current_tilemap.colour_depth, - stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE ? "no trans" : "trans", - stv2_current_tilemap.window_control & 6 ? "window" : "no window", - stv2_current_tilemap.colour_calculation_enabled ? "cc" : "no cc", - (stv2_current_tilemap.incx == 0x10000 && stv2_current_tilemap.incy == 0x10000) ? "no zoom" : "zoom"); + stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE ? "no trans" : "trans", + stv2_current_tilemap.window_control & 6 ? "window" : "no window", + stv2_current_tilemap.colour_calculation_enabled ? "cc" : "no cc", + (stv2_current_tilemap.incx == 0x10000 && stv2_current_tilemap.incy == 0x10000) ? "no zoom" : "zoom"); } else { switch(stv2_current_tilemap.colour_depth) { - // case 0: draw_4bpp_bitmap(bitmap,cliprect); return; + // case 0: draw_4bpp_bitmap(bitmap,cliprect); return; case 1: draw_8bpp_bitmap(bitmap,cliprect); return; case 3: draw_rgb15_bitmap(bitmap,cliprect); return; - // case 4: draw_rgb32_bitmap(bitmap,cliprect); return; + // case 4: draw_rgb32_bitmap(bitmap,cliprect); return; } /* intentional fall-through*/ popmessage("%d %s %s %s %s",stv2_current_tilemap.colour_depth, - stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE ? "no trans" : "trans", - stv2_current_tilemap.window_control & 6 ? "window" : "no window", - stv2_current_tilemap.colour_calculation_enabled ? "cc" : "no cc", - (stv2_current_tilemap.incx == 0x10000 && stv2_current_tilemap.incy == 0x10000) ? "no zoom" : "zoom"); + stv2_current_tilemap.transparency == STV_TRANSPARENCY_NONE ? "no trans" : "trans", + stv2_current_tilemap.window_control & 6 ? "window" : "no window", + stv2_current_tilemap.colour_calculation_enabled ? "cc" : "no cc", + (stv2_current_tilemap.incx == 0x10000 && stv2_current_tilemap.incy == 0x10000) ? "no zoom" : "zoom"); } /* size for n0 / n1 */ @@ -4319,11 +4319,11 @@ void saturn_state::stv_vdp2_check_tilemap_with_linescroll(bitmap_rgb32 &bitmap, // prepare linescroll flags linescroll_enable = stv2_current_tilemap.linescroll_enable; -// stv2_current_tilemap.linescroll_enable = 0; +// stv2_current_tilemap.linescroll_enable = 0; vertical_linescroll_enable = stv2_current_tilemap.vertical_linescroll_enable; -// stv2_current_tilemap.vertical_linescroll_enable = 0; +// stv2_current_tilemap.vertical_linescroll_enable = 0; linezoom_enable = stv2_current_tilemap.linezoom_enable; -// stv2_current_tilemap.linezoom_enable = 0; +// stv2_current_tilemap.linezoom_enable = 0; // prepare working clipping rectangle memcpy( &mycliprect, &cliprect, sizeof(rectangle) ); @@ -4542,8 +4542,8 @@ void saturn_state::stv_vdp2_check_tilemap(bitmap_rgb32 &bitmap, const rectangle if(stv2_current_tilemap.colour_depth == 2 && !stv2_current_tilemap.bitmap_enable) popmessage("2048 color mode used on a non-bitmap plane"); -// if(STV_VDP2_SCXDN0 || STV_VDP2_SCXDN1 || STV_VDP2_SCYDN0 || STV_VDP2_SCYDN1) -// popmessage("Fractional part scrolling write, contact MAMEdev"); +// if(STV_VDP2_SCXDN0 || STV_VDP2_SCXDN1 || STV_VDP2_SCYDN0 || STV_VDP2_SCYDN1) +// popmessage("Fractional part scrolling write, contact MAMEdev"); /* Pukunpa */ //if(STV_VDP2_SPWINEN) @@ -7023,5 +7023,3 @@ UINT32 saturn_state::screen_update_stv_vdp2(screen_device &screen, bitmap_rgb32 #endif return 0; } - - diff --git a/src/mame/video/taitoic.c b/src/mame/video/taitoic.c index 9b4edef9f02..78028da3ac5 100644 --- a/src/mame/video/taitoic.c +++ b/src/mame/video/taitoic.c @@ -1883,7 +1883,7 @@ READ_LINE_DEVICE_HANDLER( tc0080vco_flipscreen_r ) void tc0080vco_device::tc0080vco_postload() { tc0080vco_state *tc0080vco = tc0080vco_get_safe_token(this); - + tc0080vco->flipscreen = tc0080vco->scroll_ram[0] & 0x0c00; tc0080vco->tilemap[0]->set_flip(tc0080vco->flipscreen ? TILEMAP_FLIPX | TILEMAP_FLIPY : 0); @@ -3716,7 +3716,7 @@ READ8_DEVICE_HANDLER( tc0480scp_pri_reg_r ) void tc0480scp_device::tc0480scp_postload() { tc0480scp_state *tc0480scp = tc0480scp_get_safe_token(this); - + int reg; int flip = tc0480scp->ctrl[0xf] & 0x40; diff --git a/src/mame/video/tecmo_spr.c b/src/mame/video/tecmo_spr.c index c9580ee36f7..25e53edd7d0 100644 --- a/src/mame/video/tecmo_spr.c +++ b/src/mame/video/tecmo_spr.c @@ -79,7 +79,7 @@ int spbactn_draw_sprites(running_machine &machine, bitmap_ind16 &bitmap, const r attr = spriteram[offs]; int pri = (spriteram[offs] & 0x0030); -// int pri = (spriteram[offs+2] & 0x0030); +// int pri = (spriteram[offs+2] & 0x0030); if ((attr & 0x0004) && @@ -542,5 +542,3 @@ void raiga_draw_sprites( running_machine &machine, bitmap_ind16 &bitmap_bg, bitm source -= 8; } } - - diff --git a/src/mame/video/tecmo_spr.h b/src/mame/video/tecmo_spr.h index 693e933e565..8af6da82a1d 100644 --- a/src/mame/video/tecmo_spr.h +++ b/src/mame/video/tecmo_spr.h @@ -5,4 +5,3 @@ void tecmo16_draw_sprites(running_machine &machine, bitmap_ind16 &bitmap_bg, bit void gaiden_draw_sprites( running_machine &machine, bitmap_ind16 &bitmap_bg, bitmap_ind16 &bitmap_fg, bitmap_ind16 &bitmap_sp, const rectangle &cliprect, UINT16* spriteram, int sprite_sizey, int spr_offset_y, int flipscreen ); void raiga_draw_sprites( running_machine &machine, bitmap_ind16 &bitmap_bg, bitmap_ind16 &bitmap_fg, bitmap_ind16 &bitmap_sp, const rectangle &cliprect, UINT16* spriteram, int sprite_sizey, int spr_offset_y, int flipscreen ); int spbactn_draw_sprites(running_machine &machine, bitmap_ind16 &bitmap, const rectangle &cliprect, int priority, bool alt_sprites, UINT16* spriteram); - diff --git a/src/mame/video/twincobr.c b/src/mame/video/twincobr.c index e20c36db9ae..6a43d1d4644 100644 --- a/src/mame/video/twincobr.c +++ b/src/mame/video/twincobr.c @@ -21,7 +21,7 @@ MC6845_INTERFACE( twincobr_mc6845_intf ) { "screen", /* screen we are acting on */ - false, /* show border area */ + false, /* show border area */ 2, /* number of pixels per video memory address */ /* Horizontal Display programmed to 160 characters */ NULL, /* before pixel update callback */ NULL, /* row update callback */ |