mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +03:00
Norautp.cpp driver: More cleanups...
This commit is contained in:
parent
0944bcd0d5
commit
bb39af98cb
@ -576,9 +576,9 @@
|
||||
#define DPHL_CPU_CLOCK DPHL_MASTER_CLOCK / 9 // 2 MHz (from 8224)
|
||||
|
||||
|
||||
/*************************
|
||||
* Video Hardware *
|
||||
*************************/
|
||||
/*********************************************
|
||||
* Video Hardware *
|
||||
*********************************************/
|
||||
|
||||
void norautp_state::video_start()
|
||||
{
|
||||
@ -592,11 +592,11 @@ uint32_t norautp_state::screen_update_norautp(screen_device &screen, bitmap_ind1
|
||||
|
||||
count = 0;
|
||||
|
||||
bitmap.fill(m_palette->pen(0), cliprect); //black pen
|
||||
bitmap.fill(m_palette->pen(0), cliprect); // black pen
|
||||
|
||||
for(y = 0; y < 8; y++)
|
||||
{
|
||||
/* Double width, displaced 8 pixels in X */
|
||||
// Double width, displaced 8 pixels in X
|
||||
if(y == 2 || (y >= 4 && y < 6))
|
||||
{
|
||||
for(x = 0; x < 16; x++)
|
||||
@ -629,21 +629,21 @@ uint32_t norautp_state::screen_update_norautp(screen_device &screen, bitmap_ind1
|
||||
|
||||
void norautp_state::norautp_palette(palette_device &palette) const
|
||||
{
|
||||
/* 1st gfx bank */
|
||||
palette.set_pen_color(0, rgb_t(0x00, 0x00, 0xff)); /* blue */
|
||||
palette.set_pen_color(1, rgb_t(0xff, 0xff, 0x00)); /* yellow */
|
||||
palette.set_pen_color(2, rgb_t(0x00, 0x00, 0xff)); /* blue */
|
||||
palette.set_pen_color(3, rgb_t(0xff, 0xff, 0xff)); /* white */
|
||||
palette.set_pen_color(4, rgb_t(0xff, 0xff, 0xff)); /* white */
|
||||
palette.set_pen_color(5, rgb_t(0xff, 0x00, 0x00)); /* red */
|
||||
palette.set_pen_color(6, rgb_t(0xff, 0xff, 0xff)); /* white */
|
||||
palette.set_pen_color(7, rgb_t(0x00, 0x00, 0x00)); /* black */
|
||||
// 1st gfx bank
|
||||
palette.set_pen_color(0, rgb_t(0x00, 0x00, 0xff)); // blue
|
||||
palette.set_pen_color(1, rgb_t(0xff, 0xff, 0x00)); // yellow
|
||||
palette.set_pen_color(2, rgb_t(0x00, 0x00, 0xff)); // blue
|
||||
palette.set_pen_color(3, rgb_t(0xff, 0xff, 0xff)); // white
|
||||
palette.set_pen_color(4, rgb_t(0xff, 0xff, 0xff)); // white
|
||||
palette.set_pen_color(5, rgb_t(0xff, 0x00, 0x00)); // red
|
||||
palette.set_pen_color(6, rgb_t(0xff, 0xff, 0xff)); // white
|
||||
palette.set_pen_color(7, rgb_t(0x00, 0x00, 0x00)); // black
|
||||
}
|
||||
|
||||
|
||||
/*************************
|
||||
* R/W Handlers *
|
||||
*************************/
|
||||
/*******************************************
|
||||
* R/W Handlers *
|
||||
*******************************************/
|
||||
|
||||
void norautp_state::mainlamps_w(uint8_t data)
|
||||
{
|
||||
@ -660,14 +660,14 @@ void norautp_state::mainlamps_w(uint8_t data)
|
||||
-x-- ---- * HOLD 5 lamp.
|
||||
x--- ---- * CANCEL lamp.
|
||||
*/
|
||||
m_lamps[0] = BIT(data, 0); /* CHANGE CARD lamp */
|
||||
m_lamps[1] = BIT(data, 1); /* SAVE / HALF GAMBLE lamp */
|
||||
m_lamps[2] = BIT(data, 2); /* HOLD 1 lamp */
|
||||
m_lamps[3] = BIT(data, 3); /* HOLD 2 lamp */
|
||||
m_lamps[4] = BIT(data, 4); /* HOLD 3 lamp */
|
||||
m_lamps[5] = BIT(data, 5); /* HOLD 4 lamp */
|
||||
m_lamps[6] = BIT(data, 6); /* HOLD 5 lamp */
|
||||
m_lamps[7] = BIT(data, 7); /* CANCEL lamp */
|
||||
m_lamps[0] = BIT(data, 0); // CHANGE CARD lamp
|
||||
m_lamps[1] = BIT(data, 1); // SAVE / HALF GAMBLE lamp
|
||||
m_lamps[2] = BIT(data, 2); // HOLD 1 lamp
|
||||
m_lamps[3] = BIT(data, 3); // HOLD 2 lamp
|
||||
m_lamps[4] = BIT(data, 4); // HOLD 3 lamp
|
||||
m_lamps[5] = BIT(data, 5); // HOLD 4 lamp
|
||||
m_lamps[6] = BIT(data, 6); // HOLD 5 lamp
|
||||
m_lamps[7] = BIT(data, 7); // CANCEL lamp
|
||||
|
||||
// popmessage("lamps: %02x", data);
|
||||
}
|
||||
@ -685,10 +685,10 @@ void norautp_state::soundlamps_w(uint8_t data)
|
||||
xxxx ---- * Discrete Sound Lines.
|
||||
*/
|
||||
|
||||
m_lamps[8] = BIT(data, 0); /* DEAL / DRAW lamp */
|
||||
m_lamps[9] = BIT(data, 1); /* BET / COLLECT lamp */
|
||||
m_lamps[8] = BIT(data, 0); // DEAL / DRAW lamp
|
||||
m_lamps[9] = BIT(data, 1); // BET / COLLECT lamp
|
||||
|
||||
/* the 4 MSB are for discrete sound */
|
||||
// the 4 MSB are for discrete sound
|
||||
m_discrete->write(NORAUTP_SND_EN, (data >> 7) & 0x01);
|
||||
m_discrete->write(NORAUTP_FREQ_DATA, (data >> 4) & 0x07);
|
||||
|
||||
@ -710,12 +710,12 @@ void norautp_state::counterlamps_w(uint8_t data)
|
||||
-x-- ---- + Coin counter related.
|
||||
x--- ---- + DEFLECT (always activated).
|
||||
*/
|
||||
m_lamps[10] = BIT(data, 0); /* HI lamp */
|
||||
m_lamps[11] = BIT(data, 1); /* LO lamp */
|
||||
m_lamps[10] = BIT(data, 0); // HI lamp
|
||||
m_lamps[11] = BIT(data, 1); // LO lamp
|
||||
|
||||
machine().bookkeeping().coin_counter_w(0, data & 0x10); /* Coin1/3 counter */
|
||||
machine().bookkeeping().coin_counter_w(1, data & 0x20); /* Coin2 counter */
|
||||
machine().bookkeeping().coin_counter_w(2, data & 0x08); /* Payout pulse */
|
||||
machine().bookkeeping().coin_counter_w(0, data & 0x10); // Coin1/3 counter
|
||||
machine().bookkeeping().coin_counter_w(1, data & 0x20); // Coin2 counter
|
||||
machine().bookkeeping().coin_counter_w(2, data & 0x08); // Payout pulse
|
||||
}
|
||||
|
||||
|
||||
@ -731,7 +731,7 @@ void norautp_state::counterlamps_w(uint8_t data)
|
||||
|
||||
//void norautp_state::ppi2_portc_w(uint8_t data)
|
||||
//{
|
||||
// /* PC0-PC2 don't seems to be connected to any output */
|
||||
// // PC0-PC2 don't seems to be connected to any output
|
||||
//}
|
||||
|
||||
|
||||
@ -752,7 +752,7 @@ TIMER_CALLBACK_MEMBER(norautp_state::ppi2_ack)
|
||||
}
|
||||
|
||||
#ifdef UNUSED_FUNCTION // old implementation
|
||||
/*game waits for /OBF signal (bit 7) to be set.*/
|
||||
// game waits for /OBF signal (bit 7) to be set.
|
||||
uint8_t norautp_state::test_r()
|
||||
{
|
||||
return 0xff;
|
||||
@ -767,9 +767,9 @@ void norautp_state::vram_data_w(uint8_t data)
|
||||
{
|
||||
m_np_vram[m_np_addr] = data & 0xff;
|
||||
|
||||
/* trigger 8255-2 port C bit 7 (/OBF) */
|
||||
// m_ppi8255_2->set_pc_bit(7, 0);
|
||||
// m_ppi8255_2->set_pc_bit(7, 1);
|
||||
// trigger 8255-2 port C bit 7 (/OBF)
|
||||
// m_ppi8255_2->set_pc_bit(7, 0);
|
||||
// m_ppi8255_2->set_pc_bit(7, 1);
|
||||
|
||||
}
|
||||
|
||||
@ -779,16 +779,16 @@ void norautp_state::vram_addr_w(uint8_t data)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* game waits for bit 4 (0x10) to be reset.*/
|
||||
// game waits for bit 4 (0x10) to be reset.
|
||||
uint8_t norautp_state::test2_r()
|
||||
{
|
||||
return 0x00;
|
||||
}
|
||||
|
||||
|
||||
/*************************
|
||||
* Memory Map Information *
|
||||
*************************/
|
||||
/*********************************************
|
||||
* Memory Map Information *
|
||||
*********************************************/
|
||||
/*
|
||||
|
||||
CPU & PPI settings by set...
|
||||
@ -848,7 +848,7 @@ void norautp_state::norautp_map(address_map &map)
|
||||
{
|
||||
map.global_mask(0x3fff);
|
||||
map(0x0000, 0x1fff).rom();
|
||||
map(0x2000, 0x27ff).ram().share("nvram"); /* 6116 */
|
||||
map(0x2000, 0x27ff).ram().share("nvram"); // 6116
|
||||
}
|
||||
|
||||
void norautp_state::decrypted_opcodes_map(address_map &map)
|
||||
@ -894,28 +894,28 @@ void norautp_state::norautxp_map(address_map &map)
|
||||
{
|
||||
// map.global_mask(~0x4000);
|
||||
map.global_mask(0x7fff);
|
||||
map(0x0000, 0x3fff).rom(); /* need to be checked */
|
||||
map(0x6000, 0x67ff).ram().share("nvram"); /* HM6116 */
|
||||
map(0x0000, 0x3fff).rom(); // need to be checked
|
||||
map(0x6000, 0x67ff).ram().share("nvram"); // HM6116
|
||||
}
|
||||
|
||||
void norautp_state::norautx4_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x3fff).rom();
|
||||
map(0x6000, 0x67ff).ram().share("nvram"); /* 6116 */
|
||||
map(0x6000, 0x67ff).ram().share("nvram"); // 6116
|
||||
}
|
||||
|
||||
#ifdef UNUSED_CODE
|
||||
void norautp_state::norautx8_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x7fff).rom(); /* need to be checked */
|
||||
map(0xc000, 0xc7ff).ram().share("nvram"); /* 6116 */
|
||||
map(0x0000, 0x7fff).rom(); // need to be checked
|
||||
map(0xc000, 0xc7ff).ram().share("nvram"); // 6116
|
||||
}
|
||||
#endif
|
||||
|
||||
void norautp_state::noraut3_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x3fff).rom().region("maincpu", 0x4000);
|
||||
map(0x6000, 0x67ff).ram().share("nvram"); /* 6116 */
|
||||
map(0x6000, 0x67ff).ram().share("nvram"); // 6116
|
||||
map(0x8000, 0xbfff).rom().region("maincpu", 0xc000);
|
||||
}
|
||||
|
||||
@ -929,7 +929,7 @@ void norautp_state::kimble_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0xbfff).rom();
|
||||
map(0xc000, 0xc7ff).ram().share("nvram");
|
||||
map(0xc800, 0xc9ff).ram(); /* working RAM? */
|
||||
map(0xc800, 0xc9ff).ram(); // working RAM?
|
||||
}
|
||||
|
||||
#ifdef UNUSED_CODE
|
||||
@ -942,14 +942,14 @@ void norautp_state::norautxp_portmap(address_map &map)
|
||||
void norautp_state::newhilop_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x1fff).rom();
|
||||
map(0xd000, 0xd7ff).ram().share("nvram"); /* 6116 */
|
||||
map(0xd000, 0xd7ff).ram().share("nvram"); // 6116
|
||||
}
|
||||
|
||||
void norautp_state::cgidjp_map(address_map &map)
|
||||
{
|
||||
map.global_mask(0x3fff);
|
||||
map(0x0000, 0x1fff).rom().region("maincpu", 0x2000);
|
||||
map(0x2000, 0x27ff).ram().share("nvram"); /* 6116 */
|
||||
map(0x2000, 0x27ff).ram().share("nvram"); // 6116
|
||||
}
|
||||
|
||||
void norautp_state::cgidjp_opcodes_map(address_map &map)
|
||||
@ -958,13 +958,14 @@ void norautp_state::cgidjp_opcodes_map(address_map &map)
|
||||
map(0x0000, 0x1fff).rom().region("maincpu", 0);
|
||||
}
|
||||
|
||||
/*********** 8080 based **********/
|
||||
|
||||
/*************** 8080 based **************/
|
||||
|
||||
void norautp_state::dphl_map(address_map &map)
|
||||
{
|
||||
map.global_mask(0x7fff); /* A15 not connected */
|
||||
map.global_mask(0x7fff); // A15 not connected
|
||||
map(0x0000, 0x3fff).rom();
|
||||
map(0x5000, 0x53ff).ram().share("nvram"); /* should be 2x 0x100 segments (4x 2111) */
|
||||
map(0x5000, 0x53ff).ram().share("nvram"); // should be 2x 0x100 segments (4x 2111)
|
||||
}
|
||||
|
||||
void norautp_state::dphla_map(address_map &map)
|
||||
@ -1010,24 +1011,24 @@ void norautp_state::kimbldhl_map(address_map &map)
|
||||
|
||||
void norautp_state::drhl_map(address_map &map)
|
||||
{
|
||||
map.global_mask(0x7fff); /* A15 not connected */
|
||||
map.global_mask(0x7fff); // A15 not connected
|
||||
map(0x0000, 0x3fff).rom();
|
||||
map(0x5000, 0x53ff).ram().share("nvram");
|
||||
map(0x5400, 0x57ff).ram();
|
||||
}
|
||||
|
||||
|
||||
/*************************
|
||||
* Input Ports *
|
||||
*************************/
|
||||
/*********************************************
|
||||
* Input Ports *
|
||||
*********************************************/
|
||||
|
||||
static INPUT_PORTS_START( norautp )
|
||||
|
||||
PORT_START("IN0")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Bet / Collect")
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) /* Coin A */
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) /* Coin B */
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) // Coin A
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) // Coin B
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_K) PORT_NAME("IN0-5")
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Hi")
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Lo")
|
||||
@ -1041,14 +1042,13 @@ static INPUT_PORTS_START( norautp )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2) /* Coin C */
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2) // Coin C
|
||||
|
||||
PORT_START("IN2") /* Only 3 lines: PPI-2; PC0-PC2 */
|
||||
PORT_START("IN2") // Only 3 lines: PPI-2; PC0-PC2
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_J) PORT_NAME("IN2-1")
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Readout")
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_L) PORT_NAME("Low Level Hopper")
|
||||
|
||||
|
||||
PORT_START("DSW1")
|
||||
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
|
||||
@ -1076,13 +1076,14 @@ static INPUT_PORTS_START( norautp )
|
||||
PORT_DIPSETTING( 0x00, "10 Pence" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( norautrh )
|
||||
|
||||
PORT_START("IN0")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Bet / Change Card")
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) /* Coin A */
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) /* Coin B */
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) // Coin A
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) // Coin B
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Readout")
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Hi")
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Lo")
|
||||
@ -1096,14 +1097,13 @@ static INPUT_PORTS_START( norautrh )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) /* Coin C for other games */
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) // Coin C for other games
|
||||
|
||||
PORT_START("IN2") /* Only 3 lines: PPI-2; PC0-PC2 */
|
||||
PORT_START("IN2") // Only 3 lines: PPI-2; PC0-PC2
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
|
||||
PORT_START("DSW1")
|
||||
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW1:8")
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
|
||||
@ -1130,13 +1130,14 @@ static INPUT_PORTS_START( norautrh )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( norautpn )
|
||||
|
||||
PORT_START("IN0")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Start")
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Bet / Change Card")
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) /* Coin A */
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) /* Coin B */
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) // Coin A
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) // Coin B
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Readout")
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Hi")
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Lo")
|
||||
@ -1152,12 +1153,11 @@ static INPUT_PORTS_START( norautpn )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_CANCEL )
|
||||
|
||||
PORT_START("IN2") /* Only 3 lines: PPI-2; PC0-PC2 */
|
||||
PORT_START("IN2") // Only 3 lines: PPI-2; PC0-PC2
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
|
||||
PORT_START("DSW1")
|
||||
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
|
||||
@ -1185,6 +1185,7 @@ static INPUT_PORTS_START( norautpn )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( mainline )
|
||||
|
||||
PORT_INCLUDE( norautrh )
|
||||
@ -1197,6 +1198,7 @@ static INPUT_PORTS_START( mainline )
|
||||
PORT_DIPSETTING( 0x80, "A=50; B=25" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( ndxron10 )
|
||||
|
||||
PORT_INCLUDE( norautpn )
|
||||
@ -1207,6 +1209,7 @@ static INPUT_PORTS_START( ndxron10 )
|
||||
PORT_DIPSETTING( 0x00, "A=1; B=25" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( norautkl )
|
||||
|
||||
PORT_INCLUDE( norautrh )
|
||||
@ -1266,7 +1269,6 @@ static INPUT_PORTS_START( cdrawpkr )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_G) PORT_NAME("IN2-02")
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("IN2-04")
|
||||
|
||||
|
||||
PORT_START("DSW1")
|
||||
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
|
||||
@ -1294,6 +1296,7 @@ static INPUT_PORTS_START( cdrawpkr )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( noraut3 )
|
||||
|
||||
PORT_INCLUDE( norautp )
|
||||
@ -1335,9 +1338,9 @@ static INPUT_PORTS_START( noraut3 )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
/*************************
|
||||
* Graphics Layouts *
|
||||
*************************/
|
||||
/*********************************************
|
||||
* Graphics Layouts *
|
||||
*********************************************/
|
||||
|
||||
static const gfx_layout charlayout =
|
||||
/*
|
||||
@ -1368,64 +1371,64 @@ static const gfx_layout charlayout32x32 =
|
||||
};
|
||||
|
||||
|
||||
/******************************
|
||||
* Graphics Decode Information *
|
||||
******************************/
|
||||
/**************************************************
|
||||
* Graphics Decode Information *
|
||||
**************************************************/
|
||||
|
||||
/* GFX are stored in the 2nd half... Maybe the HW could handle 2 bitplanes? */
|
||||
// GFX are stored in the 2nd half... Maybe the HW could handle 2 bitplanes?
|
||||
static GFXDECODE_START( gfx_norautp )
|
||||
GFXDECODE_ENTRY( "gfx", 0x800, charlayout, 0, 4 )
|
||||
GFXDECODE_ENTRY( "gfx", 0x800, charlayout32x32, 0, 4 )
|
||||
GFXDECODE_END
|
||||
|
||||
|
||||
/*************************
|
||||
* Machine Drivers *
|
||||
*************************/
|
||||
/*********************************************
|
||||
* Machine Drivers *
|
||||
*********************************************/
|
||||
|
||||
void norautp_state::noraut_base(machine_config &config)
|
||||
{
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
Z80(config, m_maincpu, NORAUT_CPU_CLOCK);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::norautp_map);
|
||||
m_maincpu->set_addrmap(AS_IO, &norautp_state::norautp_portmap);
|
||||
|
||||
NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0); /* doesn't work if placed at derivative drivers */
|
||||
NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0); // doesn't work if placed at derivative drivers
|
||||
|
||||
I8255(config, m_ppi8255[0], 0);
|
||||
/* (60-63) Mode 0 - Port A set as input */
|
||||
// (60-63) Mode 0 - Port A set as input
|
||||
m_ppi8255[0]->in_pa_callback().set_ioport("DSW1");
|
||||
m_ppi8255[0]->out_pb_callback().set(FUNC(norautp_state::mainlamps_w));
|
||||
m_ppi8255[0]->out_pc_callback().set(FUNC(norautp_state::counterlamps_w));
|
||||
|
||||
I8255(config, m_ppi8255[1], 0);
|
||||
/* (a0-a3) Mode 0 - Ports A & B set as input */
|
||||
// (a0-a3) Mode 0 - Ports A & B set as input
|
||||
m_ppi8255[1]->in_pa_callback().set_ioport("IN0");
|
||||
m_ppi8255[1]->in_pb_callback().set_ioport("IN1");
|
||||
m_ppi8255[1]->out_pc_callback().set(FUNC(norautp_state::soundlamps_w));
|
||||
|
||||
I8255(config, m_ppi8255[2], 0);
|
||||
/* (c0-c3) Group A Mode 2 (5-lines handshacked bidirectional port)
|
||||
Group B Mode 0, output; (see below for lines PC0-PC2) */
|
||||
// (c0-c3) Group A Mode 2 (5-lines handshacked bidirectional port).
|
||||
// PPI-2 is configured as mixed mode2 and mode0 output.
|
||||
// It means that port A should be bidirectional and port B just as output.
|
||||
// Port C high as hshk regs, and PC0-PC2 as input (norautp, norautjp) or output (other sets)
|
||||
// Group B Mode 0, output; (see below for lines PC0-PC2)
|
||||
m_ppi8255[2]->in_pc_callback().set_ioport("IN2");
|
||||
m_ppi8255[2]->out_pc_callback().set(FUNC(norautp_state::ppi2_obf_w)).bit(7);
|
||||
/* PPI-2 is configured as mixed mode2 and mode0 output.
|
||||
It means that port A should be bidirectional and port B just as output.
|
||||
Port C high as hshk regs, and PC0-PC2 as input (norautp, norautjp) or output (other sets). */
|
||||
|
||||
/* video hardware */
|
||||
// video hardware
|
||||
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
|
||||
m_screen->set_refresh_hz(60);
|
||||
m_screen->set_vblank_time(ATTOSECONDS_IN_USEC(0));
|
||||
m_screen->set_size(32*16, 32*16);
|
||||
m_screen->set_visarea(2*16, 31*16-1, (0*16) + 8, 16*16-1); /* the hardware clips the top 8 pixels */
|
||||
m_screen->set_visarea(2*16, 31*16-1, (0*16) + 8, 16*16-1); // the hardware clips the top 8 pixels
|
||||
m_screen->set_screen_update(FUNC(norautp_state::screen_update_norautp));
|
||||
m_screen->set_palette(m_palette);
|
||||
|
||||
GFXDECODE(config, m_gfxdecode, m_palette, gfx_norautp);
|
||||
PALETTE(config, m_palette, FUNC(norautp_state::norautp_palette), 8);
|
||||
|
||||
/* sound hardware */
|
||||
// sound hardware
|
||||
SPEAKER(config, "mono").front_center();
|
||||
DISCRETE(config, m_discrete, norautp_discrete);
|
||||
m_discrete->add_route(ALL_OUTPUTS, "mono", 1.0);
|
||||
@ -1435,7 +1438,7 @@ void norautp_state::norautp(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold));
|
||||
}
|
||||
|
||||
@ -1450,10 +1453,10 @@ void norautp_state::norautpl(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold));
|
||||
|
||||
/* sound hardware */
|
||||
// sound hardware
|
||||
m_discrete->set_intf(kimble_discrete);
|
||||
}
|
||||
|
||||
@ -1461,7 +1464,7 @@ void norautp_state::norautxp(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::norautxp_map);
|
||||
m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold));
|
||||
}
|
||||
@ -1470,7 +1473,7 @@ void norautp_state::nortest1(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::nortest1_map);
|
||||
m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold));
|
||||
}
|
||||
@ -1479,7 +1482,7 @@ void norautp_state::norautx4(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::norautx4_map);
|
||||
m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold));
|
||||
}
|
||||
@ -1489,7 +1492,7 @@ void norautp_state::norautx8(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::norautx8_map);
|
||||
m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold));
|
||||
}
|
||||
@ -1499,7 +1502,7 @@ void norautp_state::noraut3(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::noraut3_map);
|
||||
m_maincpu->set_addrmap(AS_OPCODES, &norautp_state::noraut3_decrypted_opcodes_map);
|
||||
m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold));
|
||||
@ -1509,11 +1512,11 @@ void norautp_state::kimble(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::kimble_map);
|
||||
m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold));
|
||||
|
||||
/* sound hardware */
|
||||
// sound hardware
|
||||
m_discrete->set_intf(kimble_discrete);
|
||||
}
|
||||
|
||||
@ -1521,7 +1524,7 @@ void norautp_state::newhilop(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::newhilop_map);
|
||||
// m_maincpu->set_addrmap(AS_IO, &norautp_state::newhilop_portmap);
|
||||
m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold));
|
||||
@ -1531,7 +1534,7 @@ void norautp_state::cgidjp(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::cgidjp_map);
|
||||
m_maincpu->set_addrmap(AS_OPCODES, &norautp_state::cgidjp_opcodes_map);
|
||||
m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold));
|
||||
@ -1541,23 +1544,23 @@ void norautp_state::cdrawpkr(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
m_maincpu->set_vblank_int("screen", FUNC(norautp_state::irq0_line_hold));
|
||||
m_screen->set_visarea(5*8, 61*8-1, (0*16) + 8, 16*16-1);
|
||||
}
|
||||
|
||||
/********** 8080 based **********/
|
||||
/************** 8080 based **************/
|
||||
|
||||
void norautp_state::dphl(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
I8080(config.replace(), m_maincpu, DPHL_CPU_CLOCK);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::dphl_map);
|
||||
m_maincpu->set_addrmap(AS_IO, &norautp_state::norautp_portmap);
|
||||
|
||||
/* sound hardware */
|
||||
// sound hardware
|
||||
m_discrete->set_intf(dphl_discrete);
|
||||
}
|
||||
|
||||
@ -1565,12 +1568,12 @@ void norautp_state::dphla(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
I8080(config.replace(), m_maincpu, DPHL_CPU_CLOCK);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::dphla_map);
|
||||
m_maincpu->set_addrmap(AS_IO, &norautp_state::norautp_portmap);
|
||||
|
||||
/* sound hardware */
|
||||
// sound hardware
|
||||
m_discrete->set_intf(dphl_discrete);
|
||||
}
|
||||
|
||||
@ -1578,12 +1581,12 @@ void norautp_state::kimbldhl(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
I8080(config.replace(), m_maincpu, DPHL_CPU_CLOCK);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::kimbldhl_map);
|
||||
m_maincpu->set_addrmap(AS_IO, &norautp_state::norautp_portmap);
|
||||
|
||||
/* sound hardware */
|
||||
// sound hardware
|
||||
m_discrete->set_intf(kimble_discrete);
|
||||
}
|
||||
|
||||
@ -1591,12 +1594,12 @@ void norautp_state::dphltest(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
I8080(config.replace(), m_maincpu, DPHL_CPU_CLOCK);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::dphltest_map);
|
||||
m_maincpu->set_addrmap(AS_IO, &norautp_state::norautp_portmap);
|
||||
|
||||
/* sound hardware */
|
||||
// sound hardware
|
||||
m_discrete->set_intf(dphl_discrete);
|
||||
}
|
||||
|
||||
@ -1604,12 +1607,12 @@ void norautp_state::drhl(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
I8080(config.replace(), m_maincpu, DPHL_CPU_CLOCK);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::drhl_map);
|
||||
m_maincpu->set_addrmap(AS_IO, &norautp_state::norautp_portmap);
|
||||
|
||||
/* sound hardware */
|
||||
// sound hardware
|
||||
m_discrete->set_intf(dphl_discrete);
|
||||
}
|
||||
|
||||
@ -1617,25 +1620,25 @@ void norautp_state::ssjkrpkr(machine_config &config)
|
||||
{
|
||||
noraut_base(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
// basic machine hardware
|
||||
I8080(config.replace(), m_maincpu, DPHL_CPU_CLOCK);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &norautp_state::ssjkrpkr_map);
|
||||
m_maincpu->set_addrmap(AS_IO, &norautp_state::norautp_portmap);
|
||||
|
||||
/* sound hardware */
|
||||
// sound hardware
|
||||
m_discrete->set_intf(dphl_discrete);
|
||||
}
|
||||
|
||||
|
||||
/*************************
|
||||
* Rom Load *
|
||||
*************************/
|
||||
/*********************************************
|
||||
* Rom Load *
|
||||
*********************************************/
|
||||
|
||||
/*************************************** Z80 sets ***************************************/
|
||||
/* */
|
||||
/* The following ones are 'Draw Poker HI-LO' type, running in a Z80 based hardware */
|
||||
/* */
|
||||
/****************************************************************************************/
|
||||
//*************************************** Z80 sets ***************************************
|
||||
//* *
|
||||
//* The following ones are 'Draw Poker HI-LO' type, running in a Z80 based hardware *
|
||||
//* *
|
||||
//****************************************************************************************
|
||||
|
||||
/*
|
||||
|
||||
@ -1747,7 +1750,7 @@ ROM_END
|
||||
*/
|
||||
|
||||
ROM_START( norautdx )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) /* console version */
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // console version
|
||||
ROM_LOAD( "noraut_deluxe_24pin_console.bin", 0x0000, 0x1000, CRC(d41bd404) SHA1(52e984ca28a15a1485ca672dd1fef973cf0c7617) )
|
||||
ROM_LOAD( "noraut_deluxe_24pin_z80.bin", 0x1000, 0x0800, CRC(c70bc8f9) SHA1(d947be4e6741f3a884ceca76d1a0fd13625a5f78) )
|
||||
|
||||
@ -1885,7 +1888,7 @@ ROM_END
|
||||
*/
|
||||
|
||||
ROM_START( norautpl )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) /* slightly different than original JP */
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // slightly different than original JP
|
||||
ROM_LOAD( "u11.bin", 0x0000, 0x1000, CRC(2abd1b82) SHA1(8cbe9ea481ec2465faaf79fcfc22ec78d83bd98d) )
|
||||
ROM_LOAD( "u16.bin", 0x1000, 0x1000, CRC(dbc3960a) SHA1(d58ee89134f9d8db80d3e066fd01e4e484126d00) )
|
||||
|
||||
@ -1982,11 +1985,11 @@ ROM_START( norautjp )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx", 0 )
|
||||
ROM_FILL( 0x0000, 0x0800, 0xff )
|
||||
ROM_LOAD( "2732-1char.bin", 0x0800, 0x0800, CRC(d94be899) SHA1(b7212162324fa2d67383a475052e3b351bb1af5f) ) /* first half 0xff filled */
|
||||
ROM_LOAD( "2732-1char.bin", 0x0800, 0x0800, CRC(d94be899) SHA1(b7212162324fa2d67383a475052e3b351bb1af5f) ) // first half 0xff filled
|
||||
ROM_CONTINUE( 0x0800, 0x0800 )
|
||||
|
||||
ROM_REGION( 0x800, "nvram", 0 )
|
||||
ROM_LOAD( "norautjp_nv.bin", 0x0000, 0x0400, CRC(0a0614b2) SHA1(eb21b2723b41743daf787cfc379bc67cce2b8538) ) /* default NVRAM */
|
||||
ROM_LOAD( "norautjp_nv.bin", 0x0000, 0x0400, CRC(0a0614b2) SHA1(eb21b2723b41743daf787cfc379bc67cce2b8538) ) // default NVRAM
|
||||
|
||||
ROM_END
|
||||
|
||||
@ -2024,7 +2027,7 @@ ROM_END
|
||||
*/
|
||||
|
||||
ROM_START( norautra )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) /* Program ROM is 0000-1fff and identical to norautrh, the rest is filled with FF's */
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // Program ROM is 0000-1fff and identical to norautrh, the rest is filled with FF's
|
||||
ROM_LOAD( "noraut_red_hot_1bet_joker_poker.bin", 0x0000, 0x8000, CRC(f284b574) SHA1(ff683731f3dbdaed5d0d25276ca90b68a422e403) )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx", 0 )
|
||||
@ -2061,7 +2064,7 @@ ROM_END
|
||||
CHAR Eprom:2732
|
||||
Marked: "GU27"
|
||||
|
||||
daughter card is connected on to another card containing only pcb tracks no components
|
||||
Daughter card is connected on to another card containing only pcb tracks no components
|
||||
This second board connects to main board with ribbon cable to the 40pin socket where
|
||||
the original cpu would of been.
|
||||
|
||||
@ -2312,7 +2315,7 @@ ROM_END
|
||||
*/
|
||||
|
||||
ROM_START( df_djpkr )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) /* Program ROM is 0000-1fff, copied along the 64K of the ROM */
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // Program ROM is 0000-1fff, copied along the 64K of the ROM
|
||||
ROM_LOAD( "dellfern_4bet_joker_z80_28pin_45-75_payout.bin", 0x0000, 0x10000, CRC(9d150a47) SHA1(da9c0d6632faab685dd061f39b01d8e65793e1e6) )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx", 0 )
|
||||
@ -2372,7 +2375,7 @@ ROM_END
|
||||
*/
|
||||
|
||||
ROM_START( cgip30cs )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) /* Program ROM is 0000-3fff, duplicated to fit the ROM size */
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // Program ROM is 0000-3fff, duplicated to fit the ROM size
|
||||
ROM_LOAD( "cgi_standard_no_bonus_30c_z80_28pin.bin", 0x0000, 0x8000, CRC(7c784964) SHA1(c3deeacc73493939a11dd4cdf0fe07fcd2a9ad8a) )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx", 0 )
|
||||
@ -2381,33 +2384,33 @@ ROM_START( cgip30cs )
|
||||
ROM_END
|
||||
|
||||
ROM_START( cgip30b )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) /* Program ROM is 0000-3fff, duplicated to fit the ROM size */
|
||||
ROM_LOAD( "u11", 0x0000, 0x8000, CRC(e32400cc) SHA1(f219aa4f35d92581b223a2172ff54cb3a6eaf7fe) ) // 1ST AND 2ND HALF IDENTICAL
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // Program ROM is 0000-3fff, duplicated to fit the ROM size
|
||||
ROM_LOAD( "u11", 0x0000, 0x8000, CRC(e32400cc) SHA1(f219aa4f35d92581b223a2172ff54cb3a6eaf7fe) ) // 1ST AND 2ND HALF IDENTICAL
|
||||
|
||||
ROM_REGION( 0x1000, "gfx", 0 )
|
||||
ROM_FILL( 0x0000, 0x0800, 0xff )
|
||||
ROM_LOAD( "u27", 0x0800, 0x0800, CRC(d94be899) SHA1(b7212162324fa2d67383a475052e3b351bb1af5f) ) // 0xxxxxxxxxxx = 0xFF
|
||||
ROM_CONTINUE( 0x0800, 0x0800 )
|
||||
ROM_FILL( 0x0000, 0x0800, 0xff )
|
||||
ROM_LOAD( "u27", 0x0800, 0x0800, CRC(d94be899) SHA1(b7212162324fa2d67383a475052e3b351bb1af5f) ) // 0xxxxxxxxxxx = 0xFF
|
||||
ROM_CONTINUE( 0x0800, 0x0800 )
|
||||
ROM_END
|
||||
|
||||
ROM_START( cgip23b ) // PCB marked 'POKER Version 1.1'. Z0840004PSC + 4 x NEC 82C55AC-2
|
||||
ROM_START( cgip23b ) // PCB marked 'POKER Version 1.1'. Z0840004PSC + 4 x NEC 82C55AC-2
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD( "u29", 0x0000, 0x8000, CRC(e8ac2803) SHA1(fe545fcc7dad5eb8786fae853262392ba9b067ca) ) // 1ST AND 2ND HALF IDENTICAL
|
||||
ROM_LOAD( "u29", 0x0000, 0x8000, CRC(e8ac2803) SHA1(fe545fcc7dad5eb8786fae853262392ba9b067ca) ) // 1ST AND 2ND HALF IDENTICAL
|
||||
|
||||
ROM_REGION( 0x1000, "gfx", 0 )
|
||||
ROM_LOAD( "u16", 0x0000, 0x1000, CRC(d94be899) SHA1(b7212162324fa2d67383a475052e3b351bb1af5f) ) // 0xxxxxxxxxxx = 0xFF
|
||||
ROM_LOAD( "u16", 0x0000, 0x1000, CRC(d94be899) SHA1(b7212162324fa2d67383a475052e3b351bb1af5f) ) // 0xxxxxxxxxxx = 0xFF
|
||||
ROM_END
|
||||
|
||||
|
||||
// PCB has a sticker: Casino Games Innovation Incorporating GS Research POKER PCB
|
||||
ROM_START( cgidjp )
|
||||
ROM_REGION( 0x08000, "maincpu", 0 ) /* Program ROM is 0000-3fff, duplicated to fit the ROM size, opcodes are 0000-1fff, data 2000-3fff */
|
||||
ROM_REGION( 0x08000, "maincpu", 0 ) // Program ROM is 0000-3fff, duplicated to fit the ROM size, opcodes are 0000-1fff, data 2000-3fff
|
||||
ROM_LOAD( "27c256.bin", 0x0000, 0x8000, CRC(6e0b8999) SHA1(5219b38292e531589d90ae3df08990f8d8664cc3) )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx", 0 )
|
||||
ROM_FILL( 0x0000, 0x0800, 0xff )
|
||||
ROM_LOAD( "27c32.bin", 0x0800, 0x0800, CRC(d94be899) SHA1(b7212162324fa2d67383a475052e3b351bb1af5f) ) /* first half 0xff filled */
|
||||
ROM_CONTINUE( 0x0800, 0x0800 )
|
||||
ROM_FILL( 0x0000, 0x0800, 0xff )
|
||||
ROM_LOAD( "27c32.bin", 0x0800, 0x0800, CRC(d94be899) SHA1(b7212162324fa2d67383a475052e3b351bb1af5f) ) // first half 0xff filled
|
||||
ROM_CONTINUE( 0x0800, 0x0800 )
|
||||
ROM_END
|
||||
|
||||
/*
|
||||
@ -2735,15 +2738,15 @@ ROM_START( newhilop )
|
||||
ROM_COPY( "gfx_data", 0xf000, 0x0000, 0x1000 )
|
||||
|
||||
ROM_REGION( 0x0100, "proms", 0 )
|
||||
ROM_LOAD( "82s129.4d", 0x0000, 0x0100, CRC(88302127) SHA1(aed1273974917673405f1234ab64e6f8b3856c34) ) //= japan_6301.u51 dphljp Draw Poker HI-LO (Japanese)
|
||||
ROM_LOAD( "82s129.4d", 0x0000, 0x0100, CRC(88302127) SHA1(aed1273974917673405f1234ab64e6f8b3856c34) ) // = japan_6301.u51 / dphljp / Draw Poker HI-LO (Japanese)
|
||||
ROM_END
|
||||
|
||||
|
||||
/*************************************** 8080 sets **************************************/
|
||||
/* */
|
||||
/* The following ones are 'Draw Poker HI-LO' type, running in a 8080 based hardware */
|
||||
/* */
|
||||
/****************************************************************************************/
|
||||
//*************************************** 8080 sets **************************************
|
||||
//* *
|
||||
//* The following ones are 'Draw Poker HI-LO' type, running in a 8080 based hardware *
|
||||
//* *
|
||||
//****************************************************************************************
|
||||
|
||||
/*
|
||||
|
||||
@ -2973,7 +2976,7 @@ ROM_END
|
||||
|
||||
*/
|
||||
|
||||
ROM_START( dphljp ) /* close to GTI Poker */
|
||||
ROM_START( dphljp ) // close to GTI Poker
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD( "japan_12.u12", 0x0000, 0x0800, CRC(086a2303) SHA1(900c7241c33a38fb1a791b311e50f7d7f43bb955) )
|
||||
ROM_RELOAD( 0x0800, 0x0800 )
|
||||
@ -3106,7 +3109,7 @@ ROM_END
|
||||
*/
|
||||
|
||||
ROM_START( kimbldhl )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) /* Program ROM is 0000-6e40 */
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // Program ROM is 0000-6e40
|
||||
ROM_LOAD( "jpc525611.bin", 0x0000, 0x8000, CRC(4a3f1aef) SHA1(570ef733989da6e89f0387f1e80b934cec7a7663) )
|
||||
|
||||
ROM_REGION( 0x1000, "gfx", 0 )
|
||||
@ -3376,7 +3379,7 @@ ROM_START( drhl )
|
||||
ROM_REGION( 0x1000, "gfx", 0 )
|
||||
ROM_LOAD( "drhl_v1.0.u31", 0x0000, 0x1000, CRC(bbc7c970) SHA1(9268a430764a5ea8ba7cd18944ec254a44d9dff2) )
|
||||
|
||||
ROM_REGION( 0x0200, "plds", 0 ) /* possible bad dump. fusemap's 1st half is all 1's and 2nd half 0's */
|
||||
ROM_REGION( 0x0200, "plds", 0 ) // possible bad dump. fusemap's 1st half is all 1's and 2nd half 0's */
|
||||
ROM_LOAD( "drhl_ampal16l8pc.u51", 0x0000, 0x0104, CRC(bd76fb53) SHA1(2d0634e8edb3289a103719466465e9777606086e) )
|
||||
ROM_END
|
||||
|
||||
@ -3390,10 +3393,10 @@ ROM_START( drhla )
|
||||
ROM_REGION( 0x1000, "gfx", 0 )
|
||||
ROM_LOAD( "drews.u31", 0x0000, 0x1000, CRC(bbc7c970) SHA1(9268a430764a5ea8ba7cd18944ec254a44d9dff2) )
|
||||
|
||||
ROM_REGION( 0x0800, "dallas", 0 ) /* it's in fact NVRAM, but double sized... */
|
||||
ROM_REGION( 0x0800, "dallas", 0 ) // it's in fact NVRAM, but double sized...
|
||||
ROM_LOAD( "ds1220ab.u33", 0x0000, 0x0800, CRC(f357d314) SHA1(72791b2effd3ec2e98b735c9b215fc9abe3f5aea) )
|
||||
|
||||
ROM_REGION( 0x0200, "plds", 0 ) /* this one is unprotected and seems ok */
|
||||
ROM_REGION( 0x0200, "plds", 0 ) // this one is unprotected and seems ok
|
||||
ROM_LOAD( "pal16l8a.u51", 0x0000, 0x0104, CRC(4c98193f) SHA1(b6bdb6eef0d962a3aa4df0e23a8937a7e3210062) )
|
||||
ROM_END
|
||||
|
||||
@ -3575,18 +3578,18 @@ ROM_END
|
||||
*/
|
||||
|
||||
ROM_START( ssjkrpkr )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) /* Southern Systems */
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // Southern Systems
|
||||
ROM_LOAD( "oc.u11", 0x0000, 0x1000, CRC(b9072aa5) SHA1(bfa3df090e1030aaebbb784cb5e686f4f84f2263) )
|
||||
ROM_LOAD( "oc.u10", 0x1000, 0x1000, CRC(8652ebb9) SHA1(e907df4f8da99b42c425ed58da3cda9943c89fb7) )
|
||||
|
||||
/* All garbage inside. Replaced with generic GFX ROM from DPHLA set, modified to support the "'" char */
|
||||
// All garbage inside. Replaced with generic GFX ROM from DPHLA set, modified to support the "'" char
|
||||
ROM_REGION( 0x1000, "gfx", 0 )
|
||||
ROM_FILL( 0x0000, 0x0800, 0xff )
|
||||
ROM_LOAD( "oc.u27", 0x0800, 0x0800, BAD_DUMP CRC(ac8e9f2c) SHA1(25ab615de3055e5be78d409194edf7e3c03fe9b9) )
|
||||
ROM_END
|
||||
|
||||
|
||||
/************************** Unknown Sets ****************************/
|
||||
/****************************** Unknown Sets ********************************/
|
||||
|
||||
/*
|
||||
|
||||
@ -3602,7 +3605,7 @@ ROM_END
|
||||
*/
|
||||
|
||||
ROM_START( fastdrwp )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) /* PC=0x068b for error screen */
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // PC=0x068b for error screen
|
||||
ROM_LOAD( "u12.bin", 0x0000, 0x1000, CRC(d020d7d3) SHA1(4808ef14adf230e3971161c9375f2b354cd9d519) )
|
||||
ROM_LOAD( "u18.bin", 0x1000, 0x1000, CRC(03de6413) SHA1(c61131244e8095b998c5e31724a21496cacad247) )
|
||||
|
||||
@ -3624,7 +3627,7 @@ ROM_END
|
||||
*/
|
||||
|
||||
ROM_START( dphlunka )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) /* no stack, call's RET go to PC=0 */
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // no stack, call's RET go to PC=0
|
||||
ROM_LOAD( "u-12_ss.u12", 0x0000, 0x1000, CRC(10ddbc16) SHA1(ab683d836c9223bc67701e092c2cb95afc0f0fa2) )
|
||||
ROM_LOAD( "u-18_ss.u18", 0x1000, 0x1000, CRC(ffbac2bf) SHA1(219247624e0eb0c0c805f5f9a96c4b6b60c9c5ac) )
|
||||
|
||||
@ -3646,7 +3649,7 @@ ROM_END
|
||||
*/
|
||||
|
||||
ROM_START( dphlunkb )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) /* PC=0x068b for error screen */
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // PC=0x068b for error screen
|
||||
ROM_LOAD( "u-12_rev-2.u12", 0x0000, 0x1000, CRC(1b1d8ca4) SHA1(405bf8a56dfc669a0890b0af9417c1ed6a3bf374) )
|
||||
ROM_LOAD( "u-18_rev-2.u18", 0x1000, 0x1000, CRC(22dbe0c7) SHA1(ca223074b0f4b86e60a1b91c22568680845ae17e) )
|
||||
|
||||
@ -3673,7 +3676,7 @@ ROM_END
|
||||
*/
|
||||
|
||||
ROM_START( pkii_dm )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // no stack, call's RET go to PC=0
|
||||
ROM_REGION( 0x10000, "maincpu", 0 ) // no stack, call's RET go to PC=0
|
||||
ROM_LOAD( "12.u12", 0x0000, 0x1000, CRC(048e70d8) SHA1(f0eb16ba68455638de2ce68f51f305a13d0df287) )
|
||||
ROM_LOAD( "13.u18", 0x1000, 0x1000, CRC(06cf6789) SHA1(587d883c399348b518e3be4d1dc2581824055328) )
|
||||
|
||||
@ -3714,9 +3717,9 @@ ROM_START( cdrawpkr )
|
||||
ROM_END
|
||||
|
||||
|
||||
/**************************
|
||||
* Driver Init *
|
||||
**************************/
|
||||
/*********************************************
|
||||
* Driver Init *
|
||||
*********************************************/
|
||||
|
||||
/* These are to patch the check for /OBF handshake line,
|
||||
that seems to be wrong. Otherwise will enter in an infinite loop.
|
||||
@ -4487,8 +4490,8 @@ void norautp_state::init_enc()
|
||||
}
|
||||
|
||||
void norautp_state::init_deb()
|
||||
/* Just for debugging purposes */
|
||||
/* Should be removed soon */
|
||||
// Just for debugging purposes
|
||||
// Should be removed soon
|
||||
{
|
||||
uint8_t *ROM = memregion("maincpu")->base();
|
||||
ROM[0x02f7] = 0xca;
|
||||
@ -4512,13 +4515,13 @@ void norautp_state::init_ssa()
|
||||
}
|
||||
|
||||
|
||||
/*************************
|
||||
* Game Drivers *
|
||||
*************************/
|
||||
/*********************************************
|
||||
* Game Drivers *
|
||||
*********************************************/
|
||||
|
||||
/************************************** Z80 sets **************************************/
|
||||
/* The following ones are 'Draw Poker HI-LO' type, running in a Z80 based hardware */
|
||||
/**************************************************************************************/
|
||||
//************************************** Z80 sets **************************************
|
||||
//* The following ones are 'Draw Poker HI-LO' type, running in a Z80 based hardware *
|
||||
//**************************************************************************************
|
||||
|
||||
// YEAR NAME PARENT MACHINE INPUT CLASS INIT ROT COMPANY FULLNAME FLAGS LAYOUT
|
||||
GAMEL( 1988, norautp, 0, norautp, norautp, norautp_state, empty_init, ROT0, "Noraut Ltd.", "Noraut Poker", 0, layout_noraut11 )
|
||||
@ -4548,11 +4551,11 @@ GAME( 19??, newhilop, 0, newhilop, norautp, norautp_state, empty_init, R
|
||||
GAMEL( 1984, cdrawpkr, 0, cdrawpkr, cdrawpkr, norautp_state, empty_init, ROT0, "Coinmaster", "Draw Poker (Joker Poker V.01)", 0, layout_noraut11 )
|
||||
|
||||
|
||||
/************************************* 8080 sets **************************************/
|
||||
/* The following ones are 'Draw Poker HI-LO' type, running in a 8080 based hardware */
|
||||
/**************************************************************************************/
|
||||
//************************************* 8080 sets **************************************
|
||||
//* The following ones are 'Draw Poker HI-LO' type, running in a 8080 based hardware *
|
||||
//**************************************************************************************
|
||||
|
||||
// YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS LAYOUT
|
||||
// YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS LAYOUT
|
||||
GAME( 1983, dphl, 0, dphl, norautp, norautp_state, empty_init, ROT0, "M.Kramer Manufacturing.", "Draw Poker HI-LO (M.Kramer)", MACHINE_NOT_WORKING )
|
||||
GAME( 1983, dphla, 0, dphla, norautp, norautp_state, empty_init, ROT0, "<unknown>", "Draw Poker HI-LO (Alt)", MACHINE_NOT_WORKING )
|
||||
GAME( 1983, dphljp, 0, dphl, norautp, norautp_state, empty_init, ROT0, "<unknown>", "Draw Poker HI-LO (Japanese)", MACHINE_NOT_WORKING )
|
||||
@ -4564,15 +4567,15 @@ GAME( 1986, drhl, 0, drhl, norautp, norautp_state, empty_init, RO
|
||||
GAME( 1986, drhla, drhl, drhl, norautp, norautp_state, empty_init, ROT0, "Drews Inc.", "Drews Revenge (v.2.89, set 2)", MACHINE_NOT_WORKING )
|
||||
GAME( 1982, ssjkrpkr, 0, ssjkrpkr, norautp, norautp_state, init_ssa, ROT0, "Southern Systems & Assembly", "Southern Systems Joker Poker", MACHINE_NOT_WORKING )
|
||||
|
||||
/* The following one also has a custom 68705 MCU */
|
||||
// The following one also has a custom 68705 MCU
|
||||
GAME( 1993, tpoker2, 0, dphltest, norautp, norautp_state, empty_init, ROT0, "Micro Manufacturing", "Turbo Poker 2", MACHINE_NOT_WORKING )
|
||||
|
||||
|
||||
/************************************ unknown sets ************************************/
|
||||
/* The following ones are still unknown. No info about name, CPU, manufacturer, or HW */
|
||||
/**************************************************************************************/
|
||||
//************************************ unknown sets ************************************
|
||||
//* The following ones are still unknown. No info about name, CPU, manufacturer, or HW *
|
||||
//**************************************************************************************
|
||||
|
||||
// YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS LAYOUT
|
||||
// YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS LAYOUT
|
||||
GAME( 198?, fastdrwp, 0, dphl, norautp, norautp_state, empty_init, ROT0, "Stern Electronics?", "Fast Draw (poker conversion kit)?", MACHINE_NOT_WORKING )
|
||||
GAME( 198?, dphlunka, 0, dphl, norautp, norautp_state, empty_init, ROT0, "SMS Manufacturing Corp.", "Draw Poker HI-LO (unknown, rev 1)", MACHINE_NOT_WORKING )
|
||||
GAME( 198?, dphlunkb, 0, dphl, norautp, norautp_state, empty_init, ROT0, "SMS Manufacturing Corp.", "Draw Poker HI-LO (unknown, rev 2)", MACHINE_NOT_WORKING )
|
||||
|
Loading…
Reference in New Issue
Block a user