mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
-midway/seattle.cpp: Added San Francisco Rush Boot Code Version L1.12 as a BIOS option. [neSneSgB]
-gameboy.xml, gbcolor.xml: Mark HuC-1 cartridges as using non-volatile RAM, and demoted to partially supported for lack of IR transceiver emulation. -Various cleanups: * midway/seattle.cpp: Turned San Francisco Rush Boot Code Version L1.06A into a BIOS option rather than a clone - the game version is the same. * misc/highvideo.cpp: Use a more obvious pixel loop with fewer tests, and cleaned up spacing. * tvgames/micom_mahjong.cpp: Use active low logic for active low key matrix rather than inverting stuff everywhere. * pacific/thief.cpp: Cleaned up indentation gone wild.
This commit is contained in:
parent
c3bdd39e0d
commit
807c0a050f
@ -4193,7 +4193,7 @@ license:CC0
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="spinner">
|
||||
<software name="spinner" supported="partial">
|
||||
<!-- Game cart has an integrated infrared port for multiplayer play. -->
|
||||
<description>Chousoku Spinner (Japan)</description>
|
||||
<year>1998</year>
|
||||
@ -4213,7 +4213,7 @@ license:CC0
|
||||
<dataarea name="rom" size="0x80000">
|
||||
<rom name="chousoku spinner (japan).bin" size="0x80000" crc="b4fa9cf2" sha1="057a3251bbb7eb4e04b01f786bd2986af5eabc58" />
|
||||
</dataarea>
|
||||
<dataarea name="ram" size="0x8000">
|
||||
<dataarea name="nvram" size="0x8000">
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
@ -4704,7 +4704,7 @@ license:CC0
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="miraclzn">
|
||||
<software name="miraclzn" supported="partial">
|
||||
<!--
|
||||
Supports "GBKiss". "GBKiss" is an integrated infrared port for cart-to-cart
|
||||
multiplayer play, but also for PC connection with the "GBKISS LINK" (Hudson Soft model No. HC-749), a parallel
|
||||
@ -4728,7 +4728,7 @@ license:CC0
|
||||
<dataarea name="rom" size="0x80000">
|
||||
<rom name="dmg-amzj-0.u1" size="0x80000" crc="26d2d5c2" sha1="44cafcb56f470881b67e57c0649afbc638cda136" />
|
||||
</dataarea>
|
||||
<dataarea name="ram" size="0x8000">
|
||||
<dataarea name="nvram" size="0x8000">
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
@ -7821,7 +7821,7 @@ license:CC0
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="gbkiss">
|
||||
<software name="gbkiss" supported="partial">
|
||||
<!--
|
||||
"GBKiss" is an integrated infrared port for cart-to-cart multiplayer play, but also for PC connection
|
||||
with the "GBKISS LINK" (Hudson Soft model No. HC-749), a parallel port (DB25) modem/adaptor for PC-DOS
|
||||
@ -7836,7 +7836,7 @@ license:CC0
|
||||
<dataarea name="rom" size="0x40000">
|
||||
<rom name="gbkiss mini games (japan).bin" size="0x40000" crc="92a03fc3" sha1="3c6c78f0a936dbc3f366a82c1eca8be0597d4d5b" />
|
||||
</dataarea>
|
||||
<dataarea name="ram" size="0x8000">
|
||||
<dataarea name="nvram" size="0x8000">
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
@ -15732,7 +15732,7 @@ license:CC0
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="nectaris">
|
||||
<software name="nectaris" supported="partial">
|
||||
<!--
|
||||
Supports "GBKiss". "GBKiss" is an integrated infrared port for cart-to-cart
|
||||
multiplayer play, but also for PC connection with the "GBKISS LINK" (Hudson Soft model No. HC-749), a parallel
|
||||
@ -15756,7 +15756,7 @@ license:CC0
|
||||
<dataarea name="rom" size="0x80000">
|
||||
<rom name="nectaris gb (japan).bin" size="0x80000" crc="20bfd7ef" sha1="ba251bfef8162ef032da8d5c28fe693ede28f030" />
|
||||
</dataarea>
|
||||
<dataarea name="ram" size="0x8000">
|
||||
<dataarea name="nvram" size="0x8000">
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
@ -18103,7 +18103,7 @@ license:CC0
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="pockbmanj" cloneof="pockbman">
|
||||
<software name="pockbmanj" cloneof="pockbman" supported="partial">
|
||||
<!--
|
||||
Supports "GBKiss". "GBKiss" is an integrated infrared port for cart-to-cart
|
||||
multiplayer play, but also for PC connection with the "GBKISS LINK" (Hudson Soft model No. HC-749), a parallel
|
||||
@ -18127,7 +18127,7 @@ license:CC0
|
||||
<dataarea name="rom" size="0x80000">
|
||||
<rom name="dmg-apoj-0.u1" size="0x80000" crc="212b47a5" sha1="83d1c2420ae69d2a7ca9880c9b84f0ba948e39eb" />
|
||||
</dataarea>
|
||||
<dataarea name="ram" size="0x8000">
|
||||
<dataarea name="nvram" size="0x8000">
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
@ -23116,7 +23116,7 @@ license:CC0
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="sbdaman">
|
||||
<software name="sbdaman" supported="partial">
|
||||
<!--
|
||||
Supports "GBKiss". "GBKiss" is an integrated infrared port for cart-to-cart
|
||||
multiplayer play, but also for PC connection with the "GBKISS LINK" (Hudson Soft model No. HC-749), a parallel
|
||||
@ -23140,7 +23140,7 @@ license:CC0
|
||||
<dataarea name="rom" size="0x80000">
|
||||
<rom name="dmg-abdj-0.u1" size="0x80000" crc="239711ec" sha1="36eac648d0406c84d6708695f30bc8739d1bc648" />
|
||||
</dataarea>
|
||||
<dataarea name="ram" size="0x8000">
|
||||
<dataarea name="nvram" size="0x8000">
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
@ -3749,7 +3749,7 @@ license:CC0
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="miraclz2">
|
||||
<software name="miraclz2" supported="partial">
|
||||
<description>Daikaijuu Monogatari - The Miracle of the Zone II (Japan)</description>
|
||||
<year>1999</year>
|
||||
<publisher>Hudson Soft</publisher>
|
||||
@ -3768,7 +3768,7 @@ license:CC0
|
||||
<dataarea name="rom" size="1048576">
|
||||
<rom name="dmg-am6j-0.u1" size="1048576" crc="692d6794" sha1="7bf6e2d7fc58e8abe61785e413bcf4150fa8bee5"/>
|
||||
</dataarea>
|
||||
<dataarea name="ram" size="32768">
|
||||
<dataarea name="nvram" size="32768">
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
@ -16439,8 +16439,8 @@ license:CC0
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="pokecardj" cloneof="pokecard">
|
||||
<!-- This game uses an integrated (on-cart) IR port por connected multiplayer gameplay. -->
|
||||
<software name="pokecardj" cloneof="pokecard" supported="partial">
|
||||
<!-- This game uses an integrated (on-cart) IR port for connected multiplayer gameplay. -->
|
||||
<description>Pokémon Card GB (Japan)</description>
|
||||
<year>1998</year>
|
||||
<publisher>Nintendo</publisher>
|
||||
@ -16459,7 +16459,7 @@ license:CC0
|
||||
<dataarea name="rom" size="1048576">
|
||||
<rom name="dmg-acxj-0.u1" size="1048576" crc="1926f570" sha1="2287627c5b4d56bd9a01aab83408c301b9cf1a6c"/>
|
||||
</dataarea>
|
||||
<dataarea name="ram" size="32768">
|
||||
<dataarea name="nvram" size="32768">
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
@ -301,7 +301,7 @@ std::string video_manager::speed_text()
|
||||
|
||||
// append the speed for all cases except paused
|
||||
if (!paused)
|
||||
util::stream_format(str, " %3d%%", (int)(100 * m_speed_percent + 0.5));
|
||||
util::stream_format(str, " %3d%%", int(100 * m_speed_percent + 0.5));
|
||||
|
||||
// display the number of partial updates as well
|
||||
int partials = 0;
|
||||
|
@ -37900,7 +37900,6 @@ hyprdriv // (c) 1998 Midway Games
|
||||
mace // (c) 1996 Atari Games
|
||||
macea // (c) 1996 Atari Games
|
||||
sfrush // (c) 1996 Atari Games
|
||||
sfrusha // (c) 1996 Atari Games
|
||||
sfrushrk // (c) 1996 Atari Games
|
||||
sfrushrkw // (c) 1996 Atari Games
|
||||
sfrushrkwo // (c) 1996 Atari Games
|
||||
|
@ -297,7 +297,8 @@ public:
|
||||
m_wheel_driver(*this, "wheel"),
|
||||
m_lamps(*this, "lamp%u", 0U),
|
||||
m_leds(*this, "led%u", 0U)
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
void seattle_common(machine_config &config);
|
||||
void phoenix(machine_config &config);
|
||||
@ -2408,31 +2409,13 @@ ROM_END
|
||||
|
||||
|
||||
ROM_START( sfrush )
|
||||
ROM_REGION32_LE( 0x80000, PCI_ID_GALILEO":rom", 0 ) // Boot Code Version L1.0
|
||||
ROM_LOAD( "hdboot.u32", 0x000000, 0x80000, CRC(39a35f1b) SHA1(c46d83448399205d38e6e41dd56abbc362254254) )
|
||||
|
||||
ROM_REGION32_LE( 0x100000, PCI_ID_GALILEO":update", ROMREGION_ERASEFF )
|
||||
|
||||
ROM_REGION32_LE( 0x200000, "cage:boot", 0 ) // TMS320C31 boot ROM Version L1.0
|
||||
ROM_LOAD32_BYTE( "sndboot.u69", 0x000000, 0x080000, CRC(7e52cdc7) SHA1(f735063e19d2ca672cef6d761a2a47df272e8c59) )
|
||||
|
||||
ROM_REGION32_LE( 0x1000000, "cage", 0 ) // TMS320C31 sound ROMs
|
||||
ROM_LOAD32_WORD( "sfrush.u62", 0x400000, 0x200000, CRC(5d66490e) SHA1(bd39ea3b45d44cae6ca5890f365653326bbecd2d) )
|
||||
ROM_LOAD32_WORD( "sfrush.u61", 0x400002, 0x200000, CRC(f3a00ee8) SHA1(c1ac780efc32b2e30522d7cc3e6d92e7daaadddd) )
|
||||
ROM_LOAD32_WORD( "sfrush.u53", 0x800000, 0x200000, CRC(71f8ddb0) SHA1(c24bef801f43bae68fda043c4356e8cf1298ca97) )
|
||||
ROM_LOAD32_WORD( "sfrush.u49", 0x800002, 0x200000, CRC(dfb0a54c) SHA1(ed34f9485f7a7e5bb73bf5c6428b27548e12db12) )
|
||||
|
||||
DISK_REGION( PCI_ID_IDE":ide:0:hdd:image" ) // Hard Drive Version L1.06
|
||||
DISK_IMAGE( "sfrush", 0, SHA1(e2db0270a707fb2115207f988d5751081d6b4994) )
|
||||
|
||||
ROM_REGION( 0x2000, "serial_security_pic", ROMREGION_ERASEFF ) // security PIC (provides game ID code and serial number)
|
||||
ROM_LOAD( "315_sf_rush.u96", 0x0000, 0x1000, CRC(e3527a3a) SHA1(5e556e6dfd87df5a895bdf4bd7f77708ac327db7) )
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( sfrusha )
|
||||
ROM_REGION32_LE( 0x80000, PCI_ID_GALILEO":rom", 0 ) // Boot Code Version L1.06A
|
||||
ROM_LOAD( "hdbootv1_06a.bin", 0x000000, 0x80000, CRC(f247ba60) SHA1(850f97002eb1e362c3df870d7b6a1b5524ab983d) )
|
||||
ROM_REGION32_LE( 0x80000, PCI_ID_GALILEO":rom", 0 )
|
||||
ROM_SYSTEM_BIOS( 0, "l10", "Boot Code Version L1.0" )
|
||||
ROMX_LOAD( "hdboot.u32", 0x000000, 0x80000, CRC(39a35f1b) SHA1(c46d83448399205d38e6e41dd56abbc362254254), ROM_BIOS(0) )
|
||||
ROM_SYSTEM_BIOS( 1, "l106a", "Boot Code Version L1.06A" )
|
||||
ROMX_LOAD( "hdbootv1_06a.bin", 0x000000, 0x80000, CRC(f247ba60) SHA1(850f97002eb1e362c3df870d7b6a1b5524ab983d), ROM_BIOS(1) )
|
||||
ROM_SYSTEM_BIOS( 2, "l112", "Boot Code Version L1.12" )
|
||||
ROMX_LOAD( "hdbootv1_12.u32", 0x000000, 0x80000, CRC(efec7dfb) SHA1(3632934dc655867636fd2c5c4e96b3e300d86d68), ROM_BIOS(2) )
|
||||
|
||||
ROM_REGION32_LE( 0x100000, PCI_ID_GALILEO":update", ROMREGION_ERASEFF )
|
||||
|
||||
@ -2923,8 +2906,7 @@ GAME( 1996, wg3dh, 0, wg3dh, wg3dh, seattle_state, init_wg3d
|
||||
GAME( 1996, wg3dhfe, wg3dh, wg3dh, wg3dh, seattle_state, init_wg3dh, ROT0, "Atari Games", "Wayne Gretzky's 3D Hockey Fatality Edition (prototype)", MACHINE_SUPPORTS_SAVE )
|
||||
GAME( 1996, mace, 0, mace, mace, seattle_state, init_mace, ROT0, "Atari Games", "Mace: The Dark Age (boot ROM 1.0ce, HDD 1.0b)", MACHINE_SUPPORTS_SAVE )
|
||||
GAME( 1997, macea, mace, mace, mace, seattle_state, init_mace, ROT0, "Atari Games", "Mace: The Dark Age (HDD 1.0a)", MACHINE_SUPPORTS_SAVE )
|
||||
GAMEL( 1996, sfrush, 0, sfrush, sfrush, seattle_state, init_sfrush, ROT0, "Atari Games", "San Francisco Rush (boot rom L 1.0)", MACHINE_SUPPORTS_SAVE, layout_sfrush )
|
||||
GAMEL( 1996, sfrusha, sfrush, sfrush, sfrush, seattle_state, init_sfrush, ROT0, "Atari Games", "San Francisco Rush (boot rom L 1.06A)", MACHINE_SUPPORTS_SAVE, layout_sfrush )
|
||||
GAMEL( 1996, sfrush, 0, sfrush, sfrush, seattle_state, init_sfrush, ROT0, "Atari Games", "San Francisco Rush", MACHINE_SUPPORTS_SAVE, layout_sfrush )
|
||||
GAMEL( 1997, sfrushrk, 0, sfrushrk, sfrushrk, seattle_state, init_sfrushrk, ROT0, "Atari Games", "San Francisco Rush: The Rock (boot rom L 1.0, GUTS Oct 6 1997 / MAIN Oct 16 1997)", MACHINE_SUPPORTS_SAVE, layout_sfrush )
|
||||
GAMEL( 1997, sfrushrkw, sfrushrk, sfrushrkw, sfrushrk, seattle_state, init_sfrushrk, ROT0, "Atari Games", "San Francisco Rush: The Rock (Wavenet, boot rom L 1.38, GUTS Aug 19 1997 / MAIN Aug 19 1997)", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE, layout_sfrush )
|
||||
GAMEL( 1997, sfrushrkwo, sfrushrk, sfrushrkw, sfrushrk, seattle_state, init_sfrushrk, ROT0, "Atari Games", "San Francisco Rush: The Rock (Wavenet, boot rom L 1.38, GUTS Aug 6 1997 / MAIN Aug 5 1997)", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE, layout_sfrush )
|
||||
|
@ -239,24 +239,19 @@ void highvdeo_state::machine_reset()
|
||||
|
||||
uint32_t highvdeo_state::screen_update_tourvisn(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
for(int y=cliprect.min_y;y<=cliprect.max_y;y++)
|
||||
for (int y = cliprect.min_y; y <= cliprect.max_y; y++)
|
||||
{
|
||||
int count = ((y * (screen.visible_area().max_x+1)) + cliprect.min_x) >> 1;
|
||||
for(int x=(cliprect.min_x>>1);x<=(cliprect.max_x>>1);x++)
|
||||
int count = ((y * (screen.visible_area().max_x + 1)) + cliprect.min_x) >> 1;
|
||||
for (int x = cliprect.min_x; x <= cliprect.max_x; x++)
|
||||
{
|
||||
uint32_t color;
|
||||
uint16_t color = m_blit_ram[count];
|
||||
if (!BIT(x, 0))
|
||||
{
|
||||
color >>= 8;
|
||||
count++;
|
||||
}
|
||||
|
||||
color = ((m_blit_ram[count]) & 0x00ff)>>0;
|
||||
|
||||
if(cliprect.contains((x*2)+0, y))
|
||||
bitmap.pix(y, (x*2)+0) = m_palette->pen(color);
|
||||
|
||||
color = ((m_blit_ram[count]) & 0xff00)>>8;
|
||||
|
||||
if(cliprect.contains((x*2)+1, y))
|
||||
bitmap.pix(y, (x*2)+1) = m_palette->pen(color);
|
||||
|
||||
count++;
|
||||
bitmap.pix(y, x) = m_palette->pen(color & 0xff);
|
||||
}
|
||||
}
|
||||
|
||||
@ -268,13 +263,11 @@ uint32_t highvdeo_state::screen_update_brasil(screen_device &screen, bitmap_rgb3
|
||||
{
|
||||
pen_t const *const rgb = m_palette->pens(); // 16 bit RGB
|
||||
|
||||
for(int y=cliprect.min_y;y<=cliprect.max_y;y++)
|
||||
for (int y = cliprect.min_y; y <= cliprect.max_y; y++)
|
||||
{
|
||||
int count = (y * 400) + cliprect.min_x;
|
||||
for(int x=cliprect.min_x;x<=cliprect.max_x;x++)
|
||||
{
|
||||
for (int x = cliprect.min_x; x <= cliprect.max_x; x++)
|
||||
bitmap.pix(y, x) = rgb[m_blit_ram[count++]];
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
@ -498,7 +491,7 @@ void highvdeo_state::tv_tcf_io(address_map &map)
|
||||
|
||||
uint16_t highvdeo_state::ciclone_status_r()
|
||||
{
|
||||
m_resetpulse^=0x10;
|
||||
m_resetpulse ^= 0x10;
|
||||
return 0 | m_resetpulse;
|
||||
}
|
||||
|
||||
@ -538,7 +531,7 @@ uint16_t highvdeo_state::record_status_r()
|
||||
if (!machine().side_effects_disabled())
|
||||
m_maincpu->set_input_line(INPUT_LINE_NMI, CLEAR_LINE);
|
||||
|
||||
m_resetpulse^=0x15; // and 0x07, cmp with 0x05
|
||||
m_resetpulse ^= 0x15; // and 0x07, cmp with 0x05
|
||||
return 0 | m_resetpulse;
|
||||
}
|
||||
|
||||
@ -625,7 +618,7 @@ void highvdeo_state::record_io(address_map &map)
|
||||
|
||||
uint16_t highvdeo_state::brasil_status_r()
|
||||
{
|
||||
m_resetpulse^=0x10;
|
||||
m_resetpulse ^= 0x10;
|
||||
return 3 | m_resetpulse;
|
||||
}
|
||||
|
||||
@ -668,13 +661,13 @@ uint16_t highvdeo_state::newtiger_prot_r()
|
||||
|
||||
uint16_t highvdeo_state::magicbom_status_r()
|
||||
{
|
||||
m_resetpulse^=0x20;
|
||||
m_resetpulse ^= 0x20;
|
||||
return m_resetpulse;
|
||||
}
|
||||
|
||||
uint16_t highvdeo_state::magicbom_prot_r()
|
||||
{
|
||||
return (m_grancapi_prot_latch & 3)|0x0b;
|
||||
return (m_grancapi_prot_latch & 3) | 0x0b;
|
||||
}
|
||||
|
||||
|
||||
@ -703,11 +696,9 @@ void highvdeo_state::brasil_io(address_map &map)
|
||||
|
||||
void highvdeo_state::fashion_output_w(uint16_t data)
|
||||
{
|
||||
int i;
|
||||
|
||||
// popmessage("%04x",data);
|
||||
|
||||
for(i=0;i<4;i++)
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
machine().bookkeeping().coin_counter_w(i,data & 0x20);
|
||||
machine().bookkeeping().coin_lockout_w(i,~data & 0x01);
|
||||
|
@ -118,11 +118,12 @@ private:
|
||||
|
||||
struct coprocessor
|
||||
{
|
||||
coprocessor(device_t &host) : context_ram(host, "context_ram", 0x400, ENDIANNESS_LITTLE),
|
||||
bank(0),
|
||||
image_ram(host, "image_ram", 0x2000, ENDIANNESS_LITTLE),
|
||||
param{}
|
||||
{ }
|
||||
coprocessor(device_t &host) :
|
||||
context_ram(host, "context_ram", 0x400, ENDIANNESS_LITTLE),
|
||||
bank(0),
|
||||
image_ram(host, "image_ram", 0x2000, ENDIANNESS_LITTLE),
|
||||
param{}
|
||||
{ }
|
||||
|
||||
memory_share_creator<uint8_t> context_ram;
|
||||
uint8_t bank;
|
||||
|
@ -102,19 +102,19 @@ void mmahjong_state::input_w(u8 data)
|
||||
{
|
||||
// d0-d2: input matrix
|
||||
// d3 is also written, but unused
|
||||
m_inp_matrix = ~data;
|
||||
m_inp_matrix = data;
|
||||
}
|
||||
|
||||
u8 mmahjong_state::input_r()
|
||||
{
|
||||
u8 data = 0;
|
||||
u8 data = 0xff;
|
||||
|
||||
// read keypad
|
||||
for (int i = 0; i < 3; i++)
|
||||
if (BIT(m_inp_matrix, i))
|
||||
data |= m_inputs[i]->read();
|
||||
if (!BIT(m_inp_matrix, i))
|
||||
data &= m_inputs[i]->read();
|
||||
|
||||
return ~data;
|
||||
return data;
|
||||
}
|
||||
|
||||
void mmahjong_state::sound_w(u8 data)
|
||||
@ -147,29 +147,32 @@ void mmahjong_state::main_map(address_map &map)
|
||||
|
||||
static INPUT_PORTS_START( mmahjong )
|
||||
PORT_START("IN.0")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_MAHJONG_A) // 1
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_MAHJONG_B) // 2
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_MAHJONG_C) // 3
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_MAHJONG_D) // 4
|
||||
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_MAHJONG_E) // 5
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_MAHJONG_F) // 6
|
||||
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A) // 1
|
||||
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_B) // 2
|
||||
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_C) // 3
|
||||
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_D) // 4
|
||||
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_MAHJONG_E) // 5
|
||||
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_MAHJONG_F) // 6
|
||||
PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED)
|
||||
|
||||
PORT_START("IN.1")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_MAHJONG_G) // 7
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_MAHJONG_H) // 8
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_MAHJONG_I) // 9
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_MAHJONG_J) // 10
|
||||
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_MAHJONG_K) // 11
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_MAHJONG_L) // 12
|
||||
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_G) // 7
|
||||
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_H) // 8
|
||||
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_I) // 9
|
||||
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_J) // 10
|
||||
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_MAHJONG_K) // 11
|
||||
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_MAHJONG_L) // 12
|
||||
PORT_BIT(0xc0, IP_ACTIVE_LOW, IPT_UNUSED)
|
||||
|
||||
PORT_START("IN.2")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_MAHJONG_M) // 13
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_MAHJONG_N) // 0 (Tsumo)
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_MAHJONG_PON)
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_MAHJONG_CHI)
|
||||
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_MAHJONG_KAN)
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_MAHJONG_REACH)
|
||||
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_MAHJONG_RON)
|
||||
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_MAHJONG_M) // 13
|
||||
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_MAHJONG_N) // 0 (Tsumo)
|
||||
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_MAHJONG_PON)
|
||||
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_MAHJONG_CHI)
|
||||
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_MAHJONG_KAN)
|
||||
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_MAHJONG_REACH)
|
||||
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_MAHJONG_RON)
|
||||
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_UNUSED)
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user