| Previous | 199869 Revisions | Next |
| r30825 Wednesday 4th June, 2014 at 11:37:59 UTC by Curt Coder |
|---|
| (MESS) ql: Expansions WIP. (nw) |
| [src/emu/bus] | bus.mak |
| [src/emu/bus/ql] | cst_q_plus4.c* cst_q_plus4.h* cst_qdisc.c* cst_qdisc.h* cumana_fdi.c* cumana_fdi.h* exp.c kempston_di.c* kempston_di.h* miracle_gold_card.c* miracle_gold_card.h* miracle_hd.c* miracle_hd.h* mp_fdi.c* mp_fdi.h* opd_basic_master.c* opd_basic_master.h* pcml_qdisk.c* pcml_qdisk.h* qubide.c* qubide.h* rom.c |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Cumana Floppy Disk Interface emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #pragma once | |
| 13 | ||
| 14 | #ifndef __CUMANA_FLOPPY_DISK_INTERFACE__ | |
| 15 | #define __CUMANA_FLOPPY_DISK_INTERFACE__ | |
| 16 | ||
| 17 | #include "exp.h" | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | //************************************************************************** | |
| 22 | // TYPE DEFINITIONS | |
| 23 | //************************************************************************** | |
| 24 | ||
| 25 | // ======================> cumana_floppy_disk_interface_t | |
| 26 | ||
| 27 | class cumana_floppy_disk_interface_t : public device_t, | |
| 28 | public device_ql_expansion_card_interface | |
| 29 | { | |
| 30 | public: | |
| 31 | // construction/destruction | |
| 32 | cumana_floppy_disk_interface_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | cumana_floppy_disk_interface_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int ram_size); | |
| 34 | ||
| 35 | // optional information overrides | |
| 36 | virtual const rom_entry *device_rom_region() const; | |
| 37 | ||
| 38 | protected: | |
| 39 | // device-level overrides | |
| 40 | virtual void device_start(); | |
| 41 | ||
| 42 | // device_ql_expansion_card_interface overrides | |
| 43 | virtual UINT8 read(address_space &space, offs_t offset, UINT8 data); | |
| 44 | virtual void write(address_space &space, offs_t offset, UINT8 data); | |
| 45 | ||
| 46 | private: | |
| 47 | }; | |
| 48 | ||
| 49 | ||
| 50 | ||
| 51 | // device type definition | |
| 52 | extern const device_type CUMANA_FLOPPY_DISK_INTERFACE; | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | #endif |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Miracle Hard Disk emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #pragma once | |
| 13 | ||
| 14 | #ifndef __MIRACLE_HARD_DISK__ | |
| 15 | #define __MIRACLE_HARD_DISK__ | |
| 16 | ||
| 17 | #include "rom.h" | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | //************************************************************************** | |
| 22 | // TYPE DEFINITIONS | |
| 23 | //************************************************************************** | |
| 24 | ||
| 25 | // ======================> miracle_hard_disk_t | |
| 26 | ||
| 27 | class miracle_hard_disk_t : public device_t, | |
| 28 | public device_ql_rom_cartridge_card_interface | |
| 29 | { | |
| 30 | public: | |
| 31 | // construction/destruction | |
| 32 | miracle_hard_disk_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | miracle_hard_disk_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int ram_size); | |
| 34 | ||
| 35 | // optional information overrides | |
| 36 | virtual const rom_entry *device_rom_region() const; | |
| 37 | ||
| 38 | protected: | |
| 39 | // device-level overrides | |
| 40 | virtual void device_start(); | |
| 41 | ||
| 42 | // device_ql_rom_cartridge_card_interface overrides | |
| 43 | virtual UINT8 read(address_space &space, offs_t offset, UINT8 data); | |
| 44 | virtual void write(address_space &space, offs_t offset, UINT8 data); | |
| 45 | ||
| 46 | private: | |
| 47 | }; | |
| 48 | ||
| 49 | ||
| 50 | ||
| 51 | // device type definition | |
| 52 | extern const device_type MIRACLE_HARD_DISK; | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | #endif |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r30824 | r30825 | |
|---|---|---|
| 128 | 128 | //------------------------------------------------- |
| 129 | 129 | |
| 130 | 130 | // slot devices |
| 131 | #include "miracle_hd.h" | |
| 131 | 132 | #include "std.h" |
| 132 | 133 | |
| 133 | 134 | SLOT_INTERFACE_START( ql_rom_cartridge_cards ) |
| 135 | SLOT_INTERFACE("mhd", MIRACLE_HARD_DISK) | |
| 136 | ||
| 134 | 137 | // the following need ROMs from the software list |
| 135 | 138 | SLOT_INTERFACE_INTERNAL("standard", QL_STANDARD_ROM_CARTRIDGE) |
| 136 | 139 | SLOT_INTERFACE_END |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Micro Peripherals Floppy Disk Interface emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #include "mp_fdi.h" | |
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | //************************************************************************** | |
| 17 | // DEVICE DEFINITIONS | |
| 18 | //************************************************************************** | |
| 19 | ||
| 20 | const device_type MICRO_PERIPHERALS_FLOPPY_DISK_INTERFACE = &device_creator<micro_peripherals_floppy_disk_interface_t>; | |
| 21 | ||
| 22 | ||
| 23 | //------------------------------------------------- | |
| 24 | // ROM( micro_peripherals_floppy_disk_interface ) | |
| 25 | //------------------------------------------------- | |
| 26 | ||
| 27 | ROM_START( micro_peripherals_floppy_disk_interface ) | |
| 28 | ROM_REGION( 0x8000, "rom", 0 ) | |
| 29 | ROM_DEFAULT_BIOS("v53e") | |
| 30 | ROM_SYSTEM_BIOS( 0, "v53e", "v5.3E" ) | |
| 31 | ROMX_LOAD( "microp_disk system_v5.3e_1985.rom", 0x0000, 0x8000, CRC(9a8d8fa7) SHA1(f9f5e5d55f3046f63b4eae59222b81290d626e72), ROM_BIOS(1) ) | |
| 32 | ROM_END | |
| 33 | ||
| 34 | ||
| 35 | //------------------------------------------------- | |
| 36 | // rom_region - device-specific ROM region | |
| 37 | //------------------------------------------------- | |
| 38 | ||
| 39 | const rom_entry *micro_peripherals_floppy_disk_interface_t::device_rom_region() const | |
| 40 | { | |
| 41 | return ROM_NAME( micro_peripherals_floppy_disk_interface ); | |
| 42 | } | |
| 43 | ||
| 44 | ||
| 45 | ||
| 46 | //************************************************************************** | |
| 47 | // LIVE DEVICE | |
| 48 | //************************************************************************** | |
| 49 | ||
| 50 | //------------------------------------------------- | |
| 51 | // micro_peripherals_floppy_disk_interface_t - constructor | |
| 52 | //------------------------------------------------- | |
| 53 | ||
| 54 | micro_peripherals_floppy_disk_interface_t::micro_peripherals_floppy_disk_interface_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : | |
| 55 | device_t(mconfig, MICRO_PERIPHERALS_FLOPPY_DISK_INTERFACE, "Micro Peripherals Floppy Disk Interface", tag, owner, clock, "ql_mpfdi", __FILE__), | |
| 56 | device_ql_expansion_card_interface(mconfig, *this) | |
| 57 | { | |
| 58 | } | |
| 59 | ||
| 60 | ||
| 61 | //------------------------------------------------- | |
| 62 | // device_start - device-specific startup | |
| 63 | //------------------------------------------------- | |
| 64 | ||
| 65 | void micro_peripherals_floppy_disk_interface_t::device_start() | |
| 66 | { | |
| 67 | } | |
| 68 | ||
| 69 | ||
| 70 | //------------------------------------------------- | |
| 71 | // read - | |
| 72 | //------------------------------------------------- | |
| 73 | ||
| 74 | UINT8 micro_peripherals_floppy_disk_interface_t::read(address_space &space, offs_t offset, UINT8 data) | |
| 75 | { | |
| 76 | return data; | |
| 77 | } | |
| 78 | ||
| 79 | ||
| 80 | //------------------------------------------------- | |
| 81 | // write - | |
| 82 | //------------------------------------------------- | |
| 83 | ||
| 84 | void micro_peripherals_floppy_disk_interface_t::write(address_space &space, offs_t offset, UINT8 data) | |
| 85 | { | |
| 86 | } |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | CST Q+4 emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #include "cst_q_plus4.h" | |
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | //************************************************************************** | |
| 17 | // DEVICE DEFINITIONS | |
| 18 | //************************************************************************** | |
| 19 | ||
| 20 | const device_type CST_Q_PLUS4 = &device_creator<cst_q_plus4_t>; | |
| 21 | ||
| 22 | ||
| 23 | //------------------------------------------------- | |
| 24 | // ROM( cst_q_plus4 ) | |
| 25 | //------------------------------------------------- | |
| 26 | ||
| 27 | ROM_START( cst_q_plus4 ) | |
| 28 | ROM_REGION( 0x2000, "rom", 0 ) | |
| 29 | ROM_LOAD( "qplus4.rom", 0x0000, 0x2000, CRC(53a078fb) SHA1(53d6828c1b6ba052b862fd80ac8a364b0078330d) ) | |
| 30 | ROM_END | |
| 31 | ||
| 32 | ||
| 33 | //------------------------------------------------- | |
| 34 | // rom_region - device-specific ROM region | |
| 35 | //------------------------------------------------- | |
| 36 | ||
| 37 | const rom_entry *cst_q_plus4_t::device_rom_region() const | |
| 38 | { | |
| 39 | return ROM_NAME( cst_q_plus4 ); | |
| 40 | } | |
| 41 | ||
| 42 | ||
| 43 | ||
| 44 | //************************************************************************** | |
| 45 | // LIVE DEVICE | |
| 46 | //************************************************************************** | |
| 47 | ||
| 48 | //------------------------------------------------- | |
| 49 | // cst_q_plus4_t - constructor | |
| 50 | //------------------------------------------------- | |
| 51 | ||
| 52 | cst_q_plus4_t::cst_q_plus4_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : | |
| 53 | device_t(mconfig, CST_Q_PLUS4, "CST Q+4", tag, owner, clock, "ql_qplus4", __FILE__), | |
| 54 | device_ql_expansion_card_interface(mconfig, *this) | |
| 55 | { | |
| 56 | } | |
| 57 | ||
| 58 | ||
| 59 | //------------------------------------------------- | |
| 60 | // device_start - device-specific startup | |
| 61 | //------------------------------------------------- | |
| 62 | ||
| 63 | void cst_q_plus4_t::device_start() | |
| 64 | { | |
| 65 | } | |
| 66 | ||
| 67 | ||
| 68 | //------------------------------------------------- | |
| 69 | // read - | |
| 70 | //------------------------------------------------- | |
| 71 | ||
| 72 | UINT8 cst_q_plus4_t::read(address_space &space, offs_t offset, UINT8 data) | |
| 73 | { | |
| 74 | return data; | |
| 75 | } | |
| 76 | ||
| 77 | ||
| 78 | //------------------------------------------------- | |
| 79 | // write - | |
| 80 | //------------------------------------------------- | |
| 81 | ||
| 82 | void cst_q_plus4_t::write(address_space &space, offs_t offset, UINT8 data) | |
| 83 | { | |
| 84 | } |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Micro Peripherals Floppy Disk Interface emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #pragma once | |
| 13 | ||
| 14 | #ifndef __MICRO_PERIPHERALS_FLOPPY_DISK_INTERFACE__ | |
| 15 | #define __MICRO_PERIPHERALS_FLOPPY_DISK_INTERFACE__ | |
| 16 | ||
| 17 | #include "exp.h" | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | //************************************************************************** | |
| 22 | // TYPE DEFINITIONS | |
| 23 | //************************************************************************** | |
| 24 | ||
| 25 | // ======================> micro_peripherals_floppy_disk_interface_t | |
| 26 | ||
| 27 | class micro_peripherals_floppy_disk_interface_t : public device_t, | |
| 28 | public device_ql_expansion_card_interface | |
| 29 | { | |
| 30 | public: | |
| 31 | // construction/destruction | |
| 32 | micro_peripherals_floppy_disk_interface_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | micro_peripherals_floppy_disk_interface_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int ram_size); | |
| 34 | ||
| 35 | // optional information overrides | |
| 36 | virtual const rom_entry *device_rom_region() const; | |
| 37 | ||
| 38 | protected: | |
| 39 | // device-level overrides | |
| 40 | virtual void device_start(); | |
| 41 | ||
| 42 | // device_ql_expansion_card_interface overrides | |
| 43 | virtual UINT8 read(address_space &space, offs_t offset, UINT8 data); | |
| 44 | virtual void write(address_space &space, offs_t offset, UINT8 data); | |
| 45 | ||
| 46 | private: | |
| 47 | }; | |
| 48 | ||
| 49 | ||
| 50 | ||
| 51 | // device type definition | |
| 52 | extern const device_type MICRO_PERIPHERALS_FLOPPY_DISK_INTERFACE; | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | #endif |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | CST Q+4 emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #pragma once | |
| 13 | ||
| 14 | #ifndef __CST_Q_PLUS4__ | |
| 15 | #define __CST_Q_PLUS4__ | |
| 16 | ||
| 17 | #include "exp.h" | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | //************************************************************************** | |
| 22 | // TYPE DEFINITIONS | |
| 23 | //************************************************************************** | |
| 24 | ||
| 25 | // ======================> cst_q_plus4_t | |
| 26 | ||
| 27 | class cst_q_plus4_t : public device_t, | |
| 28 | public device_ql_expansion_card_interface | |
| 29 | { | |
| 30 | public: | |
| 31 | // construction/destruction | |
| 32 | cst_q_plus4_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | cst_q_plus4_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int ram_size); | |
| 34 | ||
| 35 | // optional information overrides | |
| 36 | virtual const rom_entry *device_rom_region() const; | |
| 37 | ||
| 38 | protected: | |
| 39 | // device-level overrides | |
| 40 | virtual void device_start(); | |
| 41 | ||
| 42 | // device_ql_expansion_card_interface overrides | |
| 43 | virtual UINT8 read(address_space &space, offs_t offset, UINT8 data); | |
| 44 | virtual void write(address_space &space, offs_t offset, UINT8 data); | |
| 45 | ||
| 46 | private: | |
| 47 | }; | |
| 48 | ||
| 49 | ||
| 50 | ||
| 51 | // device type definition | |
| 52 | extern const device_type CST_Q_PLUS4; | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | #endif |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Miracle Systems Gold Card emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #include "miracle_gold_card.h" | |
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | //************************************************************************** | |
| 17 | // DEVICE DEFINITIONS | |
| 18 | //************************************************************************** | |
| 19 | ||
| 20 | const device_type MIRACLE_GOLD_CARD = &device_creator<miracle_gold_card_t>; | |
| 21 | ||
| 22 | ||
| 23 | //------------------------------------------------- | |
| 24 | // ROM( miracle_gold_card ) | |
| 25 | //------------------------------------------------- | |
| 26 | ||
| 27 | ROM_START( miracle_gold_card ) | |
| 28 | ROM_REGION( 0x10000, "rom", 0 ) | |
| 29 | ROM_DEFAULT_BIOS("v249") | |
| 30 | ROM_SYSTEM_BIOS( 0, "v228", "v2.28" ) | |
| 31 | ROMX_LOAD( "goldcard228.bin", 0x00000, 0x10000, CRC(fee008de) SHA1(849f0a515ac32502f3b1a4f65ce957c0bef6e6d6), ROM_BIOS(1) ) | |
| 32 | ROM_SYSTEM_BIOS( 1, "v249", "v2.49" ) | |
| 33 | ROMX_LOAD( "sgcandgc249.bin", 0x00000, 0x10000, CRC(963c7bfc) SHA1(e80851fc536eef2b83c611e717e563b05bba8b3d), ROM_BIOS(2) ) | |
| 34 | ROM_END | |
| 35 | ||
| 36 | ||
| 37 | //------------------------------------------------- | |
| 38 | // rom_region - device-specific ROM region | |
| 39 | //------------------------------------------------- | |
| 40 | ||
| 41 | const rom_entry *miracle_gold_card_t::device_rom_region() const | |
| 42 | { | |
| 43 | return ROM_NAME( miracle_gold_card ); | |
| 44 | } | |
| 45 | ||
| 46 | ||
| 47 | ||
| 48 | //************************************************************************** | |
| 49 | // LIVE DEVICE | |
| 50 | //************************************************************************** | |
| 51 | ||
| 52 | //------------------------------------------------- | |
| 53 | // miracle_gold_card_t - constructor | |
| 54 | //------------------------------------------------- | |
| 55 | ||
| 56 | miracle_gold_card_t::miracle_gold_card_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : | |
| 57 | device_t(mconfig, MIRACLE_GOLD_CARD, "Miracle Gold Card", tag, owner, clock, "ql_gold", __FILE__), | |
| 58 | device_ql_expansion_card_interface(mconfig, *this) | |
| 59 | { | |
| 60 | } | |
| 61 | ||
| 62 | ||
| 63 | //------------------------------------------------- | |
| 64 | // device_start - device-specific startup | |
| 65 | //------------------------------------------------- | |
| 66 | ||
| 67 | void miracle_gold_card_t::device_start() | |
| 68 | { | |
| 69 | } | |
| 70 | ||
| 71 | ||
| 72 | //------------------------------------------------- | |
| 73 | // read - | |
| 74 | //------------------------------------------------- | |
| 75 | ||
| 76 | UINT8 miracle_gold_card_t::read(address_space &space, offs_t offset, UINT8 data) | |
| 77 | { | |
| 78 | return data; | |
| 79 | } | |
| 80 | ||
| 81 | ||
| 82 | //------------------------------------------------- | |
| 83 | // write - | |
| 84 | //------------------------------------------------- | |
| 85 | ||
| 86 | void miracle_gold_card_t::write(address_space &space, offs_t offset, UINT8 data) | |
| 87 | { | |
| 88 | } |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Kempston Disk Interface emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #include "kempston_di.h" | |
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | //************************************************************************** | |
| 17 | // DEVICE DEFINITIONS | |
| 18 | //************************************************************************** | |
| 19 | ||
| 20 | const device_type KEMPSTON_DISK_INTERFACE = &device_creator<kempston_disk_interface_t>; | |
| 21 | ||
| 22 | ||
| 23 | //------------------------------------------------- | |
| 24 | // ROM( kempston_disk_system ) | |
| 25 | //------------------------------------------------- | |
| 26 | ||
| 27 | ROM_START( kempston_disk_system ) | |
| 28 | ROM_REGION( 0x2000, "rom", 0 ) | |
| 29 | ROM_DEFAULT_BIOS("v114") | |
| 30 | ROM_SYSTEM_BIOS( 0, "v114", "v1.14" ) | |
| 31 | ROMX_LOAD( "kempston_disk_system_v1.14_1984.rom", 0x0000, 0x2000, CRC(0b70ad2e) SHA1(ff8158d25864d920f3f6df259167e91c2784692c), ROM_BIOS(1) ) | |
| 32 | ROM_END | |
| 33 | ||
| 34 | ||
| 35 | //------------------------------------------------- | |
| 36 | // rom_region - device-specific ROM region | |
| 37 | //------------------------------------------------- | |
| 38 | ||
| 39 | const rom_entry *kempston_disk_interface_t::device_rom_region() const | |
| 40 | { | |
| 41 | return ROM_NAME( kempston_disk_system ); | |
| 42 | } | |
| 43 | ||
| 44 | ||
| 45 | ||
| 46 | //************************************************************************** | |
| 47 | // LIVE DEVICE | |
| 48 | //************************************************************************** | |
| 49 | ||
| 50 | //------------------------------------------------- | |
| 51 | // kempston_disk_interface_t - constructor | |
| 52 | //------------------------------------------------- | |
| 53 | ||
| 54 | kempston_disk_interface_t::kempston_disk_interface_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : | |
| 55 | device_t(mconfig, KEMPSTON_DISK_INTERFACE, "Kempston Disk Interface", tag, owner, clock, "ql_kdi", __FILE__), | |
| 56 | device_ql_expansion_card_interface(mconfig, *this) | |
| 57 | { | |
| 58 | } | |
| 59 | ||
| 60 | ||
| 61 | //------------------------------------------------- | |
| 62 | // device_start - device-specific startup | |
| 63 | //------------------------------------------------- | |
| 64 | ||
| 65 | void kempston_disk_interface_t::device_start() | |
| 66 | { | |
| 67 | } | |
| 68 | ||
| 69 | ||
| 70 | //------------------------------------------------- | |
| 71 | // read - | |
| 72 | //------------------------------------------------- | |
| 73 | ||
| 74 | UINT8 kempston_disk_interface_t::read(address_space &space, offs_t offset, UINT8 data) | |
| 75 | { | |
| 76 | return data; | |
| 77 | } | |
| 78 | ||
| 79 | ||
| 80 | //------------------------------------------------- | |
| 81 | // write - | |
| 82 | //------------------------------------------------- | |
| 83 | ||
| 84 | void kempston_disk_interface_t::write(address_space &space, offs_t offset, UINT8 data) | |
| 85 | { | |
| 86 | } |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Miracle Systems Gold Card emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #pragma once | |
| 13 | ||
| 14 | #ifndef __MIRACLE_GOLD_CARD__ | |
| 15 | #define __MIRACLE_GOLD_CARD__ | |
| 16 | ||
| 17 | #include "exp.h" | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | //************************************************************************** | |
| 22 | // TYPE DEFINITIONS | |
| 23 | //************************************************************************** | |
| 24 | ||
| 25 | // ======================> miracle_gold_card_t | |
| 26 | ||
| 27 | class miracle_gold_card_t : public device_t, | |
| 28 | public device_ql_expansion_card_interface | |
| 29 | { | |
| 30 | public: | |
| 31 | // construction/destruction | |
| 32 | miracle_gold_card_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | miracle_gold_card_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int ram_size); | |
| 34 | ||
| 35 | // optional information overrides | |
| 36 | virtual const rom_entry *device_rom_region() const; | |
| 37 | ||
| 38 | protected: | |
| 39 | // device-level overrides | |
| 40 | virtual void device_start(); | |
| 41 | ||
| 42 | // device_ql_expansion_card_interface overrides | |
| 43 | virtual UINT8 read(address_space &space, offs_t offset, UINT8 data); | |
| 44 | virtual void write(address_space &space, offs_t offset, UINT8 data); | |
| 45 | ||
| 46 | private: | |
| 47 | }; | |
| 48 | ||
| 49 | ||
| 50 | ||
| 51 | // device type definition | |
| 52 | extern const device_type MIRACLE_GOLD_CARD; | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | #endif |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Kempston Disk Interface emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #pragma once | |
| 13 | ||
| 14 | #ifndef __KEMPSTON_DISK_INTERFACE__ | |
| 15 | #define __KEMPSTON_DISK_INTERFACE__ | |
| 16 | ||
| 17 | #include "exp.h" | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | //************************************************************************** | |
| 22 | // TYPE DEFINITIONS | |
| 23 | //************************************************************************** | |
| 24 | ||
| 25 | // ======================> kempston_disk_interface_t | |
| 26 | ||
| 27 | class kempston_disk_interface_t : public device_t, | |
| 28 | public device_ql_expansion_card_interface | |
| 29 | { | |
| 30 | public: | |
| 31 | // construction/destruction | |
| 32 | kempston_disk_interface_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | kempston_disk_interface_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int ram_size); | |
| 34 | ||
| 35 | // optional information overrides | |
| 36 | virtual const rom_entry *device_rom_region() const; | |
| 37 | ||
| 38 | protected: | |
| 39 | // device-level overrides | |
| 40 | virtual void device_start(); | |
| 41 | ||
| 42 | // device_ql_expansion_card_interface overrides | |
| 43 | virtual UINT8 read(address_space &space, offs_t offset, UINT8 data); | |
| 44 | virtual void write(address_space &space, offs_t offset, UINT8 data); | |
| 45 | ||
| 46 | private: | |
| 47 | }; | |
| 48 | ||
| 49 | ||
| 50 | ||
| 51 | // device type definition | |
| 52 | extern const device_type KEMPSTON_DISK_INTERFACE; | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | #endif |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | PCML Q+ Disk Interface emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #include "pcml_qdisk.h" | |
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | //************************************************************************** | |
| 17 | // DEVICE DEFINITIONS | |
| 18 | //************************************************************************** | |
| 19 | ||
| 20 | const device_type PCML_Q_DISK_INTERFACE = &device_creator<pcml_q_disk_interface_t>; | |
| 21 | ||
| 22 | ||
| 23 | //------------------------------------------------- | |
| 24 | // ROM( pcml_q_disk_interface ) | |
| 25 | //------------------------------------------------- | |
| 26 | ||
| 27 | ROM_START( pcml_q_disk_interface ) | |
| 28 | ROM_REGION( 0x4000, "rom", 0 ) | |
| 29 | ROM_DEFAULT_BIOS("v114") | |
| 30 | ROM_SYSTEM_BIOS( 0, "v114", "v1.14" ) | |
| 31 | ROMX_LOAD( "pcml_diskram system_v1.14_1984.rom", 0x0000, 0x4000, CRC(e38b41dd) SHA1(d2038f0b1a62e8e65ec86660d03c25489ce40274), ROM_BIOS(1) ) | |
| 32 | ROM_END | |
| 33 | ||
| 34 | ||
| 35 | //------------------------------------------------- | |
| 36 | // rom_region - device-specific ROM region | |
| 37 | //------------------------------------------------- | |
| 38 | ||
| 39 | const rom_entry *pcml_q_disk_interface_t::device_rom_region() const | |
| 40 | { | |
| 41 | return ROM_NAME( pcml_q_disk_interface ); | |
| 42 | } | |
| 43 | ||
| 44 | ||
| 45 | ||
| 46 | //************************************************************************** | |
| 47 | // LIVE DEVICE | |
| 48 | //************************************************************************** | |
| 49 | ||
| 50 | //------------------------------------------------- | |
| 51 | // pcml_q_disk_interface_t - constructor | |
| 52 | //------------------------------------------------- | |
| 53 | ||
| 54 | pcml_q_disk_interface_t::pcml_q_disk_interface_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : | |
| 55 | device_t(mconfig, PCML_Q_DISK_INTERFACE, "PCML Q+ Disk Interface", tag, owner, clock, "ql_pcmlqdi", __FILE__), | |
| 56 | device_ql_expansion_card_interface(mconfig, *this) | |
| 57 | { | |
| 58 | } | |
| 59 | ||
| 60 | ||
| 61 | //------------------------------------------------- | |
| 62 | // device_start - device-specific startup | |
| 63 | //------------------------------------------------- | |
| 64 | ||
| 65 | void pcml_q_disk_interface_t::device_start() | |
| 66 | { | |
| 67 | } | |
| 68 | ||
| 69 | ||
| 70 | //------------------------------------------------- | |
| 71 | // read - | |
| 72 | //------------------------------------------------- | |
| 73 | ||
| 74 | UINT8 pcml_q_disk_interface_t::read(address_space &space, offs_t offset, UINT8 data) | |
| 75 | { | |
| 76 | return data; | |
| 77 | } | |
| 78 | ||
| 79 | ||
| 80 | //------------------------------------------------- | |
| 81 | // write - | |
| 82 | //------------------------------------------------- | |
| 83 | ||
| 84 | void pcml_q_disk_interface_t::write(address_space &space, offs_t offset, UINT8 data) | |
| 85 | { | |
| 86 | } |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | PCML Q+ Disk Interface emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #pragma once | |
| 13 | ||
| 14 | #ifndef __PCML_Q_DISK_INTERFACE__ | |
| 15 | #define __PCML_Q_DISK_INTERFACE__ | |
| 16 | ||
| 17 | #include "exp.h" | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | //************************************************************************** | |
| 22 | // TYPE DEFINITIONS | |
| 23 | //************************************************************************** | |
| 24 | ||
| 25 | // ======================> pcml_q_disk_interface_t | |
| 26 | ||
| 27 | class pcml_q_disk_interface_t : public device_t, | |
| 28 | public device_ql_expansion_card_interface | |
| 29 | { | |
| 30 | public: | |
| 31 | // construction/destruction | |
| 32 | pcml_q_disk_interface_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | pcml_q_disk_interface_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int ram_size); | |
| 34 | ||
| 35 | // optional information overrides | |
| 36 | virtual const rom_entry *device_rom_region() const; | |
| 37 | ||
| 38 | protected: | |
| 39 | // device-level overrides | |
| 40 | virtual void device_start(); | |
| 41 | ||
| 42 | // device_ql_expansion_card_interface overrides | |
| 43 | virtual UINT8 read(address_space &space, offs_t offset, UINT8 data); | |
| 44 | virtual void write(address_space &space, offs_t offset, UINT8 data); | |
| 45 | ||
| 46 | private: | |
| 47 | }; | |
| 48 | ||
| 49 | ||
| 50 | ||
| 51 | // device type definition | |
| 52 | extern const device_type PCML_Q_DISK_INTERFACE; | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | #endif |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r30824 | r30825 | |
|---|---|---|
| 78 | 78 | //------------------------------------------------- |
| 79 | 79 | |
| 80 | 80 | // slot devices |
| 81 | #include "cst_qdisc.h" | |
| 82 | #include "cst_q_plus4.h" | |
| 83 | #include "cumana_fdi.h" | |
| 84 | #include "kempston_di.h" | |
| 85 | #include "miracle_gold_card.h" | |
| 86 | #include "mp_fdi.h" | |
| 87 | #include "opd_basic_master.h" | |
| 88 | #include "pcml_qdisk.h" | |
| 89 | #include "qubide.h" | |
| 81 | 90 | #include "sandy_superdisk.h" |
| 82 | 91 | #include "sandy_superqboard.h" |
| 83 | 92 | #include "trumpcard.h" |
| 84 | 93 | |
| 85 | 94 | SLOT_INTERFACE_START( ql_expansion_cards ) |
| 95 | SLOT_INTERFACE("qdisc", CST_QL_DISC_INTERFACE) | |
| 96 | SLOT_INTERFACE("qplus4", CST_Q_PLUS4) | |
| 97 | SLOT_INTERFACE("cumanafdi", CUMANA_FLOPPY_DISK_INTERFACE) | |
| 98 | SLOT_INTERFACE("kdi", KEMPSTON_DISK_INTERFACE) | |
| 99 | SLOT_INTERFACE("mpfdi", MICRO_PERIPHERALS_FLOPPY_DISK_INTERFACE) | |
| 100 | SLOT_INTERFACE("gold", MIRACLE_GOLD_CARD) | |
| 101 | SLOT_INTERFACE("pcmlqdi", PCML_Q_DISK_INTERFACE) | |
| 102 | SLOT_INTERFACE("qubide", QUBIDE) | |
| 86 | 103 | SLOT_INTERFACE("sdisk", SANDY_SUPER_DISK) |
| 87 | 104 | SLOT_INTERFACE("sqboard", SANDY_SUPERQBOARD) |
| 88 | 105 | SLOT_INTERFACE("sqboard512k", SANDY_SUPERQBOARD_512K) |
| 106 | SLOT_INTERFACE("opdbasic", OPD_BASIC_MASTER) | |
| 89 | 107 | SLOT_INTERFACE("trump", QL_TRUMP_CARD) |
| 90 | 108 | SLOT_INTERFACE("trump256k", QL_TRUMP_CARD_256K) |
| 91 | 109 | SLOT_INTERFACE("trump512k", QL_TRUMP_CARD_512K) |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | OPD Basic Master emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #include "opd_basic_master.h" | |
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | //************************************************************************** | |
| 17 | // DEVICE DEFINITIONS | |
| 18 | //************************************************************************** | |
| 19 | ||
| 20 | const device_type OPD_BASIC_MASTER = &device_creator<opd_basic_master_t>; | |
| 21 | ||
| 22 | ||
| 23 | //------------------------------------------------- | |
| 24 | // ROM( opd_basic_master ) | |
| 25 | //------------------------------------------------- | |
| 26 | ||
| 27 | ROM_START( opd_basic_master ) | |
| 28 | ROM_REGION( 0x10000, "rom", 0 ) | |
| 29 | ROM_LOAD( "opd_basic_master_1984.rom", 0x00000, 0x10000, CRC(7e534c0d) SHA1(de485e89272e3b51086967333cda9de806ba3876) ) | |
| 30 | ROM_END | |
| 31 | ||
| 32 | ||
| 33 | //------------------------------------------------- | |
| 34 | // rom_region - device-specific ROM region | |
| 35 | //------------------------------------------------- | |
| 36 | ||
| 37 | const rom_entry *opd_basic_master_t::device_rom_region() const | |
| 38 | { | |
| 39 | return ROM_NAME( opd_basic_master ); | |
| 40 | } | |
| 41 | ||
| 42 | ||
| 43 | ||
| 44 | //************************************************************************** | |
| 45 | // LIVE DEVICE | |
| 46 | //************************************************************************** | |
| 47 | ||
| 48 | //------------------------------------------------- | |
| 49 | // opd_basic_master_t - constructor | |
| 50 | //------------------------------------------------- | |
| 51 | ||
| 52 | opd_basic_master_t::opd_basic_master_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : | |
| 53 | device_t(mconfig, OPD_BASIC_MASTER, "OPD Basic Master", tag, owner, clock, "ql_opdbm", __FILE__), | |
| 54 | device_ql_expansion_card_interface(mconfig, *this) | |
| 55 | { | |
| 56 | } | |
| 57 | ||
| 58 | ||
| 59 | //------------------------------------------------- | |
| 60 | // device_start - device-specific startup | |
| 61 | //------------------------------------------------- | |
| 62 | ||
| 63 | void opd_basic_master_t::device_start() | |
| 64 | { | |
| 65 | } | |
| 66 | ||
| 67 | ||
| 68 | //------------------------------------------------- | |
| 69 | // read - | |
| 70 | //------------------------------------------------- | |
| 71 | ||
| 72 | UINT8 opd_basic_master_t::read(address_space &space, offs_t offset, UINT8 data) | |
| 73 | { | |
| 74 | return data; | |
| 75 | } | |
| 76 | ||
| 77 | ||
| 78 | //------------------------------------------------- | |
| 79 | // write - | |
| 80 | //------------------------------------------------- | |
| 81 | ||
| 82 | void opd_basic_master_t::write(address_space &space, offs_t offset, UINT8 data) | |
| 83 | { | |
| 84 | } |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | OPD Basic Master emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #pragma once | |
| 13 | ||
| 14 | #ifndef __OPD_BASIC_MASTER__ | |
| 15 | #define __OPD_BASIC_MASTER__ | |
| 16 | ||
| 17 | #include "exp.h" | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | //************************************************************************** | |
| 22 | // TYPE DEFINITIONS | |
| 23 | //************************************************************************** | |
| 24 | ||
| 25 | // ======================> opd_basic_master_t | |
| 26 | ||
| 27 | class opd_basic_master_t : public device_t, | |
| 28 | public device_ql_expansion_card_interface | |
| 29 | { | |
| 30 | public: | |
| 31 | // construction/destruction | |
| 32 | opd_basic_master_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | opd_basic_master_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int ram_size); | |
| 34 | ||
| 35 | // optional information overrides | |
| 36 | virtual const rom_entry *device_rom_region() const; | |
| 37 | ||
| 38 | protected: | |
| 39 | // device-level overrides | |
| 40 | virtual void device_start(); | |
| 41 | ||
| 42 | // device_ql_expansion_card_interface overrides | |
| 43 | virtual UINT8 read(address_space &space, offs_t offset, UINT8 data); | |
| 44 | virtual void write(address_space &space, offs_t offset, UINT8 data); | |
| 45 | ||
| 46 | private: | |
| 47 | }; | |
| 48 | ||
| 49 | ||
| 50 | ||
| 51 | // device type definition | |
| 52 | extern const device_type OPD_BASIC_MASTER; | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | #endif |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Qubbesoft QubIDE emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #include "qubide.h" | |
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | //************************************************************************** | |
| 17 | // DEVICE DEFINITIONS | |
| 18 | //************************************************************************** | |
| 19 | ||
| 20 | const device_type QUBIDE = &device_creator<qubide_t>; | |
| 21 | ||
| 22 | ||
| 23 | //------------------------------------------------- | |
| 24 | // ROM( qubide ) | |
| 25 | //------------------------------------------------- | |
| 26 | ||
| 27 | ROM_START( qubide ) | |
| 28 | ROM_REGION( 0x4000, "rom", 0 ) | |
| 29 | ROM_DEFAULT_BIOS("v201") | |
| 30 | ROM_SYSTEM_BIOS( 0, "v201", "v2.01" ) | |
| 31 | ROMX_LOAD( "qb201_16k.rom", 0x0000, 0x4000, CRC(6f1d62a6) SHA1(1708d85397422e2024daa1a3406cac685f46730d), ROM_BIOS(1) ) | |
| 32 | ROM_END | |
| 33 | ||
| 34 | ||
| 35 | //------------------------------------------------- | |
| 36 | // rom_region - device-specific ROM region | |
| 37 | //------------------------------------------------- | |
| 38 | ||
| 39 | const rom_entry *qubide_t::device_rom_region() const | |
| 40 | { | |
| 41 | return ROM_NAME( qubide ); | |
| 42 | } | |
| 43 | ||
| 44 | ||
| 45 | ||
| 46 | //************************************************************************** | |
| 47 | // LIVE DEVICE | |
| 48 | //************************************************************************** | |
| 49 | ||
| 50 | //------------------------------------------------- | |
| 51 | // qubide_t - constructor | |
| 52 | //------------------------------------------------- | |
| 53 | ||
| 54 | qubide_t::qubide_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : | |
| 55 | device_t(mconfig, QUBIDE, "QubIDE", tag, owner, clock, "ql_qubide", __FILE__), | |
| 56 | device_ql_expansion_card_interface(mconfig, *this) | |
| 57 | { | |
| 58 | } | |
| 59 | ||
| 60 | ||
| 61 | //------------------------------------------------- | |
| 62 | // device_start - device-specific startup | |
| 63 | //------------------------------------------------- | |
| 64 | ||
| 65 | void qubide_t::device_start() | |
| 66 | { | |
| 67 | } | |
| 68 | ||
| 69 | ||
| 70 | //------------------------------------------------- | |
| 71 | // read - | |
| 72 | //------------------------------------------------- | |
| 73 | ||
| 74 | UINT8 qubide_t::read(address_space &space, offs_t offset, UINT8 data) | |
| 75 | { | |
| 76 | return data; | |
| 77 | } | |
| 78 | ||
| 79 | ||
| 80 | //------------------------------------------------- | |
| 81 | // write - | |
| 82 | //------------------------------------------------- | |
| 83 | ||
| 84 | void qubide_t::write(address_space &space, offs_t offset, UINT8 data) | |
| 85 | { | |
| 86 | } |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | CST QL Disc Interface emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #include "cst_qdisc.h" | |
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | //************************************************************************** | |
| 17 | // DEVICE DEFINITIONS | |
| 18 | //************************************************************************** | |
| 19 | ||
| 20 | const device_type CST_QL_DISC_INTERFACE = &device_creator<cst_ql_disc_interface_t>; | |
| 21 | ||
| 22 | ||
| 23 | //------------------------------------------------- | |
| 24 | // ROM( cst_ql_disc_interface ) | |
| 25 | //------------------------------------------------- | |
| 26 | ||
| 27 | ROM_START( cst_ql_disc_interface ) | |
| 28 | ROM_REGION( 0x2000, "rom", 0 ) | |
| 29 | ROM_DEFAULT_BIOS("v116") | |
| 30 | ROM_SYSTEM_BIOS( 0, "v113", "v1.13" ) | |
| 31 | ROMX_LOAD( "cst_qdisc_controller_v1.13_1984.rom", 0x0000, 0x2000, CRC(e08d9b5b) SHA1(ec981e60db0269412c518930ca6b5187b20a44f5), ROM_BIOS(1) ) | |
| 32 | ROM_SYSTEM_BIOS( 1, "v116", "v1.16" ) | |
| 33 | ROMX_LOAD( "cst_qdisc_controller_v1.16_1984.rom", 0x0000, 0x2000, CRC(05a73b00) SHA1(de8c5a4257107a4a41bc94c532cbfb7c65bfb472), ROM_BIOS(2) ) | |
| 34 | ROM_END | |
| 35 | ||
| 36 | ||
| 37 | //------------------------------------------------- | |
| 38 | // rom_region - device-specific ROM region | |
| 39 | //------------------------------------------------- | |
| 40 | ||
| 41 | const rom_entry *cst_ql_disc_interface_t::device_rom_region() const | |
| 42 | { | |
| 43 | return ROM_NAME( cst_ql_disc_interface ); | |
| 44 | } | |
| 45 | ||
| 46 | ||
| 47 | ||
| 48 | //************************************************************************** | |
| 49 | // LIVE DEVICE | |
| 50 | //************************************************************************** | |
| 51 | ||
| 52 | //------------------------------------------------- | |
| 53 | // cst_ql_disc_interface_t - constructor | |
| 54 | //------------------------------------------------- | |
| 55 | ||
| 56 | cst_ql_disc_interface_t::cst_ql_disc_interface_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : | |
| 57 | device_t(mconfig, CST_QL_DISC_INTERFACE, "CST QL Disc Interface", tag, owner, clock, "ql_qdisc", __FILE__), | |
| 58 | device_ql_expansion_card_interface(mconfig, *this) | |
| 59 | { | |
| 60 | } | |
| 61 | ||
| 62 | ||
| 63 | //------------------------------------------------- | |
| 64 | // device_start - device-specific startup | |
| 65 | //------------------------------------------------- | |
| 66 | ||
| 67 | void cst_ql_disc_interface_t::device_start() | |
| 68 | { | |
| 69 | } | |
| 70 | ||
| 71 | ||
| 72 | //------------------------------------------------- | |
| 73 | // read - | |
| 74 | //------------------------------------------------- | |
| 75 | ||
| 76 | UINT8 cst_ql_disc_interface_t::read(address_space &space, offs_t offset, UINT8 data) | |
| 77 | { | |
| 78 | return data; | |
| 79 | } | |
| 80 | ||
| 81 | ||
| 82 | //------------------------------------------------- | |
| 83 | // write - | |
| 84 | //------------------------------------------------- | |
| 85 | ||
| 86 | void cst_ql_disc_interface_t::write(address_space &space, offs_t offset, UINT8 data) | |
| 87 | { | |
| 88 | } |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Qubbesoft QubIDE emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #pragma once | |
| 13 | ||
| 14 | #ifndef __QUBIDE__ | |
| 15 | #define __QUBIDE__ | |
| 16 | ||
| 17 | #include "exp.h" | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | //************************************************************************** | |
| 22 | // TYPE DEFINITIONS | |
| 23 | //************************************************************************** | |
| 24 | ||
| 25 | // ======================> qubide_t | |
| 26 | ||
| 27 | class qubide_t : public device_t, | |
| 28 | public device_ql_expansion_card_interface | |
| 29 | { | |
| 30 | public: | |
| 31 | // construction/destruction | |
| 32 | qubide_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | qubide_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int ram_size); | |
| 34 | ||
| 35 | // optional information overrides | |
| 36 | virtual const rom_entry *device_rom_region() const; | |
| 37 | ||
| 38 | protected: | |
| 39 | // device-level overrides | |
| 40 | virtual void device_start(); | |
| 41 | ||
| 42 | // device_ql_expansion_card_interface overrides | |
| 43 | virtual UINT8 read(address_space &space, offs_t offset, UINT8 data); | |
| 44 | virtual void write(address_space &space, offs_t offset, UINT8 data); | |
| 45 | ||
| 46 | private: | |
| 47 | }; | |
| 48 | ||
| 49 | ||
| 50 | ||
| 51 | // device type definition | |
| 52 | extern const device_type QUBIDE; | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | #endif |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | CST QL Disc Interface emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #pragma once | |
| 13 | ||
| 14 | #ifndef __CST_QL_DISC_INTERFACE__ | |
| 15 | #define __CST_QL_DISC_INTERFACE__ | |
| 16 | ||
| 17 | #include "exp.h" | |
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | //************************************************************************** | |
| 22 | // TYPE DEFINITIONS | |
| 23 | //************************************************************************** | |
| 24 | ||
| 25 | // ======================> cst_ql_disc_interface_t | |
| 26 | ||
| 27 | class cst_ql_disc_interface_t : public device_t, | |
| 28 | public device_ql_expansion_card_interface | |
| 29 | { | |
| 30 | public: | |
| 31 | // construction/destruction | |
| 32 | cst_ql_disc_interface_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | cst_ql_disc_interface_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int ram_size); | |
| 34 | ||
| 35 | // optional information overrides | |
| 36 | virtual const rom_entry *device_rom_region() const; | |
| 37 | ||
| 38 | protected: | |
| 39 | // device-level overrides | |
| 40 | virtual void device_start(); | |
| 41 | ||
| 42 | // device_ql_expansion_card_interface overrides | |
| 43 | virtual UINT8 read(address_space &space, offs_t offset, UINT8 data); | |
| 44 | virtual void write(address_space &space, offs_t offset, UINT8 data); | |
| 45 | ||
| 46 | private: | |
| 47 | }; | |
| 48 | ||
| 49 | ||
| 50 | ||
| 51 | // device type definition | |
| 52 | extern const device_type CST_QL_DISC_INTERFACE; | |
| 53 | ||
| 54 | ||
| 55 | ||
| 56 | #endif |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Cumana Floppy Disk Interface emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #include "cumana_fdi.h" | |
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | //************************************************************************** | |
| 17 | // DEVICE DEFINITIONS | |
| 18 | //************************************************************************** | |
| 19 | ||
| 20 | const device_type CUMANA_FLOPPY_DISK_INTERFACE = &device_creator<cumana_floppy_disk_interface_t>; | |
| 21 | ||
| 22 | ||
| 23 | //------------------------------------------------- | |
| 24 | // ROM( cumana_floppy_disk_interface ) | |
| 25 | //------------------------------------------------- | |
| 26 | ||
| 27 | ROM_START( cumana_floppy_disk_interface ) | |
| 28 | ROM_REGION( 0x4000, "rom", 0 ) | |
| 29 | ROM_DEFAULT_BIOS("v116") | |
| 30 | ROM_SYSTEM_BIOS( 0, "v114", "v1.14" ) | |
| 31 | ROMX_LOAD( "cumana114.rom", 0x0000, 0x4000, CRC(03baf164) SHA1(e487742c481be8c2771ab2c0fc5e3acd612dec54), ROM_BIOS(1) ) | |
| 32 | ROM_SYSTEM_BIOS( 1, "v116", "v1.16" ) | |
| 33 | ROMX_LOAD( "cumana116.rom", 0x0000, 0x4000, CRC(def02822) SHA1(323120cd3e1eaa38f6d0ae74367a4835a5a2a011), ROM_BIOS(2) ) | |
| 34 | ROM_END | |
| 35 | ||
| 36 | ||
| 37 | //------------------------------------------------- | |
| 38 | // rom_region - device-specific ROM region | |
| 39 | //------------------------------------------------- | |
| 40 | ||
| 41 | const rom_entry *cumana_floppy_disk_interface_t::device_rom_region() const | |
| 42 | { | |
| 43 | return ROM_NAME( cumana_floppy_disk_interface ); | |
| 44 | } | |
| 45 | ||
| 46 | ||
| 47 | ||
| 48 | //************************************************************************** | |
| 49 | // LIVE DEVICE | |
| 50 | //************************************************************************** | |
| 51 | ||
| 52 | //------------------------------------------------- | |
| 53 | // cumana_floppy_disk_interface_t - constructor | |
| 54 | //------------------------------------------------- | |
| 55 | ||
| 56 | cumana_floppy_disk_interface_t::cumana_floppy_disk_interface_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : | |
| 57 | device_t(mconfig, CUMANA_FLOPPY_DISK_INTERFACE, "Cumana Floppy Disk Interface", tag, owner, clock, "ql_cumanafdi", __FILE__), | |
| 58 | device_ql_expansion_card_interface(mconfig, *this) | |
| 59 | { | |
| 60 | } | |
| 61 | ||
| 62 | ||
| 63 | //------------------------------------------------- | |
| 64 | // device_start - device-specific startup | |
| 65 | //------------------------------------------------- | |
| 66 | ||
| 67 | void cumana_floppy_disk_interface_t::device_start() | |
| 68 | { | |
| 69 | } | |
| 70 | ||
| 71 | ||
| 72 | //------------------------------------------------- | |
| 73 | // read - | |
| 74 | //------------------------------------------------- | |
| 75 | ||
| 76 | UINT8 cumana_floppy_disk_interface_t::read(address_space &space, offs_t offset, UINT8 data) | |
| 77 | { | |
| 78 | return data; | |
| 79 | } | |
| 80 | ||
| 81 | ||
| 82 | //------------------------------------------------- | |
| 83 | // write - | |
| 84 | //------------------------------------------------- | |
| 85 | ||
| 86 | void cumana_floppy_disk_interface_t::write(address_space &space, offs_t offset, UINT8 data) | |
| 87 | { | |
| 88 | } |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r0 | r30825 | |
|---|---|---|
| 1 | // license:BSD-3-Clause | |
| 2 | // copyright-holders:Curt Coder | |
| 3 | /********************************************************************** | |
| 4 | ||
| 5 | Miracle Hard Disk emulation | |
| 6 | ||
| 7 | Copyright MESS Team. | |
| 8 | Visit http://mamedev.org for licensing and usage restrictions. | |
| 9 | ||
| 10 | **********************************************************************/ | |
| 11 | ||
| 12 | #include "miracle_hd.h" | |
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | //************************************************************************** | |
| 17 | // DEVICE DEFINITIONS | |
| 18 | //************************************************************************** | |
| 19 | ||
| 20 | const device_type MIRACLE_HARD_DISK = &device_creator<miracle_hard_disk_t>; | |
| 21 | ||
| 22 | ||
| 23 | //------------------------------------------------- | |
| 24 | // ROM( miracle_hard_disk ) | |
| 25 | //------------------------------------------------- | |
| 26 | ||
| 27 | ROM_START( miracle_hard_disk ) | |
| 28 | ROM_REGION( 0x2000, "rom", 0 ) | |
| 29 | ROM_DEFAULT_BIOS("v202") | |
| 30 | ROM_SYSTEM_BIOS( 0, "v202", "v2.02" ) | |
| 31 | ROMX_LOAD( "miraculous_winny_v2.02_1989_qjump.rom", 0x0000, 0x2000, CRC(10982b35) SHA1(1beb87a207ecd0f47a43ed4b1bcc81d89ac75ffc), ROM_BIOS(1) ) | |
| 32 | ROM_END | |
| 33 | ||
| 34 | ||
| 35 | //------------------------------------------------- | |
| 36 | // rom_region - device-specific ROM region | |
| 37 | //------------------------------------------------- | |
| 38 | ||
| 39 | const rom_entry *miracle_hard_disk_t::device_rom_region() const | |
| 40 | { | |
| 41 | return ROM_NAME( miracle_hard_disk ); | |
| 42 | } | |
| 43 | ||
| 44 | ||
| 45 | ||
| 46 | //************************************************************************** | |
| 47 | // LIVE DEVICE | |
| 48 | //************************************************************************** | |
| 49 | ||
| 50 | //------------------------------------------------- | |
| 51 | // miracle_hard_disk_t - constructor | |
| 52 | //------------------------------------------------- | |
| 53 | ||
| 54 | miracle_hard_disk_t::miracle_hard_disk_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : | |
| 55 | device_t(mconfig, MIRACLE_HARD_DISK, "Miracle Hard Disk", tag, owner, clock, "ql_mhd", __FILE__), | |
| 56 | device_ql_rom_cartridge_card_interface(mconfig, *this) | |
| 57 | { | |
| 58 | } | |
| 59 | ||
| 60 | ||
| 61 | //------------------------------------------------- | |
| 62 | // device_start - device-specific startup | |
| 63 | //------------------------------------------------- | |
| 64 | ||
| 65 | void miracle_hard_disk_t::device_start() | |
| 66 | { | |
| 67 | } | |
| 68 | ||
| 69 | ||
| 70 | //------------------------------------------------- | |
| 71 | // read - | |
| 72 | //------------------------------------------------- | |
| 73 | ||
| 74 | UINT8 miracle_hard_disk_t::read(address_space &space, offs_t offset, UINT8 data) | |
| 75 | { | |
| 76 | return data; | |
| 77 | } | |
| 78 | ||
| 79 | ||
| 80 | //------------------------------------------------- | |
| 81 | // write - | |
| 82 | //------------------------------------------------- | |
| 83 | ||
| 84 | void miracle_hard_disk_t::write(address_space &space, offs_t offset, UINT8 data) | |
| 85 | { | |
| 86 | } |
| Added: svn:mime-type + text/plain Added: svn:eol-style + native |
| r30824 | r30825 | |
|---|---|---|
| 1145 | 1145 | ifneq ($(filter QL,$(BUSES)),) |
| 1146 | 1146 | OBJDIRS += $(BUSOBJ)/ql |
| 1147 | 1147 | BUSOBJS += $(BUSOBJ)/ql/exp.o |
| 1148 | BUSOBJS += $(BUSOBJ)/ql/cst_qdisc.o | |
| 1149 | BUSOBJS += $(BUSOBJ)/ql/cst_q_plus4.o | |
| 1150 | BUSOBJS += $(BUSOBJ)/ql/cumana_fdi.o | |
| 1151 | BUSOBJS += $(BUSOBJ)/ql/kempston_di.o | |
| 1152 | BUSOBJS += $(BUSOBJ)/ql/miracle_gold_card.o | |
| 1153 | BUSOBJS += $(BUSOBJ)/ql/mp_fdi.o | |
| 1154 | BUSOBJS += $(BUSOBJ)/ql/opd_basic_master.o | |
| 1155 | BUSOBJS += $(BUSOBJ)/ql/pcml_qdisk.o | |
| 1156 | BUSOBJS += $(BUSOBJ)/ql/qubide.o | |
| 1148 | 1157 | BUSOBJS += $(BUSOBJ)/ql/sandy_superdisk.o |
| 1149 | 1158 | BUSOBJS += $(BUSOBJ)/ql/sandy_superqboard.o |
| 1150 | 1159 | BUSOBJS += $(BUSOBJ)/ql/trumpcard.o |
| 1151 | 1160 | BUSOBJS += $(BUSOBJ)/ql/rom.o |
| 1161 | BUSOBJS += $(BUSOBJ)/ql/miracle_hd.o | |
| 1152 | 1162 | BUSOBJS += $(BUSOBJ)/ql/std.o |
| 1153 | 1163 | endif |
| Previous | 199869 Revisions | Next |