summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author angelosa <lordkale4@gmail.com>2025-08-30 18:08:51 +0200
committer angelosa <lordkale4@gmail.com>2025-08-30 18:12:20 +0200
commit345f8de2a272f116a5d0d5094ae5b154fe6f275f (patch)
treee9a49b56d43ceb0c5bf65c2fe8836b7f80be28ca
parent49ca2401b16c52da1853c2f9fac3dd1667c107be (diff)
igs/goldstar.cpp: fix missing EoF, run srcclean
-rw-r--r--src/mame/igs/goldstar.cpp164
1 files changed, 82 insertions, 82 deletions
diff --git a/src/mame/igs/goldstar.cpp b/src/mame/igs/goldstar.cpp
index 09648245d9b..7d568f05fa3 100644
--- a/src/mame/igs/goldstar.cpp
+++ b/src/mame/igs/goldstar.cpp
@@ -211,7 +211,7 @@
* New Lucky 8 Lines (A900 2nd gen, Cross and Bell Bonus)
-
+
This game has new features.
The game has stops buttons (stops 1-2-3, and stop all) to stop the reels.
@@ -319,7 +319,7 @@ public:
void init_wcherry() ATTR_COLD;
void init_palnibbles() ATTR_COLD;
-
+
void p2_lamps_w(uint8_t data);
protected:
@@ -622,7 +622,7 @@ private:
uint32_t screen_update_mbstar(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
void masked_irq(int state);
-
+
void z80_io_w(offs_t offset, uint8_t data);
uint8_t z80_io_r(offs_t offset);
void tmcu_io_w(offs_t offset, uint8_t data);
@@ -631,7 +631,7 @@ private:
uint8_t m_z80_io_c0;
uint8_t tetin3_r();
-
+
TILE_GET_INFO_MEMBER(get_magical_fg_tile_info);
//virtual void machine_start() override { goldstar_state::machine_start(); m_tile_bank = 0; }
@@ -946,7 +946,7 @@ void goldstar_state::goldstar_fa00_w(uint8_t data)
m_reel_tilemap[0]->mark_all_dirty();
m_reel_tilemap[1]->mark_all_dirty();
m_reel_tilemap[2]->mark_all_dirty();
-
+
m_ticket_dispenser->motor_w(BIT(data, 7));
}
@@ -2382,8 +2382,8 @@ void cb3_state::misc_out_w(uint8_t data)
m_bgcolor = (data & 0x04) >> 2;
m_reel_tilemap[0]->mark_all_dirty();
m_reel_tilemap[1]->mark_all_dirty();
- m_reel_tilemap[2]->mark_all_dirty();
-
+ m_reel_tilemap[2]->mark_all_dirty();
+
m_ticket_dispenser->motor_w(!BIT(data,7));
}
@@ -2507,7 +2507,7 @@ void cmaster_state::pkrmast_portmap(address_map &map)
map(0x02, 0x02).portr("DSW6");
map(0x03, 0x03).portr("DSW7");
- map(0x20, 0x23).rw("ppi8255_0", FUNC(i8255_device::read), FUNC(i8255_device::write)); // DIP switches
+ map(0x20, 0x23).rw("ppi8255_0", FUNC(i8255_device::read), FUNC(i8255_device::write)); // DIP switches
map(0x24, 0x27).rw("ppi8255_1", FUNC(i8255_device::read), FUNC(i8255_device::write)); // Inputs
map(0x29, 0x29).r("aysnd", FUNC(ay8910_device::data_r));
@@ -4301,7 +4301,7 @@ static INPUT_PORTS_START( goldstar )
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("Coin A")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Coin B")
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_READ_LINE_DEVICE_MEMBER("hopper", FUNC(ticket_dispenser_device::line_r))
- PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
+ PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper Payout")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
@@ -4782,9 +4782,9 @@ static INPUT_PORTS_START( pkrmast )
PORT_START("IN1") // COIN
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("Coin A")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
- PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Coin C")
+ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Coin C")
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_NAME("Coin D")
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper Payout")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT)
@@ -4993,13 +4993,13 @@ static INPUT_PORTS_START( jkrmast )
PORT_START("IN1") // COIN
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Coin B") PORT_IMPULSE(2)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_NAME("Coin C")
- PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_NAME("Coin D") PORT_IMPULSE(2)
- PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("Coin A") PORT_IMPULSE(2)
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
+ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_NAME("Coin D") PORT_IMPULSE(2)
+ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("Coin A") PORT_IMPULSE(2)
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper Payout")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT)
-
+
PORT_START("IN2") // TEST
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
@@ -5209,7 +5209,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( cb3a )
PORT_INCLUDE( ncb3 )
-
+
PORT_MODIFY("DSW1")
PORT_DIPNAME( 0x10, 0x10, "W-Up Pay Rate" ) PORT_DIPLOCATION("DSW1:5") // OK
PORT_DIPSETTING( 0x00, "50%" )
@@ -5401,7 +5401,7 @@ static INPUT_PORTS_START( lucky8b )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_L) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("Stop 3")
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_K) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("Stop 2")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_J) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("Stop 1")
-
+
PORT_MODIFY("DSW1")
PORT_DIPNAME( 0x10, 0x10, "Double Up Game Pay Rate" ) PORT_DIPLOCATION("DSW1:5") // OK
PORT_DIPSETTING( 0x10, "60%" )
@@ -5625,11 +5625,11 @@ static INPUT_PORTS_START( lucky8t )
PORT_DIPNAME( 0x01, 0x01, "Max Bet" ) PORT_DIPLOCATION("DSW1:1")
PORT_DIPSETTING( 0x01, "64" )
PORT_DIPSETTING( 0x00, "120" )
- PORT_DIPNAME( 0x06, 0x06, "Bonus / Game Difficulty" ) PORT_DIPLOCATION("DSW1:2,3")
- PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x02, DEF_STR( Medium ) )
- PORT_DIPSETTING( 0x04, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x06, DEF_STR( Hardest ) )
+ PORT_DIPNAME( 0x06, 0x06, "Bonus / Game Difficulty" ) PORT_DIPLOCATION("DSW1:2,3")
+ PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x02, DEF_STR( Medium ) )
+ PORT_DIPSETTING( 0x04, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x06, DEF_STR( Hardest ) )
PORT_DIPNAME( 0x18, 0x18, "Double-Up Game Pay Rate" ) PORT_DIPLOCATION("DSW1:4,5") // OK
PORT_DIPSETTING( 0x18, "60%" )
PORT_DIPSETTING( 0x10, "70%" )
@@ -5638,11 +5638,11 @@ static INPUT_PORTS_START( lucky8t )
PORT_DIPNAME( 0x20, 0x20, "Reel Speed" ) PORT_DIPLOCATION("DSW1:6")
PORT_DIPSETTING( 0x20, "Normal" )
PORT_DIPSETTING( 0x00, "Fast" )
- PORT_DIPNAME( 0xc0, 0xc0, "JP Game Difficulty" ) PORT_DIPLOCATION("DSW1:7,8")
- PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x40, DEF_STR( Medium ) )
- PORT_DIPSETTING( 0x80, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0xc0, DEF_STR( Hardest ) )
+ PORT_DIPNAME( 0xc0, 0xc0, "JP Game Difficulty" ) PORT_DIPLOCATION("DSW1:7,8")
+ PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x40, DEF_STR( Medium ) )
+ PORT_DIPSETTING( 0x80, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0xc0, DEF_STR( Hardest ) )
PORT_MODIFY("DSW2")
PORT_DIPNAME( 0x03, 0x01, "Main Game Pay Rate" ) PORT_DIPLOCATION("DSW2:1,2") // OK
@@ -5653,23 +5653,23 @@ static INPUT_PORTS_START( lucky8t )
PORT_DIPNAME( 0x04, 0x04, "Double Up Game" ) PORT_DIPLOCATION("DSW2:3") // OK, use stop buttons to play
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x04, DEF_STR( On ) )
- PORT_DIPNAME( 0x08, 0x08, "Seven Crowns Difficulty" ) PORT_DIPLOCATION("DSW2:4")
- PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x08, DEF_STR( Hard ) )
+ PORT_DIPNAME( 0x08, 0x08, "Seven Crowns Difficulty" ) PORT_DIPLOCATION("DSW2:4")
+ PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x08, DEF_STR( Hard ) )
PORT_DIPUNKNOWN_DIPLOC(0x10, 0x10, "DSW2:5")
PORT_DIPUNKNOWN_DIPLOC(0x20, 0x20, "DSW2:6")
PORT_DIPUNKNOWN_DIPLOC(0x40, 0x40, "DSW2:7")
PORT_DIPUNKNOWN_DIPLOC(0x80, 0x80, "DSW2:8")
PORT_MODIFY("DSW3")
- PORT_DIPNAME( 0x03, 0x03, "Coin Value" ) PORT_DIPLOCATION("DSW3:1,2")
- PORT_DIPSETTING( 0x00, "50" )
- PORT_DIPSETTING( 0x03, "100" )
- PORT_DIPSETTING( 0x01, "200" )
- PORT_DIPSETTING( 0x02, "300" )
- PORT_DIPNAME( 0x04, 0x04, "Bell Bonus Difficulty" ) PORT_DIPLOCATION("DSW3:3")
- PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x04, DEF_STR( Hard ) )
+ PORT_DIPNAME( 0x03, 0x03, "Coin Value" ) PORT_DIPLOCATION("DSW3:1,2")
+ PORT_DIPSETTING( 0x00, "50" )
+ PORT_DIPSETTING( 0x03, "100" )
+ PORT_DIPSETTING( 0x01, "200" )
+ PORT_DIPSETTING( 0x02, "300" )
+ PORT_DIPNAME( 0x04, 0x04, "Bell Bonus Difficulty" ) PORT_DIPLOCATION("DSW3:3")
+ PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x04, DEF_STR( Hard ) )
PORT_DIPUNKNOWN_DIPLOC(0x08, 0x08, "DSW3:4")
PORT_DIPUNKNOWN_DIPLOC(0x10, 0x10, "DSW3:5")
PORT_DIPUNKNOWN_DIPLOC(0x20, 0x20, "DSW3:6")
@@ -5686,14 +5686,14 @@ static INPUT_PORTS_START( lucky8t )
PORT_DIPSETTING( 0x00, "500" )
PORT_DIPSETTING( 0x02, "1000" )
PORT_DIPSETTING( 0x01, "3000" )
- PORT_DIPNAME( 0x0c, 0x0c, "Big Jackpot Difficulty" ) PORT_DIPLOCATION("DSW4:3,4")
- PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x04, DEF_STR( Medium ) )
- PORT_DIPSETTING( 0x08, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0c, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x10, 0x00, "Tuning (Difficulty)" ) PORT_DIPLOCATION("DSW4:5")
- PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x00, DEF_STR( On ) ) // manual recommends this ON
+ PORT_DIPNAME( 0x0c, 0x0c, "Big Jackpot Difficulty" ) PORT_DIPLOCATION("DSW4:3,4")
+ PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x04, DEF_STR( Medium ) )
+ PORT_DIPSETTING( 0x08, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0c, DEF_STR( Hardest ) )
+ PORT_DIPNAME( 0x10, 0x00, "Tuning (Difficulty)" ) PORT_DIPLOCATION("DSW4:5")
+ PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x00, DEF_STR( On ) ) // manual recommends this ON
PORT_DIPUNKNOWN_DIPLOC(0x20, 0x20, "DSW4:6")
PORT_DIPUNKNOWN_DIPLOC(0x40, 0x40, "DSW4:7")
PORT_DIPUNKNOWN_DIPLOC(0x80, 0x80, "DSW4:8")
@@ -6086,7 +6086,7 @@ static INPUT_PORTS_START( luckylad ) // CHECK & FIX ME
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("hopper", FUNC(ticket_dispenser_device::line_r))
- PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
+ PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper Payout")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
@@ -7037,7 +7037,7 @@ static INPUT_PORTS_START( nfb96 )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("hopper", FUNC(ticket_dispenser_device::line_r))
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_CUSTOM ) // Hopper presence detection
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper Payout")
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper Payout")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings / Confirm")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
@@ -7743,7 +7743,7 @@ static INPUT_PORTS_START( pokonl97 )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("hopper", FUNC(ticket_dispenser_device::line_r))
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_CUSTOM ) // Hopper presence detection
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper Payout")
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper Payout")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
@@ -10279,8 +10279,8 @@ static INPUT_PORTS_START( lucky8tet )
//PORT_MODIFY("IN4") // b811
//PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER )
-
- PORT_START("DB_DIP")
+
+ PORT_START("DB_DIP")
PORT_DIPNAME(0x03, 0x03, "Max Bet") PORT_DIPLOCATION("DB_DIP:1,2") // MCU port 3.0-3.1
PORT_DIPSETTING(0x00, "8")
PORT_DIPSETTING(0x01, "16")
@@ -10946,7 +10946,7 @@ void wingco_state::system_outputc_w(uint8_t data)
if (!m_nmi_enable)
m_maincpu->set_input_line(INPUT_LINE_NMI, CLEAR_LINE);
-
+
m_ticket_dispenser->motor_w(!BIT(data, 7));
//popmessage("system_outputc_w %02x",data);
}
@@ -10966,7 +10966,7 @@ uint8_t wingco_state::tetin3_r()
{
uint8_t ret = ioport("IN3")->read();
- if(ret == 0xfe) // r > LUCKY TO TETRIS
+ if(ret == 0xfe) // r > LUCKY TO TETRIS
{
if(m_tcount++ == 2)
{
@@ -10976,7 +10976,7 @@ uint8_t wingco_state::tetin3_r()
ret = 0xfe;
}
- if(ret == 0xfd) // t > TETRIS TO LUCKY
+ if(ret == 0xfd) // t > TETRIS TO LUCKY
{
if(m_tcount++ == 2)
{
@@ -11001,11 +11001,11 @@ uint8_t wingco_state::z80_io_r(offs_t offset)
if(offset == 0xc0)
{
- logerror("z80_io_r: offset:%02x\n", offset);
+ logerror("z80_io_r: offset:%02x\n", offset);
return m_z80_io_c0;
}
-// logerror("z80_io_r: offset:%02x\n", offset); // investigar funcionalidad ports 0x31, 0x32, 0xc0.
+// logerror("z80_io_r: offset:%02x\n", offset); // investigar funcionalidad ports 0x31, 0x32, 0xc0.
return machine().rand() & 0x0f;
}
@@ -11018,7 +11018,7 @@ void wingco_state::z80_io_w(offs_t offset, uint8_t data)
void wingco_state::tmcu_io_w(offs_t offset, uint8_t data)
{
- if ((offset != 0x122) & (offset != 0x123))
+ if ((offset != 0x122) & (offset != 0x123))
logerror("tmcu_io Write: Offs:%04x - Data:%02x\n", offset, data);
}
@@ -11030,7 +11030,7 @@ uint8_t wingco_state::tmcu_io_r(offs_t offset)
void wingco_state::tmcu_p1_out(uint8_t data)
{
m_mcu_p1 = data;
-// logerror("MCU Port1:%02x\n", tmcu_p1_out);
+// logerror("MCU Port1:%02x\n", tmcu_p1_out);
}
@@ -11102,7 +11102,7 @@ void goldstar_state::goldstbl(machine_config &config)
aysnd.add_route(ALL_OUTPUTS, "mono", 0.50);
OKIM6295(config, "oki", OKI_CLOCK, okim6295_device::PIN7_HIGH).add_route(ALL_OUTPUTS, "mono", 1.0); // clock frequency & pin 7 not verified
-
+
// payout hardware
TICKET_DISPENSER(config, m_ticket_dispenser, attotime::from_msec(50));
}
@@ -11286,7 +11286,7 @@ void cb3_state::ncb3(machine_config &config)
aysnd.port_a_read_callback().set_ioport("DSW4");
aysnd.port_b_read_callback().set_ioport("DSW3");
aysnd.add_route(ALL_OUTPUTS, "mono", 0.50);
-
+
// payout hardware
TICKET_DISPENSER(config, m_ticket_dispenser, attotime::from_msec(50));
}
@@ -11365,7 +11365,7 @@ void goldstar_state::wcherry(machine_config &config)
aysnd.port_a_read_callback().set_ioport("DSW4");
aysnd.port_b_read_callback().set_ioport("DSW3");
aysnd.add_route(ALL_OUTPUTS, "mono", 0.50);
-
+
// payout hardware
TICKET_DISPENSER(config, m_ticket_dispenser, attotime::from_msec(50));
}
@@ -11407,7 +11407,7 @@ void cmaster_state::cm(machine_config &config)
aysnd.port_a_read_callback().set_ioport("DSW4");
aysnd.port_b_read_callback().set_ioport("DSW5");
aysnd.add_route(ALL_OUTPUTS, "mono", 0.50);
-
+
// payout hardware
TICKET_DISPENSER(config, m_ticket_dispenser, attotime::from_msec(50));
}
@@ -11902,7 +11902,7 @@ void wingco_state::magodds(machine_config &config)
aysnd.port_a_write_callback().set(FUNC(wingco_state::ay8910_outputa_w));
aysnd.port_b_write_callback().set(FUNC(wingco_state::ay8910_outputb_w));
aysnd.add_route(ALL_OUTPUTS, "mono", 0.80);
-
+
// payout hardware
TICKET_DISPENSER(config, m_ticket_dispenser, attotime::from_msec(50));
@@ -11942,7 +11942,7 @@ void goldstar_state::kkotnoli(machine_config &config)
SPEAKER(config, "mono").front_center();
SN76489(config, "snsnd", PSG_CLOCK).add_route(ALL_OUTPUTS, "mono", 0.80);
-
+
}
@@ -12035,7 +12035,7 @@ void wingco_state::wcat3(machine_config &config)
aysnd.port_a_write_callback().set(FUNC(wingco_state::ay8910_outputa_w));
aysnd.port_b_write_callback().set(FUNC(wingco_state::ay8910_outputb_w));
aysnd.add_route(ALL_OUTPUTS, "mono", 0.50);
-
+
// payout hardware
TICKET_DISPENSER(config, m_ticket_dispenser, attotime::from_msec(50));
}
@@ -12079,7 +12079,7 @@ void cmaster_state::amcoe1(machine_config &config)
aysnd.add_route(ALL_OUTPUTS, "mono", 0.50);
OKIM6295(config, "oki", OKI_CLOCK, okim6295_device::PIN7_HIGH).add_route(ALL_OUTPUTS, "mono", 1.0); // clock frequency & pin 7 not verified
-
+
// payout hardware
TICKET_DISPENSER(config, m_ticket_dispenser, attotime::from_msec(50));
}
@@ -12131,7 +12131,7 @@ void cmaster_state::amcoe2(machine_config &config)
aysnd.port_a_read_callback().set_ioport("DSW4");
aysnd.port_b_read_callback().set_ioport("DSW5");
aysnd.add_route(ALL_OUTPUTS, "mono", 2.00); // analyzed for clips
-
+
// payout hardware
TICKET_DISPENSER(config, m_ticket_dispenser, attotime::from_msec(50));
}
@@ -12219,7 +12219,7 @@ void cmaster_state::pkrmast(machine_config &config)
m_ppi[1]->in_pa_callback().set_ioport("IN2");
m_ppi[1]->in_pb_callback().set_ioport("IN0");
m_ppi[1]->in_pc_callback().set_ioport("IN1");
-
+
// video hardware
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
screen.set_refresh_hz(60);
@@ -12238,7 +12238,7 @@ void cmaster_state::pkrmast(machine_config &config)
aysnd.port_a_read_callback().set_ioport("DSW4");
aysnd.port_b_read_callback().set_ioport("DSW5");
aysnd.add_route(ALL_OUTPUTS, "mono", 0.50);
-
+
// payout hardware
TICKET_DISPENSER(config, m_ticket_dispenser, attotime::from_msec(50));
}
@@ -12262,7 +12262,7 @@ void cmaster_state::crazybon(machine_config &config)
pkrmast(config);
m_maincpu->set_addrmap(AS_IO, &cmaster_state::crazybon_portmap);
-
+
I8255A(config.replace(), m_ppi[0]);
I8255A(config.replace(), m_ppi[1]);
@@ -15000,7 +15000,7 @@ ROM_START( jkrmast )
ROM_END
// this set is version 512, but the id at bottom of the program says v513
-// sometimes fg colors aren't accurate, and in the bonus stages, reels bg is always white.
+// sometimes fg colors aren't accurate, and in the bonus stages, reels bg is always white.
ROM_START( jkrmasta )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "pid-513.u5", 0x4000, 0x4000, CRC(12fa7ea0) SHA1(71ee141fe01ae2ce9913620b52c54cf445fd0b00) )
@@ -15026,7 +15026,7 @@ ROM_END
// this set is an alt version 512, but the id at bottom of the program says v512
// gfx needs work to properly hide the bg tilemap when you trigger settings or coin in when title or info.
-// if you coin or enter setting whilst the reels demo, all is ok.
+// if you coin or enter setting whilst the reels demo, all is ok.
ROM_START( jkrmastb )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "v512_27c512.bin", 0x4000, 0x4000, CRC(22aa8b9f) SHA1(0e06f6491d6c1e74ba7e721866b10d89c4be2e7c) )
@@ -22841,17 +22841,17 @@ void cmaster_state::init_jkrmast()
for (int addr = 0; addr < 0x80; addr++)
{
- uint8_t swapped;
+ uint8_t swapped;
uint8_t row = (addr >> 3) & 0x0f;
uint8_t offset = addr & 0x07;
swapped = (row_map[row] << 3) | offset;
- buff[swapped] = prom[addr];
+ buff[swapped] = prom[addr];
}
for (int addr = 0; addr < 0x80; addr++)
{
prom[addr] = buff[addr];
- }
+ }
init_palnibbles();
}
@@ -22912,18 +22912,18 @@ void cmaster_state::init_pkrmast()
for (int addr = 0; addr < 0x80; addr++)
{
- uint8_t swapped;
+ uint8_t swapped;
uint8_t row = (addr >> 3) & 0x0f;
uint8_t offset = addr & 0x07;
swapped = (row_map[row] << 3) | offset;
- buff[swapped] = prom[addr];
+ buff[swapped] = prom[addr];
}
for (int addr = 0; addr < 0x80; addr++)
{
prom[addr] = buff[addr];
- }
-
+ }
+
init_palnibbles();
}
@@ -24053,7 +24053,7 @@ void wingco_state::init_lucky8p()
void wingco_state::init_lucky8r()
{
uint8_t *rom = memregion("maincpu")->base();
-
+
// bypass protection
rom[0x4340] = 0x20;
rom[0x4364] = 0x08;
@@ -24067,7 +24067,7 @@ void wingco_state::init_lucky8r()
void wingco_state::init_lucky8s()
{
uint8_t *rom = memregion("maincpu")->base();
-
+
// bypass protection
rom[0x4772] = 0x08;
rom[0x47a8] = 0x02;
@@ -25270,4 +25270,4 @@ GAMEL( 1988, lucky8tet, lucky8, lucky8tet, lucky8tet, wingco_state, init_l8t
/* other possible stealth sets:
- cmv4a ---> see the 1fxx zone. put a bp in 1f9f to see the loop.
the game has tetris graphics inside.
-*/ \ No newline at end of file
+*/