mirror of
https://github.com/holub/mame
synced 2025-07-08 11:21:56 +03:00
srcclean in preparation for 0.251 branch
This commit is contained in:
parent
8fe6887829
commit
bb457cea6c
@ -721,7 +721,7 @@ Generated by SLIST 0.2.1
|
|||||||
<rom name="alien (1982)(avalon hill).do" size="143360" crc="8928926a" sha1="cf8861b433def03864b4611d21be058d86fb53da" />
|
<rom name="alien (1982)(avalon hill).do" size="143360" crc="8928926a" sha1="cf8861b433def03864b4611d21be058d86fb53da" />
|
||||||
</dataarea>
|
</dataarea>
|
||||||
</part>
|
</part>
|
||||||
</software>
|
</software>
|
||||||
|
|
||||||
<software name="alephbai">
|
<software name="alephbai">
|
||||||
<description>Aleph Baiters</description>
|
<description>Aleph Baiters</description>
|
||||||
@ -2688,7 +2688,7 @@ Generated by SLIST 0.2.1
|
|||||||
</dataarea>
|
</dataarea>
|
||||||
</part>
|
</part>
|
||||||
</software>
|
</software>
|
||||||
|
|
||||||
<software name="borders">
|
<software name="borders">
|
||||||
<description>Borders</description>
|
<description>Borders</description>
|
||||||
<year>1983</year>
|
<year>1983</year>
|
||||||
@ -5474,7 +5474,7 @@ Generated by SLIST 0.2.1
|
|||||||
</dataarea>
|
</dataarea>
|
||||||
</part>
|
</part>
|
||||||
</software>
|
</software>
|
||||||
|
|
||||||
<software name="noshkosh">
|
<software name="noshkosh">
|
||||||
<description>Nosh Kosh</description>
|
<description>Nosh Kosh</description>
|
||||||
<year>1983</year>
|
<year>1983</year>
|
||||||
|
@ -16085,7 +16085,7 @@ Disk 1 has a modified OEM ID and accessed file stamp
|
|||||||
</dataarea>
|
</dataarea>
|
||||||
</part>
|
</part>
|
||||||
</software>
|
</software>
|
||||||
|
|
||||||
<software name="tmht_es" cloneof="tmht">
|
<software name="tmht_es" cloneof="tmht">
|
||||||
<description>Teenage Mutant Hero Turtles (Spain, 5.25")</description>
|
<description>Teenage Mutant Hero Turtles (Spain, 5.25")</description>
|
||||||
<year>1990</year>
|
<year>1990</year>
|
||||||
|
@ -1004,7 +1004,7 @@ CD-ROM includes: "Boxing", "Chopper Command", "Cosmic Commuter", "Crackpots", "F
|
|||||||
<info name="language" value="English/French/German" />
|
<info name="language" value="English/French/German" />
|
||||||
<info name="region" value="Europe" />
|
<info name="region" value="Europe" />
|
||||||
<sharedfeat name="platform" value="DOS" />
|
<sharedfeat name="platform" value="DOS" />
|
||||||
|
|
||||||
<part name="cdrom" interface="cdrom">
|
<part name="cdrom" interface="cdrom">
|
||||||
<diskarea name="cdrom">
|
<diskarea name="cdrom">
|
||||||
<disk name="Blackhawk (Europe) (En,Fr,De)" sha1="7031e0b00ade177a62d0df78c3f2f69fbc3e4e33" />
|
<disk name="Blackhawk (Europe) (En,Fr,De)" sha1="7031e0b00ade177a62d0df78c3f2f69fbc3e4e33" />
|
||||||
@ -2280,7 +2280,7 @@ CD-ROM includes: "Boxing", "Chopper Command", "Cosmic Commuter", "Crackpots", "F
|
|||||||
<info name="region" value="Europe" />
|
<info name="region" value="Europe" />
|
||||||
<info name="version" value="1.1" />
|
<info name="version" value="1.1" />
|
||||||
<sharedfeat name="platform" value="DOS" />
|
<sharedfeat name="platform" value="DOS" />
|
||||||
|
|
||||||
<part name="cdrom" interface="cdrom">
|
<part name="cdrom" interface="cdrom">
|
||||||
<diskarea name="cdrom">
|
<diskarea name="cdrom">
|
||||||
<disk name="Hocus Pocus (Europe)" sha1="bfd4f851c81965448daf9e2087723c50ec8a7ed8" />
|
<disk name="Hocus Pocus (Europe)" sha1="bfd4f851c81965448daf9e2087723c50ec8a7ed8" />
|
||||||
@ -2300,7 +2300,7 @@ CD-ROM includes: "Boxing", "Chopper Command", "Cosmic Commuter", "Crackpots", "F
|
|||||||
<info name="region" value="Germany" />
|
<info name="region" value="Germany" />
|
||||||
<info name="version" value="1.0" />
|
<info name="version" value="1.0" />
|
||||||
<sharedfeat name="platform" value="DOS" />
|
<sharedfeat name="platform" value="DOS" />
|
||||||
|
|
||||||
<part name="cdrom" interface="cdrom">
|
<part name="cdrom" interface="cdrom">
|
||||||
<diskarea name="cdrom">
|
<diskarea name="cdrom">
|
||||||
<disk name="Hocus Pocus (Germany)" sha1="d52bdffdb451b91f5bd65c880ba8009198ff5856" />
|
<disk name="Hocus Pocus (Germany)" sha1="d52bdffdb451b91f5bd65c880ba8009198ff5856" />
|
||||||
@ -2320,7 +2320,7 @@ CD-ROM includes: "Boxing", "Chopper Command", "Cosmic Commuter", "Crackpots", "F
|
|||||||
<info name="region" value="Germany" />
|
<info name="region" value="Germany" />
|
||||||
<info name="version" value="Shareware Version 1.1" />
|
<info name="version" value="Shareware Version 1.1" />
|
||||||
<sharedfeat name="platform" value="DOS" />
|
<sharedfeat name="platform" value="DOS" />
|
||||||
|
|
||||||
<part name="cdrom" interface="cdrom">
|
<part name="cdrom" interface="cdrom">
|
||||||
<diskarea name="cdrom">
|
<diskarea name="cdrom">
|
||||||
<disk name="Hocus Pocus (Germany) (Demo)" sha1="9fde44d5eb760c1c5847c14165894a8c6073b78f" />
|
<disk name="Hocus Pocus (Germany) (Demo)" sha1="9fde44d5eb760c1c5847c14165894a8c6073b78f" />
|
||||||
@ -2340,7 +2340,7 @@ CD-ROM includes: "Boxing", "Chopper Command", "Cosmic Commuter", "Crackpots", "F
|
|||||||
<info name="region" value="Spain" />
|
<info name="region" value="Spain" />
|
||||||
<info name="version" value="1.0" />
|
<info name="version" value="1.0" />
|
||||||
<sharedfeat name="platform" value="DOS" />
|
<sharedfeat name="platform" value="DOS" />
|
||||||
|
|
||||||
<part name="cdrom" interface="cdrom">
|
<part name="cdrom" interface="cdrom">
|
||||||
<diskarea name="cdrom">
|
<diskarea name="cdrom">
|
||||||
<disk name="Hocus Pocus (Spain) (Rerelease)" sha1="7f54622d68dd68da0b5185d6a5475f083315ded3" />
|
<disk name="Hocus Pocus (Spain) (Rerelease)" sha1="7f54622d68dd68da0b5185d6a5475f083315ded3" />
|
||||||
@ -2360,7 +2360,7 @@ CD-ROM includes: "Boxing", "Chopper Command", "Cosmic Commuter", "Crackpots", "F
|
|||||||
<info name="region" value="USA" />
|
<info name="region" value="USA" />
|
||||||
<info name="version" value="1.1" />
|
<info name="version" value="1.1" />
|
||||||
<sharedfeat name="platform" value="DOS" />
|
<sharedfeat name="platform" value="DOS" />
|
||||||
|
|
||||||
<part name="cdrom" interface="cdrom">
|
<part name="cdrom" interface="cdrom">
|
||||||
<diskarea name="cdrom">
|
<diskarea name="cdrom">
|
||||||
<disk name="Hocus Pocus (USA)" sha1="2635c948b4b0503bd616e71a950b5a02d0c40578" />
|
<disk name="Hocus Pocus (USA)" sha1="2635c948b4b0503bd616e71a950b5a02d0c40578" />
|
||||||
@ -2380,7 +2380,7 @@ CD-ROM includes: "Boxing", "Chopper Command", "Cosmic Commuter", "Crackpots", "F
|
|||||||
<info name="region" value="USA" />
|
<info name="region" value="USA" />
|
||||||
<info name="version" value="1.1" />
|
<info name="version" value="1.1" />
|
||||||
<sharedfeat name="platform" value="DOS" />
|
<sharedfeat name="platform" value="DOS" />
|
||||||
|
|
||||||
<part name="cdrom" interface="cdrom">
|
<part name="cdrom" interface="cdrom">
|
||||||
<diskarea name="cdrom">
|
<diskarea name="cdrom">
|
||||||
<disk name="Hocus Pocus (USA) (Alt)" sha1="04711c1e225b6127e13cda3358fb7a314c1c0b39" />
|
<disk name="Hocus Pocus (USA) (Alt)" sha1="04711c1e225b6127e13cda3358fb7a314c1c0b39" />
|
||||||
@ -2400,7 +2400,7 @@ CD-ROM includes: "Boxing", "Chopper Command", "Cosmic Commuter", "Crackpots", "F
|
|||||||
<info name="region" value="USA" />
|
<info name="region" value="USA" />
|
||||||
<info name="version" value="1.1" />
|
<info name="version" value="1.1" />
|
||||||
<sharedfeat name="platform" value="DOS" />
|
<sharedfeat name="platform" value="DOS" />
|
||||||
|
|
||||||
<part name="cdrom" interface="cdrom">
|
<part name="cdrom" interface="cdrom">
|
||||||
<diskarea name="cdrom">
|
<diskarea name="cdrom">
|
||||||
<disk name="Hocus Pocus (USA) (Alt 2)" sha1="46799b8b4e1fa697c23ebee08db3dc00818839a3" />
|
<disk name="Hocus Pocus (USA) (Alt 2)" sha1="46799b8b4e1fa697c23ebee08db3dc00818839a3" />
|
||||||
@ -2420,7 +2420,7 @@ CD-ROM includes: "Boxing", "Chopper Command", "Cosmic Commuter", "Crackpots", "F
|
|||||||
<info name="region" value="USA" />
|
<info name="region" value="USA" />
|
||||||
<info name="version" value="1.1" />
|
<info name="version" value="1.1" />
|
||||||
<sharedfeat name="platform" value="DOS" />
|
<sharedfeat name="platform" value="DOS" />
|
||||||
|
|
||||||
<part name="cdrom" interface="cdrom">
|
<part name="cdrom" interface="cdrom">
|
||||||
<diskarea name="cdrom">
|
<diskarea name="cdrom">
|
||||||
<disk name="Hocus Pocus (USA) (Rerelease)" sha1="7e7a696f365f79304ed68bf98bb46bcaa2dcdd13" />
|
<disk name="Hocus Pocus (USA) (Rerelease)" sha1="7e7a696f365f79304ed68bf98bb46bcaa2dcdd13" />
|
||||||
|
@ -30671,7 +30671,7 @@ Kinda ugly to look at without a shader
|
|||||||
<!-- TODO: pinpoint exact range of machines supported -->
|
<!-- TODO: pinpoint exact range of machines supported -->
|
||||||
<!-- crashes in vanilla pc8801 and 8801ma, works with mk2sr -->
|
<!-- crashes in vanilla pc8801 and 8801ma, works with mk2sr -->
|
||||||
<info name="usage" value="Needs BASIC V1, suggested to use pc8801mk2sr"/>
|
<info name="usage" value="Needs BASIC V1, suggested to use pc8801mk2sr"/>
|
||||||
|
|
||||||
<part name="flop1" interface="floppy_5_25">
|
<part name="flop1" interface="floppy_5_25">
|
||||||
<dataarea name="flop" size="345856">
|
<dataarea name="flop" size="345856">
|
||||||
<rom name="shanghai sr.d88" size="345856" crc="6f74c72a" sha1="c970bdcd57a0a3fb2cfebf4fb0bf80c39e218a28"/>
|
<rom name="shanghai sr.d88" size="345856" crc="6f74c72a" sha1="c970bdcd57a0a3fb2cfebf4fb0bf80c39e218a28"/>
|
||||||
|
@ -1033,7 +1033,7 @@ Loads N88 BASIC then jumps to lalaland [FDC]
|
|||||||
<info name="release" value="199008xx"/>
|
<info name="release" value="199008xx"/>
|
||||||
<info name="alt_title" value="ディー・ピー・エス SG"/>
|
<info name="alt_title" value="ディー・ピー・エス SG"/>
|
||||||
<!-- Data disk for dps? -->
|
<!-- Data disk for dps? -->
|
||||||
|
|
||||||
<part name="flop1" interface="floppy_5_25">
|
<part name="flop1" interface="floppy_5_25">
|
||||||
<feature name="part_id" value="System" />
|
<feature name="part_id" value="System" />
|
||||||
<dataarea name="flop" size="1261568">
|
<dataarea name="flop" size="1261568">
|
||||||
|
@ -39117,7 +39117,7 @@ Tape 2 - Side B:
|
|||||||
</dataarea>
|
</dataarea>
|
||||||
</part>
|
</part>
|
||||||
</software>
|
</software>
|
||||||
|
|
||||||
<software name="180spark" cloneof="180">
|
<software name="180spark" cloneof="180">
|
||||||
<description>180 (Sparklers)</description>
|
<description>180 (Sparklers)</description>
|
||||||
<year>1983</year>
|
<year>1983</year>
|
||||||
@ -149995,7 +149995,7 @@ Tape 2 - Side A - Game 3: Astroclone (Hewson Consultants)
|
|||||||
Tape 2 - Side A - Game 4: Give My Regards to Broad Street (Mind Games)
|
Tape 2 - Side A - Game 4: Give My Regards to Broad Street (Mind Games)
|
||||||
Tape 2 - Side A - Game 5: Show Jumping (Alligata Software)
|
Tape 2 - Side A - Game 5: Show Jumping (Alligata Software)
|
||||||
]]></notes>
|
]]></notes>
|
||||||
|
|
||||||
<part name="cass1" interface="spectrum_cass">
|
<part name="cass1" interface="spectrum_cass">
|
||||||
<dataarea name="cass" size="213452">
|
<dataarea name="cass" size="213452">
|
||||||
<rom name="10 computer hits 3 - tape a.tzx" size="213452" crc="e9751a0d" sha1="420b7079974bd6ab21c49b5a66a94c6e5959b27e"/>
|
<rom name="10 computer hits 3 - tape a.tzx" size="213452" crc="e9751a0d" sha1="420b7079974bd6ab21c49b5a66a94c6e5959b27e"/>
|
||||||
|
@ -67,9 +67,9 @@ distomeb_slot_device::distomeb_slot_device(const machine_config &mconfig, const
|
|||||||
void distomeb_slot_device::device_start()
|
void distomeb_slot_device::device_start()
|
||||||
{
|
{
|
||||||
m_cart = get_card_device();
|
m_cart = get_card_device();
|
||||||
m_cart_callback.resolve_safe();
|
m_cart_callback.resolve_safe();
|
||||||
|
|
||||||
save_item(NAME(m_cart_line));
|
save_item(NAME(m_cart_line));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ template class device_finder<device_distomeb_interface, true>;
|
|||||||
device_distomeb_interface::device_distomeb_interface(const machine_config &mconfig, device_t &device)
|
device_distomeb_interface::device_distomeb_interface(const machine_config &mconfig, device_t &device)
|
||||||
: device_interface(device, "distomeb")
|
: device_interface(device, "distomeb")
|
||||||
, m_owning_slot(dynamic_cast<distomeb_slot_device *>(device.owner()))
|
, m_owning_slot(dynamic_cast<distomeb_slot_device *>(device.owner()))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
http://www.microtan.ukpc.net/pageProducts.html#ROM
|
http://www.microtan.ukpc.net/pageProducts.html#ROM
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
G EFFC
|
G EFFC
|
||||||
|
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
|
|
||||||
Portable Konami cpu emulator
|
Portable Konami cpu emulator
|
||||||
Custom HD6309 in a gate array with ROM blocks for instruction decoding.
|
Custom HD6309 in a gate array with ROM blocks for instruction decoding.
|
||||||
|
|
||||||
Based on M6809 cpu core copyright John Butler
|
Based on M6809 cpu core copyright John Butler
|
||||||
|
|
||||||
|
@ -374,7 +374,7 @@ protected:
|
|||||||
CSCD_COMPARE = 0xfff00000,
|
CSCD_COMPARE = 0xfff00000,
|
||||||
|
|
||||||
INT_SPIM = 0,
|
INT_SPIM = 0,
|
||||||
INT_SPIM_MASK = (1 << INT_SPIM),
|
INT_SPIM_MASK = (1 << INT_SPIM),
|
||||||
INT_TIMER2 = 1,
|
INT_TIMER2 = 1,
|
||||||
INT_TIMER2_MASK = (1 << INT_TIMER2),
|
INT_TIMER2_MASK = (1 << INT_TIMER2),
|
||||||
INT_UART = 2,
|
INT_UART = 2,
|
||||||
@ -871,7 +871,7 @@ private:
|
|||||||
WCTLR_FI = 0x0002,
|
WCTLR_FI = 0x0002,
|
||||||
WCTLR_WDEN = 0x0001,
|
WCTLR_WDEN = 0x0001,
|
||||||
|
|
||||||
RTCIENR_MASK = 0x001f,
|
RTCIENR_MASK = 0x001f,
|
||||||
};
|
};
|
||||||
|
|
||||||
void grpmaska_w(u16 data);
|
void grpmaska_w(u16 data);
|
||||||
@ -1087,7 +1087,7 @@ private:
|
|||||||
CSC_MASK = 0xf9ff,
|
CSC_MASK = 0xf9ff,
|
||||||
CSD_MASK = 0xffff,
|
CSD_MASK = 0xffff,
|
||||||
EMUCS_MASK = 0x0070,
|
EMUCS_MASK = 0x0070,
|
||||||
CS_EN_BIT = 0,
|
CS_EN_BIT = 0,
|
||||||
CS_SIZ_MASK = 0x000e,
|
CS_SIZ_MASK = 0x000e,
|
||||||
CS_SIZ_SHIFT = 1,
|
CS_SIZ_SHIFT = 1,
|
||||||
CS_WS_MASK = 0x0070,
|
CS_WS_MASK = 0x0070,
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
class mc68328_lcd_device : public device_t,
|
class mc68328_lcd_device : public device_t,
|
||||||
public device_palette_interface,
|
public device_palette_interface,
|
||||||
public device_video_interface
|
public device_video_interface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
mc68328_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
|
mc68328_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
|
||||||
|
@ -92,74 +92,74 @@ protected:
|
|||||||
|
|
||||||
enum : u8
|
enum : u8
|
||||||
{
|
{
|
||||||
MODE0_MASK = 0xff,
|
MODE0_MASK = 0xff,
|
||||||
MODE0_WIDTH_MASK = 0x03,
|
MODE0_WIDTH_MASK = 0x03,
|
||||||
MODE0_FPSHIFT_BIT = 2,
|
MODE0_FPSHIFT_BIT = 2,
|
||||||
MODE0_FPFRAME_POL_BIT = 3,
|
MODE0_FPFRAME_POL_BIT = 3,
|
||||||
MODE0_FPLINE_POL_BIT = 4,
|
MODE0_FPLINE_POL_BIT = 4,
|
||||||
MODE0_COLOR_BIT = 5,
|
MODE0_COLOR_BIT = 5,
|
||||||
MODE0_DUAL_BIT = 6,
|
MODE0_DUAL_BIT = 6,
|
||||||
MODE0_TFT_BIT = 7,
|
MODE0_TFT_BIT = 7,
|
||||||
|
|
||||||
MODE1_MASK = 0xff,
|
MODE1_MASK = 0xff,
|
||||||
MODE1_SWINVERT_BIT = 0,
|
MODE1_SWINVERT_BIT = 0,
|
||||||
MODE1_HWINVERT_BIT = 1,
|
MODE1_HWINVERT_BIT = 1,
|
||||||
MODE1_FRREPEAT_BIT = 2,
|
MODE1_FRREPEAT_BIT = 2,
|
||||||
MODE1_BLANK_BIT = 3,
|
MODE1_BLANK_BIT = 3,
|
||||||
MODE1_CLKDIV_BIT = 4,
|
MODE1_CLKDIV_BIT = 4,
|
||||||
MODE1_HIPERF_BIT = 5,
|
MODE1_HIPERF_BIT = 5,
|
||||||
MODE1_BPP_MASK = 0xc0,
|
MODE1_BPP_MASK = 0xc0,
|
||||||
MODE1_BPP_SHIFT = 6,
|
MODE1_BPP_SHIFT = 6,
|
||||||
|
|
||||||
MODE2_MASK = 0x0f,
|
MODE2_MASK = 0x0f,
|
||||||
MODE2_SWPWRSAVE_MASK = 0x03,
|
MODE2_SWPWRSAVE_MASK = 0x03,
|
||||||
MODE2_SWPWRSAVE_SHIFT = 0,
|
MODE2_SWPWRSAVE_SHIFT = 0,
|
||||||
MODE2_HWPWRSAVE_BIT = 2,
|
MODE2_HWPWRSAVE_BIT = 2,
|
||||||
MODE2_LCDPWR_OVR_BIT = 3,
|
MODE2_LCDPWR_OVR_BIT = 3,
|
||||||
|
|
||||||
PANEL_HSIZE_MASK = 0x7f,
|
PANEL_HSIZE_MASK = 0x7f,
|
||||||
|
|
||||||
FPLINE_START_MASK = 0x1f,
|
FPLINE_START_MASK = 0x1f,
|
||||||
|
|
||||||
HBLANK_MASK = 0x1f,
|
HBLANK_MASK = 0x1f,
|
||||||
|
|
||||||
FPFRAME_START_MASK = 0x3f,
|
FPFRAME_START_MASK = 0x3f,
|
||||||
|
|
||||||
VBLANK_MASK = 0x3f,
|
VBLANK_MASK = 0x3f,
|
||||||
VBLANK_VBL_BIT = 7,
|
VBLANK_VBL_BIT = 7,
|
||||||
|
|
||||||
MODRATE_MASK = 0x3f,
|
MODRATE_MASK = 0x3f,
|
||||||
|
|
||||||
START_OVF_MASK = 0x01,
|
START_OVF_MASK = 0x01,
|
||||||
|
|
||||||
MEM_ADDR_OFFSET_MASK = 0xff,
|
MEM_ADDR_OFFSET_MASK = 0xff,
|
||||||
|
|
||||||
LUT_ADDR_MASK = 0xff,
|
LUT_ADDR_MASK = 0xff,
|
||||||
|
|
||||||
LUT_DATA_MASK = 0xf0,
|
LUT_DATA_MASK = 0xf0,
|
||||||
LUT_DATA_SHIFT = 4,
|
LUT_DATA_SHIFT = 4,
|
||||||
|
|
||||||
GPIO_CONFIG_MASK = 0x1f,
|
GPIO_CONFIG_MASK = 0x1f,
|
||||||
GPIO_STATUS_MASK = 0x1f,
|
GPIO_STATUS_MASK = 0x1f,
|
||||||
|
|
||||||
SCRATCH_MASK = 0xff,
|
SCRATCH_MASK = 0xff,
|
||||||
|
|
||||||
SWIVEL_MODE_MASK = 0xc3,
|
SWIVEL_MODE_MASK = 0xc3,
|
||||||
SWIVEL_CLKSEL_MASK = 0x03,
|
SWIVEL_CLKSEL_MASK = 0x03,
|
||||||
SWIVEL_MODE_BIT = 6,
|
SWIVEL_MODE_BIT = 6,
|
||||||
SWIVEL_ENABLE_BIT = 7,
|
SWIVEL_ENABLE_BIT = 7,
|
||||||
|
|
||||||
SWIVEL_BYTECNT_MASK = 0xff
|
SWIVEL_BYTECNT_MASK = 0xff
|
||||||
};
|
};
|
||||||
|
|
||||||
enum : u16
|
enum : u16
|
||||||
{
|
{
|
||||||
PANEL_VSIZE_MASK = 0x03ff,
|
PANEL_VSIZE_MASK = 0x03ff,
|
||||||
|
|
||||||
SCREEN1_START_MASK = 0xffff,
|
SCREEN1_START_MASK = 0xffff,
|
||||||
SCREEN2_START_MASK = 0xffff,
|
SCREEN2_START_MASK = 0xffff,
|
||||||
|
|
||||||
SCREEN1_VSIZE_MASK = 0x03ff
|
SCREEN1_VSIZE_MASK = 0x03ff
|
||||||
};
|
};
|
||||||
|
|
||||||
memory_share_creator<u8> m_vram;
|
memory_share_creator<u8> m_vram;
|
||||||
|
@ -126,7 +126,7 @@ void sprint8_state::sprint8_map(address_map &map)
|
|||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) \
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) \
|
||||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) \
|
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) \
|
||||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) \
|
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) \
|
||||||
\
|
\
|
||||||
PORT_START("DIAL" #player) \
|
PORT_START("DIAL" #player) \
|
||||||
PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(player)
|
PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(player)
|
||||||
|
|
||||||
|
@ -90,11 +90,11 @@ void minib_state::machine_reset()
|
|||||||
|
|
||||||
//uint8_t minib_state::pa_r()
|
//uint8_t minib_state::pa_r()
|
||||||
//{
|
//{
|
||||||
// uint8_t data = 0x00;
|
// uint8_t data = 0x00;
|
||||||
//
|
//
|
||||||
// data |= m_kbd->data_signal() << 1;
|
// data |= m_kbd->data_signal() << 1;
|
||||||
//
|
//
|
||||||
// return data;
|
// return data;
|
||||||
//}
|
//}
|
||||||
|
|
||||||
void minib_state::pa_w(uint8_t data)
|
void minib_state::pa_w(uint8_t data)
|
||||||
|
@ -693,7 +693,7 @@ void hornet_state::sysreg_w(offs_t offset, uint8_t data)
|
|||||||
// and ends up clearing IRQs out of turn.
|
// and ends up clearing IRQs out of turn.
|
||||||
// The IRQ0 clear bit is also questionable but games run too fast and crash without it.
|
// The IRQ0 clear bit is also questionable but games run too fast and crash without it.
|
||||||
// if (data & 0x80)
|
// if (data & 0x80)
|
||||||
// m_maincpu->set_input_line(INPUT_LINE_IRQ1, CLEAR_LINE);
|
// m_maincpu->set_input_line(INPUT_LINE_IRQ1, CLEAR_LINE);
|
||||||
if (data & 0x40)
|
if (data & 0x40)
|
||||||
m_maincpu->set_input_line(INPUT_LINE_IRQ0, CLEAR_LINE);
|
m_maincpu->set_input_line(INPUT_LINE_IRQ0, CLEAR_LINE);
|
||||||
|
|
||||||
|
@ -56,25 +56,25 @@ This pcb is the same as the A version but with one added chip:
|
|||||||
FPGA Bitstreams
|
FPGA Bitstreams
|
||||||
---------------
|
---------------
|
||||||
- Racing Jam (racingj)
|
- Racing Jam (racingj)
|
||||||
- Uses type A board
|
- Uses type A board
|
||||||
- Firmware (CRC32 92fde8df, 29491 bytes)
|
- Firmware (CRC32 92fde8df, 29491 bytes)
|
||||||
|
|
||||||
- Racing Jam 2 (racingj2, racingj2j)
|
- Racing Jam 2 (racingj2, racingj2j)
|
||||||
- Uses type B board with x76 chip? (x76 isn't used?)
|
- Uses type B board with x76 chip? (x76 isn't used?)
|
||||||
- Firmware (CRC32 dfc74cc9, 29491 bytes)
|
- Firmware (CRC32 dfc74cc9, 29491 bytes)
|
||||||
|
|
||||||
- Thrill Drive (thrilld, thrilldb, thrilldbu)
|
- Thrill Drive (thrilld, thrilldb, thrilldbu)
|
||||||
- Uses type B board with x76 chip (except thrilldbu which uses type A without the x76 chip)
|
- Uses type B board with x76 chip (except thrilldbu which uses type A without the x76 chip)
|
||||||
- Firmware #1 (CRC32 3760e3ce, 29490 bytes)
|
- Firmware #1 (CRC32 3760e3ce, 29490 bytes)
|
||||||
- Used during initial device test (does not get uploaded with skip post)
|
- Used during initial device test (does not get uploaded with skip post)
|
||||||
- Tests every register and expects to be able to read back the values it wrote for every register *except* 0x05, 0x06, and 0x09 on lanc2
|
- Tests every register and expects to be able to read back the values it wrote for every register *except* 0x05, 0x06, and 0x09 on lanc2
|
||||||
- Seems to be a stubbed version of the normal firmware with the logic for all registers stubbed except memory-related registers
|
- Seems to be a stubbed version of the normal firmware with the logic for all registers stubbed except memory-related registers
|
||||||
- Firmware #2 (CRC32 a8c97a75, 29490 bytes)
|
- Firmware #2 (CRC32 a8c97a75, 29490 bytes)
|
||||||
- Uploaded after boot sequence (even with skip post)
|
- Uploaded after boot sequence (even with skip post)
|
||||||
- Allows usage of x76 chip
|
- Allows usage of x76 chip
|
||||||
- Firmware #3 (CRC32 93b86e35, 29490 bytes)
|
- Firmware #3 (CRC32 93b86e35, 29490 bytes)
|
||||||
- Uploaded after security check (boot finishes, just as it starts the actual game)
|
- Uploaded after security check (boot finishes, just as it starts the actual game)
|
||||||
- x76 chip capability unknown (TODO: this should be tested on real hardware)
|
- x76 chip capability unknown (TODO: this should be tested on real hardware)
|
||||||
|
|
||||||
Racing Jam 1 and 2 are both programmed to send one extra 0xff at the end of the upload sequence. The Thrill Drive a8c97a75 firmware
|
Racing Jam 1 and 2 are both programmed to send one extra 0xff at the end of the upload sequence. The Thrill Drive a8c97a75 firmware
|
||||||
and the Racing Jam 2 dfc74cc9 firmware are actually the same except for the final 0xff.
|
and the Racing Jam 2 dfc74cc9 firmware are actually the same except for the final 0xff.
|
||||||
@ -314,11 +314,11 @@ void konami_gn676_lan_device::lanc2_w(offs_t offset, uint8_t data)
|
|||||||
if (m_x76f041 && m_x76f041_enabled)
|
if (m_x76f041 && m_x76f041_enabled)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
0x01 = x76 SDA
|
0x01 = x76 SDA
|
||||||
0x02 = x76 RST
|
0x02 = x76 RST
|
||||||
0x04 = x76 CS???
|
0x04 = x76 CS???
|
||||||
0x08 = x76 SCL
|
0x08 = x76 SCL
|
||||||
0x10 = Controls direction of x76 SDA
|
0x10 = Controls direction of x76 SDA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (BIT(data, 1))
|
if (BIT(data, 1))
|
||||||
|
@ -4320,11 +4320,11 @@ Notes:
|
|||||||
U3 : 27C1001 EPROM
|
U3 : 27C1001 EPROM
|
||||||
U82 : 27C040 EPROM
|
U82 : 27C040 EPROM
|
||||||
U42-45 : 27C040 EPROMs
|
U42-45 : 27C040 EPROMs
|
||||||
U81, U89 : 8M 42 pin mask ROM (read as 27C800)
|
U81, U89 : 8M 42 pin mask ROM (read as 27C800)
|
||||||
ALL other ROMs are soldered-in 16M 42 pin mask ROM (read as 27C160)
|
ALL other ROMs are soldered-in 16M 42 pin mask ROM (read as 27C160)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ROM_START( pwrinst2 ) /* 94.04.08 */
|
ROM_START( pwrinst2 ) /* 94.04.08 */
|
||||||
ROM_REGION( 0x200000, "maincpu", 0 ) /* 68000 code */
|
ROM_REGION( 0x200000, "maincpu", 0 ) /* 68000 code */
|
||||||
ROM_LOAD16_BYTE( "g02.u45a", 0x000000, 0x80000, CRC(ddfff811) SHA1(720f577dc77fc12aeb67511251e995169df754b6) )
|
ROM_LOAD16_BYTE( "g02.u45a", 0x000000, 0x80000, CRC(ddfff811) SHA1(720f577dc77fc12aeb67511251e995169df754b6) )
|
||||||
ROM_LOAD16_BYTE( "g02.u44a", 0x000001, 0x80000, CRC(5561f620) SHA1(3241ccc47e909930d79ad0a1a1b11a11879b17be) )
|
ROM_LOAD16_BYTE( "g02.u44a", 0x000001, 0x80000, CRC(5561f620) SHA1(3241ccc47e909930d79ad0a1a1b11a11879b17be) )
|
||||||
@ -4374,7 +4374,7 @@ ROM_START( pwrinst2 ) /* 94.04.08 */
|
|||||||
ROM_LOAD( "peel18cv8p-15.u25", 0x02aa, 0x0155, CRC(61b414df) SHA1(f12c5e62f83114f83108895ee58ceea31cdcb9fd) ) /* PEEL18CV8P-15 */
|
ROM_LOAD( "peel18cv8p-15.u25", 0x02aa, 0x0155, CRC(61b414df) SHA1(f12c5e62f83114f83108895ee58ceea31cdcb9fd) ) /* PEEL18CV8P-15 */
|
||||||
ROM_END
|
ROM_END
|
||||||
|
|
||||||
ROM_START( pwrinst2a ) /* also 94.04.08 like pwrinst2, but different program roms */
|
ROM_START( pwrinst2a ) /* also 94.04.08 like pwrinst2, but different program roms */
|
||||||
ROM_REGION( 0x200000, "maincpu", 0 ) /* 68000 code */
|
ROM_REGION( 0x200000, "maincpu", 0 ) /* 68000 code */
|
||||||
ROM_LOAD16_BYTE( "g02.u45", 0x000000, 0x80000, CRC(7b33bc43) SHA1(a68eb94e679f03c354932b8c5cd1bb2922fec0aa) )
|
ROM_LOAD16_BYTE( "g02.u45", 0x000000, 0x80000, CRC(7b33bc43) SHA1(a68eb94e679f03c354932b8c5cd1bb2922fec0aa) )
|
||||||
ROM_LOAD16_BYTE( "g02.u44", 0x000001, 0x80000, CRC(8f6f6637) SHA1(024b12c0fe40e27c79e38bd7601a9183a62d75fd) )
|
ROM_LOAD16_BYTE( "g02.u44", 0x000001, 0x80000, CRC(8f6f6637) SHA1(024b12c0fe40e27c79e38bd7601a9183a62d75fd) )
|
||||||
|
@ -168,7 +168,7 @@ static INPUT_PORTS_START(triton)
|
|||||||
PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_8_PAD) PORT_CHAR(UCHAR_MAMEKEY(8_PAD))
|
PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_8_PAD) PORT_CHAR(UCHAR_MAMEKEY(8_PAD))
|
||||||
PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7_PAD) PORT_CHAR(UCHAR_MAMEKEY(7_PAD))
|
PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7_PAD) PORT_CHAR(UCHAR_MAMEKEY(7_PAD))
|
||||||
PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_BACKSLASH2) PORT_CHAR('|') PORT_CHAR('\\') PORT_NAME(u8"¦ \\ FS")
|
PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_BACKSLASH2) PORT_CHAR('|') PORT_CHAR('\\') PORT_NAME(u8"¦ \\ FS")
|
||||||
PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR('~') PORT_CHAR('^') PORT_NAME(u8"~ ↑ RS")
|
PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR('~') PORT_CHAR('^') PORT_NAME(u8"~ \u2191 RS") // up arrow ↑
|
||||||
PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_UNUSED )
|
PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||||
PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_UNUSED )
|
PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||||
PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC)) PORT_NAME("Esc")
|
PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC)) PORT_NAME("Esc")
|
||||||
|
@ -2403,7 +2403,7 @@ void namcos22_state::update_mixer()
|
|||||||
if (m_is_ss22)
|
if (m_is_ss22)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
0 1 2 3 4 5 6 7 8 9 a b c d e f 10 14 18 1c
|
0 1 2 3 4 5 6 7 8 9 a b c d e f 10 14 18 1c
|
||||||
00824000: ffffff00 00000000 0000007f 00ff006f fe00eded 0f700000 0000037f 00010007 // alpine surfer
|
00824000: ffffff00 00000000 0000007f 00ff006f fe00eded 0f700000 0000037f 00010007 // alpine surfer
|
||||||
00824000: ffffff00 00000000 0000007f 00ff0000 1000ff00 0f000000 00ff007f 00010007 // time crisis
|
00824000: ffffff00 00000000 0000007f 00ff0000 1000ff00 0f000000 00ff007f 00010007 // time crisis
|
||||||
00824000: ffffff00 00000000 1830407f 00800000 0000007f 0f000000 0000037f 00010007 // trans sprite
|
00824000: ffffff00 00000000 1830407f 00800000 0000007f 0f000000 0000037f 00010007 // trans sprite
|
||||||
@ -2411,28 +2411,28 @@ void namcos22_state::update_mixer()
|
|||||||
00824000: ffffff00 00000000 1800187f 00800000 0080007f 0f000000 0000037f 00010007 // trans poly(2)
|
00824000: ffffff00 00000000 1800187f 00800000 0080007f 0f000000 0000037f 00010007 // trans poly(2)
|
||||||
00824000: ffffff00 00000000 1800187f 00000000 0000007f 0f800000 0000037f 00010007 // trans text
|
00824000: ffffff00 00000000 1800187f 00000000 0000007f 0f800000 0000037f 00010007 // trans text
|
||||||
|
|
||||||
00,01,02 polygon fade rgb
|
00,01,02 polygon fade rgb
|
||||||
03
|
03
|
||||||
04
|
04
|
||||||
05,06,07 world fog rgb
|
05,06,07 world fog rgb
|
||||||
08,09,0a background color
|
08,09,0a background color
|
||||||
0b
|
0b
|
||||||
0c
|
0c
|
||||||
0d,0e spot factor
|
0d,0e spot factor
|
||||||
0f polygon alpha color mask
|
0f polygon alpha color mask
|
||||||
10 polygon alpha pen mask
|
10 polygon alpha pen mask
|
||||||
11 global polygon alpha factor
|
11 global polygon alpha factor
|
||||||
12,13 textlayer alpha pen comparison
|
12,13 textlayer alpha pen comparison
|
||||||
14 textlayer alpha pen mask?
|
14 textlayer alpha pen mask?
|
||||||
15 textlayer alpha factor
|
15 textlayer alpha factor
|
||||||
16,17,18 global fade rgb
|
16,17,18 global fade rgb
|
||||||
19 global fade factor
|
19 global fade factor
|
||||||
1a fade target flags
|
1a fade target flags
|
||||||
1b textlayer palette base
|
1b textlayer palette base
|
||||||
1c
|
1c
|
||||||
1d
|
1d
|
||||||
1e
|
1e
|
||||||
1f layer enable
|
1f layer enable
|
||||||
*/
|
*/
|
||||||
m_poly_fade_r = nthbyte(m_mixer, 0x00);
|
m_poly_fade_r = nthbyte(m_mixer, 0x00);
|
||||||
m_poly_fade_g = nthbyte(m_mixer, 0x01);
|
m_poly_fade_g = nthbyte(m_mixer, 0x01);
|
||||||
@ -2464,24 +2464,24 @@ void namcos22_state::update_mixer()
|
|||||||
90020180: ff713700 00000000 00000000 00000000
|
90020180: ff713700 00000000 00000000 00000000
|
||||||
90020200: ff100000 00000000 00000000 00000000
|
90020200: ff100000 00000000 00000000 00000000
|
||||||
|
|
||||||
00,01 display flags
|
00,01 display flags
|
||||||
02
|
02
|
||||||
03
|
03
|
||||||
04 bgcolor palette base?
|
04 bgcolor palette base?
|
||||||
05
|
05
|
||||||
06
|
06
|
||||||
07 textlayer palette base?
|
07 textlayer palette base?
|
||||||
08,09,0a textlayer pen c shadow rgb
|
08,09,0a textlayer pen c shadow rgb
|
||||||
0b,0c,0d textlayer pen d shadow rgb
|
0b,0c,0d textlayer pen d shadow rgb
|
||||||
0e,0f,10 textlayer pen e shadow rgb
|
0e,0f,10 textlayer pen e shadow rgb
|
||||||
11,12 global fade factor red
|
11,12 global fade factor red
|
||||||
13,14 global fade factor green
|
13,14 global fade factor green
|
||||||
15,16 global fade factor blue
|
15,16 global fade factor blue
|
||||||
80-87 fog color mask?
|
80-87 fog color mask?
|
||||||
100,180,200 fog rgb 0
|
100,180,200 fog rgb 0
|
||||||
101,181,201 fog rgb 1
|
101,181,201 fog rgb 1
|
||||||
102,182,202 fog rgb 2
|
102,182,202 fog rgb 2
|
||||||
103,183,203 fog rgb 3
|
103,183,203 fog rgb 3
|
||||||
*/
|
*/
|
||||||
m_mixer_flags = nthbyte(m_mixer, 0x00) << 8 | nthbyte(m_mixer, 0x01);
|
m_mixer_flags = nthbyte(m_mixer, 0x00) << 8 | nthbyte(m_mixer, 0x01);
|
||||||
m_bg_palbase = nthbyte(m_mixer, 0x04) << 8 & 0x7f00;
|
m_bg_palbase = nthbyte(m_mixer, 0x04) << 8 & 0x7f00;
|
||||||
|
@ -9,7 +9,7 @@ Unknown part number, used as GPU for PC88VA
|
|||||||
TODO:
|
TODO:
|
||||||
- timing details
|
- timing details
|
||||||
- specifics about what exactly happens in work area when either SGP runs or is idle.
|
- specifics about what exactly happens in work area when either SGP runs or is idle.
|
||||||
- famista: during gameplay it BITBLT same source to destination 0x00037076
|
- famista: during gameplay it BITBLT same source to destination 0x00037076
|
||||||
with tp_mode = 3 and pitch = 0 (!?);
|
with tp_mode = 3 and pitch = 0 (!?);
|
||||||
- rtype: during gameplay it does transfers with Pitch = 0xfff0, alias for negative draw?
|
- rtype: during gameplay it does transfers with Pitch = 0xfff0, alias for negative draw?
|
||||||
- basic fires a VABOT on loading;
|
- basic fires a VABOT on loading;
|
||||||
@ -61,7 +61,7 @@ void pc88va_sgp_device::device_start()
|
|||||||
|
|
||||||
void pc88va_sgp_device::device_reset()
|
void pc88va_sgp_device::device_reset()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************
|
/****************************************
|
||||||
@ -334,7 +334,7 @@ void pc88va_sgp_device::start_exec()
|
|||||||
* ---- ---- ---- 1110 /(Src AND Dst)
|
* ---- ---- ---- 1110 /(Src AND Dst)
|
||||||
* ---- ---- ---- 1111 1
|
* ---- ---- ---- 1111 1
|
||||||
*
|
*
|
||||||
* PATBLT is identical to BITBLT except it repeats source copy
|
* PATBLT is identical to BITBLT except it repeats source copy
|
||||||
* if it exceeds the clipping range.
|
* if it exceeds the clipping range.
|
||||||
*/
|
*/
|
||||||
void pc88va_sgp_device::cmd_blit(u16 draw_mode, bool is_patblt)
|
void pc88va_sgp_device::cmd_blit(u16 draw_mode, bool is_patblt)
|
||||||
@ -346,7 +346,7 @@ void pc88va_sgp_device::cmd_blit(u16 draw_mode, bool is_patblt)
|
|||||||
if (is_patblt == true)
|
if (is_patblt == true)
|
||||||
{
|
{
|
||||||
LOG("PATBLT\n");
|
LOG("PATBLT\n");
|
||||||
// return;
|
// return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ballbrkr: 6
|
// ballbrkr: 6
|
||||||
|
@ -100,11 +100,11 @@ protected:
|
|||||||
|
|
||||||
enum : int
|
enum : int
|
||||||
{
|
{
|
||||||
PORTF_Y_VCCN_BIT = 0,
|
PORTF_Y_VCCN_BIT = 0,
|
||||||
PORTF_Y_GND_BIT = 1,
|
PORTF_Y_GND_BIT = 1,
|
||||||
PORTF_X_VCCN_BIT = 2,
|
PORTF_X_VCCN_BIT = 2,
|
||||||
PORTF_X_GND_BIT = 3,
|
PORTF_X_GND_BIT = 3,
|
||||||
PORTF_ADC_CSN_BIT = 7
|
PORTF_ADC_CSN_BIT = 7
|
||||||
};
|
};
|
||||||
|
|
||||||
required_device<mc68328_lcd_device> m_lcdctrl;
|
required_device<mc68328_lcd_device> m_lcdctrl;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Seven I/O lines with individually selectable direction, UART,
|
Seven I/O lines with individually selectable direction, UART,
|
||||||
and interrupt output.
|
and interrupt output.
|
||||||
|
|
||||||
Mega Drive has three instances of this block connected to the
|
Mega Drive has three instances of this block connected to the
|
||||||
CTRL1, CTRL2 and EXP connectors.
|
CTRL1, CTRL2 and EXP connectors.
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ void x1_012_device::vctrl_w(offs_t offset, u16 data, u16 mem_mask)
|
|||||||
//
|
//
|
||||||
// For the time being, we simply use a trampoline in the seta.cpp driver for Caliber 50 _only_, rather than
|
// For the time being, we simply use a trampoline in the seta.cpp driver for Caliber 50 _only_, rather than
|
||||||
// correctly reflecting current register values in all games.
|
// correctly reflecting current register values in all games.
|
||||||
|
|
||||||
// m_screen->update_partial(m_screen->vpos()); // causes breakage, see note above
|
// m_screen->update_partial(m_screen->vpos()); // causes breakage, see note above
|
||||||
|
|
||||||
|
|
||||||
|
@ -1809,7 +1809,7 @@ ROM_END
|
|||||||
|
|
||||||
ROM_START( gungunad )
|
ROM_START( gungunad )
|
||||||
ROM_REGION(0x200000, "bios", ROMREGION_ERASE00)
|
ROM_REGION(0x200000, "bios", ROMREGION_ERASE00)
|
||||||
// some lines were swapped going into the die, but it is unclear if they're swapped back inside it
|
// some lines were swapped going into the die, but it is unclear if they're swapped back inside it
|
||||||
ROM_LOAD("gga.bin", 0x000000, 0x40000, CRC(5252b6bb) SHA1(8a9f920e4bccabbd337f37a838af574e2b16746f) )
|
ROM_LOAD("gga.bin", 0x000000, 0x40000, CRC(5252b6bb) SHA1(8a9f920e4bccabbd337f37a838af574e2b16746f) )
|
||||||
ROM_CONTINUE(0x080000,0x040000)
|
ROM_CONTINUE(0x080000,0x040000)
|
||||||
ROM_CONTINUE(0x040000,0x040000)
|
ROM_CONTINUE(0x040000,0x040000)
|
||||||
|
@ -120,18 +120,18 @@ uint16_t vsmile_state::portb_r()
|
|||||||
//bit 1 : Set to 0 to enable cartridge ROM (TODO) -> getCS2
|
//bit 1 : Set to 0 to enable cartridge ROM (TODO) -> getCS2
|
||||||
//bit 2 : Set to 0 to enable internal ROM (TODO)
|
//bit 2 : Set to 0 to enable internal ROM (TODO)
|
||||||
//bit 3 : restart (see dipswitch)
|
//bit 3 : restart (see dipswitch)
|
||||||
// VSMILE_PORTB_RESET
|
// VSMILE_PORTB_RESET
|
||||||
//bit 4 : ADC (TODO)
|
//bit 4 : ADC (TODO)
|
||||||
//bit 5 : Voltage detect (TODO)
|
//bit 5 : Voltage detect (TODO)
|
||||||
//bit 6 : ON button, active low (see dipswitch)
|
//bit 6 : ON button, active low (see dipswitch)
|
||||||
// VSMILE_PORTB_ON_SW
|
// VSMILE_PORTB_ON_SW
|
||||||
//bit 7 : OFF button, active low (see dipswitch)
|
//bit 7 : OFF button, active low (see dipswitch)
|
||||||
// VSMILE_PORTB_OFF_SW
|
// VSMILE_PORTB_OFF_SW
|
||||||
|
|
||||||
//LOG("%s: portb_r: %04x\n", machine().describe_context(), data);
|
//LOG("%s: portb_r: %04x\n", machine().describe_context(), data);
|
||||||
|
|
||||||
//On Vsmile, VSMILE_PORTB_RESET, VSMILE_PORTB_OFF_SW and VSMILE_PORTB_ON_SW actives will trigger BIOS test screen
|
//On Vsmile, VSMILE_PORTB_RESET, VSMILE_PORTB_OFF_SW and VSMILE_PORTB_ON_SW actives will trigger BIOS test screen
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
void vsmile_state::portb_w(offs_t offset, uint16_t data, uint16_t mem_mask)
|
void vsmile_state::portb_w(offs_t offset, uint16_t data, uint16_t mem_mask)
|
||||||
|
@ -57,12 +57,12 @@ service manual, but is still readily available.
|
|||||||
tape audio to MSX .cas files. dxconvert uses the command-line parameters
|
tape audio to MSX .cas files. dxconvert uses the command-line parameters
|
||||||
"-p -e 4 -t 10"; I'm not sure how to interpret this, even after reading
|
"-p -e 4 -t 10"; I'm not sure how to interpret this, even after reading
|
||||||
the code.
|
the code.
|
||||||
|
|
||||||
The constant used below for testing against m_cassette->input() was guessed
|
The constant used below for testing against m_cassette->input() was guessed
|
||||||
through trial and error until I could get a successful load at least somewhat
|
through trial and error until I could get a successful load at least somewhat
|
||||||
consistently. It still isn't perfect, but I don't know how to refine this
|
consistently. It still isn't perfect, but I don't know how to refine this
|
||||||
further.
|
further.
|
||||||
|
|
||||||
"dxconvert": https://github.com/rarepixel/dxconvert
|
"dxconvert": https://github.com/rarepixel/dxconvert
|
||||||
"castools": https://github.com/joyrex2001/castools
|
"castools": https://github.com/joyrex2001/castools
|
||||||
The sample voices that I used to test can be found at
|
The sample voices that I used to test can be found at
|
||||||
@ -154,27 +154,27 @@ service manual, but is still readily available.
|
|||||||
IPT_KEYBOARD is used, so use the UI mode key (default
|
IPT_KEYBOARD is used, so use the UI mode key (default
|
||||||
Scroll Lock) to re-enable the MAME UI.
|
Scroll Lock) to re-enable the MAME UI.
|
||||||
|
|
||||||
No, I don't know why some voices (such as Pianobells)
|
No, I don't know why some voices (such as Pianobells)
|
||||||
seem to not let you turn off modulation even if you set
|
seem to not let you turn off modulation even if you set
|
||||||
the mod wheel to its lowest point. You can set the pitch
|
the mod wheel to its lowest point. You can set the pitch
|
||||||
sensitivity value ("PMS", Edit/Compare key 9) to 0 to
|
sensitivity value ("PMS", Edit/Compare key 9) to 0 to
|
||||||
force it off. This might have to do with the YM2164
|
force it off. This might have to do with the YM2164
|
||||||
moving the LFO Reset register; if not, it might have to
|
moving the LFO Reset register; if not, it might have to
|
||||||
do with the default pitch wheel position not being 0
|
do with the default pitch wheel position not being 0
|
||||||
(see TODO below).
|
(see TODO below).
|
||||||
|
|
||||||
*** Test mode
|
*** Test mode
|
||||||
|
|
||||||
To enter test mode, hold 1 and 2 on the panel while powering the system
|
To enter test mode, hold 1 and 2 on the panel while powering the system
|
||||||
on. You'll see the version number, and then a prompt asking if you want
|
on. You'll see the version number, and then a prompt asking if you want
|
||||||
to enter test mode; press +1 to enter test mode.
|
to enter test mode; press +1 to enter test mode.
|
||||||
|
|
||||||
If 1 and 3 or 1 and 4 are held instead of 1 and 2, different subsets of the
|
If 1 and 3 or 1 and 4 are held instead of 1 and 2, different subsets of the
|
||||||
test mode will run instead. Furthermore, some tests will only be run on
|
test mode will run instead. Furthermore, some tests will only be run on
|
||||||
the DX100.
|
the DX100.
|
||||||
|
|
||||||
For more details on the individual tests, refer to the service manual.
|
For more details on the individual tests, refer to the service manual.
|
||||||
|
|
||||||
To make developing this driver easier I wrote an init function for the
|
To make developing this driver easier I wrote an init function for the
|
||||||
DX100 1.1 driver which allows me to pick and choose which tests to actually
|
DX100 1.1 driver which allows me to pick and choose which tests to actually
|
||||||
run. I've disabled it in the final version of the driver, but here it is
|
run. I've disabled it in the final version of the driver, but here it is
|
||||||
@ -182,57 +182,57 @@ service manual, but is still readily available.
|
|||||||
|
|
||||||
void yamaha_dx100_state::init_dx100()
|
void yamaha_dx100_state::init_dx100()
|
||||||
{
|
{
|
||||||
// Since test mode forcibly halts on the first failed test, and we can only choose to not run certain tests, use these blocks of code to skip specific tests.
|
// Since test mode forcibly halts on the first failed test, and we can only choose to not run certain tests, use these blocks of code to skip specific tests.
|
||||||
// The numbering and naming below is from the service manual, which, surprise, doesn't quite line up with the way the tests are written in the code.
|
// The numbering and naming below is from the service manual, which, surprise, doesn't quite line up with the way the tests are written in the code.
|
||||||
u8 *rom = (u8 *) (memregion("program")->base());
|
u8 *rom = (u8 *) (memregion("program")->base());
|
||||||
auto skip = [rom](u16 whichAddr, u16 jumpTo, u8 extraInst = 0, u16 nop2 = 0) {
|
auto skip = [rom](u16 whichAddr, u16 jumpTo, u8 extraInst = 0, u16 nop2 = 0) {
|
||||||
if (extraInst != 0) {
|
if (extraInst != 0) {
|
||||||
rom[whichAddr & 0x7fff] = extraInst;
|
rom[whichAddr & 0x7fff] = extraInst;
|
||||||
whichAddr++;
|
whichAddr++;
|
||||||
}
|
}
|
||||||
rom[whichAddr & 0x7fff] = 0x7e;
|
rom[whichAddr & 0x7fff] = 0x7e;
|
||||||
rom[(whichAddr + 1) & 0x7fff] = (u8) ((jumpTo >> 8) & 0xff);
|
rom[(whichAddr + 1) & 0x7fff] = (u8) ((jumpTo >> 8) & 0xff);
|
||||||
rom[(whichAddr + 2) & 0x7fff] = (u8) (jumpTo & 0xff);
|
rom[(whichAddr + 2) & 0x7fff] = (u8) (jumpTo & 0xff);
|
||||||
if (nop2 != 0) {
|
if (nop2 != 0) {
|
||||||
rom[nop2 & 0x7fff] = 0x01;
|
rom[nop2 & 0x7fff] = 0x01;
|
||||||
rom[(nop2 + 1) & 0x7fff] = 0x01;
|
rom[(nop2 + 1) & 0x7fff] = 0x01;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// 1. Output level, RAM battery voltage
|
// 1. Output level, RAM battery voltage
|
||||||
skip(0xc464, 0xc4b3);
|
skip(0xc464, 0xc4b3);
|
||||||
// 2. RAM, cassette interface, MIDI in/out, MIDI thru
|
// 2. RAM, cassette interface, MIDI in/out, MIDI thru
|
||||||
// This is hard to skip as a unit in the code, so you need to skip them individually:
|
// This is hard to skip as a unit in the code, so you need to skip them individually:
|
||||||
// Or to only disable a subset of these tests:
|
// Or to only disable a subset of these tests:
|
||||||
// 2a. RAM test
|
// 2a. RAM test
|
||||||
rom[0xc55f & 0x7fff] = 0x39;
|
rom[0xc55f & 0x7fff] = 0x39;
|
||||||
// 2b. Cassette interface test (I'm not entirely sure MAME's cassette interface
|
// 2b. Cassette interface test (I'm not entirely sure MAME's cassette interface
|
||||||
// supports the direct writing; I *think* this is MSX format?)
|
// supports the direct writing; I *think* this is MSX format?)
|
||||||
rom[0xc66e & 0x7fff] = 0x39;
|
rom[0xc66e & 0x7fff] = 0x39;
|
||||||
// 2c. MIDI in/out (I'm not sure why this is failing, but something's not right)
|
// 2c. MIDI in/out (I'm not sure why this is failing, but something's not right)
|
||||||
rom[0xc631 & 0x7fff] = 0x39;
|
rom[0xc631 & 0x7fff] = 0x39;
|
||||||
// 2d. MIDI thru
|
// 2d. MIDI thru
|
||||||
skip(0xc6b0, 0xc52a, 0, 0xc4dd);
|
skip(0xc6b0, 0xc52a, 0, 0xc4dd);
|
||||||
// 3. LCD test
|
// 3. LCD test
|
||||||
// This is actually two tests in the code, so you need to skip them individually:
|
// This is actually two tests in the code, so you need to skip them individually:
|
||||||
// 2a. LCD solid flashing test
|
// 2a. LCD solid flashing test
|
||||||
skip(0xc6e1, 0xc52a, 0, 0xc4e6);
|
skip(0xc6e1, 0xc52a, 0, 0xc4e6);
|
||||||
// 2b. LCD checkerboard test
|
// 2b. LCD checkerboard test
|
||||||
skip(0xc6d1, 0xc52a, 0, 0xc4ef);
|
skip(0xc6d1, 0xc52a, 0, 0xc4ef);
|
||||||
// 4. Pitch wheel, mod wheel, data entry slider, breath controller, foot switch
|
// 4. Pitch wheel, mod wheel, data entry slider, breath controller, foot switch
|
||||||
// AND (run as part of 4 in the code)
|
// AND (run as part of 4 in the code)
|
||||||
// 5. Foot switch detecting circuit
|
// 5. Foot switch detecting circuit
|
||||||
skip(0xc70f, 0xc7a9);
|
skip(0xc70f, 0xc7a9);
|
||||||
// Or to only disable a subset of these tests:
|
// Or to only disable a subset of these tests:
|
||||||
// 4a/5. Foot switch tests
|
// 4a/5. Foot switch tests
|
||||||
skip(0xc7b3, 0xc7a9, 0x38);
|
skip(0xc7b3, 0xc7a9, 0x38);
|
||||||
// 6. Keyboard
|
// 6. Keyboard
|
||||||
skip(0xc86e, 0xc927);
|
skip(0xc86e, 0xc927);
|
||||||
// 7. LCD contrast
|
// 7. LCD contrast
|
||||||
// AND (run as part of 7 in the code)
|
// AND (run as part of 7 in the code)
|
||||||
// 8. Main power, LED flash on low power
|
// 8. Main power, LED flash on low power
|
||||||
skip(0xc927, 0xc98f);
|
skip(0xc927, 0xc98f);
|
||||||
// 9. Panel switches
|
// 9. Panel switches
|
||||||
skip(0xc9d3, 0xca50);
|
skip(0xc9d3, 0xca50);
|
||||||
}
|
}
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
@ -525,7 +525,7 @@ static INPUT_PORTS_START(dx100)
|
|||||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
|
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||||
|
|
||||||
PORT_START("AN0")
|
PORT_START("AN0")
|
||||||
// The pitch wheel returns to center once released.
|
// The pitch wheel returns to center once released.
|
||||||
PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_Y ) PORT_NAME("Pitch Wheel") PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_MINMAX(0x00, 0xff) PORT_CODE_INC(KEYCODE_QUOTE) PORT_CODE_DEC(KEYCODE_SLASH)
|
PORT_BIT( 0xff, 0x7f, IPT_AD_STICK_Y ) PORT_NAME("Pitch Wheel") PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_MINMAX(0x00, 0xff) PORT_CODE_INC(KEYCODE_QUOTE) PORT_CODE_DEC(KEYCODE_SLASH)
|
||||||
|
@ -332,7 +332,7 @@ uint8_t yamaha_dx9_state::p1_r(offs_t offset)
|
|||||||
return m_adc->eoc_r() << 4;
|
return m_adc->eoc_r() << 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* yamaha_dx9_state::p2_r
|
* yamaha_dx9_state::p2_r
|
||||||
*/
|
*/
|
||||||
@ -341,7 +341,7 @@ uint8_t yamaha_dx9_state::p2_r(offs_t offset)
|
|||||||
return m_rx_data << 3;
|
return m_rx_data << 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* yamaha_dx9_state::p1_w
|
* yamaha_dx9_state::p1_w
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user