mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
Cleanups and version bump
This commit is contained in:
parent
64219f27d2
commit
76b978d039
@ -450,7 +450,7 @@ Please stick to using the floppy versions for the time being...
|
||||
<year>1985</year>
|
||||
<publisher>Amsoft</publisher>
|
||||
<info name="usage" value="Load with |TAPE and then RUN""" />
|
||||
<info name="alt_title" value="3D Boxkampf" /> <part name="cass1" interface="cpc_cass">
|
||||
<info name="alt_title" value="3D Boxkampf" /> <part name="cass1" interface="cpc_cass">
|
||||
<dataarea name="cass" size="58470">
|
||||
<rom name="3d boxing (uk) (1985) [original] [tape].cdt" size="58470" crc="19182316" sha1="adc783a37568ae81fcaa3c7a0af80b08258c038c" offset="0" />
|
||||
</dataarea>
|
||||
@ -30818,7 +30818,7 @@ Please stick to using the floppy versions for the time being...
|
||||
<software name="saicombt" supported="no">
|
||||
<description>Sai Combat (UK)</description>
|
||||
<year>1986</year>
|
||||
<publisher>Mirrorsoft / Silverbird</publisher> <!-- Both releases contain the same tape! -->
|
||||
<publisher>Mirrorsoft / Silverbird</publisher> <!-- Both releases contain the same tape! -->
|
||||
<info name="usage" value="Load with |TAPE and then RUN""" />
|
||||
<part name="cass1" interface="cpc_cass">
|
||||
<dataarea name="cass" size="71691">
|
||||
@ -43825,7 +43825,7 @@ Covertapes
|
||||
<description>Advanced Lawnmowing Simulator (UK)</description>
|
||||
<year>2010</year>
|
||||
<publisher><homebrew></publisher>
|
||||
<info name="developer" value="Devilmarkus" />
|
||||
<info name="developer" value="Devilmarkus" />
|
||||
<info name="usage" value="Load with |TAPE and then RUN""" />
|
||||
<part name="cass1" interface="cpc_cass">
|
||||
<dataarea name="cass" size="27727">
|
||||
@ -43903,7 +43903,7 @@ Covertapes
|
||||
<description>Blue Angel 69 (UK)</description>
|
||||
<year>2010</year>
|
||||
<publisher><homebrew></publisher>
|
||||
<info name="developer" value="Kevin Thacker" />
|
||||
<info name="developer" value="Kevin Thacker" />
|
||||
<info name="usage" value="Load with |TAPE and then RUN""" />
|
||||
<part name="cass1" interface="cpc_cass">
|
||||
<dataarea name="cass" size="81485">
|
||||
@ -43921,7 +43921,7 @@ Covertapes
|
||||
<description>Breaking Baud Demo (UK)</description>
|
||||
<year>2014</year>
|
||||
<publisher><homebrew></publisher>
|
||||
<info name="developer" value="Doz" />
|
||||
<info name="developer" value="Doz" />
|
||||
<info name="usage" value="Load with |TAPE and then RUN""" />
|
||||
<part name="cass1" interface="cpc_cass">
|
||||
<dataarea name="cass" size="110186">
|
||||
@ -44147,7 +44147,7 @@ Covertapes
|
||||
<description>Jetpac (UK, v1.1, Converted from ZX)</description>
|
||||
<year>2014</year>
|
||||
<publisher><homebrew></publisher>
|
||||
<info name="developer" value="40CRISIS" />
|
||||
<info name="developer" value="40CRISIS" />
|
||||
<info name="usage" value="Load with |TAPE and then RUN""" />
|
||||
<part name="cass1" interface="cpc_cass">
|
||||
<dataarea name="cass" size="18811">
|
||||
@ -44160,7 +44160,7 @@ Covertapes
|
||||
<description>Jetpac (UK, Converted from ZX)</description>
|
||||
<year>2014</year>
|
||||
<publisher><homebrew></publisher>
|
||||
<info name="developer" value="40CRISIS" />
|
||||
<info name="developer" value="40CRISIS" />
|
||||
<info name="usage" value="Load with |TAPE and then RUN""" />
|
||||
<part name="cass1" interface="cpc_cass">
|
||||
<dataarea name="cass" size="18247">
|
||||
@ -44577,7 +44577,7 @@ Covertapes
|
||||
|
||||
<!--
|
||||
|
||||
Misc tapes not confirmed at CPC-Power
|
||||
Misc tapes not confirmed at CPC-Power
|
||||
|
||||
-->
|
||||
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
<softwarelist name="msx1_cass" description="MSX1 cassettes">
|
||||
<!--
|
||||
TODO
|
||||
Proper regions (TOSEC is VERY incorrect on this)
|
||||
Test TOSEC "bad" dumps, make sure they aren't marked wrong (and re-add them in case they are not bad)
|
||||
Add images from "UnRenamed MSX"
|
||||
Japanese alt titles
|
||||
TODO
|
||||
Proper regions (TOSEC is VERY incorrect on this)
|
||||
Test TOSEC "bad" dumps, make sure they aren't marked wrong (and re-add them in case they are not bad)
|
||||
Add images from "UnRenamed MSX"
|
||||
Japanese alt titles
|
||||
-->
|
||||
|
||||
|
||||
@ -9881,7 +9881,7 @@
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<!-- 1st Edition? -->
|
||||
<!-- 1st Edition? -->
|
||||
<software name="nonamedb" cloneof="nonamed">
|
||||
<description>Nonamed (Spa, Alt 2)</description>
|
||||
<year>1986</year>
|
||||
@ -12796,7 +12796,7 @@
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="smugglrs"> <!-- requires gunstick -->
|
||||
<software name="smugglrs"> <!-- requires gunstick -->
|
||||
<description>Space Smugglers (Spa)</description>
|
||||
<year>1989</year>
|
||||
<publisher>MHT Ingenieros</publisher>
|
||||
|
@ -22,7 +22,7 @@
|
||||
<info name="usage" value="Requires F-Zero X cart" />
|
||||
<info name="serial" value="NUD-EFZJ-JPN" />
|
||||
<info name="release" value="20000421" />
|
||||
<info name="alt_title" value="エフ ゼロ エックス エクスパンションキット" />
|
||||
<info name="alt_title" value="エフ ゼロ エックス エクスパンションキット" />
|
||||
<part name="disk" interface="n64dd_disk">
|
||||
<dataarea name="rom" size="70627520">
|
||||
<rom name="f-zero x expansion kit [nud-efzj-jpn].bin" size="70627520" crc="9ab91e71" sha1="7b39677dad61b2fb91eb2ede756fbd3b49f15afe" offset="0" />
|
||||
|
@ -52494,7 +52494,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx
|
||||
<publisher>Caltron</publisher>
|
||||
<part name="cart" interface="nes_cart">
|
||||
<feature name="slot" value="cnrom" />
|
||||
<feature name="pcb" value="NES-CNROM" /> <!-- NTDEC-N71506x ? -->
|
||||
<feature name="pcb" value="NES-CNROM" /> <!-- NTDEC-N71506x ? -->
|
||||
<feature name="mirroring" value="horizontal" />
|
||||
<dataarea name="chr" size="16384">
|
||||
<rom name="adam & eve (megasoft).chr" size="16384" crc="61cfe60d" sha1="d234813a34bdd8ef94ec63851c199e0c669ea1e3" offset="00000" status="baddump" />
|
||||
|
@ -26,7 +26,7 @@
|
||||
// ======================> abc890_t
|
||||
|
||||
class abc890_t : public device_t,
|
||||
public device_abcbus_card_interface
|
||||
public device_abcbus_card_interface
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
|
@ -31,7 +31,7 @@
|
||||
// ======================> abc_fd2_t
|
||||
|
||||
class abc_fd2_t : public device_t,
|
||||
public device_abcbus_card_interface
|
||||
public device_abcbus_card_interface
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
|
@ -36,7 +36,7 @@
|
||||
// ======================> luxor_4105_device
|
||||
|
||||
class luxor_4105_device : public device_t,
|
||||
public device_abcbus_card_interface
|
||||
public device_abcbus_card_interface
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
|
@ -26,7 +26,7 @@
|
||||
// ======================> abc_memory_card_t
|
||||
|
||||
class abc_memory_card_t : public device_t,
|
||||
public device_abcbus_card_interface
|
||||
public device_abcbus_card_interface
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
|
@ -26,7 +26,7 @@
|
||||
// ======================> abc80_16kb_ram_card_t
|
||||
|
||||
class abc80_16kb_ram_card_t : public device_t,
|
||||
public device_abcbus_card_interface
|
||||
public device_abcbus_card_interface
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
|
@ -336,7 +336,7 @@ ROM_END
|
||||
|
||||
const rom_entry *fsd1_device::device_rom_region() const
|
||||
{
|
||||
return ROM_NAME( fsd1 );
|
||||
return ROM_NAME( fsd1 );
|
||||
}
|
||||
|
||||
|
||||
@ -353,8 +353,8 @@ ROM_START( fsd2 )
|
||||
ROMX_LOAD( "fsd2b.u3", 0x0000, 0x4000, CRC(b39e4600) SHA1(991132fcc6e70e9a428062ae76055a150f2f7ac6), ROM_BIOS(2) )
|
||||
ROM_SYSTEM_BIOS( 2, "jiffydos", "JiffyDOS v5.0" )
|
||||
ROMX_LOAD( "jiffydos v5.0.u3", 0x0000, 0x4000, CRC(46c3302c) SHA1(e3623658cb7af30c9d3bce2ba3b6ad5ee89ac1b8), ROM_BIOS(3) )
|
||||
ROM_SYSTEM_BIOS( 3, "rexdos", "REX-DOS" )
|
||||
ROMX_LOAD( "rdos.bin", 0x0000, 0x4000, CRC(8ad6dba1) SHA1(f279d327d5e16ea1b62fb18514fb679d0b442941), ROM_BIOS(4) )
|
||||
ROM_SYSTEM_BIOS( 3, "rexdos", "REX-DOS" )
|
||||
ROMX_LOAD( "rdos.bin", 0x0000, 0x4000, CRC(8ad6dba1) SHA1(f279d327d5e16ea1b62fb18514fb679d0b442941), ROM_BIOS(4) )
|
||||
ROM_END
|
||||
|
||||
|
||||
@ -475,7 +475,7 @@ ROM_END
|
||||
|
||||
const rom_entry *indus_gt_t::device_rom_region() const
|
||||
{
|
||||
return ROM_NAME( indusgt );
|
||||
return ROM_NAME( indusgt );
|
||||
}
|
||||
|
||||
|
||||
@ -1064,7 +1064,7 @@ sx1541_device::sx1541_device(const machine_config &mconfig, const char *tag, dev
|
||||
//-------------------------------------------------
|
||||
|
||||
fsd1_device::fsd1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: base_c1541_device(mconfig, FSD1, "FSD-1", tag, owner, clock, "fsd1", __FILE__) { }
|
||||
: base_c1541_device(mconfig, FSD1, "FSD-1", tag, owner, clock, "fsd1", __FILE__) { }
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
|
@ -69,7 +69,7 @@ public:
|
||||
void rom_map_setup(UINT32 size);
|
||||
void ram_map_setup(UINT8 banks);
|
||||
|
||||
virtual void set_additional_wirings(UINT8 mask, int shift) { } // MBC-1 will then overwrite this!
|
||||
virtual void set_additional_wirings(UINT8 mask, int shift) { } // MBC-1 will then overwrite this!
|
||||
void set_has_timer(bool val) { has_timer = val; }
|
||||
void set_has_rumble(bool val) { has_rumble = val; }
|
||||
void set_has_battery(bool val) { has_battery = val; }
|
||||
|
@ -25,7 +25,7 @@ const device_type GB_ROM_MBC7 = &device_creator<gb_rom_mbc7_device>;
|
||||
const device_type GB_ROM_M161_M12 = &device_creator<gb_rom_m161_device>;
|
||||
const device_type GB_ROM_MMM01 = &device_creator<gb_rom_mmm01_device>;
|
||||
const device_type GB_ROM_SACHEN1 = &device_creator<gb_rom_sachen1_device>;
|
||||
const device_type GB_ROM_SACHEN2 = &device_creator<gb_rom_sachen1_device>; // Just a placeholder for the moment...
|
||||
const device_type GB_ROM_SACHEN2 = &device_creator<gb_rom_sachen1_device>; // Just a placeholder for the moment...
|
||||
const device_type GB_ROM_188IN1 = &device_creator<gb_rom_188in1_device>;
|
||||
const device_type GB_ROM_SINTAX = &device_creator<gb_rom_sintax_device>;
|
||||
const device_type GB_ROM_CHONGWU = &device_creator<gb_rom_chongwu_device>;
|
||||
@ -322,18 +322,18 @@ WRITE8_MEMBER(gb_rom_mbc1_device::write_bank)
|
||||
// the mapper only uses inputs A13-A15
|
||||
switch (offset & 0xe000)
|
||||
{
|
||||
case 0x0000: // RAM Enable Register
|
||||
case 0x0000: // RAM Enable Register
|
||||
m_ram_enable = ((data & 0x0f) == 0x0a) ? 1 : 0;
|
||||
break;
|
||||
case 0x2000: // ROM Bank Register
|
||||
case 0x2000: // ROM Bank Register
|
||||
data &= 0x1f;
|
||||
m_latch_bank2 = data ? data : 1;
|
||||
m_latch_bank2 &= m_mask;
|
||||
break;
|
||||
case 0x4000: // RAM Bank Register
|
||||
case 0x4000: // RAM Bank Register
|
||||
m_ram_bank = data & 0x3;
|
||||
break;
|
||||
case 0x6000: // MBC1 Mode Register
|
||||
case 0x6000: // MBC1 Mode Register
|
||||
default:
|
||||
m_mode = (data & 0x1) ? MODE_4M_256k : MODE_16M_8k;
|
||||
break;
|
||||
@ -647,10 +647,10 @@ WRITE8_MEMBER(gb_rom_m161_device::write_bank)
|
||||
{
|
||||
switch (offset & 0xe000)
|
||||
{
|
||||
case 0x4000: // Base Bank Register
|
||||
case 0x4000: // Base Bank Register
|
||||
m_base_bank = data << 1;
|
||||
break;
|
||||
case 0x2000: // Tetris writes 1 here when selected...
|
||||
case 0x2000: // Tetris writes 1 here when selected...
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -715,18 +715,18 @@ READ8_MEMBER(gb_rom_sachen1_device::read_rom)
|
||||
|
||||
WRITE8_MEMBER(gb_rom_sachen1_device::write_bank)
|
||||
{
|
||||
if (offset < 0x2000) // Base ROM Bank register
|
||||
if (offset < 0x2000) // Base ROM Bank register
|
||||
{
|
||||
if ((m_latch_bank2 & 0x30) == 0x30 && data)
|
||||
m_base_bank = data & 0x0f;
|
||||
//logerror("write to base bank %X - %X\n", data, (m_base_bank & m_mask) | (m_latch_bank2 & ~m_mask));
|
||||
}
|
||||
else if (offset < 0x4000) // ROM Bank Register
|
||||
else if (offset < 0x4000) // ROM Bank Register
|
||||
{
|
||||
m_latch_bank2 = data ? data : 1;
|
||||
//logerror("write to latch %X - %X\n", data, (m_base_bank & m_mask) | (m_latch_bank2 & ~m_mask));
|
||||
}
|
||||
else if (offset < 0x6000) // ROM bank mask register
|
||||
else if (offset < 0x6000) // ROM bank mask register
|
||||
{
|
||||
if ((m_latch_bank2 & 0x30) == 0x30)
|
||||
m_mask = data;
|
||||
|
@ -46,7 +46,7 @@ public:
|
||||
// device-level overrides
|
||||
virtual void device_start() { shared_start(); save_item(NAME(m_mode)); };
|
||||
virtual void device_reset() { shared_reset(); m_mode = MODE_16M_8k; };
|
||||
virtual void set_additional_wirings(UINT8 mask, int shift) { m_mask = mask; m_shift = shift; } // these get set at cart loading
|
||||
virtual void set_additional_wirings(UINT8 mask, int shift) { m_mask = mask; m_shift = shift; } // these get set at cart loading
|
||||
|
||||
virtual DECLARE_READ8_MEMBER(read_rom);
|
||||
virtual DECLARE_WRITE8_MEMBER(write_bank);
|
||||
|
@ -11,29 +11,29 @@
|
||||
|
||||
/*
|
||||
|
||||
2040/3040 disk initialization
|
||||
-----------------------------
|
||||
You need to initialize each diskette before trying to access it
|
||||
or you will get a DISK ID MISMATCH error upon disk commands.
|
||||
On the 4040 this is done automatically by the DOS.
|
||||
2040/3040 disk initialization
|
||||
-----------------------------
|
||||
You need to initialize each diskette before trying to access it
|
||||
or you will get a DISK ID MISMATCH error upon disk commands.
|
||||
On the 4040 this is done automatically by the DOS.
|
||||
|
||||
open 15,8,15:print 15,"i":close 15
|
||||
open 15,8,15:print 15,"i":close 15
|
||||
|
||||
List directory
|
||||
--------------
|
||||
directory / diR
|
||||
List directory
|
||||
--------------
|
||||
directory / diR
|
||||
|
||||
Format disk
|
||||
-----------
|
||||
header "label,id",d0,i01
|
||||
Format disk
|
||||
-----------
|
||||
header "label,id",d0,i01
|
||||
|
||||
Load file
|
||||
---------
|
||||
dload "name" / dL"name
|
||||
Load file
|
||||
---------
|
||||
dload "name" / dL"name
|
||||
|
||||
Save file
|
||||
---------
|
||||
dsave "name" / dS"name
|
||||
Save file
|
||||
---------
|
||||
dsave "name" / dS"name
|
||||
|
||||
*/
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
/*
|
||||
|
||||
TODO:
|
||||
TODO:
|
||||
|
||||
- write protect
|
||||
- separate read/write methods
|
||||
|
@ -32,7 +32,7 @@
|
||||
// ======================> c8050_device
|
||||
|
||||
class c8050_device : public device_t,
|
||||
public device_ieee488_interface
|
||||
public device_ieee488_interface
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
/*
|
||||
|
||||
TODO:
|
||||
TODO:
|
||||
|
||||
- write protect
|
||||
- 75,format speed error,01,00,0
|
||||
|
@ -30,7 +30,7 @@
|
||||
// ======================> c8280_device
|
||||
|
||||
class c8280_device : public device_t,
|
||||
public device_ieee488_interface
|
||||
public device_ieee488_interface
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
|
@ -93,7 +93,7 @@ void isa16_svga_cirrus_device::device_reset()
|
||||
|
||||
|
||||
/*
|
||||
Generic CL-GD542x video card
|
||||
Generic CL-GD542x video card
|
||||
*/
|
||||
|
||||
ROM_START( clgd542x )
|
||||
|
@ -313,7 +313,7 @@ static const nes_pcb pcb_list[] =
|
||||
{ "bmc_hik_kof", UNSUPPORTED_BOARD },
|
||||
{ "onebus", UNSUPPORTED_BOARD },
|
||||
{ "coolboy", UNSUPPORTED_BOARD },
|
||||
{ "btl_900218", UNSUPPORTED_BOARD }, // pirate The Lord of King, to be emulated soon
|
||||
{ "btl_900218", UNSUPPORTED_BOARD }, // pirate The Lord of King, to be emulated soon
|
||||
{ "a9746", UNSUPPORTED_BOARD },
|
||||
{ "dance2k", UNSUPPORTED_BOARD },
|
||||
{ "pec586", UNSUPPORTED_BOARD },
|
||||
|
@ -632,7 +632,7 @@ WRITE8_MEMBER( myarc_hfdc_device::auxbus_out )
|
||||
|
||||
m_output1_latch = data;
|
||||
|
||||
if ((data & 0x10) != 0) connect_floppy_unit(bit_to_index(data & 0x0f)); // Floppy selected
|
||||
if ((data & 0x10) != 0) connect_floppy_unit(bit_to_index(data & 0x0f)); // Floppy selected
|
||||
else
|
||||
{
|
||||
index = bit_to_index((data>>4) & 0x0f);
|
||||
@ -993,8 +993,8 @@ static SLOT_INTERFACE_START( hfdc_floppies )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
static SLOT_INTERFACE_START( hfdc_harddisks )
|
||||
SLOT_INTERFACE( "generic", MFM_HD_GENERIC ) // Generic high-level emulation
|
||||
// SLOT_INTERFACE( "seagatemfm", MFM_HD_SEAGATE ) // Seagate ST-225 and others
|
||||
SLOT_INTERFACE( "generic", MFM_HD_GENERIC ) // Generic high-level emulation
|
||||
// SLOT_INTERFACE( "seagatemfm", MFM_HD_SEAGATE ) // Seagate ST-225 and others
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
MACHINE_CONFIG_FRAGMENT( ti99_hfdc )
|
||||
|
@ -184,7 +184,7 @@ private:
|
||||
|
||||
/* Connector for a MFM hard disk. See also floppy.c */
|
||||
class mfm_harddisk_connector : public device_t,
|
||||
public device_slot_interface
|
||||
public device_slot_interface
|
||||
{
|
||||
public:
|
||||
mfm_harddisk_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
|
@ -34882,5 +34882,3 @@ void m68ki_build_opcode_table(void)
|
||||
/* ======================================================================== */
|
||||
/* ============================== END OF FILE ============================= */
|
||||
/* ======================================================================== */
|
||||
|
||||
|
||||
|
@ -150,7 +150,7 @@ protected:
|
||||
UINT8 m_irq_active; /* mask which irq levels are serviced */
|
||||
UINT8 m_irq_prio[8]; /* interrupt priority */
|
||||
|
||||
UINT8 m_forced_inputs[4]; /* allow read even if configured as output */
|
||||
UINT8 m_forced_inputs[4]; /* allow read even if configured as output */
|
||||
|
||||
int m_icount;
|
||||
|
||||
|
@ -396,8 +396,8 @@ private:
|
||||
|
||||
/* memory accesses */
|
||||
bool m_bigendian;
|
||||
UINT32 m_byte_xor;
|
||||
UINT32 m_word_xor;
|
||||
UINT32 m_byte_xor;
|
||||
UINT32 m_word_xor;
|
||||
data_accessors m_memory;
|
||||
|
||||
/* cache memory */
|
||||
|
@ -100,8 +100,8 @@ sh34_base_device::sh34_base_device(const machine_config &mconfig, device_type ty
|
||||
#if SH4_USE_FASTRAM_OPTIMIZATION
|
||||
, m_bigendian(endianness == ENDIANNESS_BIG)
|
||||
, m_byte_xor(m_bigendian ? BYTE8_XOR_BE(0) : BYTE8_XOR_LE(0))
|
||||
, m_word_xor(m_bigendian ? WORD2_XOR_BE(0) : WORD2_XOR_LE(0))
|
||||
, m_dword_xor(m_bigendian ? DWORD_XOR_BE(0) : DWORD_XOR_LE(0))
|
||||
, m_word_xor(m_bigendian ? WORD2_XOR_BE(0) : WORD2_XOR_LE(0))
|
||||
, m_dword_xor(m_bigendian ? DWORD_XOR_BE(0) : DWORD_XOR_LE(0))
|
||||
, m_fastram_select(0)
|
||||
#endif
|
||||
{
|
||||
|
@ -693,9 +693,9 @@ protected:
|
||||
#if SH4_USE_FASTRAM_OPTIMIZATION
|
||||
/* fast RAM */
|
||||
bool m_bigendian;
|
||||
UINT32 m_byte_xor;
|
||||
UINT32 m_word_xor;
|
||||
UINT32 m_dword_xor;
|
||||
UINT32 m_byte_xor;
|
||||
UINT32 m_word_xor;
|
||||
UINT32 m_dword_xor;
|
||||
UINT32 m_fastram_select;
|
||||
struct
|
||||
{
|
||||
|
@ -236,7 +236,7 @@ public:
|
||||
void registerpoint_enable_all(bool enable = true );
|
||||
|
||||
// hotspots
|
||||
bool hotspot_tracking_enabled() const { return !m_hotspots.empty(); }
|
||||
bool hotspot_tracking_enabled() const { return !m_hotspots.empty(); }
|
||||
void hotspot_track(int numspots, int threshhold);
|
||||
|
||||
// comments
|
||||
|
@ -240,7 +240,7 @@ enum
|
||||
{
|
||||
GEN_TIMER = 1,
|
||||
COM_TIMER /*,
|
||||
LIVE_TIMER */
|
||||
LIVE_TIMER */
|
||||
};
|
||||
|
||||
/*
|
||||
@ -2637,7 +2637,7 @@ void hdc9234_device::live_run_until(attotime limit)
|
||||
*/
|
||||
void hdc9234_device::live_run_hd_until(attotime limit)
|
||||
{
|
||||
// int slot = 0;
|
||||
// int slot = 0;
|
||||
logerror("%s: live_run_hd\n", tag());
|
||||
|
||||
if (m_live_state.state == IDLE || m_live_state.next_state != -1)
|
||||
@ -3411,8 +3411,8 @@ void hdc9234_device::device_timer(emu_timer &timer, device_timer_id id, int para
|
||||
process_command();
|
||||
break;
|
||||
/* case LIVE_TIMER:
|
||||
live_run();
|
||||
break; */
|
||||
live_run();
|
||||
break; */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
||||
//**************************************************************************
|
||||
|
||||
#define MCFG_MOS6530n_IRQ_CB(_write) \
|
||||
devcb = &mos6530_t::set_irq_wr_callback(*device, DEVCB_##_write);
|
||||
devcb = &mos6530_t::set_irq_wr_callback(*device, DEVCB_##_write);
|
||||
|
||||
#define MCFG_MOS6530n_IN_PA_CB(_read) \
|
||||
devcb = &mos6530_t::set_pa_rd_callback(*device, DEVCB_##_read);
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
pci9050.c - PLX PCI9050 PCI to 4x Local Bus Bridge
|
||||
|
||||
by R. Belmont
|
||||
by R. Belmont
|
||||
|
||||
PCI spaces:
|
||||
0 - (config memory) not used
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
PCI9050 is located, mapped, and initialized at BFC00700.
|
||||
|
||||
The boot ROM then copies ROM to RAM, jumps to RAM, and starts trying to
|
||||
The boot ROM then copies ROM to RAM, jumps to RAM, and starts trying to
|
||||
access Zeus 2 video through the mapped windows.
|
||||
|
||||
*********************************************************************/
|
||||
@ -66,12 +66,12 @@ void pci9050_device::device_start()
|
||||
|
||||
pci_device::device_start();
|
||||
|
||||
add_map(0x100, M_MEM, FUNC(pci9050_device::map)); // map 0 is our config registers, mem space
|
||||
add_map(0x100, M_IO, FUNC(pci9050_device::map)); // map 1 is our config registers, i/o space
|
||||
add_map(0x100, M_MEM, FUNC(pci9050_device::map)); // map 0 is our config registers, mem space
|
||||
add_map(0x100, M_IO, FUNC(pci9050_device::map)); // map 1 is our config registers, i/o space
|
||||
|
||||
for(int i=0; i<4; i++)
|
||||
if(m_names[i])
|
||||
// add_map(0, M_MEM | M_DISABLED, m_maps[i], m_names[i], m_devices[i]);
|
||||
// add_map(0, M_MEM | M_DISABLED, m_maps[i], m_names[i], m_devices[i]);
|
||||
add_map(0, M_MEM | M_DISABLED, trampolines[i], m_names[i]);
|
||||
else
|
||||
add_map(0, M_MEM | M_DISABLED, FUNC(pci9050_device::empty));
|
||||
@ -119,8 +119,8 @@ void pci9050_device::remap_local(int id)
|
||||
int size = 2 << lsize;
|
||||
if(csbase & 0x0fffffff & ~(size-1)) {
|
||||
logerror("PCI9050 local bus %d disabled due to unimplemented post-decode remapping\n", id);
|
||||
// set_map_flags(id+2, M_MEM | M_DISABLED);
|
||||
// return;
|
||||
// set_map_flags(id+2, M_MEM | M_DISABLED);
|
||||
// return;
|
||||
}
|
||||
|
||||
UINT32 mask = ~(size - 1);
|
||||
@ -131,8 +131,8 @@ void pci9050_device::remap_local(int id)
|
||||
|
||||
if((lasrr & mask) != mask) {
|
||||
logerror("PCI9050 local bus %d disabled due to unimplemented pci mirroring\n", id);
|
||||
// set_map_flags(id+2, M_MEM | M_DISABLED);
|
||||
// return;
|
||||
// set_map_flags(id+2, M_MEM | M_DISABLED);
|
||||
// return;
|
||||
}
|
||||
|
||||
set_map_size(id+2, size);
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
pci9050.h - PLX PCI9050 PCI to 4x Local Bus Bridge
|
||||
|
||||
by R. Belmont
|
||||
by R. Belmont
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
|
@ -47,7 +47,7 @@ enum
|
||||
|
||||
mfm_harddisk_device::mfm_harddisk_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
|
||||
: harddisk_image_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
device_slot_card_interface(mconfig, *this)
|
||||
device_slot_card_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
||||
@ -160,45 +160,45 @@ void mfm_harddisk_device::direction_in_w(line_state line)
|
||||
}
|
||||
|
||||
/*
|
||||
According to the specs [1]:
|
||||
According to the specs [1]:
|
||||
|
||||
"4.3.1 BUFFERED SEEK: To minimize access time, pulses may be issued at an
|
||||
accelerated rate and buffered in a counter. Initiation of a seek starts
|
||||
immediately after the first pulse is received. Head motion occurs during
|
||||
pulse accumulation, and the seek is completed following receipt of all pulses."
|
||||
"4.3.1 BUFFERED SEEK: To minimize access time, pulses may be issued at an
|
||||
accelerated rate and buffered in a counter. Initiation of a seek starts
|
||||
immediately after the first pulse is received. Head motion occurs during
|
||||
pulse accumulation, and the seek is completed following receipt of all pulses."
|
||||
|
||||
"8.1.3 SEEKING: Upon receiving a Step pulse, the MPU (microprocessor unit)
|
||||
"8.1.3 SEEKING: Upon receiving a Step pulse, the MPU (microprocessor unit)
|
||||
pauses for 250 usec to allow for additional pulses before executing the seek
|
||||
operation. Every incoming pulse resets the 250 usec timer. The seek will
|
||||
not begin until the last pulse is received."
|
||||
operation. Every incoming pulse resets the 250 usec timer. The seek will
|
||||
not begin until the last pulse is received."
|
||||
|
||||
WTF? Oh come on, Seagate, be consistent at least in a single document.
|
||||
WTF? Oh come on, Seagate, be consistent at least in a single document.
|
||||
|
||||
================================
|
||||
================================
|
||||
|
||||
Step behaviour:
|
||||
During all waiting times, further step_w invocations increase the counter
|
||||
Step behaviour:
|
||||
During all waiting times, further step_w invocations increase the counter
|
||||
|
||||
- Leading edge increments the counter c and sets the timer to 250us (mode=collect)
|
||||
- When the timer expires (mode=collect):
|
||||
- Leading edge increments the counter c and sets the timer to 250us (mode=collect)
|
||||
- When the timer expires (mode=collect):
|
||||
(1)- Calculate the stepping time: time = c*200us; save the counter
|
||||
- Start the timer (mode=move)
|
||||
- When the timer expires (mode=move)
|
||||
- Add the track delta to the current track position
|
||||
- Subtract the delta from the current counter
|
||||
- When the counter is not zero (pulses arrived in the meantime), go to (1)
|
||||
- When the counter is zero, set the timer to 16.8 ms (mode=settle)
|
||||
- When the timer expires (mode=settle)
|
||||
- When the counter is not zero, go to (1)
|
||||
- When the counter is zero, signal seek_complete; done
|
||||
- Start the timer (mode=move)
|
||||
- When the timer expires (mode=move)
|
||||
- Add the track delta to the current track position
|
||||
- Subtract the delta from the current counter
|
||||
- When the counter is not zero (pulses arrived in the meantime), go to (1)
|
||||
- When the counter is zero, set the timer to 16.8 ms (mode=settle)
|
||||
- When the timer expires (mode=settle)
|
||||
- When the counter is not zero, go to (1)
|
||||
- When the counter is zero, signal seek_complete; done
|
||||
|
||||
Step timing:
|
||||
per track = 20 ms max, full seek: 150 ms max (615 tracks); both including settling time
|
||||
We assume t(1) = 17; t(615)=140
|
||||
t(i) = s+d*i
|
||||
s=(615*t(1)-t(615))/614
|
||||
d=t(1)-s
|
||||
s=16800 us, d=200 us
|
||||
per track = 20 ms max, full seek: 150 ms max (615 tracks); both including settling time
|
||||
We assume t(1) = 17; t(615)=140
|
||||
t(i) = s+d*i
|
||||
s=(615*t(1)-t(615))/614
|
||||
d=t(1)-s
|
||||
s=16800 us, d=200 us
|
||||
*/
|
||||
|
||||
void mfm_harddisk_device::step_w(line_state line)
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "imagedev/harddriv.h"
|
||||
|
||||
class mfm_harddisk_device : public harddisk_image_device,
|
||||
public device_slot_card_interface
|
||||
public device_slot_card_interface
|
||||
{
|
||||
public:
|
||||
mfm_harddisk_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
|
||||
@ -30,34 +30,34 @@ public:
|
||||
void setup_seek_complete_cb(seek_complete_cb cb);
|
||||
|
||||
// Active low lines. We're using ASSERT=0 / CLEAR=1
|
||||
line_state ready_r() { return m_ready? ASSERT_LINE : CLEAR_LINE; }
|
||||
line_state seek_complete_r() { return m_seek_complete? ASSERT_LINE : CLEAR_LINE; } ;
|
||||
line_state trk00_r() { return m_current_cylinder==0? ASSERT_LINE : CLEAR_LINE; }
|
||||
line_state ready_r() { return m_ready? ASSERT_LINE : CLEAR_LINE; }
|
||||
line_state seek_complete_r() { return m_seek_complete? ASSERT_LINE : CLEAR_LINE; } ;
|
||||
line_state trk00_r() { return m_current_cylinder==0? ASSERT_LINE : CLEAR_LINE; }
|
||||
|
||||
// Step
|
||||
void step_w(line_state line);
|
||||
void direction_in_w(line_state line);
|
||||
void step_w(line_state line);
|
||||
void direction_in_w(line_state line);
|
||||
|
||||
protected:
|
||||
void device_start();
|
||||
void device_reset();
|
||||
emu_timer *m_index_timer, *m_spinup_timer, *m_seek_timer;
|
||||
index_pulse_cb m_index_pulse_cb;
|
||||
seek_complete_cb m_seek_complete_cb;
|
||||
void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
|
||||
void device_start();
|
||||
void device_reset();
|
||||
emu_timer *m_index_timer, *m_spinup_timer, *m_seek_timer;
|
||||
index_pulse_cb m_index_pulse_cb;
|
||||
seek_complete_cb m_seek_complete_cb;
|
||||
void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
|
||||
|
||||
private:
|
||||
bool m_ready;
|
||||
int m_current_cylinder;
|
||||
int m_track_delta;
|
||||
int m_step_phase;
|
||||
bool m_seek_complete;
|
||||
bool m_seek_inward;
|
||||
//bool m_seeking;
|
||||
bool m_autotruncation;
|
||||
line_state m_step_line; // keep the last state
|
||||
bool m_ready;
|
||||
int m_current_cylinder;
|
||||
int m_track_delta;
|
||||
int m_step_phase;
|
||||
bool m_seek_complete;
|
||||
bool m_seek_inward;
|
||||
//bool m_seeking;
|
||||
bool m_autotruncation;
|
||||
line_state m_step_line; // keep the last state
|
||||
|
||||
void head_move();
|
||||
void head_move();
|
||||
};
|
||||
|
||||
class mfm_hd_generic_device : public mfm_harddisk_device
|
||||
|
@ -45,15 +45,15 @@
|
||||
#define NREG_PCIEN (0x074/4)
|
||||
#define NREG_PMIR (0x078/4)
|
||||
|
||||
#define DMA_BUSY 0x80000000
|
||||
#define DMA_INT_EN 0x40000000
|
||||
#define DMA_RW 0x20000000
|
||||
#define DMA_GO 0x10000000
|
||||
#define DMA_SUS 0x08000000
|
||||
#define DMA_INC 0x04000000
|
||||
#define DMA_MIO 0x02000000
|
||||
#define DMA_RST 0x01000000
|
||||
#define DMA_BLK_SIZE 0x000fffff
|
||||
#define DMA_BUSY 0x80000000
|
||||
#define DMA_INT_EN 0x40000000
|
||||
#define DMA_RW 0x20000000
|
||||
#define DMA_GO 0x10000000
|
||||
#define DMA_SUS 0x08000000
|
||||
#define DMA_INC 0x04000000
|
||||
#define DMA_MIO 0x02000000
|
||||
#define DMA_RST 0x01000000
|
||||
#define DMA_BLK_SIZE 0x000fffff
|
||||
|
||||
|
||||
class vrc4373_device : public pci_host_device {
|
||||
|
@ -11,9 +11,9 @@
|
||||
|
||||
/*
|
||||
|
||||
TODO:
|
||||
TODO:
|
||||
|
||||
- if port A is bidirectional, port B does not issue interrupts in bit mode
|
||||
- if port A is bidirectional, port B does not issue interrupts in bit mode
|
||||
|
||||
*/
|
||||
|
||||
|
@ -122,7 +122,7 @@ void nl_initialize_factory(netlist_factory_t &factory)
|
||||
ENTRY(74175, TTL_74175, "-")
|
||||
ENTRY(74192, TTL_74192, "-")
|
||||
ENTRY(74193, TTL_74193, "-")
|
||||
//ENTRY(74279, TTL_74279, "-") // only dip available
|
||||
//ENTRY(74279, TTL_74279, "-") // only dip available
|
||||
ENTRY(SN74LS629, SN74LS629, "CAP")
|
||||
ENTRY(82S16, TTL_82S16, "-")
|
||||
ENTRY(9310, TTL_9310, "-")
|
||||
|
@ -32,7 +32,7 @@ NETLIB_UPDATE(74175)
|
||||
|
||||
NETLIB_START(74175)
|
||||
{
|
||||
register_input("CLK", m_CLK);
|
||||
register_input("CLK", m_CLK);
|
||||
register_input("CLRQ", m_CLRQ);
|
||||
|
||||
register_input("D1", m_D[0]);
|
||||
@ -60,7 +60,7 @@ NETLIB_RESET(74175)
|
||||
|
||||
NETLIB_START(74175_dip)
|
||||
{
|
||||
register_input("9", m_CLK);
|
||||
register_input("9", m_CLK);
|
||||
register_input("1", m_CLRQ);
|
||||
|
||||
register_input("4", m_D[0]);
|
||||
|
@ -39,8 +39,7 @@
|
||||
#include "nld_signal.h"
|
||||
|
||||
#define TTL_74175(_name) \
|
||||
NET_REGISTER_DEV(74175, _name) \
|
||||
|
||||
NET_REGISTER_DEV(74175, _name)
|
||||
#define TTL_74175_DIP(_name) \
|
||||
NET_REGISTER_DEV(74175_dip, _name)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* nld_74192.h
|
||||
*
|
||||
* DM74192: Synchronous 4-Bit Binary Counter with Dual Clock
|
||||
* Decade counter
|
||||
* Decade counter
|
||||
*
|
||||
* FIXME: This should be merged with the 74193 which counts to 16
|
||||
*
|
||||
@ -31,7 +31,7 @@
|
||||
|
||||
#include "../nl_base.h"
|
||||
|
||||
#define TTL_74192(_name) \
|
||||
#define TTL_74192(_name) \
|
||||
NET_REGISTER_DEV(74192, _name)
|
||||
|
||||
#define TTL_74192_DIP(_name) \
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
#include "../nl_base.h"
|
||||
|
||||
#define TTL_74193(_name) \
|
||||
#define TTL_74193(_name) \
|
||||
NET_REGISTER_DEV(74193, _name)
|
||||
|
||||
#define TTL_74193_DIP(_name) \
|
||||
|
@ -32,14 +32,14 @@ NETLIB_UPDATE(82S16)
|
||||
|
||||
NETLIB_START(82S16)
|
||||
{
|
||||
register_input("A0", m_A[0]);
|
||||
register_input("A1", m_A[1]);
|
||||
register_input("A2", m_A[2]);
|
||||
register_input("A3", m_A[3]);
|
||||
register_input("A4", m_A[4]);
|
||||
register_input("A5", m_A[5]);
|
||||
register_input("A6", m_A[6]);
|
||||
register_input("A7", m_A[7]);
|
||||
register_input("A0", m_A[0]);
|
||||
register_input("A1", m_A[1]);
|
||||
register_input("A2", m_A[2]);
|
||||
register_input("A3", m_A[3]);
|
||||
register_input("A4", m_A[4]);
|
||||
register_input("A5", m_A[5]);
|
||||
register_input("A6", m_A[6]);
|
||||
register_input("A7", m_A[7]);
|
||||
|
||||
register_input("CE1Q", m_CE1Q);
|
||||
register_input("CE2Q", m_CE2Q);
|
||||
@ -63,16 +63,16 @@ NETLIB_RESET(82S16)
|
||||
|
||||
NETLIB_START(82S16_dip)
|
||||
{
|
||||
register_input("2", m_A[0]);
|
||||
register_input("1", m_A[1]);
|
||||
register_input("15", m_A[2]);
|
||||
register_input("14", m_A[3]);
|
||||
register_input("7", m_A[4]);
|
||||
register_input("9", m_A[5]);
|
||||
register_input("10", m_A[6]);
|
||||
register_input("11", m_A[7]);
|
||||
register_input("2", m_A[0]);
|
||||
register_input("1", m_A[1]);
|
||||
register_input("15", m_A[2]);
|
||||
register_input("14", m_A[3]);
|
||||
register_input("7", m_A[4]);
|
||||
register_input("9", m_A[5]);
|
||||
register_input("10", m_A[6]);
|
||||
register_input("11", m_A[7]);
|
||||
|
||||
register_input("3", m_CE1Q);
|
||||
register_input("3", m_CE1Q);
|
||||
register_input("4", m_CE2Q);
|
||||
register_input("5", m_CE3Q);
|
||||
|
||||
|
@ -27,8 +27,7 @@
|
||||
#include "../nl_base.h"
|
||||
|
||||
#define TTL_82S16(_name) \
|
||||
NET_REGISTER_DEV(82S16, _name) \
|
||||
|
||||
NET_REGISTER_DEV(82S16, _name)
|
||||
#define TTL_82S16_DIP(_name) \
|
||||
NET_REGISTER_DEV(82S16_dip, _name)
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
nld_9312::truthtable_t nld_9312::m_ttbl;
|
||||
|
||||
/* FIXME: Data changes are propagating faster than changing selects A,B,C
|
||||
* Please refer to data sheet.
|
||||
* Please refer to data sheet.
|
||||
* This would require a state machine, thus we do not
|
||||
* do this right now.
|
||||
*/
|
||||
|
@ -40,8 +40,7 @@
|
||||
#include "nld_signal.h"
|
||||
|
||||
#define TTL_9312(_name) \
|
||||
NET_REGISTER_DEV(9312, _name) \
|
||||
|
||||
NET_REGISTER_DEV(9312, _name)
|
||||
//#if (USE_TRUTHTABLE)
|
||||
#include "nld_truthtable.h"
|
||||
NETLIB_TRUTHTABLE(9312, 12, 2, 0);
|
||||
|
@ -53,7 +53,6 @@ NETLIB_RESET(nicDelay)
|
||||
|
||||
NETLIB_UPDATE_PARAM(nicDelay)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
NETLIB_UPDATE(nicDelay)
|
||||
|
@ -78,7 +78,7 @@ public:
|
||||
|
||||
// FIXME: this check is needed because update is called during startup as well
|
||||
//if (m_active == 0 && netlist().use_deactivate())
|
||||
// return;
|
||||
// return;
|
||||
|
||||
for (int i = 0; i< _numdev; i++)
|
||||
{
|
||||
@ -152,7 +152,7 @@ public:
|
||||
|
||||
// FIXME: this check is needed because update is called during startup as well
|
||||
//if (m_active == 0 && netlist().use_deactivate())
|
||||
// return;
|
||||
// return;
|
||||
|
||||
m_i[0].activate();
|
||||
m_i[1].activate();
|
||||
|
@ -186,7 +186,7 @@ public:
|
||||
{
|
||||
// FIXME: this check is needed because update is called during startup as well
|
||||
//if (m_active == 0 && UNEXPECTED(netlist().use_deactivate()))
|
||||
// return;
|
||||
// return;
|
||||
|
||||
UINT32 state = 0;
|
||||
for (int i = 0; i < m_NI; i++)
|
||||
|
@ -139,7 +139,7 @@ netlist_base_t::netlist_base_t()
|
||||
: netlist_object_t(NETLIST, GENERIC),
|
||||
m_stop(netlist_time::zero),
|
||||
// FIXME:: Use a parameter to set this on a schematics per schematics basis
|
||||
m_use_deactivate(USE_DEACTIVE_DEVICE),
|
||||
m_use_deactivate(USE_DEACTIVE_DEVICE),
|
||||
m_time(netlist_time::zero),
|
||||
m_queue(*this),
|
||||
m_mainclock(NULL),
|
||||
|
@ -1216,7 +1216,7 @@ protected:
|
||||
|
||||
private:
|
||||
netlist_time m_stop; // target time for current queue processing
|
||||
bool m_use_deactivate;
|
||||
bool m_use_deactivate;
|
||||
|
||||
netlist_time m_time;
|
||||
netlist_queue_t m_queue;
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
#define USE_DEACTIVE_DEVICE (0)
|
||||
|
||||
#define USE_TRUTHTABLE (0)
|
||||
#define USE_TRUTHTABLE (0)
|
||||
|
||||
// The following adds about 10% performance ...
|
||||
|
||||
|
@ -110,22 +110,21 @@ public:
|
||||
|
||||
#define CHIP_9602_Mono(_name, _pdesc) \
|
||||
CHIP(# _name, 9602) \
|
||||
NET_C(VCC, _name.16) \
|
||||
NET_C(GND, _name.8) \
|
||||
NET_C(VCC, _name.16) \
|
||||
NET_C(GND, _name.8) \
|
||||
RES(_name ## _R1, (_pdesc)->r1) \
|
||||
CAP(_name ## _C1, (_pdesc)->c1) \
|
||||
RES(_name ## _R2, (_pdesc)->r2) \
|
||||
NET_C(_name.1, _name ## _C1.1) \
|
||||
NET_C(_name.2, _name ## _C1.2) \
|
||||
NET_C(_name.2, _name ## _R1.2) \
|
||||
NET_C(VCC, _name ## _R1.1) \
|
||||
NET_C(VCC, _name ## _R1.1) \
|
||||
if (((_pdesc)->c2)>1e-15) { \
|
||||
CAP(_name ## _C2, (_pdesc)->c2) \
|
||||
NET_C(_name.15, _name ## _C2.1) \
|
||||
NET_C(_name.14, _name ## _C2.2) }\
|
||||
NET_C(_name.14, _name ## _R2.2) \
|
||||
NET_C(VCC, _name ## _R2.1) \
|
||||
|
||||
NET_C(VCC, _name ## _R2.1)
|
||||
#define CHIP_SERIES_RC(_name, _pdesc) \
|
||||
RES(_name ## _R, (_pdesc)->r) \
|
||||
CAP(_name ## _C, (_pdesc)->c) \
|
||||
@ -153,7 +152,7 @@ public:
|
||||
ALIAS(_name.3, _name.QQ)
|
||||
|
||||
/* FIXME: Alternative implementation using capacitor.
|
||||
* This is a transitional implementation
|
||||
* This is a transitional implementation
|
||||
*/
|
||||
|
||||
inline int CAPACITOR_tc(const double c, const double r)
|
||||
@ -166,7 +165,6 @@ inline int CAPACITOR_tc(const double c, const double r)
|
||||
#define CHIP_CAPACITOR(_name, _pdesc) \
|
||||
NETDEV_DELAY(_name) \
|
||||
NETDEV_PARAMI(_name, L_TO_H, CAPACITOR_tc((_pdesc)->c, (_pdesc)->r)) \
|
||||
NETDEV_PARAMI(_name, H_TO_HL, CAPACITOR_tc((_pdesc)->c, (_pdesc)->r)) \
|
||||
|
||||
NETDEV_PARAMI(_name, H_TO_HL, CAPACITOR_tc((_pdesc)->c, (_pdesc)->r))
|
||||
|
||||
#endif /* NL_DICE_COMPAT_H_ */
|
||||
|
@ -4128,7 +4128,7 @@ enum {
|
||||
#define IS_VALUE_A_NODE(val) (((val) > NODE_START) && ((val) <= NODE_END))
|
||||
|
||||
// Optional node such as used in CR_FILTER
|
||||
#define OPT_NODE(val) (int) val
|
||||
#define OPT_NODE(val) (int) val
|
||||
/*************************************
|
||||
*
|
||||
* Enumerated values for Node types
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#define LOG_ES (0)
|
||||
#define LOG_ES_REG (0)
|
||||
#define LOG_ES_FILE (0)
|
||||
#define LOG_ES_FILE (0)
|
||||
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( es1373 )
|
||||
@ -122,7 +122,6 @@ void es1373_device::device_timer(emu_timer &timer, device_timer_id tid, int para
|
||||
//-------------------------------------------------
|
||||
void es1373_device::sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples)
|
||||
{
|
||||
|
||||
if (m_dac1.enable) {
|
||||
logerror("%s: sound_stream_update DAC1 not implemented yet\n", tag());
|
||||
}
|
||||
|
@ -66,10 +66,10 @@
|
||||
#define SCTRL_P2_S_MASK 0x0000000C
|
||||
#define SCTRL_P1_S_MASK 0x00000003
|
||||
|
||||
#define SCTRL_8BIT_MONO 0x0
|
||||
#define SCTRL_8BIT_STEREO 0x1
|
||||
#define SCTRL_16BIT_MONO 0x2
|
||||
#define SCTRL_16BIT_STEREO 0x3
|
||||
#define SCTRL_8BIT_MONO 0x0
|
||||
#define SCTRL_8BIT_STEREO 0x1
|
||||
#define SCTRL_16BIT_MONO 0x2
|
||||
#define SCTRL_16BIT_STEREO 0x3
|
||||
|
||||
#define ES_PCI_READ 0
|
||||
#define ES_PCI_WRITE 1
|
||||
|
@ -1,83 +1,83 @@
|
||||
/***************************************************************************
|
||||
|
||||
L7A1045 L6028 DSP-A
|
||||
(QFP120 package)
|
||||
(QFP120 package)
|
||||
|
||||
this is the audio chip used on the following
|
||||
SNK Hyper NeoGeo 64 (arcade platform)
|
||||
AKAI MPC3000 (synth)
|
||||
this is the audio chip used on the following
|
||||
SNK Hyper NeoGeo 64 (arcade platform)
|
||||
AKAI MPC3000 (synth)
|
||||
|
||||
both are driven by a V53, the MPC3000 isn't dumped.
|
||||
both are driven by a V53, the MPC3000 isn't dumped.
|
||||
|
||||
appears to write a register number and channel/voice using
|
||||
l7a1045_sound_select_w (offset 0)
|
||||
format:
|
||||
appears to write a register number and channel/voice using
|
||||
l7a1045_sound_select_w (offset 0)
|
||||
format:
|
||||
|
||||
---- rrrr ---c cccc
|
||||
r = register, c = channel
|
||||
---- rrrr ---c cccc
|
||||
r = register, c = channel
|
||||
|
||||
the channel select appears to address 32 different voices (5-bits)
|
||||
the register select appears to use 4-bits with 0x0 to 0xa being valid
|
||||
the channel select appears to address 32 different voices (5-bits)
|
||||
the register select appears to use 4-bits with 0x0 to 0xa being valid
|
||||
|
||||
the registers data is written / read using offsets 1,2,3 after
|
||||
setting the register + channel, this gives 3 16-bit values for
|
||||
each register.
|
||||
the registers data is written / read using offsets 1,2,3 after
|
||||
setting the register + channel, this gives 3 16-bit values for
|
||||
each register.
|
||||
|
||||
register format:
|
||||
register format:
|
||||
|
||||
offset 3 offset 2 offset 1
|
||||
fedcba9876543210 | fedcba9876543210 | fedcba9876543210
|
||||
offset 3 offset 2 offset 1
|
||||
fedcba9876543210 | fedcba9876543210 | fedcba9876543210
|
||||
|
||||
0 ---------------- ---------------- ----------------
|
||||
0 ---------------- ---------------- ----------------
|
||||
|
||||
1 ---------------- ---------------- ----------------
|
||||
1 ---------------- ---------------- ----------------
|
||||
|
||||
2 ---------------- ---------------- ----------------
|
||||
2 ---------------- ---------------- ----------------
|
||||
|
||||
3 ---------------- ---------------- ----------------
|
||||
3 ---------------- ---------------- ----------------
|
||||
|
||||
4 ---------------- ---------------- ----------------
|
||||
4 ---------------- ---------------- ----------------
|
||||
|
||||
5 ---------------- ---------------- ----------------
|
||||
5 ---------------- ---------------- ----------------
|
||||
|
||||
6 ---------------- ---------------- ----------------
|
||||
6 ---------------- ---------------- ----------------
|
||||
|
||||
7 ---------------- ---------------- llllllllrrrrrrrr left/right volume
|
||||
7 ---------------- ---------------- llllllllrrrrrrrr left/right volume
|
||||
|
||||
8 ---------------- ---------------- ---------------- (read only?)
|
||||
8 ---------------- ---------------- ---------------- (read only?)
|
||||
|
||||
9 ---------------- ---------------- ---------------- (read only?)
|
||||
9 ---------------- ---------------- ---------------- (read only?)
|
||||
|
||||
a ---------------- ---------------- ----------------
|
||||
a ---------------- ---------------- ----------------
|
||||
|
||||
Registers are not yet understood.
|
||||
Registers are not yet understood.
|
||||
|
||||
probably sample start, end, loop positions, panning etc.
|
||||
like CPS3, Qsound etc.
|
||||
probably sample start, end, loop positions, panning etc.
|
||||
like CPS3, Qsound etc.
|
||||
|
||||
case 0x00:
|
||||
case 0x01:
|
||||
case 0x02:
|
||||
case 0x03: // 00003fffffff (startup only?)
|
||||
case 0x04: // doesn't use 6
|
||||
case 0x05: // 00003fffffff (mostly, often)
|
||||
case 0x06: // 00007ff0ffff mostly
|
||||
case 0x07: // 0000000f0708 etc. (low values)
|
||||
case 0x08: // doesn't write to 2/4/6 with this set??
|
||||
case 0x09: // doesn't write to 2/4/6 with this set??
|
||||
case 0x0a: // random looking values
|
||||
case 0x00:
|
||||
case 0x01:
|
||||
case 0x02:
|
||||
case 0x03: // 00003fffffff (startup only?)
|
||||
case 0x04: // doesn't use 6
|
||||
case 0x05: // 00003fffffff (mostly, often)
|
||||
case 0x06: // 00007ff0ffff mostly
|
||||
case 0x07: // 0000000f0708 etc. (low values)
|
||||
case 0x08: // doesn't write to 2/4/6 with this set??
|
||||
case 0x09: // doesn't write to 2/4/6 with this set??
|
||||
case 0x0a: // random looking values
|
||||
|
||||
Some of the other ports on the HNG64 sound CPU may also be tied
|
||||
to this chip, this isn't yet clear.
|
||||
Port $8 bit 8 is keyon, low byte is sound status related (masked with 0x7f)
|
||||
Some of the other ports on the HNG64 sound CPU may also be tied
|
||||
to this chip, this isn't yet clear.
|
||||
Port $8 bit 8 is keyon, low byte is sound status related (masked with 0x7f)
|
||||
|
||||
Sample data format TBA
|
||||
Sample data format TBA
|
||||
|
||||
TODO:
|
||||
- Sample format needs to be double checked;
|
||||
- Octave Control/BPM/Pitch, right now XRally Network BGM wants 66150 Hz which is definitely too fast for Terry Bogard speech;
|
||||
- Key Off;
|
||||
- ADSR (registers 2 & 4?);
|
||||
TODO:
|
||||
- Sample format needs to be double checked;
|
||||
- Octave Control/BPM/Pitch, right now XRally Network BGM wants 66150 Hz which is definitely too fast for Terry Bogard speech;
|
||||
- Key Off;
|
||||
- ADSR (registers 2 & 4?);
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
@ -238,7 +238,7 @@ WRITE16_MEMBER(l7a1045_sound_device::sound_data_w)
|
||||
l7a1045_voice *vptr = &m_voice[m_audiochannel];
|
||||
|
||||
//if(m_audioregister != 0 && m_audioregister != 1 && m_audioregister != 7)
|
||||
// printf("%04x %04x (%04x %04x)\n",offset,data,m_audioregister,m_audiochannel);
|
||||
// printf("%04x %04x (%04x %04x)\n",offset,data,m_audioregister,m_audiochannel);
|
||||
|
||||
m_audiodat[m_audioregister][m_audiochannel].dat[offset] = data;
|
||||
|
||||
@ -344,5 +344,3 @@ WRITE16_MEMBER(l7a1045_sound_device::sound_status_w)
|
||||
m_key |= 1 << m_audiochannel;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ public:
|
||||
l7a1045_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
~l7a1045_sound_device() { }
|
||||
|
||||
// void set_base(INT8* base) { m_base = base; }
|
||||
// void set_base(INT8* base) { m_base = base; }
|
||||
|
||||
DECLARE_WRITE16_MEMBER( l7a1045_sound_w );
|
||||
DECLARE_READ16_MEMBER( l7a1045_sound_r );
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
|
||||
Cirrus Logic GD542x/3x video chipsets
|
||||
Cirrus Logic GD542x/3x video chipsets
|
||||
|
||||
*/
|
||||
|
||||
@ -126,7 +126,7 @@ void cirrus_gd5428_device::device_reset()
|
||||
m_blt_source = m_blt_dest = m_blt_source_current = m_blt_dest_current = 0;
|
||||
memset(m_ext_palette, 0, sizeof(m_ext_palette));
|
||||
m_ext_palette_enabled = false;
|
||||
// m_ext_palette[15].red = m_ext_palette[15].green = m_ext_palette[15].blue = 0xff; // default? Win3.1 doesn't seem to touch the extended DAC, or at least, it enables it, then immediately disables it then sets a palette...
|
||||
// m_ext_palette[15].red = m_ext_palette[15].green = m_ext_palette[15].blue = 0xff; // default? Win3.1 doesn't seem to touch the extended DAC, or at least, it enables it, then immediately disables it then sets a palette...
|
||||
}
|
||||
|
||||
UINT32 cirrus_gd5428_device::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
|
||||
@ -247,7 +247,7 @@ UINT16 cirrus_gd5428_device::offset()
|
||||
|
||||
if (svga.rgb8_en == 1) // guess
|
||||
off <<= 2;
|
||||
// popmessage("Offset: %04x %s %s ** -- actual: %04x",vga.crtc.offset,vga.crtc.dw?"DW":"--",vga.crtc.word_mode?"BYTE":"WORD",off);
|
||||
// popmessage("Offset: %04x %s %s ** -- actual: %04x",vga.crtc.offset,vga.crtc.dw?"DW":"--",vga.crtc.word_mode?"BYTE":"WORD",off);
|
||||
return off;
|
||||
}
|
||||
|
||||
@ -1069,7 +1069,7 @@ READ8_MEMBER(cirrus_gd5428_device::mem_r)
|
||||
{
|
||||
// TODO: Lines up in 16-colour mode, likely different for 256-colour modes (docs say video addresses are shifted right 3 places)
|
||||
UINT8 i,data;
|
||||
// UINT8 bits = ((gc_mode_ext & 0x08) && (vga.gc.write_mode == 1)) ? 8 : 4;
|
||||
// UINT8 bits = ((gc_mode_ext & 0x08) && (vga.gc.write_mode == 1)) ? 8 : 4;
|
||||
|
||||
data = 0;
|
||||
//printf("%08x\n",offset);
|
||||
@ -1208,7 +1208,7 @@ WRITE8_MEMBER(cirrus_gd5428_device::mem_w)
|
||||
{
|
||||
// TODO: Lines up in 16-colour mode, likely different for 256-colour modes (docs say video addresses are shifted right 3 places)
|
||||
UINT8 i;
|
||||
// UINT8 bits = ((gc_mode_ext & 0x08) && (vga.gc.write_mode == 1)) ? 8 : 4;
|
||||
// UINT8 bits = ((gc_mode_ext & 0x08) && (vga.gc.write_mode == 1)) ? 8 : 4;
|
||||
|
||||
for(i=0;i<4;i++)
|
||||
{
|
||||
@ -1227,4 +1227,3 @@ WRITE8_MEMBER(cirrus_gd5428_device::mem_w)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
|
||||
Cirrus Logic GD542x/3x video chipsets
|
||||
Cirrus Logic GD542x/3x video chipsets
|
||||
|
||||
*/
|
||||
|
||||
@ -96,4 +96,3 @@ protected:
|
||||
// device type definition
|
||||
extern const device_type CIRRUS_GD5428;
|
||||
extern const device_type CIRRUS_GD5430;
|
||||
|
||||
|
@ -5547,5 +5547,3 @@ READ16_MEMBER(mach8_device::mach8_config2_r)
|
||||
{
|
||||
return 0x0002;
|
||||
}
|
||||
|
||||
|
||||
|
@ -175,8 +175,8 @@ protected:
|
||||
/**/ UINT8 sldiv;
|
||||
/**/ UINT8 map14;
|
||||
/**/ UINT8 map13;
|
||||
/**/ UINT8 irq_clear;
|
||||
/**/ UINT8 irq_disable;
|
||||
/**/ UINT8 irq_clear;
|
||||
/**/ UINT8 irq_disable;
|
||||
} crtc;
|
||||
|
||||
struct
|
||||
|
@ -51,9 +51,9 @@ const int c3040_format::c3040_sectors_per_track[] =
|
||||
const int c3040_format::c3040_gap2[] =
|
||||
{
|
||||
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, // 1-17
|
||||
8, 8, 8, 8, 8, 8, 8, // 18-24
|
||||
15, 15, 15, 15, 15, 15, // 25-30
|
||||
12, 12, 12, 12, 12 // 31-35
|
||||
8, 8, 8, 8, 8, 8, 8, // 18-24
|
||||
15, 15, 15, 15, 15, 15, // 25-30
|
||||
12, 12, 12, 12, 12 // 31-35
|
||||
};
|
||||
|
||||
floppy_image_format_t::desc_e* c3040_format::get_sector_desc(const format &f, int ¤t_size, int sector_count, UINT8 id1, UINT8 id2, int gap_2)
|
||||
|
@ -41,9 +41,9 @@ const c4040_format::format c4040_format::file_formats[] = {
|
||||
const int c4040_format::c4040_gap2[] =
|
||||
{
|
||||
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, // 1-17
|
||||
19, 19, 19, 19, 19, 19, 19, // 18-24
|
||||
15, 15, 15, 15, 15, 15, // 25-30
|
||||
12, 12, 12, 12, 12 // 31-35
|
||||
19, 19, 19, 19, 19, 19, 19, // 18-24
|
||||
15, 15, 15, 15, 15, 15, // 25-30
|
||||
12, 12, 12, 12, 12 // 31-35
|
||||
};
|
||||
|
||||
floppy_image_format_t::desc_e* c4040_format::get_sector_desc(const format &f, int ¤t_size, int sector_count, UINT8 id1, UINT8 id2, int gap_2)
|
||||
|
@ -137,15 +137,15 @@ static floperr_t imd_read_indexed_sector(floppy_image_legacy *floppy, int head,
|
||||
|
||||
static floperr_t imd_expand_file(floppy_image_legacy *floppy , UINT64 offset , size_t amount)
|
||||
{
|
||||
if (amount == 0) {
|
||||
return FLOPPY_ERROR_SUCCESS;
|
||||
}
|
||||
if (amount == 0) {
|
||||
return FLOPPY_ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
UINT64 file_size = floppy_image_size(floppy);
|
||||
UINT64 file_size = floppy_image_size(floppy);
|
||||
|
||||
if (offset > file_size) {
|
||||
return FLOPPY_ERROR_INTERNAL;
|
||||
}
|
||||
if (offset > file_size) {
|
||||
return FLOPPY_ERROR_INTERNAL;
|
||||
}
|
||||
|
||||
UINT64 size_after_off = file_size - offset;
|
||||
|
||||
@ -466,10 +466,10 @@ bool imd_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
|
||||
|
||||
for(int i=0; i<sector_count; i++) {
|
||||
UINT8 stype = img[pos++];
|
||||
sects[i].track = tnum ? tnum[i] : track;
|
||||
sects[i].head = hnum ? hnum[i] : head;
|
||||
sects[i].sector = snum[i];
|
||||
sects[i].size = ssize;
|
||||
sects[i].track = tnum ? tnum[i] : track;
|
||||
sects[i].head = hnum ? hnum[i] : head;
|
||||
sects[i].sector = snum[i];
|
||||
sects[i].size = ssize;
|
||||
sects[i].actual_size = actual_size;
|
||||
|
||||
if(stype == 0 || stype > 8) {
|
||||
|
@ -193,7 +193,7 @@ char *core_i64_format(UINT64 value, UINT8 mindigits, bool is_octal)
|
||||
}
|
||||
|
||||
/*-------------------------------------------------
|
||||
std::string helpers
|
||||
std::string helpers
|
||||
-------------------------------------------------*/
|
||||
|
||||
#include <algorithm>
|
||||
|
@ -15448,22 +15448,3 @@ GAME( 200?, sc5_z057 ,0, bfm_sc5, bfm_sc5, bfm_sc5_state, sc5, ROT0, "
|
||||
GAME( 200?, sc5_z058 ,0, bfm_sc5, bfm_sc5, bfm_sc5_state, sc5, ROT0, "BFM","Wok 'n' Roll (Scorpion 5)", GAME_IS_SKELETON_MECHANICAL )
|
||||
GAME( 200?, sc5_z059 ,0, bfm_sc5, bfm_sc5, bfm_sc5_state, sc5, ROT0, "BFM","Aladdin (Scorpion 5)", GAME_IS_SKELETON_MECHANICAL )
|
||||
GAME( 200?, sc5_z060 ,0, bfm_sc5, bfm_sc5, bfm_sc5_state, sc5, ROT0, "BFM","Hard Dk (Scorpion 5)", GAME_IS_SKELETON_MECHANICAL )
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
XTAL 4 MHz
|
||||
|
||||
TODO:
|
||||
Really understand ASIC chip
|
||||
Really understand ASIC chip
|
||||
|
||||
***********************************/
|
||||
|
||||
@ -103,7 +103,7 @@ MC6845_UPDATE_ROW( cardline_state::crtc_update_row )
|
||||
// how this works.
|
||||
|
||||
if(m_video & 1)
|
||||
gfx_ofs = 0;
|
||||
gfx_ofs = 0;
|
||||
|
||||
if(m_video & 2)
|
||||
gfx_ofs = 0x1000;
|
||||
|
@ -193,7 +193,7 @@ public:
|
||||
m_eepromout(*this, "EEPROMOUT"),
|
||||
m_idleramoffs(0),
|
||||
m_idlepc(0)
|
||||
{ }
|
||||
{ }
|
||||
|
||||
required_device<sh34_base_device> m_maincpu;
|
||||
required_device<epic12_device> m_blitter;
|
||||
|
@ -5246,7 +5246,7 @@ static MACHINE_CONFIG_DERIVED( jumpbug, galaxian_base )
|
||||
MCFG_CPU_PROGRAM_MAP(jumpbug_map)
|
||||
|
||||
/* sound hardware */
|
||||
MCFG_SOUND_ADD("8910.0", AY8910, GALAXIAN_PIXEL_CLOCK/3/2/2) /* matches PCB video - unconfirmed */
|
||||
MCFG_SOUND_ADD("8910.0", AY8910, GALAXIAN_PIXEL_CLOCK/3/2/2) /* matches PCB video - unconfirmed */
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
@ -41,7 +41,7 @@ public:
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
int m_comms_state;
|
||||
int m_comms_state;
|
||||
int m_comms_ind;
|
||||
UINT8 m_comms_data[1002];
|
||||
|
||||
@ -60,52 +60,52 @@ ADDRESS_MAP_END
|
||||
|
||||
READ16_MEMBER(gambl186_state::comms_r)
|
||||
{
|
||||
if ((offset == 0) && ACCESSING_BITS_0_7) //port 680 == data
|
||||
{
|
||||
if ((m_comms_state == 0x16) && (m_comms_ind < sizeof(m_comms_data)))
|
||||
{
|
||||
return m_comms_data[m_comms_ind++];
|
||||
}
|
||||
}
|
||||
else if (offset == 1) //port 681 == status
|
||||
{
|
||||
if (m_comms_state == 0x16) //read mode?
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
else if (m_comms_state == 0x31) //write mode?
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
}
|
||||
if ((offset == 0) && ACCESSING_BITS_0_7) //port 680 == data
|
||||
{
|
||||
if ((m_comms_state == 0x16) && (m_comms_ind < sizeof(m_comms_data)))
|
||||
{
|
||||
return m_comms_data[m_comms_ind++];
|
||||
}
|
||||
}
|
||||
else if (offset == 1) //port 681 == status
|
||||
{
|
||||
if (m_comms_state == 0x16) //read mode?
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
else if (m_comms_state == 0x31) //write mode?
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
WRITE16_MEMBER(gambl186_state::comms_w)
|
||||
{
|
||||
if (offset == 0)
|
||||
{
|
||||
if ((m_comms_state == 0x31) && (m_comms_ind < (sizeof(m_comms_data) - 2)))
|
||||
{
|
||||
m_comms_data[++m_comms_ind] = (UINT8) ~data;
|
||||
}
|
||||
}
|
||||
else if (offset == 1)
|
||||
{
|
||||
if (m_comms_state != data)
|
||||
{
|
||||
m_comms_ind = 0;
|
||||
}
|
||||
if (offset == 0)
|
||||
{
|
||||
if ((m_comms_state == 0x31) && (m_comms_ind < (sizeof(m_comms_data) - 2)))
|
||||
{
|
||||
m_comms_data[++m_comms_ind] = (UINT8) ~data;
|
||||
}
|
||||
}
|
||||
else if (offset == 1)
|
||||
{
|
||||
if (m_comms_state != data)
|
||||
{
|
||||
m_comms_ind = 0;
|
||||
}
|
||||
|
||||
m_comms_state = data;
|
||||
m_comms_state = data;
|
||||
|
||||
if (data == 0x4e) //reset?
|
||||
{
|
||||
m_comms_data[0] = 5;
|
||||
m_comms_data[sizeof(m_comms_data) - 1] = 0xec;
|
||||
}
|
||||
}
|
||||
if (data == 0x4e) //reset?
|
||||
{
|
||||
m_comms_data[0] = 5;
|
||||
m_comms_data[sizeof(m_comms_data) - 1] = 0xec;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static ADDRESS_MAP_START( gambl186_io, AS_IO, 16, gambl186_state )
|
||||
|
@ -2017,4 +2017,3 @@ GAME( 1992, sexappl, 0, findout, sexappl, driver_device, 0, ROT0
|
||||
|
||||
GAME( 1992, geimulti, 0, geimulti, geimulti, gei_state, geimulti, ROT0, "Grayhound Electronics", "GEI Multi Game", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
|
||||
GAME( 1992, sprtauth, 0, sprtauth, sprtauth, gei_state, geimulti, ROT0, "Classic Games", "Sports Authority", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND )
|
||||
|
||||
|
@ -332,4 +332,3 @@ ROM_END
|
||||
|
||||
GAME( 1992, hexion, 0, hexion, hexion, driver_device, 0, ROT0, "Konami", "Hexion (Japan ver JAB)", 0 )
|
||||
GAME( 1992, hexionb,hexion, hexionb,hexion, driver_device, 0, ROT0, "bootleg (Impeuropex Corp.)", "Hexion (Asia ver AAA, bootleg)", 0 ) // we're missing an original Asia AAA
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -391,7 +391,7 @@ ROM_START( pong ) /* dummy to satisfy game entry*/
|
||||
ROM_END
|
||||
|
||||
ROM_START( breakout )
|
||||
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
|
||||
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
|
||||
ROM_END
|
||||
|
||||
ROM_START( pongf ) /* dummy to satisfy game entry*/
|
||||
|
@ -33,34 +33,34 @@ G1 bus PIO or DMA, or directly via banked area 0x0100xxxx in SH4 address space.
|
||||
|
||||
todo: make this actually readable, we don't support unicode source files
|
||||
|
||||
Title PCB ID REV CF ID Dumped Region PIC MAIN BD Serial
|
||||
Battle Police ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Beetle DASH!! ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Bingo Galaxy ???-????? no ???-????-???? AAFE-01E10924916, AAFE-01D67304905, Medal
|
||||
Bingo Parade ???-????? no ???-????-???? AAFE-xxxxxxxxxxx, Medal
|
||||
Brick People / Block People 834-14881 ROM ALL 253-5508-0558 AAFE-01F67905202, AAFE-01F68275202
|
||||
Dinosaur King 834-14493-01 D ROM US 253-5508-0408 AAFE-01D1132xxxx, AAFE-01D15924816
|
||||
Dinosaur King - Operation: Dinosaur Rescue 837-14434-91 MDA-C0021? ROM US/EXP 253-5508-0408 AAFE-01A30164715, AAFE-01B92094811
|
||||
Title PCB ID REV CF ID Dumped Region PIC MAIN BD Serial
|
||||
Battle Police ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Beetle DASH!! ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Bingo Galaxy ???-????? no ???-????-???? AAFE-01E10924916, AAFE-01D67304905, Medal
|
||||
Bingo Parade ???-????? no ???-????-???? AAFE-xxxxxxxxxxx, Medal
|
||||
Brick People / Block People 834-14881 ROM ALL 253-5508-0558 AAFE-01F67905202, AAFE-01F68275202
|
||||
Dinosaur King 834-14493-01 D ROM US 253-5508-0408 AAFE-01D1132xxxx, AAFE-01D15924816
|
||||
Dinosaur King - Operation: Dinosaur Rescue 837-14434-91 MDA-C0021? ROM US/EXP 253-5508-0408 AAFE-01A30164715, AAFE-01B92094811
|
||||
- 834-14662-01
|
||||
Dinosaur King 2 ???-????? no 253-5508-0408 AAFE-xxxxxxxxxxx
|
||||
Dinosaur King 2 Ver 2.5 834-14792-02 F MDA-C0047 CF EXP 253-5508-0408 AAFE-01D73384904
|
||||
Disney: Magical Dream Dance on Stage ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Future Police Patrol Chase ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Issyouni Turbo Drive ???-????? no ???-????-???? AAFE-01E91305101
|
||||
Issyouni Wan Wan ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
King of Beetle: Battle Terminal ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Love & Berry Ver 1.003 834-14661-02 ROM EXP 253-5508-0446 AAFE-01D84934906
|
||||
Love & Berry Ver 2.000 834-14661-02 ROM EXP 253-5508-0446 AAFE-01D8493xxxx
|
||||
Love & Berry 3 EXP Ver 1.002 834-14661-01 MDA-C0042 CF US/EXP 253-5508-0446 AAFE-01D64704904
|
||||
Marine & Marine ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Mirage World ???-????? no ???-????-???? AAFE-xxxxxxxxxxx, Medal
|
||||
Monopoly: The Medal ???-????? no ???-????-???? AAFE-xxxxxxxxxxx, Medal
|
||||
Monopoly: The Medal 2nd Edition ???-????? no ???-????-???? AAFE-xxxxxxxxxxx, Medal
|
||||
Mushiking 2K6 2ND ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Mushiking 2K7 1ST ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Tetris Giant / Tetris Dekaris 834-14970 G MDA-C0076 CF ALL 253-5508-0604 AAFE-01G03025212
|
||||
Tetris Giant / Tetris Dekaris Ver.2.000 834-14970 G ROM ALL 253-5508-0604 AAFE-xxxxxxxxxxx
|
||||
Thomas: The Tank Engine ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Dinosaur King 2 ???-????? no 253-5508-0408 AAFE-xxxxxxxxxxx
|
||||
Dinosaur King 2 Ver 2.5 834-14792-02 F MDA-C0047 CF EXP 253-5508-0408 AAFE-01D73384904
|
||||
Disney: Magical Dream Dance on Stage ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Future Police Patrol Chase ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Issyouni Turbo Drive ???-????? no ???-????-???? AAFE-01E91305101
|
||||
Issyouni Wan Wan ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
King of Beetle: Battle Terminal ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Love & Berry Ver 1.003 834-14661-02 ROM EXP 253-5508-0446 AAFE-01D84934906
|
||||
Love & Berry Ver 2.000 834-14661-02 ROM EXP 253-5508-0446 AAFE-01D8493xxxx
|
||||
Love & Berry 3 EXP Ver 1.002 834-14661-01 MDA-C0042 CF US/EXP 253-5508-0446 AAFE-01D64704904
|
||||
Marine & Marine ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Mirage World ???-????? no ???-????-???? AAFE-xxxxxxxxxxx, Medal
|
||||
Monopoly: The Medal ???-????? no ???-????-???? AAFE-xxxxxxxxxxx, Medal
|
||||
Monopoly: The Medal 2nd Edition ???-????? no ???-????-???? AAFE-xxxxxxxxxxx, Medal
|
||||
Mushiking 2K6 2ND ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Mushiking 2K7 1ST ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
Tetris Giant / Tetris Dekaris 834-14970 G MDA-C0076 CF ALL 253-5508-0604 AAFE-01G03025212
|
||||
Tetris Giant / Tetris Dekaris Ver.2.000 834-14970 G ROM ALL 253-5508-0604 AAFE-xxxxxxxxxxx
|
||||
Thomas: The Tank Engine ???-????? no ???-????-???? AAFE-xxxxxxxxxxx
|
||||
|
||||
REV PCB IC6s Flash AU1500
|
||||
D 171-8278D 315-6370 8x 128Mbit AMD
|
||||
@ -80,7 +80,7 @@ READ64_MEMBER(segasp_state::sn_93c46a_r)
|
||||
|
||||
/* bit 3 is EEPROM data */
|
||||
res = m_eeprom->do_read() << 4;
|
||||
res |= (ioport("DSW")->read() << 4) & 0xC0; // note: only old REV D PCB have DSW 3-4 here, newer does not, always 0 readed
|
||||
res |= (ioport("DSW")->read() << 4) & 0xC0; // note: only old REV D PCB have DSW 3-4 here, newer does not, always 0 readed
|
||||
return res;
|
||||
}
|
||||
|
||||
@ -128,16 +128,16 @@ READ64_MEMBER(segasp_state::sp_io_r)
|
||||
|
||||
switch (reg)
|
||||
{
|
||||
case 0x00/4: // CN9 17-24 IN_PORT 0 (IN)
|
||||
case 0x00/4: // CN9 17-24 IN_PORT 0 (IN)
|
||||
retval = ioport("IN_PORT0")->read();
|
||||
break;
|
||||
case 0x04/4: // CN9 41-48 IN_PORT 1 (IN)
|
||||
case 0x04/4: // CN9 41-48 IN_PORT 1 (IN)
|
||||
retval = ioport("IN_PORT1")->read();
|
||||
break;
|
||||
case 0x08/4: // CN9 25-32 (I/O)
|
||||
case 0x08/4: // CN9 25-32 (I/O)
|
||||
retval = ioport("IN_PORT3")->read();
|
||||
break;
|
||||
case 0x18/4: // IN_PORT 2
|
||||
case 0x18/4: // IN_PORT 2
|
||||
// bit 0:3 - DIPSW 1-4
|
||||
// bit 4:5 - TEST/SERVICE SW, CN9 5-6 (old rev PCB only)
|
||||
retval = ioport("DSW")->read();
|
||||
@ -173,7 +173,7 @@ static ADDRESS_MAP_START( segasp_map, AS_PROGRAM, 64, segasp_state )
|
||||
AM_RANGE(0x01010100, 0x01010127) AM_READ(sp_io_r)
|
||||
AM_RANGE(0x01010128, 0x0101012f) AM_READWRITE(sp_eeprom_r, sp_eeprom_w )
|
||||
AM_RANGE(0x01010150, 0x01010157) AM_READ(sp_rombdflg_r)
|
||||
// AM_RANGE(0x01010000, 0x010101ff) // I/O regs
|
||||
// AM_RANGE(0x01010000, 0x010101ff) // I/O regs
|
||||
|
||||
/* Area 1 */
|
||||
AM_RANGE(0x04000000, 0x04ffffff) AM_MIRROR(0x02000000) AM_RAM AM_SHARE("dc_texture_ram") // texture memory 64 bit access
|
||||
@ -220,7 +220,7 @@ INPUT_PORTS_START( segasp )
|
||||
PORT_DIPNAME( 0x04, 0x04, "Monitor" ) PORT_DIPLOCATION("SW:3")
|
||||
PORT_DIPSETTING( 0x04, "31 kHz" )
|
||||
PORT_DIPSETTING( 0x00, "15 kHz" )
|
||||
PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW:4") // Must be ON, with off BIOS bootstrap will deadloop
|
||||
PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW:4") // Must be ON, with off BIOS bootstrap will deadloop
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
|
||||
@ -266,7 +266,7 @@ static MACHINE_CONFIG_DERIVED_CLASS( segasp, naomi_aw_base, segasp_state )
|
||||
MCFG_EEPROM_SERIAL_93C46_ADD("sp_eeprom")
|
||||
|
||||
// todo, not exactly NaomiM4 (see notes at top of driver) use custom board type here instead
|
||||
MCFG_X76F100_ADD("naomibd_eeprom") // actually not present
|
||||
MCFG_X76F100_ADD("naomibd_eeprom") // actually not present
|
||||
MCFG_NAOMI_M4_BOARD_ADD("rom_board", ":pic_readout", "naomibd_eeprom", ":boardid", WRITE8(dc_state, g1_irq))
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
@ -280,8 +280,7 @@ MACHINE_CONFIG_END
|
||||
ROM_SYSTEM_BIOS( 1, "bios1", "BOOT VER 2.00" ) \
|
||||
ROM_LOAD16_WORD_SWAP_BIOS( 1, "epr-24328.ic50", 0x000000, 0x200000, CRC(25f2ef00) SHA1(e58dec9f171e52b3ded213b3fcd9a0de8a438076) ) \
|
||||
ROM_SYSTEM_BIOS( 2, "bios2", "BOOT VER 2.01" ) \
|
||||
ROM_LOAD16_WORD_SWAP_BIOS( 2, "epr-24328a.ic50", 0x000000, 0x200000, CRC(03ec3805) SHA1(a8fbaea826ca257be0b2b86952f247254929e046) ) \
|
||||
|
||||
ROM_LOAD16_WORD_SWAP_BIOS( 2, "epr-24328a.ic50", 0x000000, 0x200000, CRC(03ec3805) SHA1(a8fbaea826ca257be0b2b86952f247254929e046) )
|
||||
// Network/Media Board firmware VER 1.19(VxWorks), 1st half contain original 1.10 version
|
||||
#define SEGASP_NETFIRM \
|
||||
ROM_REGION( 0x200000, "netcpu", 0) \
|
||||
@ -290,7 +289,7 @@ MACHINE_CONFIG_END
|
||||
// keep M4 board code happy for now
|
||||
#define SEGASP_MISC \
|
||||
ROM_REGION( 0x04, "boardid", ROMREGION_ERASEVAL(0x04)) \
|
||||
ROM_REGION( 0x84, "naomibd_eeprom", ROMREGION_ERASEFF ) \
|
||||
ROM_REGION( 0x84, "naomibd_eeprom", ROMREGION_ERASEFF ) \
|
||||
ROM_REGION16_BE( 0x80, "main_eeprom", 0 ) \
|
||||
ROM_LOAD16_WORD( "mb_serial.ic57", 0x0000, 0x0080, CRC(e1e3c009) SHA1(66bc636c527389c3338f631d78c788b4bd4e93be) )
|
||||
|
||||
|
@ -10480,7 +10480,7 @@ ROM_START( daiohc ) /* Found on a 93111A PCB - same PCB as War of Areo & J. J. S
|
||||
ROM_REGION( 0x200000, "gfx1", 0 ) /* Sprites */
|
||||
ROM_LOAD( "9.u9", 0x000000, 0x080000, CRC(4444cbd4) SHA1(e039cd7e7093d399bc39aa4d355a03250e087fb3) ) /* connects to U63 & U64 through a riser card */
|
||||
ROM_LOAD( "10.u10", 0x080000, 0x080000, CRC(1d88d20b) SHA1(3cf95041d0876a4ef378651783e53cee1994ed3d) )
|
||||
ROM_LOAD( "11.u11", 0x100000, 0x080000, CRC(3e41de61) SHA1(7d3ddf3780bbe99b13937d75cbdbfb58449301a6) )
|
||||
ROM_LOAD( "11.u11", 0x100000, 0x080000, CRC(3e41de61) SHA1(7d3ddf3780bbe99b13937d75cbdbfb58449301a6) )
|
||||
ROM_LOAD( "12.u12", 0x180000, 0x080000, CRC(f35e3341) SHA1(9260460e1823d157201de02557c7136ef898cfb3) )
|
||||
|
||||
ROM_REGION( 0x200000, "gfx2", 0 ) /* Layer 1 */
|
||||
|
@ -140,7 +140,7 @@ WRITE8_MEMBER(sf_state::soundcmd_w)
|
||||
|
||||
WRITE8_MEMBER(sf_state::sound2_bank_w)
|
||||
{
|
||||
membank("bank1")->set_entry(data);
|
||||
membank("bank1")->set_entry(data);
|
||||
}
|
||||
|
||||
WRITE8_MEMBER(sf_state::msm1_5205_w)
|
||||
@ -524,7 +524,7 @@ void sf_state::machine_start()
|
||||
save_item(NAME(m_bgscroll));
|
||||
save_item(NAME(m_fgscroll));
|
||||
|
||||
membank("bank1")->configure_entries(0, 256, memregion("audio2")->base() + 0x8000, 0x8000);
|
||||
membank("bank1")->configure_entries(0, 256, memregion("audio2")->base() + 0x8000, 0x8000);
|
||||
}
|
||||
|
||||
void sf_state::machine_reset()
|
||||
|
@ -21,14 +21,14 @@ http://www.nicozon.net/watch/sm14334996
|
||||
|
||||
Dumped games:
|
||||
|
||||
1997 Minna Atsumare! Dodge Hero b9802 https://youtu.be/2eXDQnKCT6A
|
||||
1997 Itazura Daisuki! Sushimaru Kun b9803 https://youtu.be/nhvbZ71KWr8
|
||||
1997 GeGeGe no Kitarou Youkai Slot b9804
|
||||
1997 Burning Sanrinsya b9805
|
||||
1997 PEPSI Man b9806 https://youtu.be/p3cbZ67m4lo
|
||||
1998 Transformers Beast Wars II b9808
|
||||
1997 Uchuu Tokkyuu Medalian b9809 https://youtu.be/u813kBOZbwI
|
||||
2000 Minna Ganbare! Dash Hero b9811
|
||||
1997 Minna Atsumare! Dodge Hero b9802 https://youtu.be/2eXDQnKCT6A
|
||||
1997 Itazura Daisuki! Sushimaru Kun b9803 https://youtu.be/nhvbZ71KWr8
|
||||
1997 GeGeGe no Kitarou Youkai Slot b9804
|
||||
1997 Burning Sanrinsya b9805
|
||||
1997 PEPSI Man b9806 https://youtu.be/p3cbZ67m4lo
|
||||
1998 Transformers Beast Wars II b9808
|
||||
1997 Uchuu Tokkyuu Medalian b9809 https://youtu.be/u813kBOZbwI
|
||||
2000 Minna Ganbare! Dash Hero b9811
|
||||
|
||||
--------------------------------------------------------------------------------------
|
||||
|
||||
@ -48,11 +48,11 @@ is "Treasure Fall" (despite the cart label is "Treasure Hall").
|
||||
|
||||
Dumped games:
|
||||
|
||||
2000 Animal Catch https://youtu.be/U4L5EwWbxqw
|
||||
2000 Itazura Monkey https://youtu.be/GHxiqUQRpV8
|
||||
2000 Pye-nage Taikai https://youtu.be/oL2OIbrv-KI
|
||||
2000 Taihou de Doboon https://youtu.be/loPP3jt0Ob0
|
||||
2001 Hae Hae Ka Ka Ka https://youtu.be/37IxYCg0tic
|
||||
2000 Animal Catch https://youtu.be/U4L5EwWbxqw
|
||||
2000 Itazura Monkey https://youtu.be/GHxiqUQRpV8
|
||||
2000 Pye-nage Taikai https://youtu.be/oL2OIbrv-KI
|
||||
2000 Taihou de Doboon https://youtu.be/loPP3jt0Ob0
|
||||
2001 Hae Hae Ka Ka Ka https://youtu.be/37IxYCg0tic
|
||||
|
||||
Games with the same cabinet which might be on the same hardware:
|
||||
|
||||
@ -127,10 +127,10 @@ public:
|
||||
{ }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
optional_device<buffered_spriteram8_device> m_buffered_spriteram; // not on sammymdl?
|
||||
optional_shared_ptr<UINT8> m_spriteram; // optional as some games allocate it themselves (due to banking)
|
||||
optional_shared_ptr<UINT8> m_vregs; // optional as some games allocate it themselves (due to banking)
|
||||
optional_shared_ptr<UINT8> m_vtable; // optional as some games allocate it themselves (due to banking)
|
||||
optional_device<buffered_spriteram8_device> m_buffered_spriteram; // not on sammymdl?
|
||||
optional_shared_ptr<UINT8> m_spriteram; // optional as some games allocate it themselves (due to banking)
|
||||
optional_shared_ptr<UINT8> m_vregs; // optional as some games allocate it themselves (due to banking)
|
||||
optional_shared_ptr<UINT8> m_vtable; // optional as some games allocate it themselves (due to banking)
|
||||
required_shared_ptr<UINT8> m_nvram;
|
||||
required_device<eeprom_serial_93cxx_device> m_eeprom;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
@ -316,9 +316,9 @@ void sigmab98_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
|
||||
|
||||
sy = (s[ 0x06 ] & 0x03) * 256 + s[ 0x07 ];
|
||||
|
||||
zoom = (s[ 0x08 ] & 0xff) * 256 + s[ 0x09 ]; // 0x100 means no zoom
|
||||
zoom = (s[ 0x08 ] & 0xff) * 256 + s[ 0x09 ]; // 0x100 means no zoom
|
||||
|
||||
// rot = (s[ 0x0a ] & 0xff) * 256 + s[ 0x0b ]; // unimplemented!
|
||||
// rot = (s[ 0x0a ] & 0xff) * 256 + s[ 0x0b ]; // unimplemented!
|
||||
|
||||
dx = (s[ 0x0c ] & 0xff) * 256 + s[ 0x0d ];
|
||||
dy = (s[ 0x0e ] & 0xff) * 256 + s[ 0x0f ];
|
||||
@ -430,7 +430,7 @@ WRITE8_MEMBER(sigmab98_state::vregs_w)
|
||||
|
||||
switch (offset)
|
||||
{
|
||||
case 0x1b: // background color
|
||||
case 0x1b: // background color
|
||||
case 0x1d:
|
||||
{
|
||||
int x = (m_vregs[0x1d] << 8) + m_vregs[0x1b];
|
||||
@ -440,8 +440,8 @@ WRITE8_MEMBER(sigmab98_state::vregs_w)
|
||||
m_palette->set_pen_color(0x100, pal5bit(r), pal5bit(g), pal5bit(b));
|
||||
break;
|
||||
}
|
||||
// default:
|
||||
// logerror("%s: unknown video reg written: %02x = %02x\n", machine().describe_context(), offset, data);
|
||||
// default:
|
||||
// logerror("%s: unknown video reg written: %02x = %02x\n", machine().describe_context(), offset, data);
|
||||
}
|
||||
}
|
||||
|
||||
@ -460,13 +460,13 @@ READ8_MEMBER(sigmab98_state::d013_r)
|
||||
// bit 5 must go 0->1 (vblank?)
|
||||
// bit 2 must set (sprite buffered? triggered by pulsing bit 3 of port C6?)
|
||||
return (m_screen->vblank() ? 0x20 : 0) | 0x04;
|
||||
// return machine().rand();
|
||||
// return machine().rand();
|
||||
}
|
||||
READ8_MEMBER(sigmab98_state::d021_r)
|
||||
{
|
||||
// bit 5 must be 0?
|
||||
return 0;
|
||||
// return machine().rand();
|
||||
// return machine().rand();
|
||||
}
|
||||
|
||||
|
||||
@ -587,7 +587,7 @@ static ADDRESS_MAP_START( dodghero_mem_map, AS_PROGRAM, 8, sigmab98_state )
|
||||
AM_RANGE( 0xd813, 0xd813 ) AM_READ(d013_r)
|
||||
AM_RANGE( 0xd821, 0xd821 ) AM_READ(d021_r)
|
||||
AM_RANGE( 0xd800, 0xd821 ) AM_READWRITE(vregs_r, vregs_w) AM_SHARE("vregs")
|
||||
AM_RANGE( 0xd800, 0xdfff ) AM_RAMBANK("rambank") // not used, where is it mapped?
|
||||
AM_RANGE( 0xd800, 0xdfff ) AM_RAMBANK("rambank") // not used, where is it mapped?
|
||||
|
||||
AM_RANGE( 0xe000, 0xefff ) AM_RAM AM_SHARE("nvram") // battery
|
||||
|
||||
@ -877,9 +877,9 @@ static ADDRESS_MAP_START( dashhero_io_map, AS_IO, 8, sigmab98_state )
|
||||
// AM_RANGE( 0xa2, 0xa3 )
|
||||
AM_RANGE( 0xa4, 0xa5 ) AM_READWRITE(dashhero_regs2_r, dashhero_regs2_w )
|
||||
|
||||
AM_RANGE( 0xc0, 0xc0 ) AM_READ_PORT( "EEPROM" ) AM_WRITE(eeprom_w)
|
||||
AM_RANGE( 0xc0, 0xc0 ) AM_READ_PORT( "EEPROM" ) AM_WRITE(eeprom_w)
|
||||
AM_RANGE( 0xc2, 0xc2 ) AM_READ_PORT( "BUTTON" )
|
||||
AM_RANGE( 0xc4, 0xc4 ) AM_READ_PORT( "PAYOUT" ) AM_WRITE(c4_w )
|
||||
AM_RANGE( 0xc4, 0xc4 ) AM_READ_PORT( "PAYOUT" ) AM_WRITE(c4_w )
|
||||
AM_RANGE( 0xc6, 0xc6 ) AM_WRITE(c6_w )
|
||||
AM_RANGE( 0xc8, 0xc8 ) AM_WRITE(c8_w )
|
||||
|
||||
@ -1401,7 +1401,7 @@ WRITE8_MEMBER(sigmab98_state::itazuram_rombank_w)
|
||||
m_rombank = data;
|
||||
switch (data)
|
||||
{
|
||||
// case 0x0f: // demo mode, after title
|
||||
// case 0x0f: // demo mode, after title
|
||||
|
||||
case 0x14: // 3800 IS ROM
|
||||
membank("rombank0")->set_base(rom + 0x8000);
|
||||
@ -2081,7 +2081,7 @@ static MACHINE_CONFIG_DERIVED( dashhero, sigmab98 )
|
||||
MCFG_CPU_PROGRAM_MAP( gegege_mem_map )
|
||||
MCFG_CPU_IO_MAP( dashhero_io_map )
|
||||
|
||||
MCFG_DEVICE_REMOVE("nvram") // FIXME: does not survive between sessions otherwise
|
||||
MCFG_DEVICE_REMOVE("nvram") // FIXME: does not survive between sessions otherwise
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
@ -2135,7 +2135,7 @@ static MACHINE_CONFIG_START( sammymdl, sigmab98_state )
|
||||
MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
|
||||
MCFG_PALETTE_ENDIANNESS(ENDIANNESS_BIG)
|
||||
|
||||
// MCFG_BUFFERED_SPRITERAM8_ADD("spriteram")
|
||||
// MCFG_BUFFERED_SPRITERAM8_ADD("spriteram")
|
||||
|
||||
// sound hardware
|
||||
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
@ -2291,12 +2291,12 @@ DRIVER_INIT_MEMBER(sigmab98_state,gegege)
|
||||
UINT8 *rom = memregion("maincpu")->base();
|
||||
|
||||
// Related to d013
|
||||
// rom[0x0bdd] = 0xc9;
|
||||
// rom[0x0bdd] = 0xc9;
|
||||
|
||||
// rom[0x0bf9] = 0xc9;
|
||||
// rom[0x0bf9] = 0xc9;
|
||||
|
||||
// rom[0x0dec] = 0x00;
|
||||
// rom[0x0ded] = 0x00;
|
||||
// rom[0x0dec] = 0x00;
|
||||
// rom[0x0ded] = 0x00;
|
||||
|
||||
// EEPROM timing checks
|
||||
rom[0x8138] = 0x00;
|
||||
@ -2378,12 +2378,12 @@ DRIVER_INIT_MEMBER(sigmab98_state,pepsiman)
|
||||
UINT8 *rom = memregion("maincpu")->base();
|
||||
|
||||
// Related to d013
|
||||
// rom[0x058a] = 0xc9;
|
||||
// rom[0x058a] = 0xc9;
|
||||
|
||||
// rom[0x05a6] = 0xc9;
|
||||
// rom[0x05a6] = 0xc9;
|
||||
|
||||
// rom[0xa00e] = 0x00;
|
||||
// rom[0xa00f] = 0x00;
|
||||
// rom[0xa00e] = 0x00;
|
||||
// rom[0xa00f] = 0x00;
|
||||
|
||||
// EEPROM timing checks
|
||||
rom[0x8138] = 0x00;
|
||||
@ -2469,12 +2469,12 @@ DRIVER_INIT_MEMBER(sigmab98_state,ucytokyu)
|
||||
UINT8 *rom = memregion("maincpu")->base();
|
||||
|
||||
// Related to d013
|
||||
// rom[0x0bfa] = 0xc9;
|
||||
// rom[0x0bfa] = 0xc9;
|
||||
|
||||
// rom[0x0c16] = 0xc9;
|
||||
// rom[0x0c16] = 0xc9;
|
||||
|
||||
// rom[0xa43a] = 0x00;
|
||||
// rom[0xa43b] = 0x00;
|
||||
// rom[0xa43a] = 0x00;
|
||||
// rom[0xa43b] = 0x00;
|
||||
|
||||
// EEPROM timing checks
|
||||
rom[0x8138] = 0x00;
|
||||
|
@ -261,10 +261,10 @@ WRITE16_MEMBER(ttchamp_state::paldat_w)
|
||||
|
||||
READ16_MEMBER(ttchamp_state::ttchamp_pic_r)
|
||||
{
|
||||
// printf("%06x: read from PIC (%04x)\n", space.device().safe_pc(),mem_mask);
|
||||
// printf("%06x: read from PIC (%04x)\n", space.device().safe_pc(),mem_mask);
|
||||
if (picmodex == PIC_SET_READLATCH)
|
||||
{
|
||||
// printf("read data %02x from %02x\n", m_pic_latched, m_pic_readaddr);
|
||||
// printf("read data %02x from %02x\n", m_pic_latched, m_pic_readaddr);
|
||||
picmodex = PIC_IDLE;
|
||||
|
||||
return m_pic_latched << 8;
|
||||
@ -276,29 +276,29 @@ READ16_MEMBER(ttchamp_state::ttchamp_pic_r)
|
||||
|
||||
WRITE16_MEMBER(ttchamp_state::ttchamp_pic_w)
|
||||
{
|
||||
// printf("%06x: write to PIC %04x (%04x) (%d)\n", space.device().safe_pc(),data,mem_mask, picmodex);
|
||||
// printf("%06x: write to PIC %04x (%04x) (%d)\n", space.device().safe_pc(),data,mem_mask, picmodex);
|
||||
if (picmodex == PIC_IDLE)
|
||||
{
|
||||
if (data == 0x11)
|
||||
{
|
||||
picmodex = PIC_SET_READADDRESS;
|
||||
// printf("state = SET_READADDRESS\n");
|
||||
// printf("state = SET_READADDRESS\n");
|
||||
}
|
||||
else if (data == 0x12)
|
||||
{
|
||||
picmodex = PIC_SET_WRITELATCH;
|
||||
// printf("latch write data.. \n" );
|
||||
// printf("latch write data.. \n" );
|
||||
}
|
||||
else if (data == 0x20)
|
||||
{
|
||||
picmodex = PIC_SET_WRITEADDRESS;
|
||||
// printf("state = PIC_SET_WRITEADDRESS\n");
|
||||
// printf("state = PIC_SET_WRITEADDRESS\n");
|
||||
}
|
||||
else if (data == 0x21) // write latched data
|
||||
{
|
||||
picmodex = PIC_IDLE;
|
||||
m_bakram[m_pic_writeaddr] = m_pic_writelatched;
|
||||
// printf("wrote %02x to %02x\n", m_pic_writelatched, m_pic_writeaddr);
|
||||
// printf("wrote %02x to %02x\n", m_pic_writelatched, m_pic_writeaddr);
|
||||
}
|
||||
else if (data == 0x22) // next data to latch
|
||||
{
|
||||
@ -306,12 +306,12 @@ WRITE16_MEMBER(ttchamp_state::ttchamp_pic_w)
|
||||
// address by 1 to give correct results? maybe it can read 'previous' data' too?
|
||||
m_pic_latched = m_bakram[m_pic_readaddr>>1];
|
||||
|
||||
// printf("latch read data %02x from %02x\n",m_pic_latched, m_pic_readaddr );
|
||||
// printf("latch read data %02x from %02x\n",m_pic_latched, m_pic_readaddr );
|
||||
picmodex = PIC_SET_READLATCH; // waiting to read...
|
||||
}
|
||||
else
|
||||
{
|
||||
// printf("unknown\n");
|
||||
// printf("unknown\n");
|
||||
}
|
||||
}
|
||||
else if (picmodex == PIC_SET_READADDRESS)
|
||||
|
@ -513,10 +513,10 @@ WRITE16_MEMBER(twins_state::spider_port_1c_w)
|
||||
// otherwise you get garbage sprites between rounds and the bg incorrectly wiped
|
||||
|
||||
UINT16* vram;
|
||||
// if (m_videorambank & 1)
|
||||
// if (m_videorambank & 1)
|
||||
vram = m_videoram2;
|
||||
// else
|
||||
// vram = m_videoram;
|
||||
// else
|
||||
// vram = m_videoram;
|
||||
|
||||
for (int i = 0; i < 0x8000; i++)
|
||||
{
|
||||
|
@ -1123,7 +1123,7 @@ WRITE8_MEMBER(vicdual_state::alphaho_io_w)
|
||||
|
||||
|
||||
static ADDRESS_MAP_START( vicdual_dualgame_map, AS_PROGRAM, 8, vicdual_state )
|
||||
AM_RANGE(0x0000, 0x3fff) AM_MIRROR(0x4000) AM_ROM
|
||||
AM_RANGE(0x0000, 0x3fff) AM_MIRROR(0x4000) AM_ROM
|
||||
AM_RANGE(0x8000, 0x83ff) AM_MIRROR(0x7000) AM_RAM_WRITE(vicdual_videoram_w) AM_SHARE("videoram")
|
||||
AM_RANGE(0x8400, 0x87ff) AM_MIRROR(0x7000) AM_RAM
|
||||
AM_RANGE(0x8800, 0x8fff) AM_MIRROR(0x7000) AM_RAM_WRITE(vicdual_characterram_w) AM_SHARE("characterram")
|
||||
|
@ -339,16 +339,16 @@ extern const device_type N64PERIPH;
|
||||
#define DD_SEQ_MICRO_INT_MASK 0x80000000
|
||||
#define DD_SEQ_MICRO_PC_ENABLE 0x40000000
|
||||
|
||||
#define SECTORS_PER_BLOCK 85
|
||||
#define BLOCKS_PER_TRACK 2
|
||||
#define SECTORS_PER_BLOCK 85
|
||||
#define BLOCKS_PER_TRACK 2
|
||||
|
||||
const unsigned int ddZoneSecSize[16] = {232,216,208,192,176,160,144,128,
|
||||
216,208,192,176,160,144,128,112};
|
||||
216,208,192,176,160,144,128,112};
|
||||
const unsigned int ddZoneTrackSize[16] = {158,158,149,149,149,149,149,114,
|
||||
158,158,149,149,149,149,149,114};
|
||||
158,158,149,149,149,149,149,114};
|
||||
const unsigned int ddStartOffset[16] =
|
||||
{0x0,0x5F15E0,0xB79D00,0x10801A0,0x1523720,0x1963D80,0x1D414C0,0x20BBCE0,
|
||||
0x23196E0,0x28A1E00,0x2DF5DC0,0x3299340,0x36D99A0,0x3AB70E0,0x3E31900,0x4149200};
|
||||
0x23196E0,0x28A1E00,0x2DF5DC0,0x3299340,0x36D99A0,0x3AB70E0,0x3E31900,0x4149200};
|
||||
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@ public:
|
||||
m_vctrl_0(*this, "vctrl_0"),
|
||||
m_vram_0(*this, "vram_0"),
|
||||
m_vram_1(*this, "vram_1"),
|
||||
m_spriteram(*this, "spriteram") { }
|
||||
m_spriteram(*this, "spriteram") { }
|
||||
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
|
@ -12,7 +12,7 @@ public:
|
||||
segasp_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: naomi_state(mconfig, type, tag),
|
||||
m_sp_eeprom(*this, "sp_eeprom")
|
||||
{ }
|
||||
{ }
|
||||
required_device<eeprom_serial_93cxx_device> m_sp_eeprom;
|
||||
|
||||
DECLARE_READ64_MEMBER(sp_eeprom_r);
|
||||
@ -24,4 +24,3 @@ public:
|
||||
|
||||
protected:
|
||||
};
|
||||
|
||||
|
@ -8,7 +8,7 @@ public:
|
||||
m_palette(*this, "palette"),
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_colorram(*this, "colorram"),
|
||||
m_videoram(*this, "videoram") { }
|
||||
m_videoram(*this, "videoram") { }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
@ -269,7 +269,7 @@ READ16_MEMBER(aw_rom_board::pio_r)
|
||||
WRITE16_MEMBER(aw_rom_board::pio_w)
|
||||
{
|
||||
// write to ROM board address space, including FlashROM programming using CFI (TODO)
|
||||
if (epr_offset == 0x7fffff) // special register which changes ROMBD addressing
|
||||
if (epr_offset == 0x7fffff) // special register which changes ROMBD addressing
|
||||
adjust_off = data;
|
||||
epr_offset++;
|
||||
}
|
||||
|
@ -22,8 +22,8 @@ public:
|
||||
DECLARE_WRITE16_MEMBER(mpr_first_file_index_w); // 5f7010
|
||||
DECLARE_WRITE16_MEMBER(mpr_file_offsetl_w); // 5f7014
|
||||
DECLARE_WRITE16_MEMBER(mpr_file_offseth_w); // 5f7018
|
||||
DECLARE_READ16_MEMBER(pio_r); // 5f7080
|
||||
DECLARE_WRITE16_MEMBER(pio_w); // 5f7080
|
||||
DECLARE_READ16_MEMBER(pio_r); // 5f7080
|
||||
DECLARE_WRITE16_MEMBER(pio_w); // 5f7080
|
||||
|
||||
protected:
|
||||
virtual void device_start();
|
||||
|
@ -109,7 +109,7 @@ void iteagle_fpga_device::update_sequence(UINT32 data)
|
||||
m_fpga_regs[offset] = (m_fpga_regs[offset]&0xFFFFFF00) | ((val1 + m_seq_rem1 + m_seq_rem2)&0xFF);
|
||||
} else {
|
||||
val1 = ((m_seq & 0x2)<<6) | ((m_seq & 0x4)<<4) | ((m_seq & 0x8)<<2) | ((m_seq & 0x10)<<0)
|
||||
| ((m_seq & 0x20)>>2) | ((m_seq & 0x40)>>4) | ((m_seq & 0x80)>>6) | ((m_seq & 0x100)>>8);
|
||||
| ((m_seq & 0x20)>>2) | ((m_seq & 0x40)>>4) | ((m_seq & 0x80)>>6) | ((m_seq & 0x100)>>8);
|
||||
m_seq = (m_seq>>8) | ((feed&0xff)<<16);
|
||||
m_fpga_regs[offset] = (m_fpga_regs[offset]&0xFFFFFF00) | ((val1 + m_seq_rem1 + m_seq_rem2) & 0xff);
|
||||
}
|
||||
@ -155,7 +155,6 @@ READ32_MEMBER( iteagle_fpga_device::fpga_r )
|
||||
|
||||
WRITE32_MEMBER( iteagle_fpga_device::fpga_w )
|
||||
{
|
||||
|
||||
COMBINE_DATA(&m_fpga_regs[offset]);
|
||||
switch (offset) {
|
||||
case 0x04/4:
|
||||
|
@ -2264,7 +2264,7 @@ void n64_periphs::dd_read_sector()
|
||||
for(int i = 0; i < ddZoneSecSize[dd_zone]/4; i++)
|
||||
{
|
||||
dd_sector_data[i] = sector[(i*4 + 0)] << 24 | sector[(i*4 + 1)] << 16 |
|
||||
sector[(i*4 + 2)] << 8 | sector[(i*4 + 3)];
|
||||
sector[(i*4 + 2)] << 8 | sector[(i*4 + 3)];
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -323,7 +323,7 @@ scrambler // bootleg
|
||||
explorer // bootleg
|
||||
strfbomb // bootleg
|
||||
scrambp // bootleg (Billport S.A.)
|
||||
scramce // bootleg (Centromatic S.A.)
|
||||
scramce // bootleg (Centromatic S.A.)
|
||||
scrampt // bootleg (Petaco S.A.)
|
||||
scramrf // bootleg (Recreativos Franco)
|
||||
atlantis // (c) 1981 Comsoft
|
||||
@ -2291,7 +2291,7 @@ puzznic // C20 (c) 1989 Taito Corporation (Japan)
|
||||
puzznicj // C20 (c) 1989 Taito Corporation (Japan)
|
||||
puzznici // bootleg
|
||||
puzznicb // bootleg
|
||||
puzznicba // bootleg
|
||||
puzznicba // bootleg
|
||||
horshoes // C47 (c) 1990 Taito America Corporation (US)
|
||||
palamed // C63 (c) 1990 Taito Corporation (Japan)
|
||||
cachat // ??? (c) 1993 Taito Corporation (Japan)
|
||||
@ -4337,7 +4337,7 @@ nsub // 268-275 (c) 1980 Sega
|
||||
samurai // 289-302 + upgrades (c) 1980 Sega
|
||||
invinco // 310-318 (c) 1979 Sega
|
||||
invds // 367-382 (c) 1979 Sega
|
||||
carhntds //
|
||||
carhntds //
|
||||
tranqgun // 413-428 (c) 1980 Sega
|
||||
// 450-465 Tranquilizer Gun (different version?)
|
||||
// ???-??? Car Hunt / Deep Scan
|
||||
@ -5527,9 +5527,9 @@ starhrpr // 2009.07.27 Star Horse Progress Returns (satellite)
|
||||
|
||||
// NAOMI based (System SP)
|
||||
segasp
|
||||
lovebery // 2004.10 Oshare Majo Love and Berry / Fashionable Witch Love and Berry
|
||||
lovebery // 2004.10 Oshare Majo Love and Berry / Fashionable Witch Love and Berry
|
||||
lovebero
|
||||
dinoking // 2005.09 Kodai Ouja Kyouryuu King / Ancient Ruler Dinosaur King
|
||||
dinoking // 2005.09 Kodai Ouja Kyouryuu King / Ancient Ruler Dinosaur King
|
||||
dinokior
|
||||
// 2007.06 Issyo ni Wanwan
|
||||
// 2007.06 Konchuu Dash!!
|
||||
@ -6475,7 +6475,7 @@ chqflag // GX717 (c) 1988
|
||||
chqflagj // GX717 (c) 1988 (Japan)
|
||||
ultraman // GX910 (c) 1991 Banpresto/Bandai
|
||||
hexion // GX122 (c) 1992
|
||||
hexionb // bootleg
|
||||
hexionb // bootleg
|
||||
lethalen // GX191 (c) 1992
|
||||
lethalenub // GX191 (c) 1992
|
||||
lethalenua // GX191 (c) 1992
|
||||
@ -7866,7 +7866,7 @@ gangwarsj // Alpha-68K96V (c) 1989 Alpha Denshi Co.
|
||||
gangwarsu // Alpha-68K96V (c) 1989 Alpha Denshi Co.
|
||||
gangwarsb // bootleg
|
||||
sbasebal // Alpha-68K96V (c) 1989 SNK of America licensed from Alpha
|
||||
sbasebalj // Alpha-68K96V
|
||||
sbasebalj // Alpha-68K96V
|
||||
tnextspc // A8003 'NS' (c) 1989 - MASKROM
|
||||
tnextspc2 // A8003 'NS' (c) 1989 - EPROMs
|
||||
tnextspcj // A8003 'NS' (c) 1989 - Japan
|
||||
@ -8274,7 +8274,7 @@ cartfury // (c) 2000 Midway Games
|
||||
// Midway Quicksilver
|
||||
hydrthnd // (c) 1999 Midway Games
|
||||
offrthnd // (c) 2000 Midway Games
|
||||
arctthnd // (c) 2001 Midway Games
|
||||
arctthnd // (c) 2001 Midway Games
|
||||
ultarctc // (c) 2001 Midway Games
|
||||
ultarctcup // (c) 2001 Midway Games
|
||||
|
||||
@ -9560,7 +9560,7 @@ redhawk // (c) 1997 New Vision Ent. license
|
||||
redhawke // (c) 1997 Excellent Co., Ltd license
|
||||
redhawki // (c) 1997 Haedong Corp. license
|
||||
redhawkb // (c) 1997
|
||||
redhawkk // (c) 1997
|
||||
redhawkk // (c) 1997
|
||||
grdnstrm // (c) 1998 Apples Industries license
|
||||
grdnstrmv // (c) 1998 Apples Industries license
|
||||
grdnstrmk // (c) 1998 (Korea)
|
||||
@ -9881,7 +9881,7 @@ drgw2j //
|
||||
drgw2hk //
|
||||
drgw3 // (c) 1998 Dragon World 3
|
||||
drgw3105 //
|
||||
drgw3103 //
|
||||
drgw3103 //
|
||||
drgw3100 //
|
||||
dwex // (c) 1998 Dragon World 3 EX
|
||||
killbld // (c) 1998 The Killing Blade
|
||||
@ -10368,7 +10368,7 @@ jokpokerc // (c) 1983 Greyhound Electronics
|
||||
superbwl // (c) 1982 Greyhound Electronics
|
||||
amuse // (c) 1982 Greyhound Electronics
|
||||
amuse1 // (c) 1982 Greyhound Electronics
|
||||
amuse1a // (c) 1983 Greyhound Electronics
|
||||
amuse1a // (c) 1983 Greyhound Electronics
|
||||
gs4002 // (c) 1982 G.E.I.
|
||||
gs4002a // (c) 1982 G.E.I.
|
||||
gepoker // (c) 1984 Greyhound Electronics
|
||||
@ -12929,7 +12929,7 @@ tank // (c) 1974 Atari
|
||||
pong // (c) 1972 Atari
|
||||
pongd // (c) 1975 Atari
|
||||
pongf // (c) 1972 Atari
|
||||
breakout // (c) 1976 Atari
|
||||
breakout // (c) 1976 Atari
|
||||
//coupedem
|
||||
//goal4
|
||||
//gotchaat
|
||||
@ -17056,7 +17056,7 @@ sc4s6cb //
|
||||
sc4s6cc //
|
||||
sc4s6cd //
|
||||
sc4s6ce //
|
||||
sc4s6cf //
|
||||
sc4s6cf //
|
||||
sc4sdr // Super Diamonds & Rubies (Bellfruit)
|
||||
sc4sdra //
|
||||
sc4sdrb //
|
||||
@ -17155,7 +17155,7 @@ sc4ticlb // Treasure Island Club (Bellfruit)
|
||||
sc4ticlba //
|
||||
sc4ticlbb //
|
||||
sc4ticlbc //
|
||||
sc4ticlbd //
|
||||
sc4ticlbd //
|
||||
sc4ttomb // Treasure Tomb (Bellfruit)
|
||||
sc4ttomba //
|
||||
sc4ttombb //
|
||||
@ -17274,7 +17274,7 @@ sc4legd //
|
||||
sc4lege //
|
||||
sc4legf //
|
||||
sc4legg //
|
||||
sc4legh //
|
||||
sc4legh //
|
||||
sc4legcb // Who Wants To Be A Legionnaire Club (Bellfruit)
|
||||
sc4legcba //
|
||||
sc4legcbb //
|
||||
|
@ -394,8 +394,8 @@ WRITE8_MEMBER( abc80_state::kbd_w )
|
||||
|
||||
/*
|
||||
DEVICE_INPUT_DEFAULTS_START( abc830_slow )
|
||||
DEVICE_INPUT_DEFAULTS("SW1", 0x0f, 0x03)
|
||||
DEVICE_INPUT_DEFAULTS("S1", 0x01, 0x01)
|
||||
DEVICE_INPUT_DEFAULTS("SW1", 0x0f, 0x03)
|
||||
DEVICE_INPUT_DEFAULTS("S1", 0x01, 0x01)
|
||||
DEVICE_INPUT_DEFAULTS_END
|
||||
*/
|
||||
|
||||
|
@ -161,7 +161,7 @@ void gba_state::dma_exec(FPTR ch)
|
||||
else
|
||||
{
|
||||
// if (dst >= 0x6000000 && dst <= 0x6017fff)
|
||||
// printf("DMA exec: ch %d from %08x to %08x, mode %04x, count %04x (%s)\n", (int)ch, src, dst, ctrl, cnt, ((ctrl>>10) & 1) ? "32" : "16");
|
||||
// printf("DMA exec: ch %d from %08x to %08x, mode %04x, count %04x (%s)\n", (int)ch, src, dst, ctrl, cnt, ((ctrl>>10) & 1) ? "32" : "16");
|
||||
}
|
||||
|
||||
for (int i = 0; i < cnt; i++)
|
||||
@ -1559,7 +1559,7 @@ WRITE32_MEMBER(gba_state::gba_io_w)
|
||||
|
||||
ch = offset / 3;
|
||||
|
||||
// printf("%08x: DMA(%d): %x to reg %d (mask %08x)\n", space.device().safe_pc(), ch, data, offset%3, ~mem_mask);
|
||||
// printf("%08x: DMA(%d): %x to reg %d (mask %08x)\n", space.device().safe_pc(), ch, data, offset%3, ~mem_mask);
|
||||
|
||||
if (((offset % 3) == 2) && ((~mem_mask & 0xffff0000) == 0))
|
||||
{
|
||||
|
@ -1258,14 +1258,14 @@ MACHINE_CONFIG_END
|
||||
static MACHINE_CONFIG_FRAGMENT( msx2p_floplist )
|
||||
MCFG_SOFTWARE_LIST_ADD("flop_list", "msx2p_flop")
|
||||
MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("msx2_flp_l", "msx2_flop")
|
||||
MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("msx1_flp_l", "msx1_flop") // maybe not?
|
||||
MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("msx1_flp_l", "msx1_flop") // maybe not?
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( msxr_floplist )
|
||||
MCFG_SOFTWARE_LIST_ADD("flop_list", "msxr_flop")
|
||||
MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("msx2p_flp_l", "msx2p_flop")
|
||||
MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("msx2_flp_l", "msx2_flop") // maybe not?
|
||||
MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("msx1_flp_l", "msx1_flop") // maybe not?
|
||||
MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("msx2_flp_l", "msx2_flop") // maybe not?
|
||||
MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("msx1_flp_l", "msx1_flop") // maybe not?
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
FLOPPY_FORMATS_MEMBER( msx_state::floppy_formats )
|
||||
|
@ -1727,9 +1727,9 @@ WRITE_LINE_MEMBER( pc88va_state::fdc_irq )
|
||||
|
||||
WRITE_LINE_MEMBER(pc88va_state::pc88va_hlda_w)
|
||||
{
|
||||
// m_maincpu->set_input_line(INPUT_LINE_HALT, state ? ASSERT_LINE : CLEAR_LINE);
|
||||
// m_maincpu->set_input_line(INPUT_LINE_HALT, state ? ASSERT_LINE : CLEAR_LINE);
|
||||
|
||||
m_dmac->hack_w(state);
|
||||
m_dmac->hack_w(state);
|
||||
|
||||
// printf("%02x HLDA\n",state);
|
||||
}
|
||||
|
@ -58,8 +58,8 @@
|
||||
#define Z80PIO_TAG "cd67"
|
||||
#define SN76477_TAG "g8"
|
||||
#define RS232_TAG "ser"
|
||||
#define CASSETTE_TAG "cassette"
|
||||
#define KEYBOARD_TAG "keyboard"
|
||||
#define CASSETTE_TAG "cassette"
|
||||
#define KEYBOARD_TAG "keyboard"
|
||||
#define TIMER_CASSETTE_TAG "cass"
|
||||
|
||||
class abc80_state : public driver_device
|
||||
|
@ -847,9 +847,9 @@ bool sound_coreaudio::extract_effect_info(
|
||||
CFTypeRef subtype_val = NULL;
|
||||
CFTypeRef manufacturer_val = NULL;
|
||||
if (CFDictionaryContainsKey(desc, CFSTR("ComponentType"))
|
||||
&& CFDictionaryContainsKey(desc, CFSTR("ComponentSubType"))
|
||||
&& CFDictionaryContainsKey(desc, CFSTR("ComponentManufacturer"))
|
||||
&& CFDictionaryContainsKey(desc, CFSTR("ClassInfo")))
|
||||
&& CFDictionaryContainsKey(desc, CFSTR("ComponentSubType"))
|
||||
&& CFDictionaryContainsKey(desc, CFSTR("ComponentManufacturer"))
|
||||
&& CFDictionaryContainsKey(desc, CFSTR("ClassInfo")))
|
||||
{
|
||||
type_val = CFDictionaryGetValue(desc, CFSTR("ComponentType"));
|
||||
subtype_val = CFDictionaryGetValue(desc, CFSTR("ComponentSubType"));
|
||||
@ -857,8 +857,8 @@ bool sound_coreaudio::extract_effect_info(
|
||||
class_info = CFDictionaryGetValue(desc, CFSTR("ClassInfo"));
|
||||
}
|
||||
else if (CFDictionaryContainsKey(desc, CFSTR(kAUPresetTypeKey))
|
||||
&& CFDictionaryContainsKey(desc, CFSTR(kAUPresetSubtypeKey))
|
||||
&& CFDictionaryContainsKey(desc, CFSTR(kAUPresetManufacturerKey)))
|
||||
&& CFDictionaryContainsKey(desc, CFSTR(kAUPresetSubtypeKey))
|
||||
&& CFDictionaryContainsKey(desc, CFSTR(kAUPresetManufacturerKey)))
|
||||
{
|
||||
type_val = CFDictionaryGetValue(desc, CFSTR(kAUPresetTypeKey));
|
||||
subtype_val = CFDictionaryGetValue(desc, CFSTR(kAUPresetSubtypeKey));
|
||||
@ -875,16 +875,16 @@ bool sound_coreaudio::extract_effect_info(
|
||||
|
||||
SInt64 type_int, subtype_int, manufacturer_int;
|
||||
if ((NULL == type_val)
|
||||
|| (NULL == subtype_val)
|
||||
|| (NULL == manufacturer_val)
|
||||
|| (NULL == class_info)
|
||||
|| (CFNumberGetTypeID() != CFGetTypeID(type_val))
|
||||
|| (CFNumberGetTypeID() != CFGetTypeID(subtype_val))
|
||||
|| (CFNumberGetTypeID() != CFGetTypeID(manufacturer_val))
|
||||
|| (CFDictionaryGetTypeID() != CFGetTypeID(class_info))
|
||||
|| !CFNumberGetValue((CFNumberRef)type_val, kCFNumberSInt64Type, &type_int)
|
||||
|| !CFNumberGetValue((CFNumberRef)subtype_val, kCFNumberSInt64Type, &subtype_int)
|
||||
|| !CFNumberGetValue((CFNumberRef)manufacturer_val, kCFNumberSInt64Type, &manufacturer_int))
|
||||
|| (NULL == subtype_val)
|
||||
|| (NULL == manufacturer_val)
|
||||
|| (NULL == class_info)
|
||||
|| (CFNumberGetTypeID() != CFGetTypeID(type_val))
|
||||
|| (CFNumberGetTypeID() != CFGetTypeID(subtype_val))
|
||||
|| (CFNumberGetTypeID() != CFGetTypeID(manufacturer_val))
|
||||
|| (CFDictionaryGetTypeID() != CFGetTypeID(class_info))
|
||||
|| !CFNumberGetValue((CFNumberRef)type_val, kCFNumberSInt64Type, &type_int)
|
||||
|| !CFNumberGetValue((CFNumberRef)subtype_val, kCFNumberSInt64Type, &subtype_int)
|
||||
|| !CFNumberGetValue((CFNumberRef)manufacturer_val, kCFNumberSInt64Type, &manufacturer_int))
|
||||
{
|
||||
osd_printf_error(
|
||||
"%s is not a valid AudioUnit effect description: incorrect property type(s)\n",
|
||||
|
@ -81,4 +81,3 @@ struct _IO_FILE {}; //_IO_FILE is an opaque type in the emscripten libc which m
|
||||
#endif
|
||||
|
||||
#endif /* SDLMAME_UNIX */
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
#define BARE_BUILD_VERSION "0.160"
|
||||
#define BARE_BUILD_VERSION "0.161"
|
||||
|
||||
extern const char bare_build_version[];
|
||||
extern const char build_version[];
|
||||
|
Loading…
Reference in New Issue
Block a user