srcclean (nw)

This commit is contained in:
Vas Crabb 2019-03-24 09:48:58 +11:00
parent e5d561888d
commit 30caaa7bef
47 changed files with 356 additions and 356 deletions

View File

@ -31,21 +31,21 @@
Some Japanese carts have a number starting with S (S-x on case, SCxxxx-xxx part numbers) (see ekara_japan_s.xml) (for e-kara - custom presentation) Some Japanese carts have a number starting with S (S-x on case, SCxxxx-xxx part numbers) (see ekara_japan_s.xml) (for e-kara - custom presentation)
M (M-x on case, MCxxxx-xxx part numbers) (see ekara_japan_m.xml) (for e-kara - custom presentation) M (M-x on case, MCxxxx-xxx part numbers) (see ekara_japan_m.xml) (for e-kara - custom presentation)
EN (EN-X on case, no part numbers) (see ekara_japan_en.xml) (for e-kara - custom presentation) EN (EN-X on case, no part numbers) (see ekara_japan_en.xml) (for e-kara - custom presentation)
BH (BG-XX on case, BH-xxxx on PCB) (see ekara_japan_bh.xml) (for e-kara - custom presentation) BH (BG-XX on case, BH-xxxx on PCB) (see ekara_japan_bh.xml) (for e-kara - custom presentation)
GK (GK-X on case) (see ekara_japan_gk.xml) (for e-kara / e-pitch - custom presentation) GK (GK-X on case) (see ekara_japan_gk.xml) (for e-kara / e-pitch - custom presentation)
G (G-x on case, GCxxxx-xxx part numbers) (see ekara_japan_g.xml) (for e-kara, Popira / 2) G (G-x on case, GCxxxx-xxx part numbers) (see ekara_japan_g.xml) (for e-kara, Popira / 2)
P (P-x on case, PCxxxx-xxx part numbers) (see ekara_japan_p.xml) (for e-kara, Popira / 2, DDR Family Mat) P (P-x on case, PCxxxx-xxx part numbers) (see ekara_japan_p.xml) (for e-kara, Popira / 2, DDR Family Mat)
D (D-x on case, DCxxxx-xxx part numbers) (see ekara_japan_d.xml) (for e-kara, Popira / 2, Taiko De Popira) D (D-x on case, DCxxxx-xxx part numbers) (see ekara_japan_d.xml) (for e-kara, Popira / 2, Taiko De Popira)
SP (SP-x on case, no part numbers) (see ekara_japan_sp.xml) (for e-kara, Popira / 2, Taiko de Popira, Jumping Popira) SP (SP-x on case, no part numbers) (see ekara_japan_sp.xml) (for e-kara, Popira / 2, Taiko de Popira, Jumping Popira)
A (A-x on case, Pichi Pichi Pitch series)(see ekara_japan_a.xml) (for e-kara / e-pitch) A (A-x on case, Pichi Pichi Pitch series)(see ekara_japan_a.xml) (for e-kara / e-pitch)
JP (JP-x on case) (see ekara_japan_jp.xml) (for Jumping Popira Only) JP (JP-x on case) (see ekara_japan_jp.xml) (for Jumping Popira Only)
these exist but haven't got any these exist but haven't got any
Some Japanese carts have a number starting with Some Japanese carts have a number starting with
KE (for Kids Lyric book device Only?) KE (for Kids Lyric book device Only?)
KD (for e-kara?) KD (for e-kara?)
PR (seen a PR-02 AYY) (what is it?) PR (seen a PR-02 AYY) (what is it?)
KR (seen a KR-1) (bundled with later units?) KR (seen a KR-1) (bundled with later units?)
(there are others, need to document them) (there are others, need to document them)
@ -64,7 +64,7 @@
The EC number is printed on the left side of the cart label, as well as in the serial code The EC number is printed on the left side of the cart label, as well as in the serial code
early carts don't have a number printed on the box, only the title, after a certain point a number was added (when?) early carts don't have a number printed on the box, only the title, after a certain point a number was added (when?)
Only known undumped carts in main series are 58, 64, 81, 83, 84, 85 (assuming highest number is 85) Only known undumped carts in main series are 58, 64, 81, 83, 84, 85 (assuming highest number is 85)
.. *EC0001-JPM J-Pop Mix Volume 1 .. *EC0001-JPM J-Pop Mix Volume 1
.. *EC0002-JPM J-Pop Mix Volume 2 .. *EC0002-JPM J-Pop Mix Volume 2

View File

