rx78: split software list into two.

A single list for two media types causes confusion for the UI and CLI.
This commit is contained in:
Robbbert 2021-01-15 11:52:49 +11:00
parent 62d5213d39
commit 85794c7f85
3 changed files with 24 additions and 15 deletions

View File

@ -84,7 +84,7 @@ If not found, it will check address 6000 in the same way. If still not found, th
The monitor will expect you to load a program from cassette.
-->
<softwarelist name="rx78" description="Gundam RX-78 cartridges">
<softwarelist name="rx78_cart" description="Gundam RX-78 cartridges">
<software name="basic">
<description>BS-BASIC 1.0</description>
<year>1983</year>
@ -208,16 +208,4 @@ The monitor will expect you to load a program from cassette.
</part>
</software>
<software name="graphmaths">
<description>Graphics Mathematics</description>
<year>1983</year>
<publisher>Bandai</publisher>
<info name="usage" value="MON then L then GRM. After loading, RUN" />
<sharedfeat name="requirement" value="basic"/>
<part name="cass" interface="rx78_cass">
<dataarea name="cass" size="0x23ca2c">
<rom name="graphmaths.wav" size="0x23ca2c" crc="e4411028" sha1="b03a855fe527c8a181b1c6e3d8daee6d637a97cc"/>
</dataarea>
</part>
</software>
</softwarelist>

21
hash/rx78_cass.xml Normal file
View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
<!--
license:CC0
-->
<softwarelist name="rx78_cass" description="Gundam RX-78 cassettes">
<software name="graphmaths">
<description>Graphics Mathematics</description>
<year>1983</year>
<publisher>Bandai</publisher>
<info name="usage" value="MON then L then GRM. After loading, RUN" />
<sharedfeat name="requirement" value="rx78_cart:basic"/>
<part name="cass" interface="rx78_cass">
<dataarea name="cass" size="0x23ca2c">
<rom name="graphmaths.wav" size="0x23ca2c" crc="e4411028" sha1="b03a855fe527c8a181b1c6e3d8daee6d637a97cc"/>
</dataarea>
</part>
</software>
</softwarelist>

View File

@ -501,8 +501,8 @@ void rx78_state::rx78(machine_config &config)
m_cass->set_interface("rx78_cass");
/* Software lists */
SOFTWARE_LIST(config, "cart_list").set_original("rx78");
SOFTWARE_LIST(config, "cass_list").set_original("rx78");
SOFTWARE_LIST(config, "cart_list").set_original("rx78_cart");
SOFTWARE_LIST(config, "cass_list").set_original("rx78_cass");
}
/* ROM definition */