This commit is contained in:
Peter Ferrie 2019-02-25 17:39:26 -08:00
commit 8fc8ae62a7
640 changed files with 9713 additions and 8742 deletions

0
hash/a800.xml Executable file → Normal file
View File

0
hash/a800_flop.xml Executable file → Normal file
View File

View File

@ -30,17 +30,22 @@
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)
EN (EN-X on case, no part numbers) (see ekara_japan_en.xml) (for e-kara - custom presentation) (check other compatibility)
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)
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)
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)
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)
JP (JP-x on case) (see ekara_japan_jp.xml) (for Jumping Popira Only)
these exist but haven't got any
Some Japanese carts have a number starting with JP (for Jumping Popira Only?)
A (for Pichi Pichi Pitch Only?)
Some Japanese carts have a number starting with
KE (for Kids Lyric book device Only?)
KD (for e-kara?)
PR (seen a PR-02 AYY) (what is it?)
KR (seen a KR-1) (bundled with later units?)
(there are others, need to document them)
@ -59,6 +64,7 @@
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?)
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
.. *EC0002-JPM J-Pop Mix Volume 2
@ -76,12 +82,12 @@
.. *EC0013-JPM J-Pop Mix Volume 8
.. *EC0014-ATS Artist Selection Volume 1 - untranslated artist
.. *EC0015-ATS Artist Selection Volume 2 - untranslated artist
.. EC0016-ENK ENK Volume 2
.. EC0017-G73 1973-75 Volume 1
.. *EC0016-ENK ENK Volume 2
.. *EC0017-G73 1973-75 Volume 1
.. *EC0018-G82 1982-84 Volume 1
.. EC0019-BSC Graduation Encouragement Volume 1
.. *EC0019-BSC Graduation Encouragement Volume 1
.. EC0020-KID Kid's Mix Volume 2
.. *EC0020-KID Kid's Mix Volume 2
.. *EC0021-JPM J-Pop Mix Volume 9
.. *EC0022-JPM J-Pop Mix Volume 10
23 *EC0023-JPM J-Pop Mix Volume 11
@ -89,7 +95,7 @@
25 *EC0025-JPM J-Pop Mix Volume 13
26 *EC0026-JPM J-Pop Mix Volume 14
27 *EC0027-JPM J-Pop Mix Volume 15
28 EC0028-JPM J-Pop Mix Volume 16
28 *EC0028-JPM J-Pop Mix Volume 16
29 *EC0029-ATS Artist Selection Volume 3 - Dreams Come True
30 *EC0030-ENK ENK Volume 3
@ -100,13 +106,13 @@
35 *EC0035-ATS Artist Selection Volume 5 - Matsuda Seiko
36 *EC0036-ATS Artist Selection Volume 6 - KinKi Kids
37 *EC0037-ENK ENK Volume 4
38 EC0038-BSC Graduation Encouragement Volume 2
39 EC0039-ATS Artist Selection Volume 7 - B'z
38 *EC0038-BSC Graduation Encouragement Volume 2
39 *EC0039-ATS Artist Selection Volume 7 - B'z
40 EC0040-JPM J-Pop Mix Volume 18
40 *EC0040-JPM J-Pop Mix Volume 18
41 *EC0041-ATS Artist Selection Volume 8 - untranslated artist
42 *EC0042-JPM J-Pop Mix Volume 19
43 EC0043-ENK ENK Volume 5
43 *EC0043-ENK ENK Volume 5
44 *EC0044-ATS Artist Selection Volume 9 - Every Little Thing
45 *EC0045-ATS Artist Selection Volume 10 - Mr. Children
46 *EC0046-JPM J-Pop Mix Volume 20
@ -114,16 +120,16 @@
48 *EC0048-ENK ENK Volume 6
49 *EC0049-ATS Artist Selection Volume 11 - Judy and Mary
50 EC0050-ATS Artist Selection Volume 12 - The Beatles
50 *EC0050-ATS Artist Selection Volume 12 - The Beatles
51 *EC0051-JPM J-Pop Mix Volume 21
52 *EC0052-ENK ENK Volume 7
53 EC0053-JPM J-Pop Mix Volume 22
53 *EC0053-JPM J-Pop Mix Volume 22
54 *EC0054-JPM J-Pop Mix Volume 23
55 EC0055-ATS Artist Selection Volume 13 - Tube
56 EC0056-JPM J-Pop Mix Volume 24
57 EC0057-ATS Artist Selection Volume 14 - SMAP (should be Vol 14? sales sheet still lists 13 tho)
55 *EC0055-ATS Artist Selection Volume 13 - Tube
56 *EC0056-JPM J-Pop Mix Volume 24
57 *EC0057-ATS Artist Selection Volume 14 - SMAP (should be Vol 14? sales sheet still lists 13 tho)
58 EC0058-ENK ENK Volume 8
59 EC0059-JPM J-Pop Mix Volume 25
59 *EC0059-JPM J-Pop Mix Volume 25
60 *EC0060-JPM J-Pop Mix Volume 26
61 *EC0061-JPM J-Pop Mix Volume 27
@ -181,24 +187,6 @@
***********************************************************************************
Japanese cart listing (by A code)
These are for Pichi Pichi Pitch
(not e-kara compatible?)
https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q10109392860
A-1 (unknown)
A-2 (unknown)
A-3 (unknown)
A-4 (unknown)
A-5 (unknown)
A-6 (unknown)
A-7 (unknown)
A-8 (unknown)
***********************************************************************************
-->
<!-- Japanese e-kara cartridges EC series -->
@ -258,17 +246,6 @@
</part>
</software>
<software name="ec0011">
<description>J-Pop Mix Volume 6 (Japan) (EC0011-JPM)</description>
<year>2000</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0011-jpm.u1" size="0x100000" crc="5d0ca1e7" sha1="0c1bf33b3a436da2c19bd7171ab1a234a623987c" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0006">
<description>ENK Volume 1 (Japan) (EC0006-ENK)</description>
<year>2000</year>
@ -324,6 +301,17 @@
</part>
</software>
<software name="ec0011">
<description>J-Pop Mix Volume 6 (Japan) (EC0011-JPM)</description>
<year>2000</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0011-jpm.u1" size="0x100000" crc="5d0ca1e7" sha1="0c1bf33b3a436da2c19bd7171ab1a234a623987c" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0012">
<description>J-Pop Mix Volume 7 (Japan) (EC0012-JPM)</description>
<year>2000</year>
@ -368,10 +356,28 @@
</part>
</software>
<!-- EC0016-ENK ENK Volume 2 -->
<!-- EC0017-G73 1973-75 Volume 1 -->
<software name="ec0016">
<description>ENK Volume 2 (Japan) (EC0016-ENK)</description>
<year>2000</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0016-enk.u1" size="0x100000" crc="1bac5cc7" sha1="d80e266d079ea2e8a5acb8c1ed97a94c5d31e6ec" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0017">
<description>1973-75 Volume 1 (Japan) (EC0017-G73)</description>
<year>2000</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0017-g73.u1" size="0x100000" crc="7f4efd49" sha1="32403cf65f4ae372da64cef25e03ddd66cdffa25" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0018">
<description>1982-84 Volume 1 (Japan) (EC0018-G82)</description>
<year>2000</year>
@ -383,10 +389,28 @@
</part>
</software>
<!-- EC0019-BSC Graduation Encouragement Volume 1 -->
<!-- EC0020-KID Kid's Mix Volume 2 -->
<software name="ec0019">
<description>Graduation Encouragement Volume 1 (Japan) (EC0019-BSC)</description>
<year>2000</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0019-bsc.u1" size="0x100000" crc="c7de4c19" sha1="2cfc8c8b684f7b5ddac384840665fae97b8d9829" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0020">
<description>Kid's Mix Volume 2 (Japan) (EC0020-KID)</description>
<year>2000</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0020-kid.u1" size="0x100000" crc="ed3e5c2c" sha1="c9ca415b50a7b87d8bf54beb3c9f794bd928e489" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0021">
<description>J-Pop Mix Volume 9 (Japan) (EC0021-JPM)</description>
<year>2000</year>
@ -464,7 +488,16 @@
</part>
</software>
<!-- EC0028-JPM J-Pop Mix Volume 16 -->
<software name="ec0028">
<description>J-Pop Mix Volume 16 (Japan) (EC0028-JPM)</description>
<year>2000</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0028-jpm.u1" size="0x100000" crc="f671ce7e" sha1="d901d6196d7864f5e512fbb6d539ec0580417385" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0029">
<description>Artist Selection Volume 3 (Dreams Come True) (Japan) (EC0029-ATS)</description>
@ -565,11 +598,38 @@
</part>
</software>
<!-- EC0038-BSC Graduation Encouragement Volume 2 -->
<!-- EC0039-ATS Artist Selection Volume 7 - B's -->
<!-- EC0040-JPM J-Pop Mix Volume 18 -->
<software name="ec0038">
<description>Graduation Encouragement Volume 2 (Japan) (EC0038-BSC)</description>
<year>2000</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0038-bsc.u1" size="0x100000" crc="34817291" sha1="a6069419bf3fd143fb247ba625c41b42000cda27" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0039">
<description>Artist Selection Volume 7 (B'z) (Japan) (EC0039-ATS)</description>
<year>2000</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0039-ats.u1" size="0x100000" crc="aa50b08a" sha1="91a97c0591e137e50b20f052b402ce52b70a16eb" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0040">
<description>J-Pop Mix Volume 18 (Japan) (EC0040-JPM)</description>
<year>2000</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0040-jpm.u1" size="0x100000" crc="e2cb7232" sha1="c9c1f7d316f0c239c659632296695081e50b85e5" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0041">
<description>Artist Selection Volume 8 (unknown) (Japan) (EC0041-ATS)</description>
@ -593,7 +653,16 @@
</part>
</software>
<!-- EC0043-ENK ENK Volume 5 -->
<software name="ec0043">
<description>ENK Volume 5 (Japan) (EC0043-ENK)</description>
<year>2001</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0043-enk.u1" size="0x100000" crc="c730037d" sha1="c283b99fe4ae51adc3e13a6fae4eaffb891ec20d" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0044">
<description>Artist Selection Volume 9 (Every Little Thing) (Japan) (EC0044-ATS)</description>
@ -664,8 +733,18 @@
</part>
</software>
<!-- EC0050-ATS Artist Selection Volume 12 - The Beatles -->
<software name="ec0050">
<description>Artist Selection Volume 12 (The Beatles) (Japan) (EC0050-ATS)</description>
<year>2001</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x200000">
<rom name="ec0050-ats.u1" size="0x200000" crc="56ce5d3a" sha1="c499bae5faa00e0987b89185d0e2ec142054773a" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0051">
<description>J-Pop Mix Volume 21 (Japan) (EC0051-JPM)</description>
<year>2001</year>
@ -688,7 +767,16 @@
</part>
</software>
<!-- EC0053-JPM J-Pop Mix Volume 22 -->
<software name="ec0053">
<description>J-Pop Mix Volume 22 (Japan) (EC0053-JPM)</description>
<year>2001</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0053-jpm.u1" size="0x100000" crc="6f799665" sha1="bf029d5c10efb8b76bff7dda0806bf943d0fff01" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0054">
<description>J-Pop Mix Volume 23 (Japan) (EC0054-JPM)</description>
@ -701,16 +789,52 @@
</part>
</software>
<!-- EC0055-ATS Artist Selection Volume 13 - Tube -->
<!-- EC0056-JPM J-Pop Mix Volume 24 -->
<!-- EC0057-ATS Artist Selection Volume 14 - SMAP -->
<software name="ec0055">
<description>Artist Selection Volume 13 (Tube) (Japan) (EC0055-ATS)</description>
<year>2001</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0055-ats.u1" size="0x100000" crc="af6b0f2a" sha1="719bd1bc88517e4e067e99416547afe9ca1ff93f" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0056">
<description>J-Pop Mix Volume 24 (Japan) (EC0056-JPM)</description>
<year>2001</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0056-jpm.u1" size="0x100000" crc="8c0b175b" sha1="697d7eb50a84001ddb66f50a50c682c63c21ed60" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0057">
<description>Artist Selection Volume 14 (SMAP) (Japan) (EC0057-ATS)</description>
<year>2001</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0057-ats.u1" size="0x100000" crc="15345511" sha1="7e5197a8f7a0ec0160d7f5214428b153f35619f6" offset="0" />
</dataarea>
</part>
</software>
<!-- EC0058-ENK ENK Volume 8 -->
<!-- EC0059-JPM J-Pop Mix Volume 25 -->
<software name="ec0059">
<description>J-Pop Mix Volume 25 (Japan) (EC0059-JPM)</description>
<year>2001</year>
<publisher>Takara</publisher>
<part name="cart" interface="ekara_cart">
<dataarea name="rom" size="0x100000">
<rom name="ec0059-jpm.u1" size="0x100000" crc="e72ab46f" sha1="ef1fc7fba2beae7549edce697b12dd3b48dd1103" offset="0" />
</dataarea>
</part>
</software>
<software name="ec0060">
<description>J-Pop Mix Volume 26 (Japan) (EC0060-JPM)</description>
<year>2001</year>
@ -721,7 +845,7 @@
</dataarea>
</part>
</software>
<software name="ec0061">
<description>J-Pop Mix Volume 27 (Japan) (EC0061-JPM)</description>
<year>2001</year>
@ -743,7 +867,7 @@
</dataarea>
</part>
</software>
<software name="ec0063">
<description>J-Pop Mix Volume 29 (Japan) (EC0063-JPM)</description>
<year>2001</year>
@ -767,7 +891,7 @@
</dataarea>
</part>
</software>
<software name="ec0066">
<description>J-Pop Mix Volume 31 (Japan) (EC0066-JPM)</description>
<year>2001</year>
@ -778,7 +902,7 @@
</dataarea>
</part>
</software>
<software name="ec0067">
<description>J-Pop Mix Volume 32 (Japan) (EC0067-JPM)</description>
<year>2001</year>
@ -811,7 +935,7 @@
</dataarea>
</part>
</software>
<software name="ec0070">
<description>J-Pop Mix Volume 34 (Japan) (EC0070-JPM)</description>
<year>2001</year>
@ -866,7 +990,7 @@
</dataarea>
</part>
</software>
<software name="ec0075">
<description>J-Pop Mix Volume 38 (Japan) (EC0075-JPM)</description>
<year>2001</year>
@ -876,7 +1000,7 @@
<rom name="ec0075-jpm.u1" size="0x100000" crc="cbb8e615" sha1="5fbbfbf4278ce7e289d859e389808b155bb16e4a" offset="0" />
</dataarea>
</part>
</software>
</software>
<software name="ec0076">
<description>J-Pop Mix Volume 39 (Japan) (EC0076-JPM)</description>
@ -888,7 +1012,7 @@
</dataarea>
</part>
</software>
<software name="ec0077">
<description>Artist Selection Volume 15 - unknown artist (Japan) (EC0077-ATS)</description>
<year>2001</year>
@ -898,8 +1022,8 @@
<rom name="ec0077-ats.u1" size="0x100000" crc="368b0daf" sha1="8274a06ca2e3dbcd5176ac1b916be4a5a0df12ef" offset="0" />
</dataarea>
</part>
</software>
</software>
<software name="ec0078">
<description>J-Pop Mix Volume 40 (Japan) (EC0078-JPM)</description>
<year>2001</year>

View File

@ -8,7 +8,7 @@
Japanese cart listing (by A code) (A-x on cartridge)
These are for use with e-pitch / e-kara (e-pitch internal ROM is the same as e-kara Japan, just button layout is changed)
https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q10109392860
A-1 Pichi Pichi Pitch vol.1 / ぴちぴちピッチvol.1
@ -33,7 +33,7 @@
</dataarea>
</part>
</software>
<software name="a4" supported="no">
<description>A-4 Pichi Pichi Pitch Pure Chapter 1 (Japan)</description>
<year>2004</year>
@ -44,7 +44,7 @@
<rom name="ekaraa4.bin" size="0x200000" crc="03dcc45a" sha1="ae884128c09b4fc7521f0010bbe9624419a3d0b8" offset="0" />
</dataarea>
</part>
</software>
</software>
<software name="a5">
<description>A-5 Pichi Pichi Pitch Karaoke Party (Japan)</description>
@ -67,6 +67,6 @@
<rom name="ekaraa7.bin" size="0x200000" crc="5b59900e" sha1="fdb8148211f00d0119b9ad082bf8fd348d509800" offset="0" />
</dataarea>
</part>
</software>
</software>
</softwarelist>

View File

@ -9,7 +9,7 @@
A secondary 4-digit naming scheme BHxxxx (no extension) appears on a sticker on the cartridge PCB only
For e-kara only
These are probably all just titled 'Best Hit Collection'
BH-01 (unknown)
@ -33,7 +33,7 @@
</dataarea>
</part>
</software>
<software name="bh03">
<description>BH-03 Best Hit Collection (Japan)</description>
<year>2005</year>
@ -43,7 +43,7 @@
<rom name="bh03.bin" size="0x100000" crc="d17cafd4" sha1="b74fd0f77a726547d4001d4177a5ccd2ea35536a" offset="0" />
</dataarea>
</part>
</software>
</software>
<software name="bh05">
<description>BH-05 Best Hit Collection (Japan)</description>
@ -65,6 +65,6 @@
<rom name="bh06.bin" size="0x100000" crc="6e264ecb" sha1="6c3e4253565242c0c6dcdab7698f5b1e28544b2e" offset="0" />
</dataarea>
</part>
</software>
</software>
</softwarelist>

View File

@ -18,7 +18,7 @@
*D-1 DC0001-BHT BHT (Best Artists?) Volume 8 (most other BHT carts are in G series, or P series)
*D-2 DC0002-BAT BAT Volume 6
*D-3 DC0003-BHT BHT (Best Artists?) Volume 9
*D-3 DC0003-BHT BHT (Best Artists?) Volume 9
D-4 DC0004-TPJ TV Pop Volume 8
*D-5 DC0005-TPJ TV Pop Volume 9
D-6 DC0006-BHT BHT (Best Artists?) Volume 10

View File

@ -110,7 +110,7 @@
</dataarea>
</part>
</software>
<software name="gc0008a" cloneof="gc0008">
<description>MIN Volume 1 (Japan) (GC0008-MIN) (set 2)</description>
<year>2001</year>
@ -120,7 +120,7 @@
<rom name="gc0008-min(alt).u1" size="0x200000" crc="b34d1721" sha1="3621f02423f55c43d1b16855c01189719ddbcb6e" offset="0" />
</dataarea>
</part>
</software>
</software>
<!-- Notes from Sean
@ -133,7 +133,7 @@
e-Kara units, Popira, Taiko de Popira and DDR all of them have pin 4 of the cart connector going to VCC and pin 32 going to ground. So none of them can communicate with the SEEPROM in G10
Popira 2 however can make use of these pins -->
<software name="gc0010">
<description>BAT Volume 4 (Japan) (GC0010-BAT)</description>
<year>2002</year>
@ -183,7 +183,7 @@
</dataarea>
</part>
</software>
<software name="gc0017">
<description>TV Pop Volume 6 (Japan) (GC0017-TPJ)</description>
<year>2002</year>
@ -194,6 +194,6 @@
<rom name="gc0017-tpj.u1" size="0x100000" crc="2c7d00a2" sha1="5976b9f3a95afb3b23f1d1d996de0b7aa41ee25c" offset="0" />
</dataarea>
</part>
</software>
</software>
</softwarelist>

View File

@ -54,7 +54,7 @@
</dataarea>
</part>
</software>
<software name="mc0006">
<description>KSM Mini Volume 2 (Japan) (MC0006-KSM)</description>
<year>2003</year>
@ -64,7 +64,7 @@
<rom name="mc0006-ksm.u1" size="0x080000" crc="6d3c8c02" sha1="568a0e156a2189156149578277b6d615fe4e157f" offset="0" />
</dataarea>
</part>
</software>
</software>
<software name="mc0012">
<description>Artist Mini Volume 7 (untranslated artist) (Japan) (MC0012-ATM)</description>
@ -87,7 +87,7 @@
</dataarea>
</part>
</software>
<software name="mc0014">
<description>Artist Mini Volume 8 (BoA) (Japan) (MC0014-ATM)</description>
<year>2003</year>
@ -97,6 +97,6 @@
<rom name="mc0014-atm.u1" size="0x080000" crc="170e02af" sha1="02b38146db7d74727f7dccf6dcc3d004979210a1" offset="0" />
</dataarea>
</part>
</software>
</software>
</softwarelist>

View File

@ -50,7 +50,7 @@
</dataarea>
</part>
</software>
<software name="pc0003">
<description>ENB Volume 1 (Japan) (PC0003-ENB)</description>
<year>2001</year>

View File

@ -44,7 +44,7 @@
</dataarea>
</part>
</software>
<software name="sp03">
<description>SP-03 Super Cartridge (Japan)</description>
<year>2004</year>
@ -55,8 +55,8 @@
<rom name="sp03.u1" size="0x200000" crc="cd7dbbaf" sha1="cc62c10f8f83015e4c472bc41e9a1fd7ac497655" offset="0" />
</dataarea>
</part>
</software>
</software>
<software name="sp04">
<description>SP-04 Super Cartridge (Japan)</description>
<year>2004</year>
@ -67,6 +67,6 @@
<rom name="sp04.u1" size="0x200000" crc="77818ddb" sha1="708980b1ae30864bd3395ef663de1c57ecbc113c" offset="0" />
</dataarea>
</part>
</software>
</software>
</softwarelist>

View File

@ -27,9 +27,9 @@
</dataarea>
</part>
</software>
<!-- this one has some songs programmed into it (TODO, list them here for reference) -->
<software name="ekaraweb12a">
<description>e-kara Web cartridge 12M (used, with 7 Songs) (Japan)</description>
<year>2003</year>
@ -39,6 +39,6 @@
<rom name="ekaraweb3.bin" size="0x100000" crc="a6a095b9" sha1="709d7edb5799b97127502408bec698663b902462" offset="0" />
</dataarea>
</part>
</software>
</software>
</softwarelist>

View File

@ -546,7 +546,7 @@ C1066 - ??
</dataarea>
</part>
</software>
<software name="famous7">
<description>Famous 7</description>
<year>1993</year>

24
hash/ibm5150.xml Executable file → Normal file
View File

@ -3592,7 +3592,7 @@ Known PC Booter Games Not Dumped, Or Dumped and Lost when Demonlord's Site went
</dataarea>
</part>
</software>
<software name="strecalc">
<description>StretchCalc</description>
<year>1983</year>
@ -7132,7 +7132,7 @@ has been replaced with an all-zero block. -->
</dataarea>
</part>
</software>
<software name="brdtale">
<description>The Bard's Tale - Tales of the Unknown (5.25")</description>
<year>1987</year>
@ -7409,7 +7409,7 @@ has been replaced with an all-zero block. -->
</dataarea>
</part>
</software>
<software name="budokan">
<description>Budokan - The Martial Spirit</description>
<year>1989</year>
@ -7420,7 +7420,7 @@ has been replaced with an all-zero block. -->
</dataarea>
</part>
</software>
<software name="budokana" cloneof="budokan">
<description>Budokan - The Martial Spirit (Big Games release)</description>
<year>1989</year>
@ -8171,7 +8171,7 @@ has been replaced with an all-zero block. -->
</dataarea>
</part>
</software>
<software name="gunboata" cloneof="gunboat">
<description>Gunboat: River Combat Simulation (Hit Squad release)</description>
<year>1990</year>
@ -8357,7 +8357,7 @@ has been replaced with an all-zero block. -->
</dataarea>
</part>
</software>
<software name="shogun">
<description>James Clavell's Shogun (set 1)</description>
<year>1987</year>
@ -9271,7 +9271,7 @@ has been replaced with an all-zero block. -->
</dataarea>
</part>
</software>
<software name="monopoly">
<description>Monopoly v2.00 (Shareware)</description>
<year>1989</year>
@ -9298,7 +9298,7 @@ has been replaced with an all-zero block. -->
</dataarea>
</part>
</software>
<software name="montypyt35" cloneof="montypyt">
<description>Monty Python's Flying Circus (3.5")</description>
<year>1990</year>
@ -10279,7 +10279,7 @@ has been replaced with an all-zero block. -->
</dataarea>
</part>
</software>
<software name="bartvssma" cloneof="bartvssm">
<description>The Simpsons - Bart vs. the Space Mutants (Hit-Squad release)</description>
<year>1991</year>
@ -11038,7 +11038,7 @@ has been replaced with an all-zero block. -->
</dataarea>
</part>
</software>
<software name="xenon">
<description>Xenon (5.25")</description>
<year>1988</year>
@ -11056,7 +11056,7 @@ has been replaced with an all-zero block. -->
</dataarea>
</part>
</software>
<software name="xenon35" cloneof="xenon">
<description>Xenon (16 Blitz Plus release) (3.5")</description>
<year>1990</year>
@ -11123,7 +11123,7 @@ has been replaced with an all-zero block. -->
</dataarea>
</part>
</software>
<software name="zoola" cloneof="zool">
<description>Zool (Big Games release)</description>
<year>1993</year>

View File

@ -10747,7 +10747,7 @@
</dataarea>
</part>
</software>
<software name="micromc2">
<description>Micro Machines 2: Turbo Tournament</description>
<year>1995</year>
@ -11301,7 +11301,7 @@
</dataarea>
</part>
</software>
<software name="monkeyit" cloneof="monkeyk">
<description>The Secret of Monkey Island (Italian)</description>
<year>1991</year>

View File

@ -29,7 +29,7 @@
</dataarea>
</part>
</software>
<software name="jp02">
<description>JP-02 (Japan)</description>
<year>2004</year>
@ -41,5 +41,5 @@
</dataarea>
</part>
</software>
</softwarelist>

View File

@ -2,6 +2,19 @@
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
<softwarelist name="leapfrog_leappad_cart" description="LeapFrog LeapPad cartridges">
<software name="hititmstro" supported="no">
<description>Music - Hit it, Maestro! (UK)</description>
<year>2001</year>
<publisher>LeapFrog</publisher>
<info name="serial" value="500-00090 RVB"/>
<part name="cart" interface="leapfrog_leappad_cart">
<feature name="u1" value="MX23L3211B"/> <!-- ROM on epoxy blob, but type silkscreened on the PCB -->
<dataarea name="rom" size="0x400000">
<rom name="500-00090 RVB - Music - Hit it, Maestro!.bin" size="0x400000" crc="a2770684" sha1="4f389c6dbcd3ff2a647a6d18df86c472444074e4" offset="0" />
</dataarea>
</part>
</software>
<software name="tadshop" supported="no">
<description>Pre Math - Tad goes shopping (UK)</description>
<year>2001</year>
@ -81,6 +94,34 @@
</part>
</software>
<!-- Same ROM as 500-00263 - Phonics - Leap's Friends From A to Z -->
<software name="prlpfrnds" supported="no">
<description>Pre Reading - Leap's Friends From A to Z (UK)</description>
<year>2002</year>
<publisher>LeapFrog</publisher>
<info name="serial" value="500-00804"/>
<part name="cart" interface="leapfrog_leappad_cart">
<feature name="u1" value="LeapFrog 2000 8M DIE ROM"/> <!-- ROM on epoxy blob, but type silkscreened on the PCB -->
<dataarea name="rom" size="0x100000">
<rom name="500-00804 - Pre Reading - Leap's Friends From A to Z.bin" size="0x100000" crc="cea3f327" sha1="c49779322dd046ef67bef93d144d2d07251eeadf" offset="0" />
</dataarea>
</part>
</software>
<software name="findnemo" supported="no">
<description>Reading - Disney/Pixar Finding Nemo (UK)</description>
<year>2003</year>
<publisher>LeapFrog</publisher>
<info name="serial" value="500-01148"/>
<part name="cart" interface="leapfrog_leappad_cart">
<feature name="pcb" value="335-13845-40"/>
<feature name="u1" value="MR27V1602E"/> <!-- ROM on epoxy blob, but type silkscreened on the PCB -->
<dataarea name="rom" size="0x200000">
<rom name="500-01148 - Reading - Finding Nemo.bin" size="0x200000" crc="b299286b" sha1="3e8c63486f5646f65b5f86efeee4a6ee9d979f32" offset="0" />
</dataarea>
</part>
</software>
<software name="leapsbond" supported="no">
<description>Leap's Pond - Activity &amp; Game Book (UK)</description>
<year>2003</year>
@ -96,6 +137,19 @@
</part>
</software>
<software name="hoppop" supported="no">
<description>Hop on Pop - Based on the Book by Dr. Seuss (UK)</description>
<year>2004</year>
<publisher>LeapFrog</publisher>
<info name="serial" value="500-10438"/>
<part name="cart" interface="leapfrog_leappad_cart">
<feature name="u1" value="MR27V3202J-03-01"/> <!-- ROM on epoxy blob, but type silkscreened on the PCB -->
<dataarea name="rom" size="0x400000">
<rom name="500-10438 - Hop on Pop.bin" size="0x400000" crc="49308dc4" sha1="50864fdd604f6b88a0545df45663cae60e30c0e4" offset="0" />
</dataarea>
</part>
</software>
<software name="dinosaurg" supported="no">
<description>Leap und die Welt der Dinosaurier (Germany)</description>
<year>2004</year>
@ -111,6 +165,21 @@
</part>
</software>
<software name="abcabent" supported="no">
<description>ABC-Abenteuer (Germany)</description>
<year>2003</year>
<publisher>LeapFrog</publisher>
<info name="serial" value="500-10717 UBL"/>
<part name="cart" interface="leapfrog_leappad_cart">
<feature name="pcb" value="57000-003-2911"/>
<feature name="pcb_rev" value="REV.01"/>
<feature name="u1" value="Sunplus32m"/> <!-- ROM on epoxy blob, but type silkscreened on the PCB -->
<dataarea name="rom" size="0x400000">
<rom name="500-10717 UBL - ABC-Abenteuer (GER).bin" size="0x400000" crc="6c5c0180" sha1="3cfacb759d3cac16e52aad4629f0759bb8817f1a" offset="0" />
</dataarea>
</part>
</software>
<software name="tadsgngt" supported="no">
<description>Tad's Good Night (UK)</description>
<year>1999</year>
@ -141,6 +210,21 @@
</part>
</software>
<software name="wwyoubbe" supported="no">
<description>What will you be? (UK)</description>
<year>2004</year>
<publisher>LeapFrog</publisher>
<info name="serial" value="500-10760"/>
<part name="cart" interface="leapfrog_leappad_cart">
<feature name="pcb" value="30388-003-0032"/>
<feature name="pcb_rev" value="REV:00"/>
<feature name="u1" value="MX12L1611B"/> <!-- ROM on epoxy blob, but type silkscreened on the PCB -->
<dataarea name="rom" size="0x200000">
<rom name="500-10760 - What will you be.bin" size="0x200000" crc="b6b36f74" sha1="5d017a501b7feabd8c4d90b8672af19c3d321f41" offset="0" />
</dataarea>
</part>
</software>
<software name="angelg" supported="no">
<description>Das Angel-Abenteuer (Germany)</description>
<year>2002</year>

0
hash/msx1_cass.xml Executable file → Normal file
View File

File diff suppressed because it is too large Load Diff

View File

@ -1098,6 +1098,43 @@
</part>
</software>
<software name="cyberwar">
<!--
Origin: Neo Kobe Collection
<rom name="cyber war (disc 1).ccd" size="771" crc="b00b4fc3" sha1="c0ca2f35f7f2c623a2cffefd00199fad85040ba8"/>
<rom name="cyber war (disc 1).cue" size="79" crc="4aa9158f" sha1="22e5bcad2ba79f857a7e025ca8d5dc75bbfa8894"/>
<rom name="cyber war (disc 1).img" size="614424720" crc="5513bd0a" sha1="21d2a3f27fa043cc8a486e47a236181eb15cbabb"/>
<rom name="cyber war (disc 1).sub" size="25078560" crc="81fb6f2b" sha1="93f38cd1fe5730af8918cc32e51cdc0c40645a0a"/>
<rom name="cyber war (disc 2).ccd" size="772" crc="209cd755" sha1="f78e9fe3536b4a7c5841636ea1ca0728b4a39222"/>
<rom name="cyber war (disc 2).cue" size="79" crc="63566323" sha1="1c22a830eb3307507db202142a5227816cd4750f"/>
<rom name="cyber war (disc 2).img" size="668755920" crc="0c1db581" sha1="88a733ef4014db7e827f13137fda1ac4a5bd6eb6"/>
<rom name="cyber war (disc 2).sub" size="27296160" crc="65914b39" sha1="eed5a88ae1fb798da6f9486565cad66be0f39f90"/>
<rom name="cyber war (disc 3).ccd" size="771" crc="ec671429" sha1="a84b25f3956ca6219fd54bda5f3632b758c7529f"/>
<rom name="cyber war (disc 3).cue" size="79" crc="7bfcb147" sha1="2913f71b0ddd72be5df2e6ce588662fe33f08c7b"/>
<rom name="cyber war (disc 3).img" size="698953248" crc="4fdbd398" sha1="463d2708b3e4a2581ea21ea90c2921f90d3a60bc"/>
<rom name="cyber war (disc 3).sub" size="28528704" crc="1ae19b0c" sha1="3dd896aeab94d76dd58c564333bac22d70ec71ee"/>
-->
<description>Cyberwar</description>
<year>1995</year>
<publisher>塚本吉彦事務所 (Tsukamoto Yoshihiko Jimusho)</publisher>
<info name="alt_title" value="サイバーウォー" />
<part name="cdrom1" interface="cdrom">
<diskarea name="cdrom">
<disk name="cyber war (disc 1)" sha1="4b62409f228d06e30c4099d984863be76039a72b"/>
</diskarea>
</part>
<part name="cdrom2" interface="cdrom">
<diskarea name="cdrom">
<disk name="cyber war (disc 2)" sha1="4bc9c31c839caf73dc27dc05133656a4db6eac74"/>
</diskarea>
</part>
<part name="cdrom3" interface="cdrom">
<diskarea name="cdrom">
<disk name="cyber war (disc 3)" sha1="0547eda244bcb5e11b4d9381cd5f372fb3fb8485"/>
</diskarea>
</part>
</software>
<!-- Hybrid disc, also included in fmtowns_cd.xml -->
<software name="dangel">
<!--

View File

@ -3,8 +3,8 @@
<softwarelist name="sega_beena_cart" description="Sega Beena Cartridges">
<!-- you must byteswap ROMs to see text, due to endian? -->
<software name="fpc" supported="no">
<software name="fpc" supported="no">
<description>Fresh Pretty Cure</description> <!-- is this the correct title? -->
<year>2009</year>
<publisher>Sega</publisher>

0
hash/timex_dock.xml Executable file → Normal file
View File

View File

@ -227454,7 +227454,7 @@
</dataarea>
</part>
</software>
<!-- Project.org 2612 VGM Archives located at http://project2612.org/list.php
Also https://archive.org/details/Project2612CompleteArchive20180623681Sets.7z -->

View File

@ -259,17 +259,17 @@ function cheatfind.startplugin()
local devtable = {}
local devsel = 1
local devcur = 1
--local formtable = { " I1", " i1", "<I2", ">I2", "<i2", ">i2", "<I4", ">I4", "<i4", ">i4", "<I8", ">I8", "<i8", ">i8", }-- " <f", " >f", " <d", " >d" }
--local formname = { "u8", "s8", "little u16", "big u16", "little s16", "big s16",
-- "little u32", "big u32", "little s32", "big s32", "little u64", "big u64", "little s64", "big s64", }
-- -- "little float", "big float", "little double", "big double" }
-- "little u32", "big u32", "little s32", "big s32", "little u64", "big u64", "little s64", "big s64", }
-- -- "little float", "big float", "little double", "big double" }
-- Reordered into likelyhood of use order: unsigned byte by big endian unsigned by little endian unsigned then unsigned in same order
local formtable = { " I1", ">I2", ">I4", ">I8", "<I2", "<I4", "<I8", " i1", ">i2", ">i4", ">i8", "<i2", "<i4", "<i8", }-- " <f", " >f", " <d", " >d" }
local formname = { "u8", "big u16", "big u32", "big u64", "little u16", "little u32",
"little u64", "s8", "big s16", "big s32", "big s64", "little s16", "little s32", "little s64", }
local formname = { "u8", "big u16", "big u32", "big u64", "little u16", "little u32",
"little u64", "s8", "big s16", "big s32", "big s64", "little s16", "little s32", "little s64", }
local width = 1
local bcd = 0
local align = 0
@ -278,16 +278,16 @@ function cheatfind.startplugin()
local value = 0
local leftop = 1
local rightop = 1
local leftop_text = "Slot 1"
local rightop_text = "Slot 1"
local value_text = ""
local expression_text = "Slot 1 < Slot 1"
local leftop_text = "Slot 1"
local rightop_text = "Slot 1"
local value_text = ""
local expression_text = "Slot 1 < Slot 1"
local pausetable = { "Automatic", "Manual" }
local pausesel = 1
local pokevaltable = { "Slot 1 Value", "Last Slot Value", "0x00", "0x01", "0x02", "0x03", "0x04", "0x05", "0x06", "0x07", "0x08", "0x09", "0x63 (Decimal 99)", "0x99 (BCD 99)",
local pokevaltable = { "Slot 1 Value", "Last Slot Value", "0x00", "0x01", "0x02", "0x03", "0x04", "0x05", "0x06", "0x07", "0x08", "0x09", "0x63 (Decimal 99)", "0x99 (BCD 99)",
"0xFF (Decimal 255)" , "0x3E7 (Decimal 999)", "0x999 (BCD 999)", "0x270F (Decimal 9999)", "0x9999 (BCD 9999)", "0xFFFF (Decimal 65535)" }
local pokevalsel = 1
local matches = {}
local matchsel = 0
local matchpg = 0
@ -350,12 +350,12 @@ function cheatfind.startplugin()
end
emu.register_start(start)
local menu_is_showing = false
local tabbed_out = false
local tabbed_out = false
local function menu_populate()
if pausesel == 1 then
if pausesel == 1 then
emu.pause()
menu_is_showing = true
end
@ -504,24 +504,24 @@ function cheatfind.startplugin()
local m = { _("Pause Mode"), pausetable[pausesel], 0 }
menu_lim(pausesel, 1, pausetable, m)
local function f(event)
if (event == "left" or event == "right") then
if (event == "left" or event == "right") then
if pausesel == 1 then
pausesel = 2
menu_is_showing = false
manager:machine():popmessage(_("Manually pause & unpause the game when needed with the pause hotkey"))
else
else
pausesel = 1
emu.pause()
end
end
end
return true
end
return m, f
end
return m, f
end
menu[#menu + 1] = function()
local function f(event)
local ret = false
@ -542,7 +542,7 @@ function cheatfind.startplugin()
leftop_text = "Slot 1"
rightop_text = "Slot 1"
value_text = ""
expression_text = "Slot 1 < Slot 1"
expression_text = "Slot 1 < Slot 1"
matchsel = 0
return true
end
@ -550,9 +550,9 @@ function cheatfind.startplugin()
local opsel = 1
return { _("Start new search"), "", 0 }, f
end
if #menu_blocks ~= 0 then
menu[#menu + 1] = function() return { "---", "", "off" }, nil end
menu[#menu + 1] = function()
@ -562,7 +562,7 @@ function cheatfind.startplugin()
menu_blocks[num][#menu_blocks[num] + 1] = cheat.save(devtable[devcur].space, region.offset, region.size)
end
manager:machine():popmessage(string.format(_("Memory State saved to Slot %d"), #menu_blocks[1]))
if (leftop == #menu_blocks[1] - 1 and rightop == #menu_blocks[1] - 2 ) then
leftop = #menu_blocks[1]
rightop = #menu_blocks[1]-1
@ -571,7 +571,7 @@ function cheatfind.startplugin()
rightop = #menu_blocks[1]
elseif (leftop == #menu_blocks[1] - 1 ) then
leftop = #menu_blocks[1]
elseif (rightop == #menu_blocks[1] - 1) then
elseif (rightop == #menu_blocks[1] - 1) then
rightop = #menu_blocks[1]
end
leftop_text = string.format("Slot %d", leftop)
@ -618,27 +618,27 @@ function cheatfind.startplugin()
return true
end
end
if optable[opsel] == "lt" then
if (value == 0 ) then
expression_text = string.format("%s < %s", leftop_text, rightop_text)
else
expression_text = string.format("%s == %s - %d", leftop_text, rightop_text, value)
end
expression_text = string.format("%s < %s", leftop_text, rightop_text)
else
expression_text = string.format("%s == %s - %d", leftop_text, rightop_text, value)
end
elseif optable[opsel] == "gt" then
if (value == 0 ) then
expression_text = string.format("%s > %s", leftop_text, rightop_text)
else
expression_text = string.format("%s == %s + %d", leftop_text, rightop_text, value)
end
expression_text = string.format("%s > %s", leftop_text, rightop_text)
else
expression_text = string.format("%s == %s + %d", leftop_text, rightop_text, value)
end
elseif optable[opsel] == "eq" then
expression_text = string.format("%s == %s", leftop_text, rightop_text)
elseif optable[opsel] == "ne" then
if (value == 0 ) then
expression_text = string.format("%s != %s", leftop_text, rightop_text)
else
expression_text = string.format("%s == %s +/- %d", leftop_text, rightop_text, value)
end
expression_text = string.format("%s != %s", leftop_text, rightop_text)
else
expression_text = string.format("%s == %s +/- %d", leftop_text, rightop_text, value)
end
elseif optable[opsel] == "beq" then
expression_text = string.format("%s BITWISE== %s", leftop_text, rightop_text)
elseif optable[opsel] == "bne" then
@ -651,10 +651,10 @@ function cheatfind.startplugin()
expression_text = string.format("%s == %d", leftop_text, value)
elseif optable[opsel] == "nev" then
string.format("%s != %d", leftop_text, value)
end
end
return { _("Perform Compare : ") .. expression_text, "", 0 }, f
end
menu[#menu + 1] = function() return { "---", "", "off" }, nil end
menu[#menu + 1] = function() return { "---", "", "off" }, nil end
menu[#menu + 1] = function()
local m = { _(leftop), "", 0 }
menu_lim(leftop, 1, #menu_blocks[1], m)
@ -712,7 +712,7 @@ function cheatfind.startplugin()
m = { _("Value"), value, "" }
else
m = { _("Difference"), value, "" }
end
end
local max = 100 -- max value?
menu_lim(value, 0, max, m)
if value == 0 and optable[opsel]:sub(3, 3) ~= "v" then
@ -726,7 +726,7 @@ function cheatfind.startplugin()
menu_lim(width, 1, #formtable, m)
return m, function(event) local r width, r = incdec(event, width, 1, #formtable) return r end
end
menu[#menu + 1] = function()
local m = { _("Test/Write Poke Value"), pokevaltable[pokevalsel], 0 }
menu_lim(pokevalsel, 1, #pokevaltable, m)
@ -741,19 +741,19 @@ function cheatfind.startplugin()
elseif pokevalsel == 3 then
manager:machine():popmessage(_("Use this if you want to poke 0x00"))
elseif pokevalsel == 4 then
manager:machine():popmessage(_("Use this if you want to poke 0x01"))
manager:machine():popmessage(_("Use this if you want to poke 0x01"))
elseif pokevalsel == 5 then
manager:machine():popmessage(_("Use this if you want to poke 0x02"))
elseif pokevalsel == 6 then
manager:machine():popmessage(_("Use this if you want to poke 0x03"))
manager:machine():popmessage(_("Use this if you want to poke 0x03"))
elseif pokevalsel == 7 then
manager:machine():popmessage(_("Use this if you want to poke 0x04"))
elseif pokevalsel == 8 then
manager:machine():popmessage(_("Use this if you want to poke 0x05"))
manager:machine():popmessage(_("Use this if you want to poke 0x05"))
elseif pokevalsel == 9 then
manager:machine():popmessage(_("Use this if you want to poke 0x06"))
elseif pokevalsel == 10 then
manager:machine():popmessage(_("Use this if you want to poke 0x07"))
manager:machine():popmessage(_("Use this if you want to poke 0x07"))
elseif pokevalsel == 11 then
manager:machine():popmessage(_("Use this if you want to poke 0x08"))
elseif pokevalsel == 12 then
@ -763,7 +763,7 @@ function cheatfind.startplugin()
elseif pokevalsel == 14 then
manager:machine():popmessage(_("Use this if you want to poke 0x99 (BCD 99)"))
elseif pokevalsel == 15 then
manager:machine():popmessage(_("Use this if you want to poke 0xFF (Decimal 255)"))
manager:machine():popmessage(_("Use this if you want to poke 0xFF (Decimal 255)"))
elseif pokevalsel == 16 then
manager:machine():popmessage(_("Use this if you want to poke 0x3E7 (Decimal 999)"))
elseif pokevalsel == 17 then
@ -773,15 +773,15 @@ function cheatfind.startplugin()
elseif pokevalsel == 19 then
manager:machine():popmessage(_("Use this if you want to poke 0x9999 (BCD 9999)"))
elseif pokevalsel == 20 then
manager:machine():popmessage(_("Use this if you want to poke 0xFFFF (Decimal 65535)"))
manager:machine():popmessage(_("Use this if you want to poke 0xFFFF (Decimal 65535)"))
end
end
return r
end
return m, f
end
menu[#menu + 1] = function()
if optable[opsel] == "bne" or optable[opsel] == "beq" then
return nil
@ -873,12 +873,12 @@ function cheatfind.startplugin()
local function match_exec(match)
local dev = devtable[devcur]
local wid = formtable[width]:sub(3, 3)
local widchar
local pokevalue
local form
if pokevalsel == 1 then
pokevalue = match.oldval
elseif pokevalsel == 2 then
@ -914,25 +914,25 @@ function cheatfind.startplugin()
elseif pokevalsel == 17 and wid == "1" then
pokevalue = 153
elseif pokevalsel == 18 and wid == "1" then
pokevalue = 99
pokevalue = 99
elseif pokevalsel == 19 and wid == "1" then
pokevalue = 153
pokevalue = 153
elseif pokevalsel == 20 and wid == "1" then
pokevalue = 255
pokevalue = 255
elseif pokevalsel == 16 then
pokevalue = 999
pokevalue = 999
elseif pokevalsel == 17 then
pokevalue = 2457
pokevalue = 2457
elseif pokevalsel == 18 then
pokevalue = 9999
pokevalue = 9999
elseif pokevalsel == 19 then
pokevalue = 39321
pokevalue = 39321
elseif pokevalsel == 20 then
pokevalue = 65535
pokevalue = 65535
end
local cheat = { desc = string.format(_("Test Cheat %08X:%02X"), match.addr, pokevalue), script = {} }
if wid == "2" then
wid = "u16"
form = "%08x %04x"
@ -958,7 +958,7 @@ function cheatfind.startplugin()
form = "%08x %02x"
widchar = "b"
end
if getmetatable(dev.space).__name:match("device_t") then
cheat.ram = { ram = dev.tag }
cheat.script.run = "ram:write(" .. match.addr .. "," .. pokevalue .. ")"
@ -1001,7 +1001,7 @@ function cheatfind.startplugin()
cheat_save.json = json.stringify({[1] = cheat}, {indent = true})
cheat_save.xml = string.format("<mamecheat version=\"1\">\n <cheat desc=\"%%s\">\n <script state=\"run\">\n <action>%s.pp%s@%X=%X</action>\n </script>\n </cheat>\n</mamecheat>", dev.tag:sub(2), widchar, match.addr, match.newval)
cheat_save.simple = string.format("%s,%s,%X,%s,%X,%%s\n", setname, dev.tag, match.addr, widchar, pokevalue)
cheat_save.dat = string.format(":%s:40000000:%X:%08X:FFFFFFFF:%%s\n", setname, match.addr, pokevalue)
cheat_save.dat = string.format(":%s:40000000:%X:%08X:FFFFFFFF:%%s\n", setname, match.addr, pokevalue)
manager:machine():popmessage(string.format(_("Default name is %s"), cheat_save.name))
return true
else
@ -1026,7 +1026,7 @@ function cheatfind.startplugin()
match.mode = 1
end
local modes = { _("Test"), _("Write"), _("Watch") }
local m = { string.format("%08x" .. bitwidth .. bitwidth, match.addr, match.oldval,
local m = { string.format("%08x" .. bitwidth .. bitwidth, match.addr, match.oldval,
match.newval), modes[match.mode], 0 }
menu_lim(match.mode, 1, #modes, m)
local function f(event)
@ -1081,12 +1081,12 @@ function cheatfind.startplugin()
local height = mame_manager:ui():get_line_height()
for num, watch in ipairs(watches) do
screen:draw_text("left", num * height, string.format(watch.format, watch.addr, watch.func()))
end
end
if tabbed_out and manager:ui():is_menu_active() then
emu.pause()
menu_is_showing = true
tabbed_out = false
end
end
end)
emu.register_periodic(function ()
if menu_is_showing and not manager:ui():is_menu_active() then
@ -1094,7 +1094,7 @@ function cheatfind.startplugin()
menu_is_showing = false
tabbed_out = true
end
end)
end)
end
return exports

View File

@ -80,7 +80,7 @@ DEFINE_DEVICE_TYPE(ACORN_BUS, acorn_bus_device, "acorn_bus", "Acorn Bus")
acorn_bus_device::acorn_bus_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, ACORN_BUS, tag, owner, clock)
, m_maincpu(*this, finder_base::DUMMY_TAG)
, m_space(*this, finder_base::DUMMY_TAG, -1)
, m_out_irq_cb(*this)
, m_out_nmi_cb(*this)
{

View File

@ -64,11 +64,11 @@ public:
acorn_bus_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// inline configuration
template <typename T> void set_cputag(T &&tag) { m_maincpu.set_tag(std::forward<T>(tag)); }
template <typename T> void set_space(T &&tag, int spacenum) { m_space.set_tag(std::forward<T>(tag), spacenum); }
auto out_irq_callback() { return m_out_irq_cb.bind(); }
auto out_nmi_callback() { return m_out_nmi_cb.bind(); }
address_space &memspace() const { return m_maincpu->space(AS_PROGRAM); }
address_space &memspace() const { return *m_space; }
DECLARE_WRITE_LINE_MEMBER(irq_w);
DECLARE_WRITE_LINE_MEMBER(nmi_w);
@ -81,7 +81,7 @@ protected:
virtual void device_reset() override;
// internal state
required_device<cpu_device> m_maincpu;
required_address_space m_space;
devcb_write_line m_out_irq_cb;
devcb_write_line m_out_nmi_cb;

View File

@ -231,8 +231,8 @@ READ16_MEMBER( buddha_device::ide_0_interrupt_r )
data = m_ide_0_interrupt << 15;
// if (VERBOSE)
// logerror("ide_0_interrupt_r %04x [mask = %04x]\n", data, mem_mask);
// if (VERBOSE)
// logerror("ide_0_interrupt_r %04x [mask = %04x]\n", data, mem_mask);
return data;
}
@ -243,8 +243,8 @@ READ16_MEMBER( buddha_device::ide_1_interrupt_r )
data = m_ide_1_interrupt << 15;
// if (VERBOSE)
// logerror("ide_1_interrupt_r %04x [mask = %04x]\n", data, mem_mask);
// if (VERBOSE)
// logerror("ide_1_interrupt_r %04x [mask = %04x]\n", data, mem_mask);
return data;
}

View File

@ -92,18 +92,18 @@ void bbc_1mhzbus_slot_device::device_reset()
// read
//-------------------------------------------------
READ8_MEMBER(bbc_1mhzbus_slot_device::fred_r)
uint8_t bbc_1mhzbus_slot_device::fred_r(offs_t offset)
{
if (m_card)
return m_card->fred_r(space, offset);
return m_card->fred_r(offset);
else
return 0xff;
}
READ8_MEMBER(bbc_1mhzbus_slot_device::jim_r)
uint8_t bbc_1mhzbus_slot_device::jim_r(offs_t offset)
{
if (m_card)
return m_card->jim_r(space, offset);
return m_card->jim_r(offset);
else
return 0xff;
}
@ -112,16 +112,16 @@ READ8_MEMBER(bbc_1mhzbus_slot_device::jim_r)
// write
//-------------------------------------------------
WRITE8_MEMBER(bbc_1mhzbus_slot_device::fred_w)
void bbc_1mhzbus_slot_device::fred_w(offs_t offset, uint8_t data)
{
if (m_card)
m_card->fred_w(space, offset, data);
m_card->fred_w(offset, data);
}
WRITE8_MEMBER(bbc_1mhzbus_slot_device::jim_w)
void bbc_1mhzbus_slot_device::jim_w(offs_t offset, uint8_t data)
{
if (m_card)
m_card->jim_w(space, offset, data);
m_card->jim_w(offset, data);
}
//-------------------------------------------------

View File

@ -107,10 +107,10 @@ public:
auto irq_handler() { return m_irq_handler.bind(); }
auto nmi_handler() { return m_nmi_handler.bind(); }
virtual DECLARE_READ8_MEMBER(fred_r);
virtual DECLARE_WRITE8_MEMBER(fred_w);
virtual DECLARE_READ8_MEMBER(jim_r);
virtual DECLARE_WRITE8_MEMBER(jim_w);
virtual uint8_t fred_r(offs_t offset);
virtual void fred_w(offs_t offset, uint8_t data);
virtual uint8_t jim_r(offs_t offset);
virtual void jim_w(offs_t offset, uint8_t data);
DECLARE_WRITE_LINE_MEMBER( irq_w ) { m_irq_handler(state); }
DECLARE_WRITE_LINE_MEMBER( nmi_w ) { m_nmi_handler(state); }
@ -134,10 +134,10 @@ private:
class device_bbc_1mhzbus_interface : public device_slot_card_interface
{
public:
virtual DECLARE_READ8_MEMBER(fred_r) { return 0xff; }
virtual DECLARE_WRITE8_MEMBER(fred_w) { }
virtual DECLARE_READ8_MEMBER(jim_r) { return 0xff; }
virtual DECLARE_WRITE8_MEMBER(jim_w) { }
virtual uint8_t fred_r(offs_t offset) { return 0xff; }
virtual void fred_w(offs_t offset, uint8_t data) { }
virtual uint8_t jim_r(offs_t offset) { return 0xff; }
virtual void jim_w(offs_t offset, uint8_t data) { }
protected:
device_bbc_1mhzbus_interface(const machine_config &mconfig, device_t &device);

View File

@ -65,7 +65,7 @@ void bbc_beebsid_device::device_start()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_beebsid_device::fred_r)
uint8_t bbc_beebsid_device::fred_r(offs_t offset)
{
uint8_t data = 0xff;
@ -74,31 +74,31 @@ READ8_MEMBER(bbc_beebsid_device::fred_r)
data = m_sid->read(offset);
}
data &= m_1mhzbus->fred_r(space, offset);
data &= m_1mhzbus->fred_r(offset);
return data;
}
WRITE8_MEMBER(bbc_beebsid_device::fred_w)
void bbc_beebsid_device::fred_w(offs_t offset, uint8_t data)
{
if (offset >= 0x20 && offset < 0x40)
{
m_sid->write(offset, data);
}
m_1mhzbus->fred_w(space, offset, data);
m_1mhzbus->fred_w(offset, data);
}
READ8_MEMBER(bbc_beebsid_device::jim_r)
uint8_t bbc_beebsid_device::jim_r(offs_t offset)
{
uint8_t data = 0xff;
data &= m_1mhzbus->jim_r(space, offset);
data &= m_1mhzbus->jim_r(offset);
return data;
}
WRITE8_MEMBER(bbc_beebsid_device::jim_w)
void bbc_beebsid_device::jim_w(offs_t offset, uint8_t data)
{
m_1mhzbus->jim_w(space, offset, data);
m_1mhzbus->jim_w(offset, data);
}

View File

@ -34,10 +34,10 @@ protected:
// optional information overrides
virtual void device_add_mconfig(machine_config &config) override;
virtual DECLARE_READ8_MEMBER(fred_r) override;
virtual DECLARE_WRITE8_MEMBER(fred_w) override;
virtual DECLARE_READ8_MEMBER(jim_r) override;
virtual DECLARE_WRITE8_MEMBER(jim_w) override;
virtual uint8_t fred_r(offs_t offset) override;
virtual void fred_w(offs_t offset, uint8_t data) override;
virtual uint8_t jim_r(offs_t offset) override;
virtual void jim_w(offs_t offset, uint8_t data) override;
private:
required_device<bbc_1mhzbus_slot_device> m_1mhzbus;

View File

@ -98,7 +98,7 @@ void cfa3000_opt_device::device_start()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(cfa3000_opt_device::fred_r)
uint8_t cfa3000_opt_device::fred_r(offs_t offset)
{
uint8_t data = 0xff;

View File

@ -35,7 +35,7 @@ protected:
// optional information overrides
virtual ioport_constructor device_input_ports() const override;
virtual DECLARE_READ8_MEMBER(fred_r) override;
virtual uint8_t fred_r(offs_t offset) override;
private:
required_ioport m_opt;

View File

@ -81,7 +81,7 @@ void bbc_emrmidi_device::device_start()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_emrmidi_device::fred_r)
uint8_t bbc_emrmidi_device::fred_r(offs_t offset)
{
uint8_t data = 0xff;
@ -93,7 +93,7 @@ READ8_MEMBER(bbc_emrmidi_device::fred_r)
return data;
}
WRITE8_MEMBER(bbc_emrmidi_device::fred_w)
void bbc_emrmidi_device::fred_w(offs_t offset, uint8_t data)
{
if (offset >= 0xf0 && offset < 0xf2)
{

View File

@ -36,8 +36,8 @@ protected:
// optional information overrides
virtual void device_add_mconfig(machine_config &config) override;
virtual DECLARE_READ8_MEMBER(fred_r) override;
virtual DECLARE_WRITE8_MEMBER(fred_w) override;
virtual uint8_t fred_r(offs_t offset) override;
virtual void fred_w(offs_t offset, uint8_t data) override;
private:
DECLARE_WRITE_LINE_MEMBER(write_acia_clock);

View File

@ -197,7 +197,7 @@ void bbc_b488_device::device_start()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_ieee488_device::fred_r)
uint8_t bbc_ieee488_device::fred_r(offs_t offset)
{
uint8_t data = 0xff;
@ -206,37 +206,37 @@ READ8_MEMBER(bbc_ieee488_device::fred_r)
data = m_tms9914->read(offset & 0x07);
}
data &= m_1mhzbus->fred_r(space, offset);
data &= m_1mhzbus->fred_r(offset);
return data;
}
WRITE8_MEMBER(bbc_ieee488_device::fred_w)
void bbc_ieee488_device::fred_w(offs_t offset, uint8_t data)
{
if (offset >= 0x20 && offset < 0x28)
{
m_tms9914->write(offset & 0x07, data);
}
m_1mhzbus->fred_w(space, offset, data);
m_1mhzbus->fred_w(offset, data);
}
READ8_MEMBER(bbc_ieee488_device::jim_r)
uint8_t bbc_ieee488_device::jim_r(offs_t offset)
{
uint8_t data = 0xff;
data &= m_1mhzbus->jim_r(space, offset);
data &= m_1mhzbus->jim_r(offset);
return data;
}
WRITE8_MEMBER(bbc_ieee488_device::jim_w)
void bbc_ieee488_device::jim_w(offs_t offset, uint8_t data)
{
m_1mhzbus->jim_w(space, offset, data);
m_1mhzbus->jim_w(offset, data);
}
READ8_MEMBER(bbc_b488_device::fred_r)
uint8_t bbc_b488_device::fred_r(offs_t offset)
{
uint8_t data = 0xff;
@ -248,7 +248,7 @@ READ8_MEMBER(bbc_b488_device::fred_r)
return data;
}
WRITE8_MEMBER(bbc_b488_device::fred_w)
void bbc_b488_device::fred_w(offs_t offset, uint8_t data)
{
if (offset >= 0x20 && offset < 0x28)
{
@ -257,7 +257,7 @@ WRITE8_MEMBER(bbc_b488_device::fred_w)
}
//READ8_MEMBER(bbc_procyon_device::fred_r)
//uint8_t bbc_procyon_device::fred_r(offs_t offset)
//{
//uint8_t data = 0xff;
@ -269,7 +269,7 @@ WRITE8_MEMBER(bbc_b488_device::fred_w)
//return data;
//}
//WRITE8_MEMBER(bbc_procyon_device::fred_w)
//void bbc_procyon_device::fred_w(offs_t offset, uint8_t data)
//{
//if (offset >= 0x20 && offset < 0x28)
//{

View File

@ -42,10 +42,10 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
virtual const tiny_rom_entry *device_rom_region() const override;
virtual DECLARE_READ8_MEMBER(fred_r) override;
virtual DECLARE_WRITE8_MEMBER(fred_w) override;
virtual DECLARE_READ8_MEMBER(jim_r) override;
virtual DECLARE_WRITE8_MEMBER(jim_w) override;
virtual uint8_t fred_r(offs_t offset) override;
virtual void fred_w(offs_t offset, uint8_t data) override;
virtual uint8_t jim_r(offs_t offset) override;
virtual void jim_w(offs_t offset, uint8_t data) override;
private:
required_device<ieee488_device> m_ieee;
@ -69,8 +69,8 @@ protected:
// optional information overrides
virtual void device_add_mconfig(machine_config &config) override;
virtual DECLARE_READ8_MEMBER(fred_r) override;
virtual DECLARE_WRITE8_MEMBER(fred_w) override;
virtual uint8_t fred_r(offs_t offset) override;
virtual void fred_w(offs_t offset, uint8_t data) override;
private:
required_device<ieee488_device> m_ieee;
@ -94,8 +94,8 @@ private:
// virtual void device_add_mconfig(machine_config &config) override;
// virtual const tiny_rom_entry *device_rom_region() const override;
//
// virtual DECLARE_READ8_MEMBER(fred_r) override;
// virtual DECLARE_WRITE8_MEMBER(fred_w) override;
// virtual uint8_t fred_r(offs_t offset) override;
// virtual void fred_w(offs_t offset, uint8_t data) override;
//
//private:
// required_device<ieee488_device> m_ieee;

View File

@ -91,7 +91,7 @@ void bbc_m2000_device::device_start()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_m2000_device::fred_r)
uint8_t bbc_m2000_device::fred_r(offs_t offset)
{
uint8_t data = 0xff;
@ -113,12 +113,12 @@ READ8_MEMBER(bbc_m2000_device::fred_r)
}
}
data &= m_1mhzbus->fred_r(space, offset);
data &= m_1mhzbus->fred_r(offset);
return data;
}
WRITE8_MEMBER(bbc_m2000_device::fred_w)
void bbc_m2000_device::fred_w(offs_t offset, uint8_t data)
{
if (offset >= 0x08 && offset < 0x10)
{
@ -138,21 +138,21 @@ WRITE8_MEMBER(bbc_m2000_device::fred_w)
}
}
m_1mhzbus->fred_w(space, offset, data);
m_1mhzbus->fred_w(offset, data);
}
READ8_MEMBER(bbc_m2000_device::jim_r)
uint8_t bbc_m2000_device::jim_r(offs_t offset)
{
uint8_t data = 0xff;
data &= m_1mhzbus->jim_r(space, offset);
data &= m_1mhzbus->jim_r(offset);
return data;
}
WRITE8_MEMBER(bbc_m2000_device::jim_w)
void bbc_m2000_device::jim_w(offs_t offset, uint8_t data)
{
m_1mhzbus->jim_w(space, offset, data);
m_1mhzbus->jim_w(offset, data);
}
WRITE_LINE_MEMBER(bbc_m2000_device::write_acia_clock)

View File

@ -38,10 +38,10 @@ protected:
// optional information overrides
virtual void device_add_mconfig(machine_config &config) override;
virtual DECLARE_READ8_MEMBER(fred_r) override;
virtual DECLARE_WRITE8_MEMBER(fred_w) override;
virtual DECLARE_READ8_MEMBER(jim_r) override;
virtual DECLARE_WRITE8_MEMBER(jim_w) override;
virtual uint8_t fred_r(offs_t offset) override;
virtual void fred_w(offs_t offset, uint8_t data) override;
virtual uint8_t jim_r(offs_t offset) override;
virtual void jim_w(offs_t offset, uint8_t data) override;
private:
DECLARE_WRITE_LINE_MEMBER(write_acia_clock);

View File

@ -159,7 +159,7 @@ void bbc_opusa_device::device_start()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_opus3_device::fred_r)
uint8_t bbc_opus3_device::fred_r(offs_t offset)
{
uint8_t data = 0xff;
@ -175,7 +175,7 @@ READ8_MEMBER(bbc_opus3_device::fred_r)
return data;
}
WRITE8_MEMBER(bbc_opus3_device::fred_w)
void bbc_opus3_device::fred_w(offs_t offset, uint8_t data)
{
floppy_image_device *floppy = nullptr;
@ -219,7 +219,7 @@ WRITE_LINE_MEMBER(bbc_opus3_device::fdc_drq_w)
m_slot->nmi_w((m_fdc_drq && m_fdc_ie) ? ASSERT_LINE : CLEAR_LINE);
}
READ8_MEMBER(bbc_opus3_device::jim_r)
uint8_t bbc_opus3_device::jim_r(offs_t offset)
{
if ((m_ramdisk_page << 8) < m_ramdisk->size())
return m_ramdisk->read((m_ramdisk_page << 8) + offset);
@ -227,7 +227,7 @@ READ8_MEMBER(bbc_opus3_device::jim_r)
return 0xff;
}
WRITE8_MEMBER(bbc_opus3_device::jim_w)
void bbc_opus3_device::jim_w(offs_t offset, uint8_t data)
{
if ((m_ramdisk_page << 8) < m_ramdisk->size())
m_ramdisk->write((m_ramdisk_page << 8) + offset, data);

View File

@ -39,10 +39,10 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
virtual const tiny_rom_entry *device_rom_region() const override;
virtual DECLARE_READ8_MEMBER(fred_r) override;
virtual DECLARE_WRITE8_MEMBER(fred_w) override;
virtual DECLARE_READ8_MEMBER(jim_r) override;
virtual DECLARE_WRITE8_MEMBER(jim_w) override;
virtual uint8_t fred_r(offs_t offset) override;
virtual void fred_w(offs_t offset, uint8_t data) override;
virtual uint8_t jim_r(offs_t offset) override;
virtual void jim_w(offs_t offset, uint8_t data) override;
private:
DECLARE_FLOPPY_FORMATS(floppy_formats);

View File

@ -69,7 +69,7 @@ void bbc_sprite_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_sprite_device::fred_r)
uint8_t bbc_sprite_device::fred_r(offs_t offset)
{
uint8_t data = 0xff;
@ -85,7 +85,7 @@ READ8_MEMBER(bbc_sprite_device::fred_r)
return data;
}
WRITE8_MEMBER(bbc_sprite_device::fred_w)
void bbc_sprite_device::fred_w(offs_t offset, uint8_t data)
{
switch (offset)
{

View File

@ -34,8 +34,8 @@ protected:
// optional information overrides
virtual void device_add_mconfig(machine_config &config) override;
virtual DECLARE_READ8_MEMBER(fred_r) override;
virtual DECLARE_WRITE8_MEMBER(fred_w) override;
virtual uint8_t fred_r(offs_t offset) override;
virtual void fred_w(offs_t offset, uint8_t data) override;
private:
required_device<tms9129_device> m_vdp;

View File

@ -116,22 +116,22 @@ void bbc_mertec_device::upd7002_eoc(int data)
READ8_MEMBER(bbc_mertec_device::fred_r)
{
return m_2mhzbus->fred_r(space, offset);
return m_2mhzbus->fred_r(offset);
}
WRITE8_MEMBER(bbc_mertec_device::fred_w)
{
m_2mhzbus->fred_w(space, offset, data);
m_2mhzbus->fred_w(offset, data);
}
READ8_MEMBER(bbc_mertec_device::jim_r)
{
return m_2mhzbus->jim_r(space, offset);
return m_2mhzbus->jim_r(offset);
}
WRITE8_MEMBER(bbc_mertec_device::jim_w)
{
m_2mhzbus->jim_w(space, offset, data);
m_2mhzbus->jim_w(offset, data);
}
READ8_MEMBER(bbc_mertec_device::sheila_r)

View File

@ -92,10 +92,10 @@ void bbc_tube_slot_device::device_reset()
// host_r
//-------------------------------------------------
READ8_MEMBER(bbc_tube_slot_device::host_r)
uint8_t bbc_tube_slot_device::host_r(offs_t offset)
{
if (m_card)
return m_card->host_r(space, offset);
return m_card->host_r(offset);
else
return 0xfe;
}
@ -104,10 +104,10 @@ READ8_MEMBER(bbc_tube_slot_device::host_r)
// host_w
//-------------------------------------------------
WRITE8_MEMBER(bbc_tube_slot_device::host_w)
void bbc_tube_slot_device::host_w(offs_t offset, uint8_t data)
{
if (m_card)
m_card->host_w(space, offset, data);
m_card->host_w(offset, data);
}

View File

@ -66,8 +66,8 @@ public:
// callbacks
auto irq_handler() { return m_irq_handler.bind(); }
DECLARE_READ8_MEMBER( host_r );
DECLARE_WRITE8_MEMBER( host_w );
uint8_t host_r(offs_t offset);
void host_w(offs_t offset, uint8_t data);
DECLARE_WRITE_LINE_MEMBER( irq_w ) { m_irq_handler(state); }
@ -90,8 +90,8 @@ class device_bbc_tube_interface : public device_slot_card_interface
{
public:
// reading and writing
virtual DECLARE_READ8_MEMBER(host_r) { return 0xfe; }
virtual DECLARE_WRITE8_MEMBER(host_w) { }
virtual uint8_t host_r(offs_t offset) { return 0xfe; }
virtual void host_w(offs_t offset, uint8_t data) { }
protected:
device_bbc_tube_interface(const machine_config &mconfig, device_t &device);

View File

@ -168,27 +168,27 @@ void bbc_tube_6502_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_tube_6502_device::host_r)
uint8_t bbc_tube_6502_device::host_r(offs_t offset)
{
return m_ula->host_r(space, offset);
return m_ula->host_r(offset);
}
WRITE8_MEMBER(bbc_tube_6502_device::host_w)
void bbc_tube_6502_device::host_w(offs_t offset, uint8_t data)
{
m_ula->host_w(space, offset, data);
m_ula->host_w(offset, data);
}
READ8_MEMBER(bbc_tube_6502_device::tube_r)
uint8_t bbc_tube_6502_device::tube_r(offs_t offset)
{
// Disable ROM on first access
if (!machine().side_effects_disabled())
m_bankdev->set_bank(1);
return m_ula->parasite_r(space, offset);
return m_ula->parasite_r(offset);
}
WRITE8_MEMBER(bbc_tube_6502_device::tube_w)
void bbc_tube_6502_device::tube_w(offs_t offset, uint8_t data)
{
m_ula->parasite_w(space, offset, data);
m_ula->parasite_w(offset, data);
}

View File

@ -52,11 +52,11 @@ protected:
void add_common_devices(machine_config &config);
virtual DECLARE_READ8_MEMBER( host_r ) override;
virtual DECLARE_WRITE8_MEMBER( host_w ) override;
virtual uint8_t host_r(offs_t offset) override;
virtual void host_w(offs_t offset, uint8_t data) override;
virtual DECLARE_READ8_MEMBER( tube_r );
virtual DECLARE_WRITE8_MEMBER( tube_w );
virtual uint8_t tube_r(offs_t offset);
virtual void tube_w(offs_t offset, uint8_t data);
required_device<cpu_device> m_maincpu;
required_device<address_map_bank_device> m_bankdev;

View File

@ -126,12 +126,12 @@ void bbc_tube_80186_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_tube_80186_device::host_r)
uint8_t bbc_tube_80186_device::host_r(offs_t offset)
{
return m_ula->host_r(space, offset);
return m_ula->host_r(offset);
}
WRITE8_MEMBER(bbc_tube_80186_device::host_w)
void bbc_tube_80186_device::host_w(offs_t offset, uint8_t data)
{
m_ula->host_w(space, offset, data);
m_ula->host_w(offset, data);
}

View File

@ -40,8 +40,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
virtual const tiny_rom_entry *device_rom_region() const override;
virtual DECLARE_READ8_MEMBER( host_r ) override;
virtual DECLARE_WRITE8_MEMBER( host_w ) override;
virtual uint8_t host_r(offs_t offset) override;
virtual void host_w(offs_t offset, uint8_t data) override;
private:
required_device<i80186_cpu_device> m_i80186;

View File

@ -129,24 +129,25 @@ void bbc_tube_80286_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_tube_80286_device::host_r)
uint8_t bbc_tube_80286_device::host_r(offs_t offset)
{
return m_ula->host_r(space, offset);
return m_ula->host_r(offset);
}
WRITE8_MEMBER(bbc_tube_80286_device::host_w)
void bbc_tube_80286_device::host_w(offs_t offset, uint8_t data)
{
m_ula->host_w(space, offset, data);
m_ula->host_w(offset, data);
}
READ8_MEMBER(bbc_tube_80286_device::disable_boot_rom)
uint8_t bbc_tube_80286_device::disable_boot_rom()
{
m_i80286->space(AS_PROGRAM).install_ram(0xc0000, 0xfffff, m_ram->pointer() + 0xc0000);
if (!machine().side_effects_disabled())
m_i80286->space(AS_PROGRAM).install_ram(0xc0000, 0xfffff, m_ram->pointer() + 0xc0000);
return 0xff;
}
WRITE8_MEMBER(bbc_tube_80286_device::irq_latch_w)
void bbc_tube_80286_device::irq_latch_w(uint8_t data)
{
m_irq_latch = data;
}

View File

@ -38,8 +38,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
virtual const tiny_rom_entry *device_rom_region() const override;
virtual DECLARE_READ8_MEMBER( host_r ) override;
virtual DECLARE_WRITE8_MEMBER( host_w ) override;
virtual uint8_t host_r(offs_t offset) override;
virtual void host_w(offs_t offset, uint8_t data) override;
private:
uint8_t m_irq_latch;
@ -51,8 +51,8 @@ private:
required_device<ram_device> m_ram;
required_memory_region m_bootstrap;
DECLARE_READ8_MEMBER( disable_boot_rom );
DECLARE_WRITE8_MEMBER( irq_latch_w );
uint8_t disable_boot_rom();
void irq_latch_w(uint8_t data);
void tube_80286_io(address_map &map);
void tube_80286_mem(address_map &map);

View File

@ -120,18 +120,18 @@ void bbc_tube_arm_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_tube_arm_device::host_r)
uint8_t bbc_tube_arm_device::host_r(offs_t offset)
{
return m_ula->host_r(space, offset);
return m_ula->host_r(offset);
}
WRITE8_MEMBER(bbc_tube_arm_device::host_w)
void bbc_tube_arm_device::host_w(offs_t offset, uint8_t data)
{
m_ula->host_w(space, offset, data);
m_ula->host_w(offset, data);
}
READ8_MEMBER(bbc_tube_arm_device::ram_r)
uint8_t bbc_tube_arm_device::ram_r(offs_t offset)
{
uint8_t data;
@ -143,7 +143,7 @@ READ8_MEMBER(bbc_tube_arm_device::ram_r)
return data;
}
WRITE8_MEMBER(bbc_tube_arm_device::ram_w)
void bbc_tube_arm_device::ram_w(offs_t offset, uint8_t data)
{
/* clear ROM select on first write */
if (!machine().side_effects_disabled()) m_rom_select = false;

View File

@ -38,8 +38,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
virtual const tiny_rom_entry *device_rom_region() const override;
virtual DECLARE_READ8_MEMBER( host_r ) override;
virtual DECLARE_WRITE8_MEMBER( host_w ) override;
virtual uint8_t host_r(offs_t offset) override;
virtual void host_w(offs_t offset, uint8_t data) override;
private:
required_device<arm_cpu_device> m_arm;
@ -49,8 +49,8 @@ private:
bool m_rom_select;
DECLARE_READ8_MEMBER( ram_r );
DECLARE_WRITE8_MEMBER( ram_w );
uint8_t ram_r(offs_t offset);
void ram_w(offs_t offset, uint8_t data);
void tube_arm_mem(address_map &map);
};

View File

@ -109,12 +109,12 @@ void bbc_tube_casper_device::device_start()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_tube_casper_device::host_r)
uint8_t bbc_tube_casper_device::host_r(offs_t offset)
{
return m_via6522_0->read(offset & 0xf);
}
WRITE8_MEMBER(bbc_tube_casper_device::host_w)
void bbc_tube_casper_device::host_w(offs_t offset, uint8_t data)
{
m_via6522_0->write(offset & 0xf, data);
}

View File

@ -36,8 +36,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
virtual const tiny_rom_entry *device_rom_region() const override;
virtual DECLARE_READ8_MEMBER( host_r ) override;
virtual DECLARE_WRITE8_MEMBER( host_w ) override;
virtual uint8_t host_r(offs_t offset) override;
virtual void host_w(offs_t offset, uint8_t data) override;
private:
required_device<cpu_device> m_m68000;

View File

@ -233,23 +233,23 @@ void bbc_tube_rc6502_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_tube_rc6502_device::host_r)
uint8_t bbc_tube_rc6502_device::host_r(offs_t offset)
{
return m_ula->host_r(space, offset);
return m_ula->host_r(offset);
}
WRITE8_MEMBER(bbc_tube_rc6502_device::host_w)
void bbc_tube_rc6502_device::host_w(offs_t offset, uint8_t data)
{
m_ula->host_w(space, offset, data);
m_ula->host_w(offset, data);
}
READ8_MEMBER(bbc_tube_rc6502_device::config_r)
uint8_t bbc_tube_rc6502_device::config_r()
{
return m_banknum;
}
WRITE8_MEMBER(bbc_tube_rc6502_device::register_w)
void bbc_tube_rc6502_device::register_w(uint8_t data)
{
switch (data & 0x06)
{

View File

@ -47,11 +47,11 @@ protected:
void add_common_devices(machine_config &config);
virtual DECLARE_READ8_MEMBER( host_r ) override;
virtual DECLARE_WRITE8_MEMBER( host_w ) override;
virtual uint8_t host_r(offs_t offset) override;
virtual void host_w(offs_t offset, uint8_t data) override;
DECLARE_READ8_MEMBER(config_r);
DECLARE_WRITE8_MEMBER(register_w);
uint8_t config_r();
void register_w(uint8_t data);
void tube_rc6502_bank(address_map &map);

View File

@ -134,18 +134,18 @@ void bbc_tube_z80_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_tube_z80_device::host_r)
uint8_t bbc_tube_z80_device::host_r(offs_t offset)
{
return m_ula->host_r(space, offset);
return m_ula->host_r(offset);
}
WRITE8_MEMBER(bbc_tube_z80_device::host_w)
void bbc_tube_z80_device::host_w(offs_t offset, uint8_t data)
{
m_ula->host_w(space, offset, data);
m_ula->host_w(offset, data);
}
READ8_MEMBER(bbc_tube_z80_device::opcode_r)
uint8_t bbc_tube_z80_device::opcode_r(offs_t offset)
{
if (!machine().side_effects_disabled())
{
@ -158,7 +158,7 @@ READ8_MEMBER(bbc_tube_z80_device::opcode_r)
}
READ8_MEMBER(bbc_tube_z80_device::mem_r)
uint8_t bbc_tube_z80_device::mem_r(offs_t offset)
{
uint8_t data;
@ -170,7 +170,7 @@ READ8_MEMBER(bbc_tube_z80_device::mem_r)
return data;
}
WRITE8_MEMBER(bbc_tube_z80_device::mem_w)
void bbc_tube_z80_device::mem_w(offs_t offset, uint8_t data)
{
m_ram->pointer()[offset] = data;
}

View File

@ -40,8 +40,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
virtual const tiny_rom_entry *device_rom_region() const override;
virtual DECLARE_READ8_MEMBER( host_r ) override;
virtual DECLARE_WRITE8_MEMBER( host_w ) override;
virtual uint8_t host_r(offs_t offset) override;
virtual void host_w(offs_t offset, uint8_t data) override;
private:
IRQ_CALLBACK_MEMBER( irq_callback );
@ -54,9 +54,9 @@ private:
bool m_rom_enabled;
DECLARE_READ8_MEMBER( mem_r );
DECLARE_WRITE8_MEMBER( mem_w );
DECLARE_READ8_MEMBER( opcode_r );
uint8_t mem_r(offs_t offset);
void mem_w(offs_t offset, uint8_t data);
uint8_t opcode_r(offs_t offset);
void tube_z80_fetch(address_map &map);
void tube_z80_io(address_map &map);

View File

@ -146,12 +146,12 @@ void bbc_tube_zep100_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
READ8_MEMBER(bbc_tube_zep100_device::host_r)
uint8_t bbc_tube_zep100_device::host_r(offs_t offset)
{
return m_via->read(offset & 0x0f);
}
WRITE8_MEMBER(bbc_tube_zep100_device::host_w)
void bbc_tube_zep100_device::host_w(offs_t offset, uint8_t data)
{
if (offset & 0x10)
m_z80->reset();
@ -160,7 +160,7 @@ WRITE8_MEMBER(bbc_tube_zep100_device::host_w)
}
READ8_MEMBER(bbc_tube_zep100_device::mem_r)
uint8_t bbc_tube_zep100_device::mem_r(offs_t offset)
{
uint8_t data;
@ -172,13 +172,13 @@ READ8_MEMBER(bbc_tube_zep100_device::mem_r)
return data;
}
WRITE8_MEMBER(bbc_tube_zep100_device::mem_w)
void bbc_tube_zep100_device::mem_w(offs_t offset, uint8_t data)
{
m_ram->pointer()[offset] = data;
}
READ8_MEMBER(bbc_tube_zep100_device::io_r)
uint8_t bbc_tube_zep100_device::io_r(offs_t offset)
{
uint8_t data = 0xff;
@ -190,23 +190,23 @@ READ8_MEMBER(bbc_tube_zep100_device::io_r)
return data;
}
WRITE8_MEMBER(bbc_tube_zep100_device::io_w)
void bbc_tube_zep100_device::io_w(offs_t offset, uint8_t data)
{
m_ppi->write(offset & 0x03, data);
}
WRITE8_MEMBER(bbc_tube_zep100_device::via_pb_w)
void bbc_tube_zep100_device::via_pb_w(uint8_t data)
{
m_port_b = data;
}
READ8_MEMBER(bbc_tube_zep100_device::ppi_pb_r)
uint8_t bbc_tube_zep100_device::ppi_pb_r()
{
return m_port_b;
}
WRITE8_MEMBER(bbc_tube_zep100_device::ppi_pc_w)
void bbc_tube_zep100_device::ppi_pc_w(uint8_t data)
{
m_via->write_ca1(BIT(data, 7));
m_via->write_cb1(BIT(data, 1));

View File

@ -43,8 +43,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
virtual const tiny_rom_entry *device_rom_region() const override;
virtual DECLARE_READ8_MEMBER( host_r ) override;
virtual DECLARE_WRITE8_MEMBER( host_w ) override;
virtual uint8_t host_r(offs_t offset) override;
virtual void host_w(offs_t offset, uint8_t data) override;
bool m_rom_enabled;
@ -57,14 +57,14 @@ private:
uint8_t m_port_b;
DECLARE_READ8_MEMBER( mem_r );
DECLARE_WRITE8_MEMBER( mem_w );
DECLARE_READ8_MEMBER( io_r );
DECLARE_WRITE8_MEMBER( io_w );
uint8_t mem_r(offs_t offset);
void mem_w(offs_t offset, uint8_t data);
uint8_t io_r(offs_t offset);
void io_w(offs_t offset, uint8_t data);
DECLARE_WRITE8_MEMBER( via_pb_w );
DECLARE_READ8_MEMBER( ppi_pb_r );
DECLARE_WRITE8_MEMBER( ppi_pc_w );
void via_pb_w(uint8_t data);
uint8_t ppi_pb_r();
void ppi_pc_w(uint8_t data);
void tube_zep100_io(address_map &map);
void tube_zep100_mem(address_map &map);

View File

@ -95,11 +95,11 @@ void bw2_expansion_slot_device::device_reset()
// cd_r - cartridge data read
//-------------------------------------------------
uint8_t bw2_expansion_slot_device::cd_r(address_space &space, offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6)
uint8_t bw2_expansion_slot_device::cd_r(offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6)
{
if (m_cart != nullptr)
{
data = m_cart->bw2_cd_r(space, offset, data, ram2, ram3, ram4, ram5, ram6);
data = m_cart->bw2_cd_r(offset, data, ram2, ram3, ram4, ram5, ram6);
}
return data;
@ -110,11 +110,11 @@ uint8_t bw2_expansion_slot_device::cd_r(address_space &space, offs_t offset, uin
// cd_w - cartridge data write
//-------------------------------------------------
void bw2_expansion_slot_device::cd_w(address_space &space, offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6)
void bw2_expansion_slot_device::cd_w(offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6)
{
if (m_cart != nullptr)
{
m_cart->bw2_cd_w(space, offset, data, ram2, ram3, ram4, ram5, ram6);
m_cart->bw2_cd_w(offset, data, ram2, ram3, ram4, ram5, ram6);
}
}
@ -123,13 +123,13 @@ void bw2_expansion_slot_device::cd_w(address_space &space, offs_t offset, uint8_
// slot_r - slot read
//-------------------------------------------------
READ8_MEMBER( bw2_expansion_slot_device::slot_r )
uint8_t bw2_expansion_slot_device::slot_r(offs_t offset)
{
uint8_t data = 0xff;
if (m_cart != nullptr)
{
data = m_cart->bw2_slot_r(space, offset);
data = m_cart->bw2_slot_r(offset);
}
return data;
@ -140,11 +140,11 @@ READ8_MEMBER( bw2_expansion_slot_device::slot_r )
// slot_w - slot write
//-------------------------------------------------
WRITE8_MEMBER( bw2_expansion_slot_device::slot_w )
void bw2_expansion_slot_device::slot_w(offs_t offset, uint8_t data)
{
if (m_cart != nullptr)
{
m_cart->bw2_slot_w(space, offset, data);
m_cart->bw2_slot_w(offset, data);
}
}
@ -153,13 +153,13 @@ WRITE8_MEMBER( bw2_expansion_slot_device::slot_w )
// modsel_r - modsel read
//-------------------------------------------------
READ8_MEMBER( bw2_expansion_slot_device::modsel_r )
uint8_t bw2_expansion_slot_device::modsel_r(offs_t offset)
{
uint8_t data = 0xff;
if (m_cart != nullptr)
{
data = m_cart->bw2_modsel_r(space, offset);
data = m_cart->bw2_modsel_r(offset);
}
return data;
@ -170,11 +170,11 @@ READ8_MEMBER( bw2_expansion_slot_device::modsel_r )
// modsel_w - modsel write
//-------------------------------------------------
WRITE8_MEMBER( bw2_expansion_slot_device::modsel_w )
void bw2_expansion_slot_device::modsel_w(offs_t offset, uint8_t data)
{
if (m_cart != nullptr)
{
m_cart->bw2_modsel_w(space, offset, data);
m_cart->bw2_modsel_w(offset, data);
}
}

View File

@ -76,14 +76,14 @@ public:
virtual ~bw2_expansion_slot_device();
// computer interface
uint8_t cd_r(address_space &space, offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6);
void cd_w(address_space &space, offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6);
uint8_t cd_r(offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6);
void cd_w(offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6);
DECLARE_READ8_MEMBER( slot_r );
DECLARE_WRITE8_MEMBER( slot_w );
uint8_t slot_r(offs_t offset);
void slot_w(offs_t offset, uint8_t data);
DECLARE_READ8_MEMBER( modsel_r );
DECLARE_WRITE8_MEMBER( modsel_w );
uint8_t modsel_r(offs_t offset);
void modsel_w(offs_t offset, uint8_t data);
protected:
// device-level overrides
@ -103,14 +103,14 @@ public:
// construction/destruction
virtual ~device_bw2_expansion_slot_interface();
virtual uint8_t bw2_cd_r(address_space &space, offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6) { return data; };
virtual void bw2_cd_w(address_space &space, offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6) { };
virtual uint8_t bw2_cd_r(offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6) { return data; }
virtual void bw2_cd_w(offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6) { }
virtual uint8_t bw2_slot_r(address_space &space, offs_t offset) { return 0xff; }
virtual void bw2_slot_w(address_space &space, offs_t offset, uint8_t data) { }
virtual uint8_t bw2_slot_r(offs_t offset) { return 0xff; }
virtual void bw2_slot_w(offs_t offset, uint8_t data) { }
virtual uint8_t bw2_modsel_r(address_space &space, offs_t offset) { return 0xff; }
virtual void bw2_modsel_w(address_space &space, offs_t offset, uint8_t data) { }
virtual uint8_t bw2_modsel_r(offs_t offset) { return 0xff; }
virtual void bw2_modsel_w(offs_t offset, uint8_t data) { }
protected:
device_bw2_expansion_slot_interface(const machine_config &mconfig, device_t &device);

View File

@ -88,7 +88,7 @@ void bw2_ramcard_device::device_reset()
// bw2_cd_r - cartridge data read
//-------------------------------------------------
uint8_t bw2_ramcard_device::bw2_cd_r(address_space &space, offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6)
uint8_t bw2_ramcard_device::bw2_cd_r(offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6)
{
if (!ram2)
{
@ -107,7 +107,7 @@ uint8_t bw2_ramcard_device::bw2_cd_r(address_space &space, offs_t offset, uint8_
// bw2_cd_r - cartridge data write
//-------------------------------------------------
void bw2_ramcard_device::bw2_cd_w(address_space &space, offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6)
void bw2_ramcard_device::bw2_cd_w(offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6)
{
if (m_en && !ram5)
{
@ -120,7 +120,7 @@ void bw2_ramcard_device::bw2_cd_w(address_space &space, offs_t offset, uint8_t d
// bw2_slot_w - slot write
//-------------------------------------------------
void bw2_ramcard_device::bw2_slot_w(address_space &space, offs_t offset, uint8_t data)
void bw2_ramcard_device::bw2_slot_w(offs_t offset, uint8_t data)
{
m_en = 1;
m_bank = data & 0x0f;

View File

@ -37,9 +37,9 @@ protected:
virtual void device_reset() override;
// device_bw2_expansion_slot_interface overrides
virtual uint8_t bw2_cd_r(address_space &space, offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6) override;
virtual void bw2_cd_w(address_space &space, offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6) override;
virtual void bw2_slot_w(address_space &space, offs_t offset, uint8_t data) override;
virtual uint8_t bw2_cd_r(offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6) override;
virtual void bw2_cd_w(offs_t offset, uint8_t data, int ram2, int ram3, int ram4, int ram5, int ram6) override;
virtual void bw2_slot_w(offs_t offset, uint8_t data) override;
private:
required_memory_region m_rom;

View File

@ -30,8 +30,8 @@ DEFINE_DEVICE_TYPE(CG_EXP_SLOT, cg_exp_slot_device, "cg_exp_slot", "Colour Genie
cg_exp_slot_device::cg_exp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, CG_EXP_SLOT, tag, owner, clock),
device_slot_interface(mconfig, *this),
m_program(nullptr),
m_io(nullptr),
m_program(*this, finder_base::DUMMY_TAG, -1),
m_io(*this, finder_base::DUMMY_TAG, -1),
m_cart(nullptr),
m_int_handler(*this),
m_nmi_handler(*this),
@ -67,24 +67,6 @@ void cg_exp_slot_device::device_reset()
{
}
//-------------------------------------------------
// set_program_space - set address space we are attached to
//-------------------------------------------------
void cg_exp_slot_device::set_program_space(address_space *program)
{
m_program = program;
}
//-------------------------------------------------
// set_io_space - set address space we are attached to
//-------------------------------------------------
void cg_exp_slot_device::set_io_space(address_space *io)
{
m_io = io;
}
//**************************************************************************
// CARTRIDGE INTERFACE

View File

@ -64,8 +64,8 @@ public:
cg_exp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
virtual ~cg_exp_slot_device();
void set_program_space(address_space *program);
void set_io_space(address_space *io);
template <typename T> void set_program_space(T &&tag, int spacenum) { m_program.set_tag(std::forward<T>(tag), spacenum); }
template <typename T> void set_io_space(T &&tag, int spacenum) { m_io.set_tag(std::forward<T>(tag), spacenum); }
// callbacks
auto int_handler() { return m_int_handler.bind(); }
@ -77,8 +77,8 @@ public:
DECLARE_WRITE_LINE_MEMBER( nmi_w ) { m_nmi_handler(state); }
DECLARE_WRITE_LINE_MEMBER( reset_w ) { m_reset_handler(state); }
address_space *m_program;
address_space *m_io;
required_address_space m_program;
required_address_space m_io;
protected:
// device-level overrides

View File

@ -24,16 +24,16 @@ class compis_graphics_slot_device;
class device_compis_graphics_card_interface : public device_slot_card_interface
{
public:
virtual uint8_t mcs0_r(address_space &space, offs_t offset) { return 0xff; }
virtual void mcs0_w(address_space &space, offs_t offset, uint8_t data) { }
virtual uint8_t mcs1_r(address_space &space, offs_t offset) { return 0xff; }
virtual void mcs1_w(address_space &space, offs_t offset, uint8_t data) { }
virtual uint16_t pcs3_r(address_space &space, offs_t offset) { return 0xff; }
virtual void pcs3_w(address_space &space, offs_t offset, uint16_t data) { }
virtual uint8_t pcs6_6_r(address_space &space, offs_t offset) { return 0xff; }
virtual void pcs6_6_w(address_space &space, offs_t offset, uint8_t data) { }
virtual uint8_t dma_ack_r(address_space &space, offs_t offset) { return 0xff; }
virtual void dma_ack_w(address_space &space, offs_t offset, uint8_t data) { }
virtual uint8_t mcs0_r(offs_t offset) { return 0xff; }
virtual void mcs0_w(offs_t offset, uint8_t data) { }
virtual uint8_t mcs1_r(offs_t offset) { return 0xff; }
virtual void mcs1_w(offs_t offset, uint8_t data) { }
virtual uint16_t pcs3_r(offs_t offset) { return 0xff; }
virtual void pcs3_w(offs_t offset, uint16_t data) { }
virtual uint8_t pcs6_6_r(offs_t offset) { return 0xff; }
virtual void pcs6_6_w(offs_t offset, uint8_t data) { }
virtual uint8_t dma_ack_r(offs_t offset) { return 0xff; }
virtual void dma_ack_w(offs_t offset, uint8_t data) { }
protected:
// construction/destruction
@ -64,16 +64,16 @@ public:
auto drq() { return m_write_dma_request.bind(); }
// computer interface
DECLARE_READ8_MEMBER( mcs0_r ) { return m_card ? m_card->mcs0_r(space, offset) : 0xff; }
DECLARE_WRITE8_MEMBER( mcs0_w ) { if (m_card) m_card->mcs0_w(space, offset, data); }
DECLARE_READ8_MEMBER( mcs1_r ) { return m_card ? m_card->mcs1_r(space, offset) : 0xff; }
DECLARE_WRITE8_MEMBER( mcs1_w ) { if (m_card) m_card->mcs1_w(space, offset, data); }
DECLARE_READ16_MEMBER( pcs3_r ) { return m_card ? m_card->pcs3_r(space, offset) : 0xff; }
DECLARE_WRITE16_MEMBER( pcs3_w ) { if (m_card) m_card->pcs3_w(space, offset, data); }
DECLARE_READ8_MEMBER( pcs6_6_r ) { return m_card ? m_card->pcs6_6_r(space, offset) : 0xff; }
DECLARE_WRITE8_MEMBER( pcs6_6_w ) { if (m_card) m_card->pcs6_6_w(space, offset, data); }
DECLARE_READ8_MEMBER( dma_ack_r ) { return m_card ? m_card->dma_ack_r(space, offset) : 0xff; }
DECLARE_WRITE8_MEMBER( dma_ack_w ) { if (m_card) m_card->dma_ack_w(space, offset, data); }
uint8_t mcs0_r(offs_t offset) { return m_card ? m_card->mcs0_r(offset) : 0xff; }
void mcs0_w(offs_t offset, uint8_t data) { if (m_card) m_card->mcs0_w(offset, data); }
uint8_t mcs1_r(offs_t offset) { return m_card ? m_card->mcs1_r(offset) : 0xff; }
void mcs1_w(offs_t offset, uint8_t data) { if (m_card) m_card->mcs1_w(offset, data); }
uint8_t pcs3_r(offs_t offset) { return m_card ? m_card->pcs3_r(offset) : 0xff; }
void pcs3_w(offs_t offset, uint8_t data) { if (m_card) m_card->pcs3_w(offset, data); }
uint8_t pcs6_6_r(offs_t offset) { return m_card ? m_card->pcs6_6_r(offset) : 0xff; }
void pcs6_6_w(offs_t offset, uint8_t data) { if (m_card) m_card->pcs6_6_w(offset, data); }
uint8_t dma_ack_r(offs_t offset) { return m_card ? m_card->dma_ack_r(offset) : 0xff; }
void dma_ack_w(offs_t offset, uint8_t data) { if (m_card) m_card->dma_ack_w(offset, data); }
// card interface
DECLARE_WRITE_LINE_MEMBER( dma_request_w ) { m_write_dma_request(state); }

View File

@ -165,12 +165,12 @@ void compis_hrg_device::device_reset()
// pcs6_6_r -
//-------------------------------------------------
uint8_t compis_hrg_device::pcs6_6_r(address_space &space, offs_t offset)
uint8_t compis_hrg_device::pcs6_6_r(offs_t offset)
{
uint8_t data = 0xff;
if (offset < 2)
data = m_crtc->read(space, offset & 0x01);
data = m_crtc->read(offset & 0x01);
else
// monochrome only, hblank? vblank?
if(offset == 2)
@ -202,10 +202,10 @@ uint8_t compis_hrg_device::pcs6_6_r(address_space &space, offs_t offset)
// pcs6_6_w -
//-------------------------------------------------
void compis_hrg_device::pcs6_6_w(address_space &space, offs_t offset, uint8_t data)
void compis_hrg_device::pcs6_6_w(offs_t offset, uint8_t data)
{
//logerror("%s PCS 6:6 write %04x : %02x\n", machine().describe_context(), offset, data);
// 0x336 is likely the color plane register
if (offset < 2) m_crtc->write(space, offset & 0x01, data);
if (offset < 2) m_crtc->write(offset & 0x01, data);
}

View File

@ -41,8 +41,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
// device_compis_graphics_card_interface overrides
virtual uint8_t pcs6_6_r(address_space &space, offs_t offset) override;
virtual void pcs6_6_w(address_space &space, offs_t offset, uint8_t data) override;
virtual uint8_t pcs6_6_r(offs_t offset) override;
virtual void pcs6_6_w(offs_t offset, uint8_t data) override;
required_device<upd7220_device> m_crtc;
required_device<palette_device> m_palette;

View File

@ -279,10 +279,10 @@ void dmvcart_slot_device::ram_write(uint8_t cas, offs_t offset, uint8_t data)
IO read
-------------------------------------------------*/
void dmvcart_slot_device::io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data)
void dmvcart_slot_device::io_read(int ifsel, offs_t offset, uint8_t &data)
{
if (m_cart)
m_cart->io_read(space, ifsel, offset, data);
m_cart->io_read(ifsel, offset, data);
}
@ -290,10 +290,10 @@ void dmvcart_slot_device::io_read(address_space &space, int ifsel, offs_t offset
IO write
-------------------------------------------------*/
void dmvcart_slot_device::io_write(address_space &space, int ifsel, offs_t offset, uint8_t data)
void dmvcart_slot_device::io_write(int ifsel, offs_t offset, uint8_t data)
{
if (m_cart)
m_cart->io_write(space, ifsel, offset, data);
m_cart->io_write(ifsel, offset, data);
}
/*-------------------------------------------------

View File

@ -25,8 +25,8 @@ public:
virtual bool read(offs_t offset, uint8_t &data) { return false; }
virtual bool write(offs_t offset, uint8_t data) { return false; }
virtual void io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data) { }
virtual void io_write(address_space &space, int ifsel, offs_t offset, uint8_t data) { }
virtual void io_read(int ifsel, offs_t offset, uint8_t &data) { }
virtual void io_write(int ifsel, offs_t offset, uint8_t data) { }
// slot 1
virtual void ram_read(uint8_t cas, offs_t offset, uint8_t &data) { }
@ -87,8 +87,8 @@ public:
virtual bool write(offs_t offset, uint8_t data);
virtual void ram_read(uint8_t cas, offs_t offset, uint8_t &data);
virtual void ram_write(uint8_t cas, offs_t offset, uint8_t data);
virtual void io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data);
virtual void io_write(address_space &space, int ifsel, offs_t offset, uint8_t data);
virtual void io_read(int ifsel, offs_t offset, uint8_t &data);
virtual void io_write(int ifsel, offs_t offset, uint8_t data);
virtual void hold_w(int state);
virtual void switch16_w(int state);
virtual void timint_w(int state);

View File

@ -99,13 +99,13 @@ void dmv_k210_device::device_add_mconfig(machine_config &config)
m_centronics->set_output_latch(*m_cent_data_out);
}
void dmv_k210_device::io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data)
void dmv_k210_device::io_read(int ifsel, offs_t offset, uint8_t &data)
{
if (ifsel == 0)
data = m_ppi->read(offset & 0x03);
}
void dmv_k210_device::io_write(address_space &space, int ifsel, offs_t offset, uint8_t data)
void dmv_k210_device::io_write(int ifsel, offs_t offset, uint8_t data)
{
if (ifsel == 0)
m_ppi->write(offset & 0x03, data);

View File

@ -33,8 +33,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
// dmvcart_interface overrides
virtual void io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data) override;
virtual void io_write(address_space &space, int ifsel, offs_t offset, uint8_t data) override;
virtual void io_read(int ifsel, offs_t offset, uint8_t &data) override;
virtual void io_write(int ifsel, offs_t offset, uint8_t data) override;
private:
DECLARE_READ8_MEMBER(porta_r);

View File

@ -54,7 +54,7 @@ void dmv_k233_device::device_reset()
m_enabled = false;
}
void dmv_k233_device::io_write(address_space &space, int ifsel, offs_t offset, uint8_t data)
void dmv_k233_device::io_write(int ifsel, offs_t offset, uint8_t data)
{
if (ifsel == 1)
m_enabled = !m_enabled;

View File

@ -27,7 +27,7 @@ protected:
virtual void device_reset() override;
// dmvcart_interface overrides
virtual void io_write(address_space &space, int ifsel, offs_t offset, uint8_t data) override;
virtual void io_write(int ifsel, offs_t offset, uint8_t data) override;
virtual bool read(offs_t offset, uint8_t &data) override;
virtual bool write(offs_t offset, uint8_t data) override;

View File

@ -206,7 +206,7 @@ WRITE_LINE_MEMBER(dmv_k801_device::epci_irq_w)
m_bus->m_out_irq_cb(state);
}
void dmv_k801_device::io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data)
void dmv_k801_device::io_read(int ifsel, offs_t offset, uint8_t &data)
{
uint8_t dsw = m_dsw->read() & 0x0f;
if ((dsw >> 1) == ifsel && BIT(offset, 3) == BIT(dsw, 0))
@ -218,7 +218,7 @@ void dmv_k801_device::io_read(address_space &space, int ifsel, offs_t offset, ui
}
}
void dmv_k801_device::io_write(address_space &space, int ifsel, offs_t offset, uint8_t data)
void dmv_k801_device::io_write(int ifsel, offs_t offset, uint8_t data)
{
uint8_t dsw = m_dsw->read() & 0x0f;
if ((dsw >> 1) == ifsel && BIT(offset, 3) == BIT(dsw, 0))
@ -230,7 +230,7 @@ void dmv_k801_device::io_write(address_space &space, int ifsel, offs_t offset, u
}
}
void dmv_k211_device::io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data)
void dmv_k211_device::io_read(int ifsel, offs_t offset, uint8_t &data)
{
uint8_t jumpers = m_dsw->read() & 0x03;
if ((BIT(jumpers, 0) && ifsel == 0) || (BIT(jumpers, 1) && ifsel == 1))
@ -242,7 +242,7 @@ void dmv_k211_device::io_read(address_space &space, int ifsel, offs_t offset, ui
}
}
void dmv_k211_device::io_write(address_space &space, int ifsel, offs_t offset, uint8_t data)
void dmv_k211_device::io_write(int ifsel, offs_t offset, uint8_t data)
{
uint8_t jumpers = m_dsw->read() & 0x03;
if ((BIT(jumpers, 0) && ifsel == 0) || (BIT(jumpers, 1) && ifsel == 1))

View File

@ -36,8 +36,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
// dmvcart_interface overrides
virtual void io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data) override;
virtual void io_write(address_space &space, int ifsel, offs_t offset, uint8_t data) override;
virtual void io_read(int ifsel, offs_t offset, uint8_t &data) override;
virtual void io_write(int ifsel, offs_t offset, uint8_t data) override;
required_device<mc2661_device> m_epci;
required_device<rs232_port_device> m_rs232;
@ -67,8 +67,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
// dmvcart_interface overrides
virtual void io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data) override;
virtual void io_write(address_space &space, int ifsel, offs_t offset, uint8_t data) override;
virtual void io_read(int ifsel, offs_t offset, uint8_t &data) override;
virtual void io_write(int ifsel, offs_t offset, uint8_t data) override;
};
// ======================> dmv_k212_device

View File

@ -90,23 +90,23 @@ ioport_constructor dmv_k803_device::device_input_ports() const
return INPUT_PORTS_NAME( dmv_k803 );
}
void dmv_k803_device::io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data)
void dmv_k803_device::io_read(int ifsel, offs_t offset, uint8_t &data)
{
uint8_t dsw = m_dsw->read() & 0x0f;
if ((dsw >> 1) == ifsel && BIT(offset, 3) == BIT(dsw, 0))
{
if (offset & 0x04)
data = m_rtc->read(space, ((m_latch & 0x07) << 2) | (offset & 0x03));
data = m_rtc->read(((m_latch & 0x07) << 2) | (offset & 0x03));
}
}
void dmv_k803_device::io_write(address_space &space, int ifsel, offs_t offset, uint8_t data)
void dmv_k803_device::io_write(int ifsel, offs_t offset, uint8_t data)
{
uint8_t dsw = m_dsw->read() & 0x0f;
if ((dsw >> 1) == ifsel && BIT(offset, 3) == BIT(dsw, 0))
{
if (offset & 0x04)
m_rtc->write(space, ((m_latch & 0x07) << 2) | (offset & 0x03), data);
m_rtc->write(((m_latch & 0x07) << 2) | (offset & 0x03), data);
else
{
m_latch = data;

View File

@ -31,8 +31,8 @@ protected:
virtual ioport_constructor device_input_ports() const override;
virtual void device_add_mconfig(machine_config &config) override;
virtual void io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data) override;
virtual void io_write(address_space &space, int ifsel, offs_t offset, uint8_t data) override;
virtual void io_read(int ifsel, offs_t offset, uint8_t &data) override;
virtual void io_write(int ifsel, offs_t offset, uint8_t data) override;
void update_int();

View File

@ -128,19 +128,19 @@ const tiny_rom_entry *dmv_k806_device::device_rom_region() const
return ROM_NAME( dmv_k806 );
}
void dmv_k806_device::io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data)
void dmv_k806_device::io_read(int ifsel, offs_t offset, uint8_t &data)
{
uint8_t jumpers = m_jumpers->read();
if (BIT(jumpers, ifsel) && ((!BIT(offset, 3) && BIT(jumpers, 5)) || (BIT(offset, 3) && BIT(jumpers, 6))))
data = m_mcu->upi41_master_r(space, offset & 1);
data = m_mcu->upi41_master_r(machine().dummy_space(), offset & 1);
}
void dmv_k806_device::io_write(address_space &space, int ifsel, offs_t offset, uint8_t data)
void dmv_k806_device::io_write(int ifsel, offs_t offset, uint8_t data)
{
uint8_t jumpers = m_jumpers->read();
if (BIT(jumpers, ifsel) && ((!BIT(offset, 3) && BIT(jumpers, 5)) || (BIT(offset, 3) && BIT(jumpers, 6))))
{
m_mcu->upi41_master_w(space, offset & 1, data);
m_mcu->upi41_master_w(machine().dummy_space(), offset & 1, data);
m_bus->m_out_int_cb(CLEAR_LINE);
}
}

View File

@ -35,8 +35,8 @@ protected:
virtual ioport_constructor device_input_ports() const override;
virtual void device_add_mconfig(machine_config &config) override;
virtual void io_read(address_space &space, int ifsel, offs_t offset, uint8_t &data) override;
virtual void io_write(address_space &space, int ifsel, offs_t offset, uint8_t data) override;
virtual void io_read(int ifsel, offs_t offset, uint8_t &data) override;
virtual void io_write(int ifsel, offs_t offset, uint8_t data) override;
private:
DECLARE_READ_LINE_MEMBER(portt1_r);

View File

@ -33,8 +33,8 @@ DEFINE_DEVICE_TYPE(TATUNG_PIPE, tatung_pipe_device, "tatung_pipe", "Tatung Pipe
tatung_pipe_device::tatung_pipe_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, TATUNG_PIPE, tag, owner, clock),
device_slot_interface(mconfig, *this),
m_program(nullptr),
m_io(nullptr),
m_program(*this, finder_base::DUMMY_TAG, -1),
m_io(*this, finder_base::DUMMY_TAG, -1),
m_card(nullptr),
m_int_handler(*this),
m_nmi_handler(*this),
@ -50,6 +50,28 @@ tatung_pipe_device::~tatung_pipe_device()
{
}
//-------------------------------------------------
// device_config_complete - perform any
// operations now that the configuration is
// complete
//-------------------------------------------------
void tatung_pipe_device::device_config_complete()
{
// for passthrough connectors, use the parent slot's spaces
if (dynamic_cast<device_tatung_pipe_interface *>(owner()) != nullptr)
{
auto parent = dynamic_cast<tatung_pipe_device *>(owner()->owner());
if (parent != nullptr)
{
if (m_program.finder_tag() == finder_base::DUMMY_TAG)
m_program.set_tag(parent->m_program, parent->m_program.spacenum());
if (m_io.finder_tag() == finder_base::DUMMY_TAG)
m_io.set_tag(parent->m_io, parent->m_io.spacenum());
}
}
}
//-------------------------------------------------
// device_start - device-specific startup
//-------------------------------------------------
@ -83,24 +105,6 @@ WRITE_LINE_MEMBER( tatung_pipe_device::host_int_w )
m_card->int_w(state);
}
//-------------------------------------------------
// set_program_space - set address space we are attached to
//-------------------------------------------------
void tatung_pipe_device::set_program_space(address_space *program)
{
m_program = program;
}
//-------------------------------------------------
// set_io_space - set address space we are attached to
//-------------------------------------------------
void tatung_pipe_device::set_io_space(address_space *io)
{
m_io = io;
}
//**************************************************************************
// CARD INTERFACE

View File

@ -68,8 +68,8 @@ public:
}
virtual ~tatung_pipe_device();
void set_program_space(address_space *program);
void set_io_space(address_space *io);
template <typename T> void set_program_space(T &&tag, int spacenum) { m_program.set_tag(std::forward<T>(tag), spacenum); }
template <typename T> void set_io_space(T &&tag, int spacenum) { m_io.set_tag(std::forward<T>(tag), spacenum); }
// callbacks
auto int_handler() { return m_int_handler.bind(); }
@ -86,11 +86,12 @@ public:
protected:
// device-level overrides
virtual void device_config_complete() override;
virtual void device_start() override;
virtual void device_reset() override;
address_space *m_program;
address_space *m_io;
required_address_space m_program;
required_address_space m_io;
device_tatung_pipe_interface *m_card;

View File

@ -159,9 +159,6 @@ void tk02_device::device_start()
void tk02_device::device_reset()
{
m_pipe->set_io_space(&io_space());
m_pipe->set_program_space(&program_space());
io_space().install_device(0x40, 0x4f, *this, &tk02_device::map);
io_space().install_readwrite_handler(0x40, 0x47, 0, 0, 0xff00, read8_delegate(FUNC(tk02_device::ram_r), this), write8_delegate(FUNC(tk02_device::ram_w), this));
}

View File

@ -273,5 +273,5 @@ WRITE_LINE_MEMBER(ekara_cart_slot_device::write_scl)
READ_LINE_MEMBER(ekara_cart_slot_device::read_sda )
{
return m_cart->read_sda();
return m_cart->read_sda();
}

View File

@ -36,7 +36,7 @@ public:
virtual DECLARE_READ8_MEMBER(read_extra) { return 0xff; }
virtual DECLARE_WRITE8_MEMBER(write_extra) { }
virtual DECLARE_WRITE_LINE_MEMBER(write_sda) { }
virtual DECLARE_WRITE_LINE_MEMBER(write_sda) { }
virtual DECLARE_WRITE_LINE_MEMBER(write_scl) { }
//virtual DECLARE_WRITE_LINE_MEMBER( write_wc )
virtual DECLARE_READ_LINE_MEMBER( read_sda ) { return 0; }
@ -107,7 +107,7 @@ public:
virtual DECLARE_READ8_MEMBER(read_extra);
virtual DECLARE_WRITE8_MEMBER(write_extra);
virtual DECLARE_WRITE_LINE_MEMBER(write_sda);
virtual DECLARE_WRITE_LINE_MEMBER(write_sda);
virtual DECLARE_WRITE_LINE_MEMBER(write_scl);
//virtual DECLARE_WRITE_LINE_MEMBER( write_wc );
virtual DECLARE_READ_LINE_MEMBER( read_sda );

View File

@ -46,7 +46,7 @@ void electron_abr_device::device_start()
// read - cartridge data read
//-------------------------------------------------
uint8_t electron_abr_device::read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
uint8_t electron_abr_device::read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
{
uint8_t data = 0xff;
@ -62,7 +62,7 @@ uint8_t electron_abr_device::read(address_space &space, offs_t offset, int infc,
// write - cartridge data write
//-------------------------------------------------
void electron_abr_device::write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
void electron_abr_device::write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
{
if (infc)
{

View File

@ -32,8 +32,8 @@ protected:
virtual void device_start() override;
// electron_cart_interface overrides
virtual uint8_t read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
virtual uint8_t read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
private:
bool m_bank_locked[2];

View File

@ -81,7 +81,7 @@ void electron_ap34_device::device_start()
// read - cartridge data read
//-------------------------------------------------
uint8_t electron_ap34_device::read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
uint8_t electron_ap34_device::read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
{
uint8_t data = 0xff;
@ -116,14 +116,14 @@ uint8_t electron_ap34_device::read(address_space &space, offs_t offset, int infc
// write - cartridge data write
//-------------------------------------------------
void electron_ap34_device::write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
void electron_ap34_device::write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
{
if (infc)
{
switch (offset & 0xff)
{
case 0xc0:
wd1770_control_w(space, 0, data);
wd1770_control_w(data);
break;
case 0xc4:
case 0xc5:
@ -147,7 +147,7 @@ void electron_ap34_device::write(address_space &space, offs_t offset, uint8_t da
// IMPLEMENTATION
//**************************************************************************
WRITE8_MEMBER(electron_ap34_device::wd1770_control_w)
void electron_ap34_device::wd1770_control_w(uint8_t data)
{
floppy_image_device *floppy = nullptr;

View File

@ -36,11 +36,11 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
// electron_cart_interface overrides
virtual uint8_t read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
virtual uint8_t read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
private:
DECLARE_WRITE8_MEMBER(wd1770_control_w);
void wd1770_control_w(uint8_t data);
DECLARE_FLOPPY_FORMATS(floppy_formats);
required_device<wd1770_device> m_fdc;

View File

@ -82,13 +82,13 @@ void electron_ap5_device::device_start()
// read - cartridge data read
//-------------------------------------------------
uint8_t electron_ap5_device::read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
uint8_t electron_ap5_device::read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
{
uint8_t data = 0xff;
if (infc)
{
data = m_1mhzbus->fred_r(space, offset);
data = m_1mhzbus->fred_r(offset);
switch (offset & 0xf0)
{
@ -97,13 +97,13 @@ uint8_t electron_ap5_device::read(address_space &space, offs_t offset, int infc,
break;
case 0xe0:
data &= m_tube->host_r(space, offset & 0x0f);
data &= m_tube->host_r(offset & 0x0f);
break;
}
}
else if (infd)
{
data = m_1mhzbus->jim_r(space, offset);
data = m_1mhzbus->jim_r(offset);
}
else if (oe)
{
@ -121,11 +121,11 @@ uint8_t electron_ap5_device::read(address_space &space, offs_t offset, int infc,
// write - cartridge data write
//-------------------------------------------------
void electron_ap5_device::write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
void electron_ap5_device::write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
{
if (infc)
{
m_1mhzbus->fred_w(space, offset, data);
m_1mhzbus->fred_w(offset, data);
switch (offset & 0xf0)
{
@ -134,13 +134,13 @@ void electron_ap5_device::write(address_space &space, offs_t offset, uint8_t dat
break;
case 0xe0:
m_tube->host_w(space, offset & 0x0f, data);
m_tube->host_w(offset & 0x0f, data);
break;
}
}
else if (infd)
{
m_1mhzbus->jim_w(space, offset, data);
m_1mhzbus->jim_w(offset, data);
}
}

View File

@ -37,8 +37,8 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
// electron_cart_interface overrides
virtual uint8_t read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
virtual uint8_t read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
private:
image_init_result load_rom(device_image_interface &image, generic_slot_device *slot);

View File

@ -48,7 +48,7 @@ void electron_aqr_device::device_start()
// read - cartridge data read
//-------------------------------------------------
uint8_t electron_aqr_device::read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
uint8_t electron_aqr_device::read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
{
uint8_t data = 0xff;
@ -64,7 +64,7 @@ uint8_t electron_aqr_device::read(address_space &space, offs_t offset, int infc,
// write - cartridge data write
//-------------------------------------------------
void electron_aqr_device::write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
void electron_aqr_device::write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
{
if (infc)
{

View File

@ -32,8 +32,8 @@ protected:
virtual void device_start() override;
// electron_cart_interface overrides
virtual uint8_t read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
virtual uint8_t read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
private:
uint8_t m_page_register;

View File

@ -88,7 +88,7 @@ void electron_click_device::device_reset()
// read - cartridge data read
//-------------------------------------------------
uint8_t electron_click_device::read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
uint8_t electron_click_device::read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
{
uint8_t data = 0xff;
@ -98,7 +98,7 @@ uint8_t electron_click_device::read(address_space &space, offs_t offset, int inf
{
case 0xf8:
case 0xf9:
data = m_rtc->read(space, offset & 0x01);
data = m_rtc->read(machine().dummy_space(), offset & 0x01);
break;
case 0xfc:
data = m_page_register;
@ -127,7 +127,7 @@ uint8_t electron_click_device::read(address_space &space, offs_t offset, int inf
// write - cartridge data write
//-------------------------------------------------
void electron_click_device::write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
void electron_click_device::write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
{
if (infc)
{
@ -135,7 +135,7 @@ void electron_click_device::write(address_space &space, offs_t offset, uint8_t d
{
case 0xf8:
case 0xf9:
m_rtc->write(space, offset & 0x01, data);
m_rtc->write(machine().dummy_space(), offset & 0x01, data);
break;
case 0xfc:
m_page_register = data;

View File

@ -41,8 +41,8 @@ protected:
virtual void device_reset() override;
// electron_cart_interface overrides
virtual uint8_t read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
virtual uint8_t read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
private:
required_device<mc146818_device> m_rtc;

View File

@ -87,7 +87,7 @@ void electron_cumana_device::device_start()
// read - cartridge data read
//-------------------------------------------------
uint8_t electron_cumana_device::read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
uint8_t electron_cumana_device::read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
{
uint8_t data = 0xff;
@ -103,7 +103,7 @@ uint8_t electron_cumana_device::read(address_space &space, offs_t offset, int in
break;
case 0x98:
case 0x9c:
data = m_rtc->read(space, BIT(offset, 2));
data = m_rtc->read(machine().dummy_space(), BIT(offset, 2));
break;
}
}
@ -134,7 +134,7 @@ uint8_t electron_cumana_device::read(address_space &space, offs_t offset, int in
// write - cartridge data write
//-------------------------------------------------
void electron_cumana_device::write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
void electron_cumana_device::write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
{
if (infc)
{
@ -147,12 +147,11 @@ void electron_cumana_device::write(address_space &space, offs_t offset, uint8_t
m_fdc->write(offset & 0x03, data);
break;
case 0x94:
wd1793_control_w(space, 0, data);
wd1793_control_w(data);
break;
case 0x98:
case 0x9c:
m_rtc->write(space, BIT(offset, 2), data);
break;
m_rtc->write(machine().dummy_space(), BIT(offset, 2), data);
break;
}
}
@ -170,7 +169,7 @@ void electron_cumana_device::write(address_space &space, offs_t offset, uint8_t
// IMPLEMENTATION
//**************************************************************************
WRITE8_MEMBER(electron_cumana_device::wd1793_control_w)
void electron_cumana_device::wd1793_control_w(uint8_t data)
{
floppy_image_device *floppy = nullptr;

View File

@ -37,11 +37,11 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
// electron_cart_interface overrides
virtual uint8_t read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
virtual uint8_t read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2) override;
virtual void write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2) override;
private:
DECLARE_WRITE8_MEMBER(wd1793_control_w);
void wd1793_control_w(uint8_t data);
DECLARE_FLOPPY_FORMATS(floppy_formats);
required_device<fd1793_device> m_fdc;

View File

@ -65,7 +65,7 @@ void electron_mgc_device::device_reset()
// read - cartridge data read
//-------------------------------------------------
uint8_t electron_mgc_device::read(address_space &space, offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
uint8_t electron_mgc_device::read(offs_t offset, int infc, int infd, int romqa, int oe, int oe2)
{
uint8_t data = 0xff;
@ -82,7 +82,7 @@ uint8_t electron_mgc_device::read(address_space &space, offs_t offset, int infc,
// write - cartridge data write
//-------------------------------------------------
void electron_mgc_device::write(address_space &space, offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
void electron_mgc_device::write(offs_t offset, uint8_t data, int infc, int infd, int romqa, int oe, int oe2)
{
if (infc)
{

Some files were not shown because too many files have changed in this diff Show More