@ -4,42 +4,42 @@
<!-- <!--
Known cartridges (*=dumped) (#=sourced) Known cartridges (*=dumped) (#=sourced)
*Guitar Favorites (K7357) *Guitar Favorites (K7357)
#Barbie Guitar Party #Barbie Guitar Party
#Rock 101 #Rock 101
*Hot Wheels Road Tunes (K9902) *Hot Wheels Road Tunes (K9902)
*Spongebob Squarepants Surf's Up (K9903) *Spongebob Squarepants Surf's Up (K9903)
*Nashville Hits (K9905) *Nashville Hits (K9905)
*American Idol Guitar Greats (K9907) *American Idol Guitar Greats (K9907)
(were there any more?) (were there any more?)
cartridge pinout (not identical to I Can Play Piano) cartridge pinout (not identical to I Can Play Piano)
1 ground 2 ground 1 ground 2 ground
3 A0 4 A1 3 A0 4 A1
5 A2 6 A3 5 A2 6 A3
7 A4 8 A5 7 A4 8 A5
9 A6 10 A7 9 A6 10 A7
11 A17 12 A18 11 A17 12 A18
13 A21 14 A20 13 A21 14 A20
15 A19 16 A8 15 A19 16 A8
17 A9 18 A10 17 A9 18 A10
19 A11 20 A12 19 A11 20 A12
21 A13 22 A14 21 A13 22 A14
23 A15 24 A16 23 A15 24 A16
25 /CE 26 ground 25 /CE 26 ground
27 ground 28 /OE 27 ground 28 /OE
29 D15 30 D7 29 D15 30 D7
31 D14 32 D6 31 D14 32 D6
33 D13 34 D5 33 D13 34 D5
35 D12 36 D4 35 D12 36 D4
37 Vcc 38 Vcc 37 Vcc 38 Vcc
39 D11 40 D3 39 D11 40 D3
41 D10 42 D2 41 D10 42 D2
43 D9 44 D1 43 D9 44 D1
45 D8 46 D0 45 D8 46 D0
47 ground 48 Gnd 47 ground 48 Gnd
--> -->

View File

@ -5,47 +5,47 @@
Known cartridges (*=dumped) (#=sourced) Known cartridges (*=dumped) (#=sourced)
*Piano Favourites (J7522) *Piano Favourites (J7522)
*Jammin Jungle Safari (Disney The Lion King, Disney The Jungle Book, Disney Tarzan) (K4653) *Jammin Jungle Safari (Disney The Lion King, Disney The Jungle Book, Disney Tarzan) (K4653)
*Jungle Boogie (J7524) *Jungle Boogie (J7524)
*Scooby-Doo! Monster Mayhem (J7525) *Scooby-Doo! Monster Mayhem (J7525)
*Rockin' Dance Party (J8715) *Rockin' Dance Party (J8715)
*Nicktoons Show Tunes (J7527) *Nicktoons Show Tunes (J7527)
*Disney Princess Magical Melodies (K4656) *Disney Princess Magical Melodies (K4656)
#Barbie Princess Enchanted Sounds #Barbie Princess Enchanted Sounds
#Pop Hits #Pop Hits
#Dora the Explorer Musical Adventure #Dora the Explorer Musical Adventure
#American Idol - Take The Stage #American Idol - Take The Stage
#Holiday Wonderland #Holiday Wonderland
#The Wizard of Oz - We're Off to Play the Piano #The Wizard of Oz - We're Off to Play the Piano
(were there any more?) (were there any more?)
cartridge pinout (not identical to I Can Play Guitar) cartridge pinout (not identical to I Can Play Guitar)
1 ground 2 ground 1 ground 2 ground
3 A1 4 A0 3 A1 4 A0
5 A3 6 A2 5 A3 6 A2
7 A5 8 A4 7 A5 8 A4
9 A7 10 A6 9 A7 10 A6
11 A18 12 A17 11 A18 12 A17
13 A20 14 A21 13 A20 14 A21
15 A8 16 A19 15 A8 16 A19
17 A10 18 A9 17 A10 18 A9
19 A12 20 A11 19 A12 20 A11
21 A14 22 A13 21 A14 22 A13
23 A16 24 A15 23 A16 24 A15
25 /OE 26 Vcc 25 /OE 26 Vcc
27 /CS 28 RW 27 /CS 28 RW
29 Res 30 R7 29 Res 30 R7
31 D7 32 D15 31 D7 32 D15
33 D6 34 D14 33 D6 34 D14
35 D5 36 D13 35 D5 36 D13
37 D4 38 D12 37 D4 38 D12
39 D3 40 D11 39 D3 40 D11
41 D2 42 D10 41 D2 42 D10
43 D1 44 D9 43 D1 44 D9
45 D0 46 D8 45 D0 46 D8
47 ground 48 Gnd 47 ground 48 Gnd
--> -->
<softwarelist name="icanpian" description="Fisher-Price / Mattel I Can Play Piano cartridges"> <softwarelist name="icanpian" description="Fisher-Price / Mattel I Can Play Piano cartridges">

View File

@ -10033,8 +10033,8 @@ only have some part of Windows file and a Video driver(CLGD?).
</software> </software>
<!-- <!--
The Cherry Jam sets are completely different. The parent set is self-booting (MEGDOS-based), while the alternate set runs from standard DOS and requires HDD installation. The Cherry Jam sets are completely different. The parent set is self-booting (MEGDOS-based), while the alternate set runs from standard DOS and requires HDD installation.
The alternate set has files dated in the year 2000, so it's either a late reprint or an unofficial repack. The alternate set has files dated in the year 2000, so it's either a late reprint or an unofficial repack.
--> -->
<software name="chrryjam"> <software name="chrryjam">
<!-- Origin: Neo Kobe Collection --> <!-- Origin: Neo Kobe Collection -->

View File

@ -26,9 +26,9 @@
Euro / PAL collection, although it's from 2009, so some images may exist in better forms. These can Euro / PAL collection, although it's from 2009, so some images may exist in better forms. These can
be replaced over time. be replaced over time.
15 Mar 19 - Started testing stuff inline to the actual XML parsing, 15 Mar 19 - Started testing stuff inline to the actual XML parsing,
marking stuff as supported where possible via exploiting "Identifying" dummy comments. marking stuff as supported where possible via exploiting "Identifying" dummy comments.
Eventually this list below will be cut off since is worthless and outdated. Eventually this list below will be cut off since is worthless and outdated.
********************************************************************************************************* *********************************************************************************************************
********************************************************************************************************* *********************************************************************************************************

View File

@ -7798,25 +7798,25 @@
<!-- Notes: optional SK-1100 keyboard support --> <!-- Notes: optional SK-1100 keyboard support -->
<!-- <!--
The mode for 2 players requires 2 Mark III consoles, both with The mode for 2 players requires 2 Mark III consoles, both with
the SK-1100 keyboard, plus a cable to link the keyboards through the SK-1100 keyboard, plus a cable to link the keyboards through
their printer port. To emulate this setup, it is necessary to run their printer port. To emulate this setup, it is necessary to run
two instances of MAME and make a point-to-point connection between two instances of MAME and make a point-to-point connection between
them using the bitbanger (bitb) stream that is provided by the them using the bitbanger (bitb) stream that is provided by the
kblink device, that simulates the function of the cable link. kblink device, that simulates the function of the cable link.
Example for a localhost (127.0.0.1) connection: Example for a localhost (127.0.0.1) connection:
mame64 -window sg1000m3 -card f16falcjc -sgexp sk1100 -sgexp:sk1100:printer kblink -bitb socket.127.0.0.1:2345 mame64 -window sg1000m3 -card f16falcjc -sgexp sk1100 -sgexp:sk1100:printer kblink -bitb socket.127.0.0.1:2345
mame64 -window sg1000m3 -card f16falcjc -sgexp sk1100 -sgexp:sk1100:printer kblink -bitb socket.127.0.0.1:2345 mame64 -window sg1000m3 -card f16falcjc -sgexp sk1100 -sgexp:sk1100:printer kblink -bitb socket.127.0.0.1:2345
After run both instances, press the CR key on the keyboard when After run both instances, press the CR key on the keyboard when
the title screen is displayed. Next, when asked which player the title screen is displayed. Next, when asked which player
(1 or 2), the user needs to press 1 on the keyboard of one (1 or 2), the user needs to press 1 on the keyboard of one
instance, switch to the other instance and press 2 on the keyboard instance, switch to the other instance and press 2 on the keyboard
(due to key 1 is mapped by default to the PAUSE function of the (due to key 1 is mapped by default to the PAUSE function of the
console, it is recommended first remap PAUSE to avoid conflict). console, it is recommended first remap PAUSE to avoid conflict).
Next, when LEVEL 1 appears on the screen, press the SPACE key on Next, when LEVEL 1 appears on the screen, press the SPACE key on
each instance to start playing the game. each instance to start playing the game.
--> -->
<software name="f16falcjc" cloneof="f16fight"> <software name="f16falcjc" cloneof="f16fight">
<description>F-16 Fighting Falcon (Jpn, MyCard)</description> <description>F-16 Fighting Falcon (Jpn, MyCard)</description>

View File

@ -1668,22 +1668,22 @@
</software> </software>
<!-- <!--
Below is a selection of (most of) the DSK files featured in the TOSEC DAT files which, according to Lady Eklipse, include all files that were in TOSEC and all files from www.worldofspectrum.org which were never in TOSEC before. Which file and update they come from is commented for each entry, so that they can be consulted. Below is a selection of (most of) the DSK files featured in the TOSEC DAT files which, according to Lady Eklipse, include all files that were in TOSEC and all files from www.worldofspectrum.org which were never in TOSEC before. Which file and update they come from is commented for each entry, so that they can be consulted.
Files removed: Files removed:
- Files marked as "bad dumps" which already have a good parent set. - Files marked as "bad dumps" which already have a good parent set.
- Trained games, except for a "cheat version" of Neighbours which may have come from the original developers. - Trained games, except for a "cheat version" of Neighbours which may have come from the original developers.
- 80-track (3.5'') disk images. - 80-track (3.5'') disk images.
- Files generated with the ZXZVM interpreter. - Files generated with the ZXZVM interpreter.
- Games from the Crap Games Competition. - Games from the Crap Games Competition.
All the DSK files which have a corresponding IPF have been labeled as "alt" clones until they're confirmed to come from the exact same release and can be safely removed (there's an added disclaimer about it in each of these entries, to make them easy to locate). All the DSK files which have a corresponding IPF have been labeled as "alt" clones until they're confirmed to come from the exact same release and can be safely removed (there's an added disclaimer about it in each of these entries, to make them easy to locate).
Other alt versions not in World of Spectrum have been kept for the same reason, since the exact source of each file doesn't seem to be properly documented anywhere, which means they'd need some research before a safe removal. Other alt versions not in World of Spectrum have been kept for the same reason, since the exact source of each file doesn't seem to be properly documented anywhere, which means they'd need some research before a safe removal.
Notes about the known DSK dumps: Notes about the known DSK dumps:
Some dumps may come with an empty Side B, which is technically correct for games which were released with an empty side on purpose. These were usually labeled as "Sin grabar para tu uso" ("Unrecorded for your use") in many Spanish releases. Some dumps may come with an empty Side B, which is technically correct for games which were released with an empty side on purpose. These were usually labeled as "Sin grabar para tu uso" ("Unrecorded for your use") in many Spanish releases.
Some of the "master disks" from Zeppelin Games share the same file (same SHA-1) for their Side B. This has been verified against the downloads available in World of Spectrum. Some of the "master disks" from Zeppelin Games share the same file (same SHA-1) for their Side B. This has been verified against the downloads available in World of Spectrum.
A few releases had a version for a different system on the other side. These haven't been removed, as it was possible for the user to insert those sides and do anything they wanted with them. A few releases had a version for a different system on the other side. These haven't been removed, as it was possible for the user to insert those sides and do anything they wanted with them.
--> -->
@ -4161,7 +4161,7 @@
</dataarea> </dataarea>
</part> </part>
<part name="flop2" interface="floppy_3"> <part name="flop2" interface="floppy_3">
<feature name="part_id" value="Side B: Dr. Jekyll and Mr. Hyde "/> <feature name="part_id" value="Side B: Dr. Jekyll and Mr. Hyde "/>
<dataarea name="flop" size="194816"> <dataarea name="flop" size="194816">
<rom name="double classic (1988)(zenobi)(side b).dsk" size="194816" crc="a92e7e19" sha1="4e7aeebbe48f81534ac6e8e6d3d64b8e08500c7a" offset="0" /> <rom name="double classic (1988)(zenobi)(side b).dsk" size="194816" crc="a92e7e19" sha1="4e7aeebbe48f81534ac6e8e6d3d64b8e08500c7a" offset="0" />
</dataarea> </dataarea>

