From e61d508086ce08f920522a983685098ad265993b Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Tue, 26 Mar 2013 16:01:23 +0000 Subject: [PATCH] (MESS) ql: Added floppy softlist. [anonymous] --- .gitattributes | 3 +- hash/ql.xml | 39 ------------------------ hash/ql_cart.xml | 69 +++++++++++++++++++++++++++++++++++++++++++ hash/ql_cass.xml | 14 ++++++++- hash/ql_flop.xml | 53 +++++++++++++++++++++++++++++++++ src/mess/drivers/ql.c | 13 +++++++- 6 files changed, 149 insertions(+), 42 deletions(-) delete mode 100644 hash/ql.xml create mode 100644 hash/ql_cart.xml create mode 100644 hash/ql_flop.xml diff --git a/.gitattributes b/.gitattributes index 64e8556470a..205ea9fc2aa 100644 --- a/.gitattributes +++ b/.gitattributes @@ -205,8 +205,9 @@ hash/pv1000.xml svneol=native#text/xml hash/pv2000.xml svneol=native#text/xml hash/px4_cart.xml svneol=native#text/xml hash/pyl601.xml svneol=native#text/xml -hash/ql.xml svneol=native#text/xml +hash/ql_cart.xml svneol=native#text/xml hash/ql_cass.xml svneol=native#text/xml +hash/ql_flop.xml svneol=native#text/xml hash/radio86.xml svneol=native#text/xml hash/rainbow.xml svneol=native#text/xml hash/rx78.xml svneol=native#text/xml diff --git a/hash/ql.xml b/hash/ql.xml deleted file mode 100644 index 00e01afbdca..00000000000 --- a/hash/ql.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Toolkit II v2.10 - 1985 - Tony Tebby - - - - - - - - - - Toolkit II v2.12 - 2005 - Tony Tebby - - - - - - - - - - Toolkit II v2.13 - 2009 - Tony Tebby - - - - - - - - diff --git a/hash/ql_cart.xml b/hash/ql_cart.xml new file mode 100644 index 00000000000..338d76a5b94 --- /dev/null +++ b/hash/ql_cart.xml @@ -0,0 +1,69 @@ + + + + + + Toolkit II (v2.10) + 1985 + Tony Tebby + + + + + + + + + + Toolkit II (v2.12) + 2005 + Tony Tebby + + + + + + + + + + Toolkit II (v2.13) + 2009 + Tony Tebby + + + + + + + + + + Trump Card (v2.15) + 198? + Miracle Systems + + + + + + + + + + + + Super Disk + 198? + Sandy + + + + + + + + + + + diff --git a/hash/ql_cass.xml b/hash/ql_cass.xml index 02eeb8531aa..faa36bfebe3 100644 --- a/hash/ql_cass.xml +++ b/hash/ql_cass.xml @@ -1,6 +1,6 @@ - + Abacus @@ -38,6 +38,18 @@ + + Josiah Oobadiah + 1989 + Mark Incley + + + + + + + + Quill 1984 diff --git a/hash/ql_flop.xml b/hash/ql_flop.xml new file mode 100644 index 00000000000..447c9626f3f --- /dev/null +++ b/hash/ql_flop.xml @@ -0,0 +1,53 @@ + + + + + + Abacus + 1984 + Psion + + + + + + + + + + Archive + 1984 + Psion + + + + + + + + + + Easel + 1984 + Psion + + + + + + + + + + Quill + 1984 + Psion + + + + + + + + + diff --git a/src/mess/drivers/ql.c b/src/mess/drivers/ql.c index c1705396884..1274d374d35 100644 --- a/src/mess/drivers/ql.c +++ b/src/mess/drivers/ql.c @@ -10,6 +10,7 @@ TODO: + - slotify cartridges - microdrive - ZX8301 memory access slowdown - use resnet.h to create palette @@ -827,6 +828,12 @@ static LEGACY_FLOPPY_OPTIONS_START( ql ) SECTORS([40]) SECTOR_LENGTH([512]) FIRST_SECTOR_ID([1])) + LEGACY_FLOPPY_OPTION(ql, "img", "QDOS 800KB disk image", basicdsk_identify_default, basicdsk_construct_default, NULL, + HEADS([2]) + TRACKS([80]) + SECTORS([5]) + SECTOR_LENGTH([1024]) + FIRST_SECTOR_ID([1])) LEGACY_FLOPPY_OPTIONS_END static const floppy_interface ql_floppy_interface = @@ -1004,8 +1011,9 @@ static MACHINE_CONFIG_START( ql, ql_state ) MCFG_CARTSLOT_INTERFACE("ql_cart") // software lists + MCFG_SOFTWARE_LIST_ADD("cart_list", "ql_cart") MCFG_SOFTWARE_LIST_ADD("cass_list", "ql_cass") - MCFG_SOFTWARE_LIST_ADD("cart_list", "ql") + MCFG_SOFTWARE_LIST_ADD("flop_list", "ql_flop") // internal ram MCFG_RAM_ADD(RAM_TAG) @@ -1099,6 +1107,9 @@ ROM_START( ql ) ROM_REGION( 0x400, "plds", 0 ) ROM_LOAD( "hal16l8.ic38", 0x0000, 0x0400, NO_DUMP ) + + ROM_REGION( 0x4000, "printer", 0 ) // original Sinclair QL printer (based on Seikosha SP-1000 / SP-800QL, with custom QL font) + ROM_LOAD( "bql010-sqpp", 0x0000, 0x4000, CRC(07834797) SHA1(ba94bdad2303a263008b6ea744669a19938d9998) ) ROM_END