px4: added a basic software list

This commit is contained in:
Dirk Best 2012-11-02 16:43:51 +00:00
parent 013847b23c
commit b6281de7b1
3 changed files with 43 additions and 6 deletions

1
.gitattributes vendored
View file

@ -152,6 +152,7 @@ hash/psion.xml svneol=native#text/xml
hash/psx.xml svneol=native#text/xml
hash/pv1000.xml svneol=native#text/xml
hash/pv2000.xml svneol=native#text/xml
hash/px4_cart.xml svneol=native#text/xml
hash/ql.xml svneol=native#text/xml
hash/ql_cass.xml svneol=native#text/xml
hash/rainbow.xml svneol=native#text/xml

28
hash/px4_cart.xml Normal file
View file

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
<softwarelist name="px4_cart" description="EPSON PX-4 ROM capsules">
<software name="basic">
<description>PX-4 BASIC</description>
<year>198x</year>
<publisher>EPSON</publisher>
<part name="cart" interface="px4_cart">
<dataarea name="rom" size="32768">
<rom name="m25126aa.bin" size="32768" crc="f76f1c12" sha1="d7dc90ecd158012c0a54626b8bf962255bfd1b27" offset="0" />
</dataarea>
</part>
</software>
<software name="utils">
<description>PX-4 Utilities</description>
<year>198x</year>
<publisher>EPSON</publisher>
<part name="cart" interface="px4_cart">
<dataarea name="rom" size="32768">
<rom name="m25124aa.bin" size="32768" crc="beabb0de" sha1="1c7bbda68635d2ee641fdfd7c08047f54caf4eb4" offset="0" />
</dataarea>
</part>
</software>
</softwarelist>

View file

@ -1325,14 +1325,22 @@ static MACHINE_CONFIG_START( px4, px4_state )
// external cassette
MCFG_CASSETTE_ADD("extcas", px4_cassette_interface)
// rom capsules
MCFG_CARTSLOT_ADD("capsule1")
MCFG_CARTSLOT_NOT_MANDATORY
MCFG_CARTSLOT_ADD("capsule2")
MCFG_CARTSLOT_NOT_MANDATORY
// sio port
MCFG_EPSON_SIO_ADD("sio")
// rom capsules
MCFG_CARTSLOT_ADD("capsule1")
MCFG_CARTSLOT_EXTENSION_LIST("bin")
MCFG_CARTSLOT_INTERFACE("px4_cart")
MCFG_CARTSLOT_NOT_MANDATORY
MCFG_CARTSLOT_ADD("capsule2")
MCFG_CARTSLOT_EXTENSION_LIST("bin")
MCFG_CARTSLOT_INTERFACE("px4_cart")
MCFG_CARTSLOT_NOT_MANDATORY
// software list
MCFG_SOFTWARE_LIST_ADD("cart_list", "px4_cart")
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( px4p, px4 )