View File

@ -2829,7 +2829,7 @@ Game cartridges
</software> </software>
<!-- Cart labeled as "Disney My Friends Tigger and Pooh - En Busca de la Miel", <!-- Cart labeled as "Disney My Friends Tigger and Pooh - En Busca de la Miel",
but game on screen title is "Disney Winnie the Pooh - En Busca de la Miel". --> but game on screen title is "Disney Winnie the Pooh - En Busca de la Miel". -->
<software name="poohsr1" cloneof="pooh" supported="yes"> <software name="poohsr1" cloneof="pooh" supported="yes">
<description>Disney Winnie the Pooh - En Busca de la Miel (Spa, Rev. 122)</description> <description>Disney Winnie the Pooh - En Busca de la Miel (Spa, Rev. 122)</description>
<year>2004?</year> <year>2004?</year>

View File

@ -19,7 +19,7 @@
// ======================> astrocade_cassette_device // ======================> astrocade_cassette_device
class astrocade_cassette_device : public device_t, class astrocade_cassette_device : public device_t,
public device_astrocade_ctrl_interface public device_astrocade_ctrl_interface
{ {
public: public:
static constexpr feature_type imperfect_features() { return feature::TAPE; } static constexpr feature_type imperfect_features() { return feature::TAPE; }

View File

@ -14,7 +14,7 @@
// ======================> astrocade_joy_device // ======================> astrocade_joy_device
class astrocade_joy_device : public device_t, class astrocade_joy_device : public device_t,
public device_astrocade_ctrl_interface public device_astrocade_ctrl_interface
{ {
public: public:
// construction/destruction // construction/destruction

View File

@ -15,7 +15,7 @@
// ======================> astrocade_lightpen_device // ======================> astrocade_lightpen_device
class astrocade_lightpen_device : public device_t, class astrocade_lightpen_device : public device_t,
public device_astrocade_accessory_interface public device_astrocade_accessory_interface
{ {
public: public:
// construction/destruction // construction/destruction

View File

@ -268,15 +268,15 @@ void mtx_sdxcpm_device::device_reset()
READ8_MEMBER(mtx_sdx_device::sdx_status_r) READ8_MEMBER(mtx_sdx_device::sdx_status_r)
{ {
/* /*
bit description bit description
0 Head load: 1 - head load on drive 0 Head load: 1 - head load on drive
1 Double-sided: 1 if drive double-sided 1 Double-sided: 1 if drive double-sided
2 TPI: 0 - 48 TPI drive. 1 - 96 TPI drive 2 TPI: 0 - 48 TPI drive. 1 - 96 TPI drive
3 Track stepping rate: 0 - 12ms, 1 - 6ms 3 Track stepping rate: 0 - 12ms, 1 - 6ms
4 No. of drives: 0 - 1 drive, 1 - 2 drives 4 No. of drives: 0 - 1 drive, 1 - 2 drives
5 Ready: 1 - drive ready 5 Ready: 1 - drive ready
6 Interrupt: 1 - FDC interrupt request 6 Interrupt: 1 - FDC interrupt request
7 Data request: 1 - FDC data request 7 Data request: 1 - FDC data request
*/ */
uint8_t data = 0x00; uint8_t data = 0x00;
@ -297,12 +297,12 @@ READ8_MEMBER(mtx_sdx_device::sdx_status_r)
WRITE8_MEMBER(mtx_sdx_device::sdx_control_w) WRITE8_MEMBER(mtx_sdx_device::sdx_control_w)
{ {
/* /*
bit description bit description
0 Drive select: 0 - drive A, 1 - drive B 0 Drive select: 0 - drive A, 1 - drive B
1 Side select: 0 - side 0, 1 - side 1 1 Side select: 0 - side 0, 1 - side 1
2 Motor on: 1 - turns drive motor on 2 Motor on: 1 - turns drive motor on
3 Motor ready: 1 - drive motor ready 3 Motor ready: 1 - drive motor ready
4 Density: 0 - FM, 1 - MFM 4 Density: 0 - FM, 1 - MFM
*/ */
m_control = data; m_control = data;

View File

@ -222,37 +222,37 @@ u8 memory[memorysize];
void readline(u8 *data, u32 address) void readline(u8 *data, u32 address)
{ {
for (int n = 0; n < 64; n++) for (int n = 0; n < 64; n++)
data[n] = memory[address + n]; data[n] = memory[address + n];
} }
void writeline(u8 *data, u32 address) void writeline(u8 *data, u32 address)
{ {
for (int n = 0; n < 64; n++) for (int n = 0; n < 64; n++)
memory[address + n] = data[n]; memory[address + n] = data[n];
} }
void cache_tester() void cache_tester()
{ {
cpucache<18, 8, 6, 2> cache; cpucache<18, 8, 6, 2> cache;
bool r; bool r;
u8 *data; u8 *data;
int address; int address;
u8 value; u8 value;
for (int n = 0; n < memorysize; n++) for (int n = 0; n < memorysize; n++)
memory[n] = 0xaa ^ n; memory[n] = 0xaa ^ n;
address = std::rand() & (memorysize - 1); address = std::rand() & (memorysize - 1);
r = cache.search(address, &data); r = cache.search(address, &data);
if (r == false) if (r == false)
{ {
r = cache.allocate(address, &data); r = cache.allocate(address, &data);
if (r == true) if (r == true)
writeline(data, cache.base(address)); writeline(data, cache.base(address));
readline(data, cache.base(address)); readline(data, cache.base(address));
} }
value = data[address & 63]; value = data[address & 63];
if (value != memory[address]) if (value != memory[address])
printf("Error reading address %d\n\r", address); printf("Error reading address %d\n\r", address);
} }
*/ */

View File

@ -1637,7 +1637,7 @@ protected:
virtual void device_start() override; virtual void device_start() override;
virtual void device_reset() override; virtual void device_reset() override;
virtual u8 mem_pr8(offs_t address) override { return opcode_read_cache<u8, NATIVE_ENDIAN_VALUE_LE_BE(0, 3)>(address); } virtual u8 mem_pr8(offs_t address) override { return opcode_read_cache<u8, NATIVE_ENDIAN_VALUE_LE_BE(0, 3)>(address); }
virtual u16 mem_pr16(offs_t address) override { return opcode_read_cache<u16, NATIVE_ENDIAN_VALUE_LE_BE(0, 2)>(address); } virtual u16 mem_pr16(offs_t address) override { return opcode_read_cache<u16, NATIVE_ENDIAN_VALUE_LE_BE(0, 2)>(address); }
virtual u32 mem_pr32(offs_t address) override { return opcode_read_cache<u32, 0>(address); } virtual u32 mem_pr32(offs_t address) override { return opcode_read_cache<u32, 0>(address); }
virtual u8 mem_prd8(offs_t address) override { return program_read_cache<u8, NATIVE_ENDIAN_VALUE_LE_BE(0, 3)>(address); } virtual u8 mem_prd8(offs_t address) override { return program_read_cache<u8, NATIVE_ENDIAN_VALUE_LE_BE(0, 3)>(address); }

View File

@ -79,7 +79,7 @@ void ns32000_cpu_device::device_start()
// floating point registers // floating point registers
//for (unsigned i = 0; i < 8; i++) //for (unsigned i = 0; i < 8; i++)
// state_add(NS32000_R7 + i, util::string_format("F%d", i).c_str(), m_f[i]); // state_add(NS32000_R7 + i, util::string_format("F%d", i).c_str(), m_f[i]);
// set our instruction counter // set our instruction counter
//set_icountptr(m_icount); //set_icountptr(m_icount);

View File

@ -59,7 +59,7 @@
_I/O B0 20 |_____________| 21 DB0 _I/O B0 20 |_____________| 21 DB0
F38T56 is internal in F3870 F38T56 is internal in F3870
note: STROBE is N/C on F3851 note: STROBE is N/C on F3851
*/ */

View File

@ -70,10 +70,10 @@ offs_t meg_disassembler::disassemble(std::ostream &stream, offs_t pc, const data
r = util::string_format("[m%02x]", b(opc, 39, 6)); r = util::string_format("[m%02x]", b(opc, 39, 6));
if(b(opc, 62, 1)) if(b(opc, 62, 1))
append(r, "lfo"); append(r, "lfo");
if(b(opc, 23, 1)) if(b(opc, 23, 1))
switch(b(opc, 24, 2)) { switch(b(opc, 24, 2)) {
case 0: case 0:
if(b(opc, 18, 1)) if(b(opc, 18, 1))
@ -95,14 +95,14 @@ offs_t meg_disassembler::disassemble(std::ostream &stream, offs_t pc, const data
break; break;
} }
if(b(opc, 30, 1)) { if(b(opc, 30, 1)) {
if(b(opc, 61, 1)) if(b(opc, 61, 1))
append(r, "mb = p"); append(r, "mb = p");
else if(b(opc, 46, 1) == 1) else if(b(opc, 46, 1) == 1)
append(r, util::string_format("m%02x = p", b(opc, 39, 6))); append(r, util::string_format("m%02x = p", b(opc, 39, 6)));
else else
append(r, util::string_format("r%02x = p", b(opc, 47, 8))); append(r, util::string_format("r%02x = p", b(opc, 47, 8)));
} }
u32 memmode = b(opc, 36, 2); u32 memmode = b(opc, 36, 2);
if(memmode) { if(memmode) {
@ -110,7 +110,7 @@ offs_t meg_disassembler::disassemble(std::ostream &stream, offs_t pc, const data
append(r, util::string_format("mem_%s %x +%s", modes[memmode], b(opc, 33, 3), goffset(pc/3))); append(r, util::string_format("mem_%s %x +%s", modes[memmode], b(opc, 33, 3), goffset(pc/3)));
r += util::string_format("-> m%02x", b(opcodes.r64(pc+2), 39, 6)); r += util::string_format("-> m%02x", b(opcodes.r64(pc+2), 39, 6));
} }
stream << r; stream << r;

View File

@ -37,8 +37,8 @@
VSS 20 |___________| 21 CLOCK IN VSS 20 |___________| 21 CLOCK IN
O# = OUTPUT BIT # O# = OUTPUT BIT #
MM5446, MM5448 don't have the brightness control pin, an extra output pin instead MM5446, MM5448 don't have the brightness control pin, an extra output pin instead
MM5447, MM5448 don't have the data enable pin(always enabled), but another extra output pin MM5447, MM5448 don't have the data enable pin(always enabled), but another extra output pin
*/ */

View File

@ -1400,7 +1400,7 @@ namespace netlist
void reset(); void reset();
pstring m_name; pstring m_name;
netlist_t &m_netlist; netlist_t &m_netlist;
plib::unique_ptr<plib::dynlib> m_lib; // external lib needs to be loaded as long as netlist exists plib::unique_ptr<plib::dynlib> m_lib; // external lib needs to be loaded as long as netlist exists
plib::state_manager_t m_state; plib::state_manager_t m_state;
plib::unique_ptr<callbacks_t> m_callbacks; plib::unique_ptr<callbacks_t> m_callbacks;

View File

@ -307,7 +307,7 @@ namespace netlist
const models_t &models() const { return m_models; } const models_t &models() const { return m_models; }
protected: protected:
models_t m_models; models_t m_models;
std::stack<pstring> m_namespace_stack; std::stack<pstring> m_namespace_stack;
std::unordered_map<pstring, pstring> m_alias; std::unordered_map<pstring, pstring> m_alias;
std::vector<link_t> m_links; std::vector<link_t> m_links;

View File

@ -151,7 +151,7 @@ namespace plib {
/** /**
* \brief Return @c true if the stored pointer is not null. * \brief Return @c true if the stored pointer is not null.
*/ */
explicit operator bool() const noexcept { return m_ptr != nullptr; } explicit operator bool() const noexcept { return m_ptr != nullptr; }
pointer release() pointer release()
{ {

View File

@ -111,7 +111,7 @@ static NETLIST_START(nl_gamemachine)
CAP(C1, CAP_P(50)) CAP(C1, CAP_P(50))
CAP(C2, CAP_U(0.001)) CAP(C2, CAP_U(0.001))
CAP(C3, CAP_U(0.002)) // Schematics state this as 2pF, doesn't make sense, this looks like a ladder layout CAP(C3, CAP_U(0.002)) // Schematics state this as 2pF, doesn't make sense, this looks like a ladder layout
CAP(C4, CAP_U(0.005)) CAP(C4, CAP_U(0.005))
CAP(C5, CAP_U(0.010)) CAP(C5, CAP_U(0.010))

View File

@ -224,9 +224,9 @@ void isbc8010_state::isbc8010(machine_config &config)
// hd6402.read_si_callback().set(FUNC(sdk80_state::nascom1_hd6402_si)); // hd6402.read_si_callback().set(FUNC(sdk80_state::nascom1_hd6402_si));
// hd6402.write_so_callback().set(FUNC(sdk80_state::nascom1_hd6402_so)); // hd6402.write_so_callback().set(FUNC(sdk80_state::nascom1_hd6402_so));
// clock_device &uart_clock(CLOCK(config, "uart_clock", (XTAL(16'000'000) / 16) / 256)); // clock_device &uart_clock(CLOCK(config, "uart_clock", (XTAL(16'000'000) / 16) / 256));
// uart_clock.signal_handler().set("hd6402", FUNC(ay31015_device::write_tcp)); // uart_clock.signal_handler().set("hd6402", FUNC(ay31015_device::write_tcp));
// uart_clock.signal_handler().append("hd6402", FUNC(ay31015_device::write_rcp)); // uart_clock.signal_handler().append("hd6402", FUNC(ay31015_device::write_rcp));
/* Devices */ /* Devices */
// i8279_device &kbdc(I8279(config, "i8279", 3100000)); // based on divider // i8279_device &kbdc(I8279(config, "i8279", 3100000)); // based on divider

View File

@ -363,11 +363,11 @@ void rt1715_state::rt1715_base_io(address_map &map)
map.global_mask(0xff); map.global_mask(0xff);
map(0x08, 0x0b).rw(m_ctc0, FUNC(z80ctc_device::read), FUNC(z80ctc_device::write)); map(0x08, 0x0b).rw(m_ctc0, FUNC(z80ctc_device::read), FUNC(z80ctc_device::write));
map(0x0c, 0x0f).rw(m_sio0, FUNC(z80sio_device::ba_cd_r), FUNC(z80sio_device::ba_cd_w)); map(0x0c, 0x0f).rw(m_sio0, FUNC(z80sio_device::ba_cd_r), FUNC(z80sio_device::ba_cd_w));
// map(0x10, 0x13).rw(m_ctc1, FUNC(z80ctc_device::read), FUNC(z80ctc_device::write)); // map(0x10, 0x13).rw(m_ctc1, FUNC(z80ctc_device::read), FUNC(z80ctc_device::write));
// map(0x14, 0x17).rw(m_sio1, FUNC(z80sio_device::ba_cd_r), FUNC(z80sio_device::ba_cd_w)); // map(0x14, 0x17).rw(m_sio1, FUNC(z80sio_device::ba_cd_r), FUNC(z80sio_device::ba_cd_w));
map(0x18, 0x19).rw(m_crtc, FUNC(i8275_device::read), FUNC(i8275_device::write)); map(0x18, 0x19).rw(m_crtc, FUNC(i8275_device::read), FUNC(i8275_device::write));
// map(0x2c, 0x2f) // LT107CS -- serial DSR? // map(0x2c, 0x2f) // LT107CS -- serial DSR?
// map(0x30, 0x33) // LT111CS -- serial SEL? (data rate selector) // map(0x30, 0x33) // LT111CS -- serial SEL? (data rate selector)
} }
void rt1715_state::rt1715_io(address_map &map) void rt1715_state::rt1715_io(address_map &map)
@ -377,9 +377,9 @@ void rt1715_state::rt1715_io(address_map &map)
map(0x00, 0x03).rw("a71", FUNC(z80pio_device::read_alt), FUNC(z80pio_device::write_alt)); // floppy data map(0x00, 0x03).rw("a71", FUNC(z80pio_device::read_alt), FUNC(z80pio_device::write_alt)); // floppy data
map(0x04, 0x07).rw("a72", FUNC(z80pio_device::read_alt), FUNC(z80pio_device::write_alt)); // floppy control/status map(0x04, 0x07).rw("a72", FUNC(z80pio_device::read_alt), FUNC(z80pio_device::write_alt)); // floppy control/status
map(0x20, 0x20).w(FUNC(rt1715_state::rt1715_floppy_enable)); map(0x20, 0x20).w(FUNC(rt1715_state::rt1715_floppy_enable));
// map(0x24, 0x27).w(FUNC(rt1715_state::rt1715_rom_enable)); // MEMCS0 // map(0x24, 0x27).w(FUNC(rt1715_state::rt1715_rom_enable)); // MEMCS0
map(0x28, 0x2b).w(FUNC(rt1715_state::rt1715_rom_disable)); // MEMCS1 map(0x28, 0x2b).w(FUNC(rt1715_state::rt1715_rom_disable)); // MEMCS1
// map(0x34, 0x37) // BWSCS (read: memory start address, write: switch chargen) // map(0x34, 0x37) // BWSCS (read: memory start address, write: switch chargen)
} }
void rt1715_state::rt1715w_mem(address_map &map) void rt1715_state::rt1715w_mem(address_map &map)
@ -403,14 +403,14 @@ void rt1715_state::rt1715w_io(address_map &map)
map(0x00, 0x00).rw(m_dma, FUNC(z80dma_device::bus_r), FUNC(z80dma_device::bus_w)); // A2 map(0x00, 0x00).rw(m_dma, FUNC(z80dma_device::bus_r), FUNC(z80dma_device::bus_w)); // A2
map(0x04, 0x07).rw(m_ctc2, FUNC(z80ctc_device::read), FUNC(z80ctc_device::write)); // A4 map(0x04, 0x07).rw(m_ctc2, FUNC(z80ctc_device::read), FUNC(z80ctc_device::write)); // A4
// map(0x1a, 0x1b) // chargen write protection // map(0x1a, 0x1b) // chargen write protection
map(0x1c, 0x1d).m(m_fdc, FUNC(i8272a_device::map)); map(0x1c, 0x1d).m(m_fdc, FUNC(i8272a_device::map));
map(0x20, 0x23).w(FUNC(rt1715_state::rt1715w_krfd_w)); // KRFD -- FD-Steuerregister (A45) map(0x20, 0x23).w(FUNC(rt1715_state::rt1715w_krfd_w)); // KRFD -- FD-Steuerregister (A45)
map(0x24, 0x27).w(FUNC(rt1715_state::rt1715w_set_bank)); // BR (A62, A63) map(0x24, 0x27).w(FUNC(rt1715_state::rt1715w_set_bank)); // BR (A62, A63)
map(0x28, 0x2b).w(FUNC(rt1715_state::rt1715w_floppy_motor)); // MOS map(0x28, 0x2b).w(FUNC(rt1715_state::rt1715w_floppy_motor)); // MOS
map(0x34, 0x37).portr("S8"); // KON -- Konfigurations-schalter FD (config switch -- A114, DIP S8) map(0x34, 0x37).portr("S8"); // KON -- Konfigurations-schalter FD (config switch -- A114, DIP S8)
// map(0x38, 0x3b) // SR (RST1) -- Ru:cksetzen von Flip-Flops im FD // map(0x38, 0x3b) // SR (RST1) -- Ru:cksetzen von Flip-Flops im FD
// map(0x3c, 0x3f) // RST (RST2) -- Ru:cksetzen von Flip-Flops in V.24 (Pru:ftechnik) // map(0x3c, 0x3f) // RST (RST2) -- Ru:cksetzen von Flip-Flops in V.24 (Pru:ftechnik)
// used via DMA only // used via DMA only
map(0x40, 0x40).r(m_fdc, FUNC(i8272a_device::msr_r)); map(0x40, 0x40).r(m_fdc, FUNC(i8272a_device::msr_r));
map(0x41, 0x41).rw(m_fdc, FUNC(i8272a_device::dma_r), FUNC(i8272a_device::dma_w)); map(0x41, 0x41).rw(m_fdc, FUNC(i8272a_device::dma_r), FUNC(i8272a_device::dma_w));

View File

@ -4,16 +4,16 @@
Sega Beena Sega Beena
apbeena.cpp apbeena.cpp
Skeleton driver for the Sega Advanced Pico BEENA Skeleton driver for the Sega Advanced Pico BEENA
H/W is custom Sega SoC with ARM7TDMI core at 81 MHz. H/W is custom Sega SoC with ARM7TDMI core at 81 MHz.
TODO: TODO:
Everything! Everything!
Needs the internal BIOS dumped. Needs the internal BIOS dumped.
Component list / PCB diagram Component list / PCB diagram
cartridge ROM has 'edinburgh' in the header, maybe a system codename? cartridge ROM has 'edinburgh' in the header, maybe a system codename?
ROM is also full of OGG files containing the string 'Encoded with Speex speex-1.0.4' ROM is also full of OGG files containing the string 'Encoded with Speex speex-1.0.4'

View File

@ -9,7 +9,7 @@
"SunPlus PA7801" ( known as Sunplus SPG110? ) "SunPlus PA7801" ( known as Sunplus SPG110? )
Classic Arcade Pinball Classic Arcade Pinball
EA Sports (NHL95 + Madden 95) EA Sports (NHL95 + Madden 95)
Spiderman 5-in-1 (original release) Spiderman 5-in-1 (original release)
*******************************************************************************/ *******************************************************************************/

View File

@ -4,20 +4,20 @@
Titan 1.0C (System on a Chip - ARM based processor) Titan 1.0C (System on a Chip - ARM based processor)
used by used by
Atari / Colecovision / Intellivision Flashback (not dumped) Atari / Colecovision / Intellivision Flashback (not dumped)
TecToy Mega Drive 4 TecToy Mega Drive 4
Notes: Notes:
It is possible to connect a debug terminal It is possible to connect a debug terminal
Has a USB port for user to plug in a flash drive etc. Has a USB port for user to plug in a flash drive etc.
4MB RAM 4MB RAM
Emulators run on the ARM, games don't use some modes 100% correctly compared to original Emulators run on the ARM, games don't use some modes 100% correctly compared to original
hardware, only correct for the included emulator. Some games are not emulation based. hardware, only correct for the included emulator. Some games are not emulation based.
*/ */

View File

@ -9,69 +9,69 @@
die markings show die markings show
"SunPlus QL8041" ( also known as Sunplus SPG240 & PAC300 ) "SunPlus QL8041" ( also known as Sunplus SPG240 & PAC300 )
(all GameKeyReady units?) (all GameKeyReady units?)
Disney Princess (GKR) Disney Princess (GKR)
Wheel of Fortune (GKR) Wheel of Fortune (GKR)
JAKKS WWE (GKR) JAKKS WWE (GKR)
Fantastic 4 (GKR) Fantastic 4 (GKR)
Justice League (GKR) Justice League (GKR)
Dora the Explorer Nursery Rhyme (GKR) Dora the Explorer Nursery Rhyme (GKR)
Dora the Explorer Play Park (GKR) Dora the Explorer Play Park (GKR)
Spiderman 5-in-1 (GKR) Spiderman 5-in-1 (GKR)
etc. etc.
(other non GKR JAKKS games) (other non GKR JAKKS games)
X-Men (Wolverine pad) X-Men (Wolverine pad)
Avatar: The Last Airbender Avatar: The Last Airbender
(other games) (other games)
Mattel Classic Sports Mattel Classic Sports
"SunPlus QL8041C" ( known as Sunplus SPG2??, seems to be compatible with above, so probably just a chip revision ) "SunPlus QL8041C" ( known as Sunplus SPG2??, seems to be compatible with above, so probably just a chip revision )
Clickstart ( see clickstart.cpp instead) Clickstart ( see clickstart.cpp instead)
Wheel of Fortune 2nd Edition Wheel of Fortune 2nd Edition
Spider-man - Villain Roundup Spider-man - Villain Roundup
"SunPlus QU7074-P69A" "SunPlus QU7074-P69A"
The Batman The Batman
--- ---
It is unknown if the following are close to this architecture or not (no dumps yet) It is unknown if the following are close to this architecture or not (no dumps yet)
"SunPlus QU7073-P69A" "SunPlus QU7073-P69A"
Mortal Kombat Mortal Kombat
"Sunplus PU7799-P680?" (difficult to read) "Sunplus PU7799-P680?" (difficult to read)
Mission Paintball Mission Paintball
"Sunplus QL8167" "Sunplus QL8167"
Disney Princess Magical Adventure Disney Princess Magical Adventure
Go Diego Go Go Diego Go
Shrek - Over the Hedge (this unit shows a 'GameKey Unlock More Games' on startup, but has no port, not even on the internal PCB) Shrek - Over the Hedge (this unit shows a 'GameKey Unlock More Games' on startup, but has no port, not even on the internal PCB)
Marvel Heroes (Spider-man) Marvel Heroes (Spider-man)
Spiderman 3 (Movie - black) Spiderman 3 (Movie - black)
--- ---
These are definitely different These are definitely different
"SunPlus PA7801" ( known as Sunplus SPG110? ) see spg110.cpp instead "SunPlus PA7801" ( known as Sunplus SPG110? ) see spg110.cpp instead
Classic Arcade Pinball Classic Arcade Pinball
EA Sports (NHL95 + Madden 95) EA Sports (NHL95 + Madden 95)
Spiderman 5-in-1 (original release) Spiderman 5-in-1 (original release)
"GCM394" (this is clearly newer, has extra opcodes, different internal map etc.) "GCM394" (this is clearly newer, has extra opcodes, different internal map etc.)
Smart Fit Park Smart Fit Park
Status: Status:
Mostly working Mostly working
@ -89,10 +89,10 @@
jak_pooh: jak_pooh:
In the 'Light Tag' minigame (select the rock) you can't move left with the DRC (ok with -nodrc) In the 'Light Tag' minigame (select the rock) you can't move left with the DRC (ok with -nodrc)
and the game usually softlocks when you find a friend (with or without DRC) and the game usually softlocks when you find a friend (with or without DRC)
jak_disf: jak_disf:
shows corrupt logo on first boot with no valid nvram (possibly hardware does too, or layer disable?) shows corrupt logo on first boot with no valid nvram (possibly hardware does too, or layer disable?)
jak_nick: jak_nick:
channel chasers (first game) title screen background should be blue, not the current pattern (possible layer disable?) channel chasers (first game) title screen background should be blue, not the current pattern (possible layer disable?)
vii: vii:
When loading a cart from file manager, sometimes MAME will crash. When loading a cart from file manager, sometimes MAME will crash.

View File

@ -1111,7 +1111,7 @@ static INPUT_PORTS_START( epo_guru )
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT )
PORT_MODIFY("MOUSE1X") PORT_MODIFY("MOUSE1X")
// PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(6) PORT_KEYDELTA(16) PORT_PLAYER(1) PORT_MINMAX(0x44,0xbc) // PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(6) PORT_KEYDELTA(16) PORT_PLAYER(1) PORT_MINMAX(0x44,0xbc)
PORT_BIT( 0x1f, 0x10, IPT_AD_STICK_X ) PORT_SENSITIVITY(6) PORT_KEYDELTA(16) PORT_PLAYER(1) // PORT_MINMAX(0x44,0xbc) PORT_BIT( 0x1f, 0x10, IPT_AD_STICK_X ) PORT_SENSITIVITY(6) PORT_KEYDELTA(16) PORT_PLAYER(1) // PORT_MINMAX(0x44,0xbc)
/* /*

View File

@ -183,7 +183,7 @@ void xbox_state::xbox(machine_config &config)
OHCI_USB_CONNECTOR(config, ":pci:02.0:port3", usb_xbox, "xbox_controller", false); OHCI_USB_CONNECTOR(config, ":pci:02.0:port3", usb_xbox, "xbox_controller", false);
OHCI_USB_CONNECTOR(config, ":pci:02.0:port4", usb_xbox, nullptr, false); OHCI_USB_CONNECTOR(config, ":pci:02.0:port4", usb_xbox, nullptr, false);
/* sound hardware */ /* sound hardware */
SPEAKER(config, "mono").front_center(); SPEAKER(config, "mono").front_center();
OHCI_GAME_CONTROLLER(config, "ohci_gamepad", 0); OHCI_GAME_CONTROLLER(config, "ohci_gamepad", 0);

View File

@ -12,7 +12,7 @@
<element name="led" defstate="0"> <element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.0" blue="0.0" /></disk> <disk state="1"><color red="1.0" green="0.0" blue="0.0" /></disk>
<disk state="0"><color red="0.15" green="0.0" blue="0.0" /> </disk> <disk state="0"><color red="0.15" green="0.0" blue="0.0" /> </disk>
</element> </element>
<element name="hl" defstate="0"> <element name="hl" defstate="0">

View File

@ -4,7 +4,7 @@
* The work herein is based on the "Rebound computer service manual" * The work herein is based on the "Rebound computer service manual"
* available on archive.org: * available on archive.org:
* *
* https://archive.org/details/ArcadeGameManualRebound * https://archive.org/details/ArcadeGameManualRebound
* *
* Changelog: * Changelog:
* *
@ -19,7 +19,7 @@
* - Documented PCB connector (Couriersud) * - Documented PCB connector (Couriersud)
* *
* TODO: * TODO:
* - Add switch to pull Connector 3 (CON3) to GND * - Add switch to pull Connector 3 (CON3) to GND
* *
* The MAME team has asked for and received written confirmation from the * The MAME team has asked for and received written confirmation from the
* author of DICE to use, modify and redistribute code under: * author of DICE to use, modify and redistribute code under:

View File

@ -437,7 +437,7 @@ CUSTOM_INPUT_MEMBER(xavix_ekara_state::ekara_multi1_r)
uint8_t xavix_state::read_io0(uint8_t direction) uint8_t xavix_state::read_io0(uint8_t direction)
{ {
// LOG("%s: read_io0\n", machine().describe_context()); // LOG("%s: read_io0\n", machine().describe_context());
// no special handling // no special handling
return m_in0->read(); return m_in0->read();
@ -445,7 +445,7 @@ uint8_t xavix_state::read_io0(uint8_t direction)
uint8_t xavix_state::read_io1(uint8_t direction) uint8_t xavix_state::read_io1(uint8_t direction)
{ {
// LOG("%s: read_io1\n", machine().describe_context()); // LOG("%s: read_io1\n", machine().describe_context());
// no special handling // no special handling
return m_in1->read(); return m_in1->read();

View File

@ -63,7 +63,7 @@ Priority word (Midres):
Bit 2 Bit 2
Bit 3 set = ... Bit 3 set = ...
Note that priority mixing is handled outside of the BAC-06 chip. Note that priority mixing is handled outside of the BAC-06 chip.
*/ */
@ -155,35 +155,35 @@ TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape0_scan)
TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape1_scan) TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape1_scan)
{ {
//if (m_pf_control_0[0]&2) // Needs testing on real hardware, not used by any game //if (m_pf_control_0[0]&2) // Needs testing on real hardware, not used by any game
// return (row & 0xf) + ((col & 0x1f) << 4) + ((col & 0xf0) << 5); // return (row & 0xf) + ((col & 0x1f) << 4) + ((col & 0xf0) << 5);
return (col & 0xf) + ((row & 0x1f) << 4) + ((col & 0xf0) << 5); return (col & 0xf) + ((row & 0x1f) << 4) + ((col & 0xf0) << 5);
} }
TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape2_scan) TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape2_scan)
{ {
//if (m_pf_control_0[0]&2) // Needs testing on real hardware, not used by any game //if (m_pf_control_0[0]&2) // Needs testing on real hardware, not used by any game
// return (col & 0xf) + ((row & 0x3f) << 4) + ((row & 0x70) << 6); // return (col & 0xf) + ((row & 0x3f) << 4) + ((row & 0x70) << 6);
return (col & 0xf) + ((row & 0x3f) << 4) + ((col & 0x70) << 6); return (col & 0xf) + ((row & 0x3f) << 4) + ((col & 0x70) << 6);
} }
TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape0_8x8_scan) TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape0_8x8_scan)
{ {
//if (m_pf_control_0[0]&2) // Needs testing on real hardware, not used by any game //if (m_pf_control_0[0]&2) // Needs testing on real hardware, not used by any game
// return (col & 0x1f) + ((row & 0x1f) << 5) + ((row & 0x60) << 5); // return (col & 0x1f) + ((row & 0x1f) << 5) + ((row & 0x60) << 5);
return (col & 0x1f) + ((row & 0x1f) << 5) + ((col & 0x60) << 5); return (col & 0x1f) + ((row & 0x1f) << 5) + ((col & 0x60) << 5);
} }
TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape1_8x8_scan) TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape1_8x8_scan)
{ {
//if (m_pf_control_0[0]&2) // Needs testing on real hardware, not used by any game //if (m_pf_control_0[0]&2) // Needs testing on real hardware, not used by any game
// return (row & 0x1f) + ((col & 0x1f) << 5) + ((col & 0x20) << 5) + ((row & 0x20) << 6); // return (row & 0x1f) + ((col & 0x1f) << 5) + ((col & 0x20) << 5) + ((row & 0x20) << 6);
return (col & 0x1f) + ((row & 0x1f) << 5) + ((row & 0x20) << 5) + ((col & 0x20) << 6); return (col & 0x1f) + ((row & 0x1f) << 5) + ((row & 0x20) << 5) + ((col & 0x20) << 6);
} }
TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape2_8x8_scan) TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape2_8x8_scan)
{ {
//if (m_pf_control_0[0]&2) // Needs testing on real hardware, not used by any game //if (m_pf_control_0[0]&2) // Needs testing on real hardware, not used by any game
// return (row & 0x1f) + ((col & 0x7f) << 5); // return (row & 0x1f) + ((col & 0x7f) << 5);
return (col & 0x1f) + ((row & 0x7f) << 5); return (col & 0x1f) + ((row & 0x7f) << 5);
} }