srcclean in preparation for release
This commit is contained in:
parent
e20239398c
commit
e298c31a69
@ -5,12 +5,12 @@ license:CC0
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Not dumped:
|
Not dumped:
|
||||||
|
|
||||||
The Princess and the Frog
|
The Princess and the Frog
|
||||||
Toy Story 3
|
Toy Story 3
|
||||||
|
|
||||||
(it also needs confirming if US / UK cartridges are different, dumps are all from UK cartridges)
|
(it also needs confirming if US / UK cartridges are different, dumps are all from UK cartridges)
|
||||||
|
|
||||||
-->
|
-->
|
||||||
<softwarelist name="leapfrog_zippity_cart" description="LeapFrog Zippity Cartridges">
|
<softwarelist name="leapfrog_zippity_cart" description="LeapFrog Zippity Cartridges">
|
||||||
|
@ -25,7 +25,7 @@ project "formats"
|
|||||||
MAME_DIR .. "src/lib",
|
MAME_DIR .. "src/lib",
|
||||||
MAME_DIR .. "src/lib/util",
|
MAME_DIR .. "src/lib/util",
|
||||||
MAME_DIR .. "3rdparty",
|
MAME_DIR .. "3rdparty",
|
||||||
GEN_DIR,
|
GEN_DIR,
|
||||||
ext_includedir("zlib"),
|
ext_includedir("zlib"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
|
|
||||||
Mac video support, "Sonora" edition
|
Mac video support, "Sonora" edition
|
||||||
Supports 5 different modelines at up to 16bpp
|
Supports 5 different modelines at up to 16bpp
|
||||||
|
|
||||||
*********************************************************************/
|
*********************************************************************/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
|
|
||||||
Mac video support, "Sonora" edition
|
Mac video support, "Sonora" edition
|
||||||
Supports 5 different modelines at up to 16bpp
|
Supports 5 different modelines at up to 16bpp
|
||||||
|
|
||||||
*********************************************************************/
|
*********************************************************************/
|
||||||
#ifndef MAME_MACHINE_MAC_VIDEO_SONORA_H
|
#ifndef MAME_MACHINE_MAC_VIDEO_SONORA_H
|
||||||
|
@ -551,7 +551,7 @@ void swim3_device::live_run(attotime limit)
|
|||||||
if(!(m_cur_live.bit_counter & 1))
|
if(!(m_cur_live.bit_counter & 1))
|
||||||
m_cur_live.crc = 0xffff;
|
m_cur_live.crc = 0xffff;
|
||||||
|
|
||||||
// logerror("pre counter %02d sr %04x data %02x crc %04x\n", m_cur_live.bit_counter, m_cur_live.shift_reg, m_cur_live.data_reg, m_cur_live.crc);
|
// logerror("pre counter %02d sr %04x data %02x crc %04x\n", m_cur_live.bit_counter, m_cur_live.shift_reg, m_cur_live.data_reg, m_cur_live.crc);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case L_MFM_SCAN_ID:
|
case L_MFM_SCAN_ID:
|
||||||
@ -574,7 +574,7 @@ void swim3_device::live_run(attotime limit)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// logerror("post counter %02d sr %04x data %02x crc %04x\n", m_cur_live.bit_counter, m_cur_live.shift_reg, m_cur_live.data_reg, m_cur_live.crc);
|
// logerror("post counter %02d sr %04x data %02x crc %04x\n", m_cur_live.bit_counter, m_cur_live.shift_reg, m_cur_live.data_reg, m_cur_live.crc);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case L_MFM_READ_ID:
|
case L_MFM_READ_ID:
|
||||||
@ -646,7 +646,7 @@ void swim3_device::live_run(attotime limit)
|
|||||||
if(!(m_cur_live.bit_counter & 1))
|
if(!(m_cur_live.bit_counter & 1))
|
||||||
m_cur_live.crc = 0xffff;
|
m_cur_live.crc = 0xffff;
|
||||||
|
|
||||||
// logerror("pre counter %02d sr %04x data %02x crc %04x\n", m_cur_live.bit_counter, m_cur_live.shift_reg, m_cur_live.data_reg, m_cur_live.crc);
|
// logerror("pre counter %02d sr %04x data %02x crc %04x\n", m_cur_live.bit_counter, m_cur_live.shift_reg, m_cur_live.data_reg, m_cur_live.crc);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case L_MFM_SCAN_DATA:
|
case L_MFM_SCAN_DATA:
|
||||||
@ -670,7 +670,7 @@ void swim3_device::live_run(attotime limit)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// logerror("post counter %02d sr %04x data %02x crc %04x\n", m_cur_live.bit_counter, m_cur_live.shift_reg, m_cur_live.data_reg, m_cur_live.crc);
|
// logerror("post counter %02d sr %04x data %02x crc %04x\n", m_cur_live.bit_counter, m_cur_live.shift_reg, m_cur_live.data_reg, m_cur_live.crc);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case L_MFM_READ_DATA:
|
case L_MFM_READ_DATA:
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
based on ST-0016 emulation
|
based on ST-0016 emulation
|
||||||
|
|
||||||
used by
|
used by
|
||||||
- ST-0026 NiLe (srmp6, 8 voices)
|
- ST-0026 NiLe (srmp6, 8 voices)
|
||||||
- ST-0032 (jclub2, 16 voices)
|
- ST-0032 (jclub2, 16 voices)
|
||||||
- Capcom CPS3 sound hardware has similarity?
|
- Capcom CPS3 sound hardware has similarity?
|
||||||
|
|
||||||
Register Format (32 byte per voices)
|
Register Format (32 byte per voices)
|
||||||
|
|
||||||
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
20-3f: Voice 1
|
20-3f: Voice 1
|
||||||
...
|
...
|
||||||
e0-ff: Voice 7
|
e0-ff: Voice 7
|
||||||
|
|
||||||
100: Keyon/off, Bit 0-7 means Voice 0-7
|
100: Keyon/off, Bit 0-7 means Voice 0-7
|
||||||
110: Used but unknown
|
110: Used but unknown
|
||||||
|
@ -89,7 +89,7 @@ u8 ym2151_device::read(offs_t offset)
|
|||||||
logerror("Unexpected read from YM2151 offset %d\n", offset & 3);
|
logerror("Unexpected read from YM2151 offset %d\n", offset & 3);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1: // status port, YM2203 compatible
|
case 1: // status port, YM2203 compatible
|
||||||
result = m_opm.status();
|
result = m_opm.status();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -110,7 +110,7 @@ void ym2151_device::write(offs_t offset, u8 value)
|
|||||||
|
|
||||||
switch (offset & 1)
|
switch (offset & 1)
|
||||||
{
|
{
|
||||||
case 0: // address port
|
case 0: // address port
|
||||||
m_address = value;
|
m_address = value;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -251,7 +251,7 @@ void ym2164_device::write(offs_t offset, u8 value)
|
|||||||
|
|
||||||
switch (offset & 1)
|
switch (offset & 1)
|
||||||
{
|
{
|
||||||
case 0: // address port
|
case 0: // address port
|
||||||
m_address = value;
|
m_address = value;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ u8 ym2203_device::read(offs_t offset)
|
|||||||
u8 result = 0;
|
u8 result = 0;
|
||||||
switch (offset & 1)
|
switch (offset & 1)
|
||||||
{
|
{
|
||||||
case 0: // status port
|
case 0: // status port
|
||||||
result = m_opn.status();
|
result = m_opn.status();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ void ym2203_device::write(offs_t offset, u8 value)
|
|||||||
{
|
{
|
||||||
switch (offset & 1)
|
switch (offset & 1)
|
||||||
{
|
{
|
||||||
case 0: // address port
|
case 0: // address port
|
||||||
m_address = value;
|
m_address = value;
|
||||||
if (m_address < 0x10)
|
if (m_address < 0x10)
|
||||||
{
|
{
|
||||||
|
@ -54,7 +54,7 @@ u8 ym2608_device::read(offs_t offset)
|
|||||||
u8 result = 0;
|
u8 result = 0;
|
||||||
switch (offset & 3)
|
switch (offset & 3)
|
||||||
{
|
{
|
||||||
case 0: // status port, YM2203 compatible
|
case 0: // status port, YM2203 compatible
|
||||||
result = m_opn.status() & (ymopna_engine::STATUS_TIMERA | ymopna_engine::STATUS_TIMERB | ymopna_engine::STATUS_BUSY);
|
result = m_opn.status() & (ymopna_engine::STATUS_TIMERA | ymopna_engine::STATUS_TIMERB | ymopna_engine::STATUS_BUSY);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -65,11 +65,11 @@ u8 ym2608_device::read(offs_t offset)
|
|||||||
result = 1; // ID code
|
result = 1; // ID code
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2: // status port, extended
|
case 2: // status port, extended
|
||||||
result = combine_status();
|
result = combine_status();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3: // ADPCM-B data
|
case 3: // ADPCM-B data
|
||||||
if (m_address < 0x10)
|
if (m_address < 0x10)
|
||||||
result = m_adpcm_b.read(m_address);
|
result = m_adpcm_b.read(m_address);
|
||||||
break;
|
break;
|
||||||
@ -87,7 +87,7 @@ void ym2608_device::write(offs_t offset, u8 value)
|
|||||||
{
|
{
|
||||||
switch (offset & 3)
|
switch (offset & 3)
|
||||||
{
|
{
|
||||||
case 0: // address port
|
case 0: // address port
|
||||||
m_address = value;
|
m_address = value;
|
||||||
if (m_address < 0x10)
|
if (m_address < 0x10)
|
||||||
{
|
{
|
||||||
|
@ -56,7 +56,7 @@ u8 ym2610_device::read(offs_t offset)
|
|||||||
u8 result = 0;
|
u8 result = 0;
|
||||||
switch (offset & 3)
|
switch (offset & 3)
|
||||||
{
|
{
|
||||||
case 0: // status port, YM2203 compatible
|
case 0: // status port, YM2203 compatible
|
||||||
result = m_opn.status() & (ymopna_engine::STATUS_TIMERA | ymopna_engine::STATUS_TIMERB | ymopna_engine::STATUS_BUSY);
|
result = m_opn.status() & (ymopna_engine::STATUS_TIMERA | ymopna_engine::STATUS_TIMERB | ymopna_engine::STATUS_BUSY);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -67,11 +67,11 @@ u8 ym2610_device::read(offs_t offset)
|
|||||||
result = 1; // ID code
|
result = 1; // ID code
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2: // status port, extended
|
case 2: // status port, extended
|
||||||
result = m_eos_status & m_flag_mask;
|
result = m_eos_status & m_flag_mask;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3: // ADPCM-B data
|
case 3: // ADPCM-B data
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
@ -87,7 +87,7 @@ void ym2610_device::write(offs_t offset, u8 value)
|
|||||||
{
|
{
|
||||||
switch (offset & 3)
|
switch (offset & 3)
|
||||||
{
|
{
|
||||||
case 0: // address port
|
case 0: // address port
|
||||||
m_address = value;
|
m_address = value;
|
||||||
|
|
||||||
// write register to SSG emulator
|
// write register to SSG emulator
|
||||||
|
@ -47,13 +47,13 @@ u8 ym2612_device::read(offs_t offset)
|
|||||||
u8 result = 0;
|
u8 result = 0;
|
||||||
switch (offset & 3)
|
switch (offset & 3)
|
||||||
{
|
{
|
||||||
case 0: // status port, YM2203 compatible
|
case 0: // status port, YM2203 compatible
|
||||||
result = m_opn.status();
|
result = m_opn.status();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1: // data port (unused)
|
case 1: // data port (unused)
|
||||||
case 2: // status port, extended
|
case 2: // status port, extended
|
||||||
case 3: // data port (unused)
|
case 3: // data port (unused)
|
||||||
logerror("Unexpected read from YM2612 offset %d\n", offset & 3);
|
logerror("Unexpected read from YM2612 offset %d\n", offset & 3);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -70,7 +70,7 @@ void ym2612_device::write(offs_t offset, u8 value)
|
|||||||
{
|
{
|
||||||
switch (offset & 3)
|
switch (offset & 3)
|
||||||
{
|
{
|
||||||
case 0: // address port
|
case 0: // address port
|
||||||
m_address = value;
|
m_address = value;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -252,14 +252,14 @@ inline s8 detune_adjustment(u8 detune, u8 keycode)
|
|||||||
{
|
{
|
||||||
static u8 const s_detune_adjustment[32][4] =
|
static u8 const s_detune_adjustment[32][4] =
|
||||||
{
|
{
|
||||||
{ 0, 0, 1, 2 }, { 0, 0, 1, 2 }, { 0, 0, 1, 2 }, { 0, 0, 1, 2 },
|
{ 0, 0, 1, 2 }, { 0, 0, 1, 2 }, { 0, 0, 1, 2 }, { 0, 0, 1, 2 },
|
||||||
{ 0, 1, 2, 2 }, { 0, 1, 2, 3 }, { 0, 1, 2, 3 }, { 0, 1, 2, 3 },
|
{ 0, 1, 2, 2 }, { 0, 1, 2, 3 }, { 0, 1, 2, 3 }, { 0, 1, 2, 3 },
|
||||||
{ 0, 1, 2, 4 }, { 0, 1, 3, 4 }, { 0, 1, 3, 4 }, { 0, 1, 3, 5 },
|
{ 0, 1, 2, 4 }, { 0, 1, 3, 4 }, { 0, 1, 3, 4 }, { 0, 1, 3, 5 },
|
||||||
{ 0, 2, 4, 5 }, { 0, 2, 4, 6 }, { 0, 2, 4, 6 }, { 0, 2, 5, 7 },
|
{ 0, 2, 4, 5 }, { 0, 2, 4, 6 }, { 0, 2, 4, 6 }, { 0, 2, 5, 7 },
|
||||||
{ 0, 2, 5, 8 }, { 0, 3, 6, 8 }, { 0, 3, 6, 9 }, { 0, 3, 7, 10 },
|
{ 0, 2, 5, 8 }, { 0, 3, 6, 8 }, { 0, 3, 6, 9 }, { 0, 3, 7, 10 },
|
||||||
{ 0, 4, 8, 11 }, { 0, 4, 8, 12 }, { 0, 4, 9, 13 }, { 0, 5, 10, 14 },
|
{ 0, 4, 8, 11 }, { 0, 4, 8, 12 }, { 0, 4, 9, 13 }, { 0, 5, 10, 14 },
|
||||||
{ 0, 5, 11, 16 }, { 0, 6, 12, 17 }, { 0, 6, 13, 19 }, { 0, 7, 14, 20 },
|
{ 0, 5, 11, 16 }, { 0, 6, 12, 17 }, { 0, 6, 13, 19 }, { 0, 7, 14, 20 },
|
||||||
{ 0, 8, 16, 22 }, { 0, 8, 16, 22 }, { 0, 8, 16, 22 }, { 0, 8, 16, 22 }
|
{ 0, 8, 16, 22 }, { 0, 8, 16, 22 }, { 0, 8, 16, 22 }, { 0, 8, 16, 22 }
|
||||||
};
|
};
|
||||||
s8 result = s_detune_adjustment[keycode][detune & 3];
|
s8 result = s_detune_adjustment[keycode][detune & 3];
|
||||||
return BIT(detune, 2) ? -result : result;
|
return BIT(detune, 2) ? -result : result;
|
||||||
@ -1640,7 +1640,7 @@ TIMER_CALLBACK_MEMBER(ymfm_engine_base<RegisterType>::timer_handler)
|
|||||||
if (param == 0 && m_regs.enable_timer_a())
|
if (param == 0 && m_regs.enable_timer_a())
|
||||||
set_reset_status(STATUS_TIMERA, 0);
|
set_reset_status(STATUS_TIMERA, 0);
|
||||||
else if (param == 1 && m_regs.enable_timer_b())
|
else if (param == 1 && m_regs.enable_timer_b())
|
||||||
set_reset_status(STATUS_TIMERB, 0);
|
set_reset_status(STATUS_TIMERB, 0);
|
||||||
|
|
||||||
// if timer A fired in CSM mode, trigger CSM on all relevant channels
|
// if timer A fired in CSM mode, trigger CSM on all relevant channels
|
||||||
if (param == 0 && m_regs.csm())
|
if (param == 0 && m_regs.csm())
|
||||||
|
@ -819,7 +819,7 @@ private:
|
|||||||
attotime m_busy_end; // end of the busy time
|
attotime m_busy_end; // end of the busy time
|
||||||
emu_timer *m_timer[2]; // our two timers
|
emu_timer *m_timer[2]; // our two timers
|
||||||
devcb_write_line m_irq_handler; // IRQ callback
|
devcb_write_line m_irq_handler; // IRQ callback
|
||||||
std::unique_ptr<ymfm_channel<RegisterType>> m_channel[RegisterType::CHANNELS]; // channel pointers
|
std::unique_ptr<ymfm_channel<RegisterType>> m_channel[RegisterType::CHANNELS]; // channel pointers
|
||||||
std::vector<u8> m_regdata; // raw register data
|
std::vector<u8> m_regdata; // raw register data
|
||||||
RegisterType m_regs; // register accessor
|
RegisterType m_regs; // register accessor
|
||||||
};
|
};
|
||||||
|
@ -23,8 +23,8 @@
|
|||||||
Tierras Salvajes
|
Tierras Salvajes
|
||||||
Zorton Brothers (Los Justicieros) [2 versions]
|
Zorton Brothers (Los Justicieros) [2 versions]
|
||||||
|
|
||||||
Picmatic games had different versions depending on TV system (PAL or NTSC) and
|
Picmatic games had different versions depending on TV system (PAL or NTSC) and
|
||||||
TV frequency (NTSC 60Hz, PAL 50Hz, PAL 100Hz):
|
TV frequency (NTSC 60Hz, PAL 50Hz, PAL 100Hz):
|
||||||
|
|
||||||
Game System ROM dumped LD dumped
|
Game System ROM dumped LD dumped
|
||||||
--------------------- --------- ---------- ---------
|
--------------------- --------- ---------- ---------
|
||||||
|
@ -737,7 +737,7 @@ void apple2e_state::recalc_active_device()
|
|||||||
{
|
{
|
||||||
m_cur_floppy = m_floppy[1]->get_device();
|
m_cur_floppy = m_floppy[1]->get_device();
|
||||||
}
|
}
|
||||||
else // should be external 3.5 #2, for a 3rd drive
|
else // should be external 3.5 #2, for a 3rd drive
|
||||||
{
|
{
|
||||||
m_cur_floppy = nullptr;
|
m_cur_floppy = nullptr;
|
||||||
}
|
}
|
||||||
|
@ -1713,89 +1713,89 @@ INPUT_PORTS_START( HANAFUDA_KEYS_BET )
|
|||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
/*
|
/*
|
||||||
[[maybe_unused]] static INPUT_PORTS_START( HANAFUDA_KEYS_BET_ALT )
|
[[maybe_unused]] static INPUT_PORTS_START( HANAFUDA_KEYS_BET_ALT )
|
||||||
PORT_START("KEY0")
|
PORT_START("KEY0")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(1)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(1)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(1)
|
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(1)
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) PORT_PLAYER(1)
|
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) PORT_PLAYER(1)
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) // "t"
|
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) // "t"
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
|
||||||
|
|
||||||
PORT_START("KEY1")
|
PORT_START("KEY1")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(1)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(1)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(1)
|
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(1)
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) PORT_PLAYER(1)
|
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) PORT_PLAYER(1)
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) // "s"
|
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) // "s"
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
|
|
||||||
PORT_START("KEY2")
|
PORT_START("KEY2")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(1)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(1)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(1)
|
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(1)
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) // "b"
|
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) // "b"
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
|
|
||||||
PORT_START("KEY3")
|
PORT_START("KEY3")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(1)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(1)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(1)
|
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(1)
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) // "w"
|
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) // "w"
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
|
|
||||||
PORT_START("KEY4")
|
PORT_START("KEY4")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
|
|
||||||
PORT_START("KEY5")
|
PORT_START("KEY5")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(2)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(2)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(2)
|
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(2)
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) PORT_PLAYER(2)
|
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) PORT_PLAYER(2)
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) PORT_PLAYER(2) // "t"
|
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SCORE ) PORT_PLAYER(2) // "t"
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
|
||||||
|
|
||||||
PORT_START("KEY6")
|
PORT_START("KEY6")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(2)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(2)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(2)
|
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(2)
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) PORT_PLAYER(2)
|
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) PORT_PLAYER(2)
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) PORT_PLAYER(2) // "s"
|
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_SMALL ) PORT_PLAYER(2) // "s"
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
|
|
||||||
PORT_START("KEY7")
|
PORT_START("KEY7")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(2)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(2)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(2)
|
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(2)
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) PORT_PLAYER(2) // "b"
|
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_BIG ) PORT_PLAYER(2) // "b"
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
|
|
||||||
PORT_START("KEY8")
|
PORT_START("KEY8")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(2)
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(2)
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(2)
|
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(2)
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) PORT_PLAYER(2) // "w"
|
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_DOUBLE_UP ) PORT_PLAYER(2) // "w"
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
|
|
||||||
PORT_START("KEY9")
|
PORT_START("KEY9")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
*/
|
*/
|
||||||
static INPUT_PORTS_START( cdracula )
|
static INPUT_PORTS_START( cdracula )
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
- racooon (Raccoon World)
|
- racooon (Raccoon World)
|
||||||
|
|
||||||
Game animation & timers seem too fast? demoted to NOT WORKING as a
|
Game animation & timers seem too fast? demoted to NOT WORKING as a
|
||||||
result
|
result
|
||||||
|
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
Game Issues (unknown):
|
Game Issues (unknown):
|
||||||
|
@ -76,8 +76,8 @@
|
|||||||
GQ972 Main Board
|
GQ972 Main Board
|
||||||
2x CD-ROM drive in Slot 1
|
2x CD-ROM drive in Slot 1
|
||||||
|
|
||||||
Pop'n Music
|
Pop'n Music
|
||||||
------------
|
------------
|
||||||
GQ986 Backplane
|
GQ986 Backplane
|
||||||
GQ971 SPU
|
GQ971 SPU
|
||||||
GQ972 Main Board
|
GQ972 Main Board
|
||||||
@ -826,31 +826,31 @@ uint32_t firebeat_state::cabinet_r(offs_t offset, uint32_t mem_mask)
|
|||||||
/* Security dongle is a Dallas DS1411 RS232 Adapter with a DS1991 Multikey iButton */
|
/* Security dongle is a Dallas DS1411 RS232 Adapter with a DS1991 Multikey iButton */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Each DS1991 dongle has 3 secure enclaves. The first enclave is always the game
|
Each DS1991 dongle has 3 secure enclaves. The first enclave is always the game
|
||||||
serial number. This is a 9 digit alphanumeric ID. The first three characters are
|
serial number. This is a 9 digit alphanumeric ID. The first three characters are
|
||||||
always the game's code, and the rest of the characters are all digits. The fourth
|
always the game's code, and the rest of the characters are all digits. The fourth
|
||||||
character seems to be a region specifier and causes many games to check against
|
character seems to be a region specifier and causes many games to check against
|
||||||
values in the m_cabinet_info register to verify that the hardware matches. This was
|
values in the m_cabinet_info register to verify that the hardware matches. This was
|
||||||
used to region lock JP and overseas data as well as specify that certain firebeats
|
used to region lock JP and overseas data as well as specify that certain firebeats
|
||||||
only accept e-Amusement dongles (Konami's rental service before it was an online network).
|
only accept e-Amusement dongles (Konami's rental service before it was an online network).
|
||||||
|
|
||||||
Odd numbers in the 4th position correspond to JP data, with 1 and 3 being observed
|
Odd numbers in the 4th position correspond to JP data, with 1 and 3 being observed
|
||||||
values in the wild. Some games also accept a 7 and a few games also accept a 5.
|
values in the wild. Some games also accept a 7 and a few games also accept a 5.
|
||||||
Even numbers in the 4th position correspond to overseas data, with 4 being the only
|
Even numbers in the 4th position correspond to overseas data, with 4 being the only
|
||||||
observed value. A 0 or 9 in the 4th position is game-specific (much like the handling of
|
observed value. A 0 or 9 in the 4th position is game-specific (much like the handling of
|
||||||
m_cabinet_info) but generally correspond to rental data.
|
m_cabinet_info) but generally correspond to rental data.
|
||||||
|
|
||||||
The second enclave is license data for some Pop'n Music games and specifies the length
|
The second enclave is license data for some Pop'n Music games and specifies the length
|
||||||
of time a dongle is valid for. The RTCRAM is used for this check which is why there is
|
of time a dongle is valid for. The RTCRAM is used for this check which is why there is
|
||||||
no operator menu to change the RTC. Instead, the time is set using the license check
|
no operator menu to change the RTC. Instead, the time is set using the license check
|
||||||
screen that appears on some series such as Pop'n Music and Firebeat. It is encoded in
|
screen that appears on some series such as Pop'n Music and Firebeat. It is encoded in
|
||||||
the password that is given to the operator to pass the check. For games which do not use
|
the password that is given to the operator to pass the check. For games which do not use
|
||||||
extended license information, this enclave is left blank.
|
extended license information, this enclave is left blank.
|
||||||
|
|
||||||
The third enclave is a mode switch. Every game looks for some unique set of data here
|
The third enclave is a mode switch. Every game looks for some unique set of data here
|
||||||
and will turn on manufacture/service mode if the right value is set. Some games also
|
and will turn on manufacture/service mode if the right value is set. Some games also
|
||||||
look for overseas and rental strings here and a few also have no hardware check dongles
|
look for overseas and rental strings here and a few also have no hardware check dongles
|
||||||
and debug dongles. In the case of normal retail dongles, this enclave is left blank.
|
and debug dongles. In the case of normal retail dongles, this enclave is left blank.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
@ -62,8 +62,8 @@ Notes:
|
|||||||
V106.U16 - MX27C4000 4MBit DIP32 EPROM; Main Program
|
V106.U16 - MX27C4000 4MBit DIP32 EPROM; Main Program
|
||||||
V100.U7 - ST M27C801 8MBit DIP32 EPROM; Audio Samples?
|
V100.U7 - ST M27C801 8MBit DIP32 EPROM; Audio Samples?
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
- Game speed seems to be completely wrong, timers and player movement too fast?
|
- Game speed seems to be completely wrong, timers and player movement too fast?
|
||||||
|
|
||||||
*********************************************************************************************************************/
|
*********************************************************************************************************************/
|
||||||
|
|
||||||
|
@ -371,7 +371,7 @@ void macpdm_state::irq_main_set(uint8_t mask, int state)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// logerror("irq control %02x\n", m_irq_control);
|
// logerror("irq control %02x\n", m_irq_control);
|
||||||
}
|
}
|
||||||
|
|
||||||
void macpdm_state::via2_irq_main_set(uint8_t mask, int state)
|
void macpdm_state::via2_irq_main_set(uint8_t mask, int state)
|
||||||
@ -380,7 +380,7 @@ void macpdm_state::via2_irq_main_set(uint8_t mask, int state)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
m_via2_ifr ^= mask;
|
m_via2_ifr ^= mask;
|
||||||
// logerror("via2 main %02x / %02x -> %02x\n", m_via2_ifr, m_via2_ier, m_via2_ifr & m_via2_ier);
|
// logerror("via2 main %02x / %02x -> %02x\n", m_via2_ifr, m_via2_ier, m_via2_ifr & m_via2_ier);
|
||||||
|
|
||||||
irq_main_set(0x02, (m_via2_ifr & m_via2_ier) != 0);
|
irq_main_set(0x02, (m_via2_ifr & m_via2_ier) != 0);
|
||||||
}
|
}
|
||||||
@ -910,7 +910,7 @@ void macpdm_state::dma_floppy_step()
|
|||||||
m_maincpu->space().write_byte(m_dma_floppy_adr + m_dma_floppy_offset, r);
|
m_maincpu->space().write_byte(m_dma_floppy_adr + m_dma_floppy_offset, r);
|
||||||
m_dma_floppy_offset ++;
|
m_dma_floppy_offset ++;
|
||||||
m_dma_floppy_byte_count --;
|
m_dma_floppy_byte_count --;
|
||||||
// logerror("dma_w %03x, %02x\n", m_dma_floppy_offset, r);
|
// logerror("dma_w %03x, %02x\n", m_dma_floppy_offset, r);
|
||||||
if(m_dma_floppy_byte_count == 0) {
|
if(m_dma_floppy_byte_count == 0) {
|
||||||
m_dma_floppy_ctrl &= ~0x02;
|
m_dma_floppy_ctrl &= ~0x02;
|
||||||
m_dma_floppy_ctrl |= 0x80;
|
m_dma_floppy_ctrl |= 0x80;
|
||||||
|
@ -52,8 +52,8 @@ Winning Run
|
|||||||
- priority, mixing incorrection
|
- priority, mixing incorrection
|
||||||
|
|
||||||
reference videos
|
reference videos
|
||||||
- https://youtu.be/ZNNveBLWevg
|
- https://youtu.be/ZNNveBLWevg
|
||||||
- https://youtu.be/KazxHW9wQ60
|
- https://youtu.be/KazxHW9wQ60
|
||||||
|
|
||||||
*****************************
|
*****************************
|
||||||
|
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
- Needs better I82730 emulation
|
- Needs better I82730 emulation
|
||||||
- Floppy I/O errors
|
- Floppy I/O errors
|
||||||
- Many more things
|
- Many more things
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
- Press SPACE during self-test for an extended menu
|
- Press SPACE during self-test for an extended menu
|
||||||
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
@ -1870,14 +1870,14 @@ void spg2xx_game_hotwheels_state::hotwheels(machine_config &config)
|
|||||||
|
|
||||||
uint16_t spg2xx_game_doraphone_state::porta_r(offs_t offset, uint16_t mem_mask)
|
uint16_t spg2xx_game_doraphone_state::porta_r(offs_t offset, uint16_t mem_mask)
|
||||||
{
|
{
|
||||||
uint16_t matrix = 0x000f;
|
uint16_t matrix = 0x000f;
|
||||||
for (int b = 1; 6 >= b; ++b)
|
for (int b = 1; 6 >= b; ++b)
|
||||||
{
|
{
|
||||||
if (!BIT(m_portb_data, b))
|
if (!BIT(m_portb_data, b))
|
||||||
matrix &= m_io_p1_rows[b - 1]->read();
|
matrix &= m_io_p1_rows[b - 1]->read();
|
||||||
}
|
}
|
||||||
|
|
||||||
return matrix | (m_io_p1->read() & 0xfff0);
|
return matrix | (m_io_p1->read() & 0xfff0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void spg2xx_game_doraphone_state::portb_w(offs_t offset, uint16_t data, uint16_t mem_mask)
|
void spg2xx_game_doraphone_state::portb_w(offs_t offset, uint16_t data, uint16_t mem_mask)
|
||||||
|
@ -43,9 +43,9 @@
|
|||||||
#define MAC_H_TOTAL (704) // (512+192)
|
#define MAC_H_TOTAL (704) // (512+192)
|
||||||
#define MAC_V_TOTAL (370) // (342+28)
|
#define MAC_V_TOTAL (370) // (342+28)
|
||||||
|
|
||||||
/* Mac driver data */
|
// Mac driver data
|
||||||
|
|
||||||
class mac_state:public driver_device
|
class mac_state:public driver_device
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
mac_state(const machine_config &mconfig, device_type type, const char *tag) :
|
mac_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||||
|
@ -6162,5 +6162,5 @@
|
|||||||
<element name="debug_reel_symbol_count" ref="debug_reel_symbol_count_3">
|
<element name="debug_reel_symbol_count" ref="debug_reel_symbol_count_3">
|
||||||
<bounds x="1600" y="272" width="50" height="30"/>
|
<bounds x="1600" y="272" width="50" height="30"/>
|
||||||
</element>
|
</element>
|
||||||
</view>
|
</view>
|
||||||
</mamelayout>
|
</mamelayout>
|
||||||
|
@ -37,7 +37,7 @@ uint8_t elan_ep3a19asys_device::rombank_r(offs_t offset)
|
|||||||
|
|
||||||
void elan_ep3a19asys_device::map(address_map& map)
|
void elan_ep3a19asys_device::map(address_map& map)
|
||||||
{
|
{
|
||||||
// elan_eu3a05commonsys_device::map(map); // 00 - 0e
|
// elan_eu3a05commonsys_device::map(map); // 00 - 0e
|
||||||
|
|
||||||
map(0x0c, 0x0c).rw(FUNC(elan_ep3a19asys_device::rombank_r), FUNC(elan_ep3a19asys_device::rombank_w));
|
map(0x0c, 0x0c).rw(FUNC(elan_ep3a19asys_device::rombank_r), FUNC(elan_ep3a19asys_device::rombank_w));
|
||||||
|
|
||||||
|
@ -1026,7 +1026,7 @@ void macadb_device::device_reset()
|
|||||||
|
|
||||||
WRITE_LINE_MEMBER(macadb_device::adb_linechange_w)
|
WRITE_LINE_MEMBER(macadb_device::adb_linechange_w)
|
||||||
{
|
{
|
||||||
/* static char const *const states[] =
|
/* static char const *const states[] =
|
||||||
{
|
{
|
||||||
"idle",
|
"idle",
|
||||||
"attention",
|
"attention",
|
||||||
@ -1053,14 +1053,14 @@ WRITE_LINE_MEMBER(macadb_device::adb_linechange_w)
|
|||||||
int dtime = (int)(machine().time().as_ticks(adb_timebase) - m_last_adb_time);
|
int dtime = (int)(machine().time().as_ticks(adb_timebase) - m_last_adb_time);
|
||||||
m_last_adb_time = machine().time().as_ticks(adb_timebase);
|
m_last_adb_time = machine().time().as_ticks(adb_timebase);
|
||||||
|
|
||||||
/* if (m_adb_linestate <= 12)
|
/* if (m_adb_linestate <= 12)
|
||||||
{
|
{
|
||||||
printf("linechange: %d -> %d, time %d (state %d = %s)\n", state^1, state, dtime, m_adb_linestate, states[m_adb_linestate]);
|
printf("linechange: %d -> %d, time %d (state %d = %s)\n", state^1, state, dtime, m_adb_linestate, states[m_adb_linestate]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("linechange: %d -> %d, time %d (state %d)\n", state^1, state, dtime, m_adb_linestate);
|
printf("linechange: %d -> %d, time %d (state %d)\n", state^1, state, dtime, m_adb_linestate);
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
if ((m_adb_direction) && (m_adb_linestate == LST_TSTOP))
|
if ((m_adb_direction) && (m_adb_linestate == LST_TSTOP))
|
||||||
{
|
{
|
||||||
|
@ -6,15 +6,15 @@
|
|||||||
|
|
||||||
Video hardware driver by Uki 02/Mar/2001
|
Video hardware driver by Uki 02/Mar/2001
|
||||||
|
|
||||||
Video consists of
|
Video consists of
|
||||||
- Sprites
|
- Sprites
|
||||||
- 2x ROM based tilemaps (bg and fg) with priority over some sprites
|
- 2x ROM based tilemaps (bg and fg) with priority over some sprites
|
||||||
- 1x RAM based tilemap (text layer) (no wrapping?)
|
- 1x RAM based tilemap (text layer) (no wrapping?)
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
- update to use tilemap system?
|
- update to use tilemap system?
|
||||||
- check if any of this is common Jaleco/NMK etc. hardware and use shared
|
- check if any of this is common Jaleco/NMK etc. hardware and use shared
|
||||||
devices if possible
|
devices if possible
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user