mirror of
https://github.com/holub/mame
synced 2025-04-09 18:17:44 +03:00
srcclean and cleanup
This commit is contained in:
parent
3336772d68
commit
780490d9ac
@ -29,7 +29,7 @@ Note on PRG size (from CPU documentation)
|
||||
Physically, 128 * 15 * 12 = 23,040 bits
|
||||
Logically, 127 * 15 * 12 = 22,860 bits (as final word of each page is inaccessible by the CPU)
|
||||
|
||||
the ROM files below store 12 bit in a 16-bit word with 4 bits unused, so 128 * 15 * (12+4)
|
||||
the ROM files below store 12 bit in a 16-bit word with 4 bits unused, so 128 * 15 * (12+4)
|
||||
-->
|
||||
|
||||
<softwarelist name="cassvisn_cart" description="Epoch Cassette Vision cartridges">
|
||||
@ -43,7 +43,7 @@ the ROM files below store 12 bit in a 16-bit word with 4 bits unused, so 128 * 1
|
||||
<part name="cart" interface="cassvisn_cart">
|
||||
<dataarea name="prg" width="16" endianness="big" size="0xf00">
|
||||
<rom name="d777c005prog.s01" size="0xf00" crc="f917d2f0" sha1="b26baf2fd9b961b5a0e0475dfac93c18bd54cc4d"/>
|
||||
</dataarea>
|
||||
</dataarea>
|
||||
<dataarea name="pat" size="0x4d0">
|
||||
<rom name="d777c005_pat.s01" size="0x4d0" crc="bf085553" sha1="321262b6dd67789e03db8f03160cb1819529f43c"/>
|
||||
</dataarea>
|
||||
@ -65,7 +65,7 @@ the ROM files below store 12 bit in a 16-bit word with 4 bits unused, so 128 * 1
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
<!-- PCB is silkscreened 006, ROM here is 007 is there an undumped earlier version? -->
|
||||
<software name="galaxian" supported="no">
|
||||
<description>Galaxian</description>
|
||||
@ -76,7 +76,7 @@ the ROM files below store 12 bit in a 16-bit word with 4 bits unused, so 128 * 1
|
||||
<part name="cart" interface="cassvisn_cart">
|
||||
<dataarea name="prg" width="16" endianness="big" size="0xf00">
|
||||
<rom name="d777c007prog.s01" size="0xf00" crc="538c13d3" sha1="537287e63b311caa281d8c6456f9cbe2eaebb9e7"/>
|
||||
</dataarea>
|
||||
</dataarea>
|
||||
<dataarea name="pat" size="0x4d0">
|
||||
<rom name="d777c007_pat.s01" size="0x4d0" crc="d343eca4" sha1="e8f0312de0d7f0934a66192c1aaa2c802532b021"/>
|
||||
</dataarea>
|
||||
@ -92,7 +92,7 @@ the ROM files below store 12 bit in a 16-bit word with 4 bits unused, so 128 * 1
|
||||
<part name="cart" interface="cassvisn_cart">
|
||||
<dataarea name="prg" width="16" endianness="big" size="0xf00">
|
||||
<rom name="d777c004prog.s01" size="0xf00" crc="030fc0d2" sha1="b1efe8ff1bc51082502253e63721e656ee75edda"/>
|
||||
</dataarea>
|
||||
</dataarea>
|
||||
<dataarea name="pat" size="0x4d0">
|
||||
<rom name="d777c004_pat.s01" size="0x4d0" crc="7df5eb39" sha1="c59f6febf5f51eebc0cc8d288df6b5319510ecbf"/>
|
||||
</dataarea>
|
||||
@ -211,5 +211,5 @@ the ROM files below store 12 bit in a 16-bit word with 4 bits unused, so 128 * 1
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
</softwarelist>
|
||||
|
@ -3019,7 +3019,7 @@ Crashes after EA logo, requires better [VDP] irq handling
|
||||
|
||||
|
||||
<!-- Another, 1.12, version is known to have existed between this and the final version
|
||||
See: https://www.youtube.com/watch?v=_1uGkfw5ky8 -->
|
||||
See: https://www.youtube.com/watch?v=_1uGkfw5ky8 -->
|
||||
<software name="felixjrv10" cloneof="felixjr">
|
||||
<description>Fix-it Felix Jr. (v1.0)</description>
|
||||
<year>2013</year>
|
||||
|
@ -72378,7 +72378,7 @@ Side B - Game 1: The Dragonstar Trilogy Part III (Delta 4 Software)
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
<software name="editmano">
|
||||
<description>Éditeur de Manoir</description>
|
||||
<year>2012</year>
|
||||
|
@ -88,7 +88,7 @@ protected:
|
||||
m_all_led.resolve();
|
||||
m_time_led.resolve();
|
||||
m_date_led.resolve();
|
||||
m_year_led.resolve();
|
||||
m_year_led.resolve();
|
||||
m_rx_digits.resolve();
|
||||
m_tx_digits.resolve();
|
||||
}
|
||||
@ -129,7 +129,7 @@ private:
|
||||
{
|
||||
}
|
||||
|
||||
constexpr static const z80_daisy_config z80_daisy_chain[] =
|
||||
constexpr static const z80_daisy_config z80_daisy_chain[] =
|
||||
{
|
||||
{ nullptr }
|
||||
};
|
||||
|
@ -90,7 +90,7 @@ static INPUT_PORTS_START( sk1100_keys )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(u8"\u2193") PORT_CODE(KEYCODE_DOWN) PORT_CHAR(UCHAR_MAMEKEY(DOWN)) // U+2193 = ↓
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(u8"] \u30E0 } \u300d LIST") PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR(']', 0x30e0) PORT_CHAR('}', 0x300d) // ム 」
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(u8"[ \u309C { \u300c THEN") PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR('[', 0x309c) PORT_CHAR('{', 0x300c) // ゜ 「
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(u8"[ \u309C { \u300c THEN") PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR('[', 0x309c) PORT_CHAR('{', 0x300c) // ゜ 「
|
||||
|
||||
PORT_START("PA5")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME(u8"6 \u30AA & COLOR") PORT_CODE(KEYCODE_6) PORT_CHAR('6', 0x30aa) PORT_CHAR('&', 0x30a9) // オ ォ
|
||||
|
@ -60,7 +60,7 @@ void upd777_cpu_device::internal_data_map(address_map &map)
|
||||
// 00 yyyyyyp (y = ypos, p = PRIO)
|
||||
// 01 xxxxxxx (x = xpos)
|
||||
// 02 ttttttt (t = pattern)
|
||||
// 03 YYYRGBS (Y = , RGB = color, S=ySUB)
|
||||
// 03 YYYRGBS (Y = , RGB = color, S=ySUB)
|
||||
|
||||
map(0x00, 0x7f).ram().share("datamem");
|
||||
}
|
||||
@ -254,7 +254,7 @@ inline void upd777_cpu_device::set_frs(u8 frs) { m_frs = frs & 0x7f; }
|
||||
inline void upd777_cpu_device::set_fls(u8 fls) { m_fls = fls & 0x7f; }
|
||||
|
||||
// MODE is a 7-bit register with the following format
|
||||
// 6543210
|
||||
// 6543210
|
||||
// rbhpRGB (r = reverberate sound effect, b = brightness, h = hue, p = black/prio, RGB = color)
|
||||
inline void upd777_cpu_device::set_mode(u8 mode) { m_mode = mode & 0x7f; }
|
||||
|
||||
@ -517,7 +517,7 @@ void upd777_cpu_device::do_op()
|
||||
{
|
||||
if (!non)
|
||||
{
|
||||
if ((srcreg1 & srcreg2) == 0) // skip if (x·y) makes zero, N->L[2:1]
|
||||
if ((srcreg1 & srcreg2) == 0) // skip if (x·y) makes zero, N->L[2:1]
|
||||
m_skip = 1;
|
||||
}
|
||||
else
|
||||
@ -569,7 +569,7 @@ void upd777_cpu_device::do_op()
|
||||
}
|
||||
else if ((inst & 0b1111'1010'0000) == 0b0011'0010'0000)
|
||||
{
|
||||
// 0b0011'0r1R'oonn (where r = reg1, R = reg2, o = optype, and n = next l value)
|
||||
// 0b0011'0r1R'oonn (where r = reg1, R = reg2, o = optype, and n = next l value)
|
||||
// 320 AND A1[7:1] and A1[7:1], store to A1[7:1], N->L[2:1]
|
||||
// 324 Add A1[7:1] and A1[7:1], store to A1[7:1], N->L[2:1]
|
||||
// 328 OR A1[7:1] and A1[7:1], store to A1[7:1], N->L[2:1]
|
||||
@ -606,7 +606,7 @@ void upd777_cpu_device::do_op()
|
||||
src1 = src1 + src2;
|
||||
// not in this case?
|
||||
//if (src1 & 0x80)
|
||||
// m_skip = 1;
|
||||
// m_skip = 1;
|
||||
break;
|
||||
}
|
||||
case 2: // OR
|
||||
@ -719,7 +719,7 @@ void upd777_cpu_device::do_op()
|
||||
}
|
||||
else if ((inst & 0b1111'1100'0010) == 0b0100'0100'0000)
|
||||
{
|
||||
// 0b0100'01dg'ks0n (where d = DISP, G = GPE, K = KIE, S = SME, n = A11)
|
||||
// 0b0100'01dg'ks0n (where d = DISP, G = GPE, K = KIE, S = SME, n = A11)
|
||||
// 440 Set D to DISP, G to GPE, K to KIE, S to SME, N->A[11]
|
||||
const int d = (inst >> 5) & 0x1;
|
||||
const int g = (inst >> 4) & 0x1;
|
||||
@ -1172,7 +1172,7 @@ uint32_t upd777_cpu_device::screen_update(screen_device &screen, bitmap_ind16 &b
|
||||
// 0x68-0x6f are 'Y Repeat' (7x7)
|
||||
// 0x70-0x77 are 'XY Repeat' (8x7)
|
||||
// 0x78-0x7f are 'X Repeat' (8x7)
|
||||
//
|
||||
//
|
||||
// NOTE, sprite patterns *7 and *f are unused so documentation expresses these ranges as to 66, 6e etc. rather than 67 6f
|
||||
//
|
||||
// it isn't clear how the 'Bent' effect etc. is enabled, as clearly not all patterns in this range should use it?
|
||||
|
@ -135,7 +135,7 @@ offs_t upd777_disassembler::disassemble(std::ostream &stream, offs_t pc, const u
|
||||
else if (((inst & 0b1111'0000'0000) == 0b0010'0000'0000) && ((inst & 0b0000'0000'1100) != 0b0000'0000'0100))
|
||||
{
|
||||
// 0b0010'rrnR'oonn where rr = reg1 (A1, A2, M or H), n = invert condition, R = reg2 (A1 or A2) and oo = optype (only 0,2,3 are valid, no cases here for 1) nn = next l value
|
||||
//
|
||||
//
|
||||
// optype · (AND)
|
||||
// 200 Skip if (A1[7:1]·A1[7:1]) makes zero, N->L[2:1]
|
||||
// 220 Skip if (A1[7:1]·A1[7:1]) makes non zero, N->L[2:1]
|
||||
@ -499,6 +499,6 @@ offs_t upd777_disassembler::disassemble(std::ostream &stream, offs_t pc, const u
|
||||
{
|
||||
util::stream_format(stream, "%04x <ILLEGAL>", inst);
|
||||
}
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
@ -1190,7 +1190,7 @@ uint8_t cirrus_gd5428_vga_device::mem_r(offs_t offset)
|
||||
|
||||
// FIXME: workaround crash behaviour in picasso2
|
||||
// it will otherwise provide an offset of 0x1fxxxx in the gc_locked below
|
||||
// causing a crash during adapter init
|
||||
// causing a crash during adapter init
|
||||
if(svga.rgb8_en || svga.rgb15_en || svga.rgb16_en || svga.rgb24_en)
|
||||
{
|
||||
return svga_device::mem_linear_r((offset & 0xffff) + bank * 0x10000);
|
||||
|
@ -9,11 +9,11 @@ license:CC0-1.0
|
||||
|
||||
<element name="button">
|
||||
<rect>
|
||||
<color red="0.25" green="0.25" blue="0.25" />
|
||||
<color red="0.25" green="0.25" blue="0.25" />
|
||||
</rect>
|
||||
</element>
|
||||
|
||||
<element name="red_led" defstate="0">
|
||||
<element name="red_led" defstate="0">
|
||||
<disk state="0">
|
||||
<color red="0.20" green="0.0" blue="0.0" />
|
||||
</disk>
|
||||
@ -21,8 +21,8 @@ license:CC0-1.0
|
||||
<color red="0.75" green="0.0" blue="0.0" />
|
||||
</disk>
|
||||
</element>
|
||||
|
||||
<element name="green_led" defstate="0">
|
||||
|
||||
<element name="green_led" defstate="0">
|
||||
<disk state="0">
|
||||
<color red="0.0" green="0.20" blue="0.0" />
|
||||
</disk>
|
||||
@ -38,38 +38,38 @@ license:CC0-1.0
|
||||
</element>
|
||||
|
||||
<element name="time_led" defstate="0">
|
||||
<text state="0" string="TID">
|
||||
<text state="0" string="TID">
|
||||
<color red="0.0" green="0.20" blue="0.0" />
|
||||
</text>
|
||||
<text state="1" string="TID">
|
||||
<text state="1" string="TID">
|
||||
<color red="0.0" green="0.75" blue="0.0" />
|
||||
</text>
|
||||
</element>
|
||||
|
||||
<element name="date_led" defstate="0">
|
||||
<text state="0" string="DAT">
|
||||
<text state="0" string="DAT">
|
||||
<color red="0.0" green="0.20" blue="0.0" />
|
||||
</text>
|
||||
<text state="1" string="DAT">
|
||||
<text state="1" string="DAT">
|
||||
<color red="0.0" green="0.75" blue="0.0" />
|
||||
</text>
|
||||
</element>
|
||||
|
||||
<element name="year_led" defstate="0">
|
||||
<text state="0" string="ÅR">
|
||||
<text state="0" string="ÅR">
|
||||
<color red="0.0" green="0.20" blue="0.0" />
|
||||
</text>
|
||||
<text state="1" string="ÅR">
|
||||
<text state="1" string="ÅR">
|
||||
<color red="0.0" green="0.75" blue="0.0" />
|
||||
</text>
|
||||
</element>
|
||||
|
||||
<view name="Front panel">
|
||||
<bounds x="0" y="0" width="810" height="473" />
|
||||
<bounds x="0" y="0" width="810" height="473" />
|
||||
|
||||
<element ref="panel">
|
||||
<bounds x="0" y="0" width="810" height="473" />
|
||||
</element>
|
||||
<element ref="panel">
|
||||
<bounds x="0" y="0" width="810" height="473" />
|
||||
</element>
|
||||
|
||||
<!-- BATTERI DRIFT -->
|
||||
<element name="bat_led" ref="red_led">
|
||||
@ -151,17 +151,17 @@ license:CC0-1.0
|
||||
|
||||
<!-- SKRIV -->
|
||||
<element ref="button" inputtag="BTN" inputmask="0x01">
|
||||
<bounds x="275" y="262" width="54" height="54" />
|
||||
<bounds x="275" y="262" width="54" height="54" />
|
||||
</element>
|
||||
|
||||
<!-- ALLA -->
|
||||
<element ref="button" inputtag="BTN" inputmask="0x02">
|
||||
<bounds x="556" y="261" width="54" height="54" />
|
||||
<bounds x="556" y="261" width="54" height="54" />
|
||||
</element>
|
||||
|
||||
<!-- KLOCK -->
|
||||
<element ref="button" inputtag="BTN" inputmask="0x04">
|
||||
<bounds x="648" y="263" width="54" height="54" />
|
||||
<bounds x="648" y="263" width="54" height="54" />
|
||||
</element>
|
||||
</view>
|
||||
</mamelayout>
|
||||
|
@ -1467,12 +1467,12 @@ void lua_engine::initialize()
|
||||
{
|
||||
switch (m.phase())
|
||||
{
|
||||
case machine_phase::PREINIT: return "preinit";
|
||||
case machine_phase::INIT: return "init";
|
||||
case machine_phase::RESET: return "reset";
|
||||
case machine_phase::RUNNING: return "running";
|
||||
case machine_phase::EXIT: return "exit";
|
||||
default: return "";
|
||||
case machine_phase::PREINIT: return "preinit";
|
||||
case machine_phase::INIT: return "init";
|
||||
case machine_phase::RESET: return "reset";
|
||||
case machine_phase::RUNNING: return "running";
|
||||
case machine_phase::EXIT: return "exit";
|
||||
default: return "";
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -550,7 +550,7 @@ void amiga_state::render_scanline(bitmap_rgb32 &bitmap, int scanline)
|
||||
for (int x = 0; x < (amiga_state::SCREEN_WIDTH / 2) + 10; x++)
|
||||
{
|
||||
int sprpix;
|
||||
const bool out_of_beam = x >= amiga_state::SCREEN_WIDTH / 2;
|
||||
const bool out_of_beam = x >= amiga_state::SCREEN_WIDTH / 2;
|
||||
|
||||
/* time to execute the copper? */
|
||||
if (x == next_copper_x)
|
||||
@ -602,10 +602,10 @@ void amiga_state::render_scanline(bitmap_rgb32 &bitmap, int scanline)
|
||||
|
||||
/* clear the target pixels to the background color as a starting point */
|
||||
if (dst != nullptr && !out_of_beam)
|
||||
{
|
||||
{
|
||||
dst[x*2+0] =
|
||||
dst[x*2+1] = m_palette->pen(CUSTOM_REG(REG_COLOR00));
|
||||
}
|
||||
}
|
||||
|
||||
/* if we hit the first fetch pixel, reset the counters and latch the delays */
|
||||
if (x == ddf_start_pixel)
|
||||
|
@ -549,7 +549,7 @@ void amiga_state::aga_render_scanline(bitmap_rgb32 &bitmap, int scanline)
|
||||
for (int x = 0; x < (amiga_state::SCREEN_WIDTH / 2) + offset_hack[bitplane_fmode]; x++)
|
||||
{
|
||||
int sprpix;
|
||||
const bool out_of_beam = x >= amiga_state::SCREEN_WIDTH / 2;
|
||||
const bool out_of_beam = x >= amiga_state::SCREEN_WIDTH / 2;
|
||||
|
||||
/* time to execute the copper? */
|
||||
if (x == next_copper_x)
|
||||
|
@ -207,7 +207,7 @@ static INPUT_PORTS_START(monitor_config)
|
||||
PORT_CONFSETTING(0x02, u8"Mac RGB Display (12\" 512\u00d7384)") // "Rubik" (modified IIgs AppleColor RGB)
|
||||
PORT_CONFSETTING(0x03, u8"Mac Two-Page Display (B&W 21\" 1152\u00d7870)") // "2 Page"
|
||||
PORT_CONFSETTING(0x06, u8"Mac Hi-Res Display (12-14\" 640\u00d7480)") // "High Res"
|
||||
PORT_CONFSETTING(0x07, u8"No monitor, disable internal video") // No monitor connected
|
||||
PORT_CONFSETTING(0x07, u8"No monitor, disable internal video") // No monitor connected
|
||||
PORT_CONFSETTING(ext(0, 0, 0), "PAL Encoder (640\u00d7480, 768\u00d7576)")
|
||||
PORT_CONFSETTING(ext(1, 1, 0), "NTSC Encoder (512\u00d7384, 640\u00d7480)")
|
||||
PORT_CONFSETTING(ext(1, 1, 3), "640x480 VGA")
|
||||
@ -225,7 +225,7 @@ static INPUT_PORTS_START(monitor_config_noconv)
|
||||
PORT_CONFSETTING(0x02, u8"Mac RGB Display (12\" 512\u00d7384)") // "Rubik" (modified IIgs AppleColor RGB)
|
||||
PORT_CONFSETTING(0x03, u8"Mac Two-Page Display (B&W 21\" 1152\u00d7870)") // "2 Page"
|
||||
PORT_CONFSETTING(0x06, u8"Mac Hi-Res Display (12-14\" 640\u00d7480)") // "High Res"
|
||||
PORT_CONFSETTING(0x07, u8"No monitor, disable internal video") // No monitor connected
|
||||
PORT_CONFSETTING(0x07, u8"No monitor, disable internal video") // No monitor connected
|
||||
PORT_CONFSETTING(ext(1, 1, 3), "640x480 VGA")
|
||||
PORT_CONFSETTING(ext(2, 3, 1), "832x624 16\" RGB") // "Goldfish" or "16 inch RGB"
|
||||
PORT_CONFSETTING(ext(3, 2, 2), "1024\u00d7768 19\" RGB");
|
||||
|
@ -1205,7 +1205,7 @@ static INPUT_PORTS_START( ghostb )
|
||||
PORT_START("DSW0")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) // Tested on real hardware
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
|
||||
// 1-2 should be coinage.
|
||||
// 1-2 should be coinage.
|
||||
// PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:1,2")
|
||||
// PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) )
|
||||
// PORT_DIPSETTING( 0x03, DEF_STR( 1C_1C ) )
|
||||
@ -1752,7 +1752,7 @@ static const gfx_layout sr_sprites =
|
||||
{ 16*8, 1+(16*8), 2+(16*8), 3+(16*8), 4+(16*8), 5+(16*8), 6+(16*8), 7+(16*8),
|
||||
0,1,2,3,4,5,6,7 },
|
||||
{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 ,8*8,9*8,10*8,11*8,12*8,13*8,14*8,15*8 },
|
||||
// { 0*8, 2*8, 1*8, 3*8, 4*8, 6*8, 5*8, 7*8 ,8*8,10*8,9*8,11*8,12*8,14*8,13*8,15*8 }, bootleg decode
|
||||
// { 0*8, 2*8, 1*8, 3*8, 4*8, 6*8, 5*8, 7*8 ,8*8,10*8,9*8,11*8,12*8,14*8,13*8,15*8 }, bootleg decode
|
||||
16*16
|
||||
};
|
||||
|
||||
|
@ -57,11 +57,11 @@ void kchamp_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect,
|
||||
{
|
||||
/* sprite format:
|
||||
|
||||
Offset Encoding
|
||||
0 YYYYYYYY
|
||||
1 TTTTTTTT - tile#
|
||||
2 FGGTCCCC - y flip, gfx bank, high bit of tile#, color
|
||||
3 XXXXXXXX
|
||||
Offset Encoding
|
||||
0 YYYYYYYY
|
||||
1 TTTTTTTT - tile#
|
||||
2 FGGTCCCC - y flip, gfx bank, high bit of tile#, color
|
||||
3 XXXXXXXX
|
||||
*/
|
||||
|
||||
int attr = m_spriteram[offs + 2];
|
||||
|
@ -3628,7 +3628,7 @@ static INPUT_PORTS_START( mjreach )
|
||||
PORT_DIPNAME( 0x20, 0x00, "Last Chance" ) PORT_DIPLOCATION("DIP-SW3:6") // ラストチャンス
|
||||
PORT_DIPSETTING( 0x20, DEF_STR(Off) ) // 無
|
||||
PORT_DIPSETTING( 0x00, DEF_STR(On) ) // 有
|
||||
PORT_DIPNAME( 0xc0, 0x00, "Last Chance Tsumo Count" ) PORT_DIPLOCATION("DIP-SW3:7,8") // ラストチャンスのツモ回数
|
||||
PORT_DIPNAME( 0xc0, 0x00, "Last Chance Count" ) PORT_DIPLOCATION("DIP-SW3:7,8") // ラストチャンスのツモ回数
|
||||
PORT_DIPSETTING( 0xc0, "1" )
|
||||
PORT_DIPSETTING( 0x80, "3" )
|
||||
PORT_DIPSETTING( 0x00, "5" )
|
||||
@ -3653,7 +3653,7 @@ static INPUT_PORTS_START( mjreach )
|
||||
PORT_DIPNAME( 0x20, 0x00, "In-Game Messages" ) PORT_DIPLOCATION("DIP-SW4:6") // ゲーム中のメッセージ
|
||||
PORT_DIPSETTING( 0x20, DEF_STR(Off) ) // 無
|
||||
PORT_DIPSETTING( 0x00, DEF_STR(On) ) // 有 (shows when kan/pon/chi/ron is possible)
|
||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR(Unused) ) PORT_DIPLOCATION("DIP-SW4:7") // ON固定
|
||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR(Unknown) ) PORT_DIPLOCATION("DIP-SW4:7") // ON固定
|
||||
PORT_DIPSETTING( 0x40, DEF_STR(Off) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR(On) )
|
||||
PORT_DIPNAME( 0x80, 0x80, "Super Revolver Jackpot Payout Rate" ) PORT_DIPLOCATION("DIP-SW4:8") // スパーレボルバーのJACK-POTの出率
|
||||
@ -3679,7 +3679,7 @@ static INPUT_PORTS_START( mjreach )
|
||||
PORT_DIPNAME( 0x40, 0x40, "Renchan Gal Display" ) PORT_DIPLOCATION("DIP-SW4:9") // 連荘ギャルの表示の方式
|
||||
PORT_DIPSETTING( 0x40, "After Each Win" ) // 勝つごとに表示 (= On according to manual page?)
|
||||
PORT_DIPSETTING( 0x00, "After 3 Consecutive Wins" ) // 3連荘のみ表示 (= Off according to manual page?)
|
||||
PORT_DIPNAME( 0x80, 0x80, DEF_STR(Unused) ) PORT_DIPLOCATION("DIP-SW4:10") // OFF固定
|
||||
PORT_DIPNAME( 0x80, 0x80, DEF_STR(Unknown) ) PORT_DIPLOCATION("DIP-SW4:10") // OFF固定
|
||||
PORT_DIPSETTING( 0x80, DEF_STR(Off) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR(On) )
|
||||
|
||||
|
@ -91,8 +91,8 @@ protected:
|
||||
|
||||
void system_base(machine_config &config) ATTR_COLD;
|
||||
void system_B(machine_config &config) ATTR_COLD;
|
||||
void system_C(machine_config &config) ATTR_COLD;
|
||||
|
||||
void system_C(machine_config &config) ATTR_COLD;
|
||||
|
||||
void megasys1_palette(palette_device &palette);
|
||||
|
||||
virtual void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap,const rectangle &cliprect);
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
****************************************************************************
|
||||
|
||||
CA00-CA07 blitter (Stargate and Defender do not have blitter)
|
||||
CA00-CA07 blitter (Stargate and Defender do not have blitter)
|
||||
|
||||
CB00 6 bits of the video counters bits 2-7
|
||||
|
||||
|
@ -687,16 +687,16 @@ void cvs_state::sh_trigger_w(offs_t offset, u8 data)
|
||||
I have recordings available.
|
||||
|
||||
- 0x1884 - Enables an XP8038 frequency generator IC
|
||||
Reflected on pin 10 of a 4016.
|
||||
The frequency is set by 0x1840, the 8 bit DAC register.
|
||||
Not all 0x1840 values were tested, but:
|
||||
0x00 - off, 0x1884 enable has no sound.
|
||||
0x55,0xAA,0xFF - increasing value has higher frequency
|
||||
Reflected on pin 10 of a 4016.
|
||||
The frequency is set by 0x1840, the 8 bit DAC register.
|
||||
Not all 0x1840 values were tested, but:
|
||||
0x00 - off, 0x1884 enable has no sound.
|
||||
0x55,0xAA,0xFF - increasing value has higher frequency
|
||||
- 0x1885 - A scope showed this halving the XP8038 amplitude with a little decay.
|
||||
Causes 4016 pin 11 to rise (on) and decay-fall (off)
|
||||
Causes 4016 pin 11 to rise (on) and decay-fall (off)
|
||||
- 0x1886 - Outputs a complete Galaxia-style ship fire sound, with attack-to-on and decay-to-off.
|
||||
- 0x1887 - Reflected on an LM380.
|
||||
Causes an envelope-like operation on the XP8038 tone with attack (on) and decay (off).
|
||||
Causes an envelope-like operation on the XP8038 tone with attack (on) and decay (off).
|
||||
*/
|
||||
|
||||
data &= 1;
|
||||
|
@ -6057,7 +6057,7 @@ ROM_END
|
||||
The second set is a hack of the first with unknown mods.
|
||||
|
||||
*/
|
||||
ROM_START( potnpkro ) // ICP-1 wires hack set.
|
||||
ROM_START( potnpkro ) // ICP-1 wires hack set.
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD( "7.16a", 0x6000, 0x1000, CRC(2dc5e372) SHA1(70a251efe879bc1122baa78984251041a355c895) )
|
||||
ROM_LOAD( "x.17a", 0x7000, 0x1000, CRC(1694a0d8) SHA1(bb1132d1e75347ad5156d2b3866aad255f7d53ca) )
|
||||
@ -6076,7 +6076,7 @@ ROM_START( potnpkro ) // ICP-1 wires hack set.
|
||||
ROM_LOAD( "tbp24s10n_wh.bin", 0x0000, 0x0100, CRC(7f31066b) SHA1(15420780ec6b2870fc4539ec3afe4f0c58eedf12) )
|
||||
ROM_END
|
||||
|
||||
ROM_START( potnpkrp ) // ICP-1 PROM mod set.
|
||||
ROM_START( potnpkrp ) // ICP-1 PROM mod set.
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD( "6.16a", 0x6000, 0x1000, CRC(2dc5e372) SHA1(70a251efe879bc1122baa78984251041a355c895) )
|
||||
ROM_LOAD( "95_09_hn71_7.17a", 0x7000, 0x1000, CRC(2353317a) SHA1(18bf8cfe30aaa4b05207cc250ec1c024bc19ed56) )
|
||||
|
@ -277,10 +277,10 @@ INPUT_CHANGED_MEMBER(psionmc_state::key_on)
|
||||
|
||||
//INPUT_CHANGED_MEMBER(psionmc_state::reset)
|
||||
//{
|
||||
// if (newval)
|
||||
// {
|
||||
// m_asic2->reset_w(0);
|
||||
// }
|
||||
// if (newval)
|
||||
// {
|
||||
// m_asic2->reset_w(0);
|
||||
// }
|
||||
//}
|
||||
|
||||
INPUT_CHANGED_MEMBER(psionmc_state::digitiser_changed)
|
||||
|
@ -79,11 +79,11 @@
|
||||
|
||||
------------------
|
||||
|
||||
For units which allow downloadable songs the only difference in the bootloader ROMs is a couple of bytes
|
||||
at the end. This may be used as security, to tie the downloads stored in the flash ROM to the units as
|
||||
the format of the downloaded data in the flash ROMs appears to be different in each case, starting with
|
||||
different unique bytes after the header information for each unit we've seen. (maybe encryption?)
|
||||
The bootloader ROM has a unique ID on a sticker in each case too (could be a bytesum, haven't checked)
|
||||
For units which allow downloadable songs the only difference in the bootloader ROMs is a couple of bytes
|
||||
at the end. This may be used as security, to tie the downloads stored in the flash ROM to the units as
|
||||
the format of the downloaded data in the flash ROMs appears to be different in each case, starting with
|
||||
different unique bytes after the header information for each unit we've seen. (maybe encryption?)
|
||||
The bootloader ROM has a unique ID on a sticker in each case too (could be a bytesum, haven't checked)
|
||||
|
||||
|
||||
*******************************************************************************/
|
||||
|
@ -115,7 +115,7 @@ void dogyuun_state::video_start()
|
||||
|
||||
void dogyuun_state::screen_vblank(int state)
|
||||
{
|
||||
if (state) // rising edge
|
||||
if (state) // rising edge
|
||||
{
|
||||
m_vdp[0]->screen_eof();
|
||||
m_vdp[1]->screen_eof();
|
||||
|
@ -12,7 +12,7 @@
|
||||
- verify frequencies on chips
|
||||
- verify alt titles, some regions have 'Car Fighting' as a subtitle, region comes from EEPROM?
|
||||
- verify text layer palettes
|
||||
- service mode doesn't display properly
|
||||
- service mode doesn't display properly
|
||||
- currently only coins up with service button
|
||||
- sound dies after one stage?
|
||||
*/
|
||||
@ -256,9 +256,9 @@ u8 dt7_state::dt7_shared_ram_hack_r(offs_t offset)
|
||||
int pc = m_maincpu->pc();
|
||||
|
||||
if (pc == 0x7d84) { return 0xff; } // status?
|
||||
|
||||
|
||||
u32 addr = (offset * 2) + 0x610000;
|
||||
|
||||
|
||||
if (addr == 0x061f00c) { return m_sysport->read(); }
|
||||
if (addr == 0x061d000) { return 0x00; } // settings (from EEPROM?) including flipscreen
|
||||
if (addr == 0x061d002) { return 0x00; } // settings (from EEPROM?) dipswitch?
|
||||
@ -266,7 +266,7 @@ u8 dt7_state::dt7_shared_ram_hack_r(offs_t offset)
|
||||
if (addr == 0x061f004) { return m_p1port->read(); } // P1 inputs
|
||||
if (addr == 0x061f006) { return m_p2port->read(); } // P2 inputs
|
||||
//if (addr == 0x061f00e) { return machine().rand(); } // P2 coin / start
|
||||
|
||||
|
||||
logerror("%08x: dt7_shared_ram_hack_r address %08x ret %02x\n", pc, addr, ret);
|
||||
|
||||
return ret;
|
||||
@ -282,7 +282,7 @@ void dt7_state::shared_ram_audio_w(offs_t offset, u8 data)
|
||||
// just a helper function to try and debug the sound CPU a bit more easily
|
||||
//int pc = m_audiocpu->pc();
|
||||
//if (offset == 0xf004 / 2)
|
||||
// logerror("%08x: shared_ram_audio_w address %08x data %02x\n", pc, offset, data);
|
||||
// logerror("%08x: shared_ram_audio_w address %08x data %02x\n", pc, offset, data);
|
||||
shared_ram_w(offset, data);
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ u32 enmadaio_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, c
|
||||
|
||||
void enmadaio_state::screen_vblank(int state)
|
||||
{
|
||||
if (state) // rising edge
|
||||
if (state) // rising edge
|
||||
{
|
||||
m_vdp->screen_eof();
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ pipibibsp TP-025 Toaplan Pipi & Bibis / Whoopee!! (Prototype)
|
||||
pipibibsbl bootleg Toaplan Pipi & Bibis / Whoopee!! (based of the prototype)
|
||||
|
||||
TODO:
|
||||
- move bootlegs to oneshot.cpp driver
|
||||
- move bootlegs to oneshot.cpp driver
|
||||
*/
|
||||
|
||||
namespace {
|
||||
|
@ -20,7 +20,7 @@
|
||||
Name Board No Maker Game name
|
||||
----------------------------------------------------------------------------
|
||||
snowbro2 TP-033 Hanafram Snow Bros. 2 - With New Elves
|
||||
|
||||
|
||||
*/
|
||||
|
||||
namespace {
|
||||
@ -75,7 +75,7 @@ u32 snowbro2_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, c
|
||||
}
|
||||
|
||||
void snowbro2_state::screen_vblank(int state)
|
||||
{
|
||||
{
|
||||
if (state) // rising edge
|
||||
{
|
||||
m_vdp->screen_eof();
|
||||
|
@ -136,7 +136,7 @@ void truxton2_state::tx_linescroll_w(offs_t offset, u16 data, u16 mem_mask)
|
||||
|
||||
|
||||
void truxton2_state::screen_vblank(int state)
|
||||
{
|
||||
{
|
||||
if (state) // rising edge
|
||||
{
|
||||
m_vdp->screen_eof();
|
||||
|
@ -508,7 +508,7 @@ static INPUT_PORTS_START( quasar )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x30, 0x20, "Sound Program" ) PORT_DIPLOCATION("SOUND:3,4")
|
||||
PORT_DIPSETTING( 0x00, "Invalid 1" )
|
||||
PORT_DIPSETTING( 0x10, "Invalid 1" )
|
||||
PORT_DIPSETTING( 0x10, "Invalid 1" )
|
||||
PORT_DIPSETTING( 0x30, "Invalid 2" )
|
||||
PORT_DIPSETTING( 0x20, "Quasar" )
|
||||
INPUT_PORTS_END
|
||||
|
Loading…
Reference in New Issue
Block a user