src/mess/machine/c1571.c
| r13867 | r13868 | |
| 48 | 48 | const device_type C1570 = &device_creator<c1570_device>; |
| 49 | 49 | const device_type C1571 = &device_creator<c1571_device>; |
| 50 | 50 | const device_type C1571CR = &device_creator<c1571cr_device>; |
| 51 | const device_type MINI_CHIEF = &device_creator<mini_chief_device>; |
| 51 | 52 | |
| 52 | 53 | |
| 53 | 54 | //------------------------------------------------- |
| r13867 | r13868 | |
| 72 | 73 | case TYPE_1571CR: |
| 73 | 74 | m_shortname = "c1571cr"; |
| 74 | 75 | break; |
| 76 | |
| 77 | case TYPE_MINI_CHIEF: |
| 78 | m_shortname = "minichif"; |
| 79 | break; |
| 75 | 80 | } |
| 76 | 81 | } |
| 77 | 82 | |
| r13867 | r13868 | |
| 110 | 115 | |
| 111 | 116 | |
| 112 | 117 | //------------------------------------------------- |
| 118 | // ROM( minichief ) |
| 119 | //------------------------------------------------- |
| 120 | |
| 121 | ROM_START( minichief ) |
| 122 | ROM_REGION( 0x8000, M6502_TAG, 0 ) |
| 123 | ROM_LOAD( "ictdos710.u2", 0x0000, 0x8000, CRC(aaacf7e9) SHA1(c1296995238ef23f18e7fec70a144a0566a25a27) ) |
| 124 | ROM_END |
| 125 | |
| 126 | |
| 127 | //------------------------------------------------- |
| 113 | 128 | // rom_region - device-specific ROM region |
| 114 | 129 | //------------------------------------------------- |
| 115 | 130 | |
| r13867 | r13868 | |
| 126 | 141 | |
| 127 | 142 | case TYPE_1571CR: |
| 128 | 143 | return ROM_NAME( c1571cr ); |
| 144 | |
| 145 | case TYPE_MINI_CHIEF: |
| 146 | return ROM_NAME( minichief ); |
| 129 | 147 | } |
| 130 | 148 | } |
| 131 | 149 | |
| r13867 | r13868 | |
| 718 | 736 | |
| 719 | 737 | |
| 720 | 738 | //------------------------------------------------- |
| 739 | // mini_chief_device - constructor |
| 740 | //------------------------------------------------- |
| 741 | |
| 742 | mini_chief_device::mini_chief_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 743 | : base_c1571_device(mconfig, MINI_CHIEF, "ICT Mini Chief", tag, owner, clock, TYPE_MINI_CHIEF) { } |
| 744 | |
| 745 | |
| 746 | //------------------------------------------------- |
| 721 | 747 | // device_start - device-specific startup |
| 722 | 748 | //------------------------------------------------- |
| 723 | 749 | |
src/mess/machine/c1571.h
| r13867 | r13868 | |
| 49 | 49 | { |
| 50 | 50 | TYPE_1570, |
| 51 | 51 | TYPE_1571, |
| 52 | | TYPE_1571CR |
| 52 | TYPE_1571CR, |
| 53 | TYPE_MINI_CHIEF |
| 53 | 54 | }; |
| 54 | 55 | |
| 55 | 56 | // construction/destruction |
| r13867 | r13868 | |
| 150 | 151 | }; |
| 151 | 152 | |
| 152 | 153 | |
| 154 | // ======================> mini_chief_device |
| 155 | |
| 156 | class mini_chief_device : public base_c1571_device |
| 157 | { |
| 158 | public: |
| 159 | // construction/destruction |
| 160 | mini_chief_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 161 | }; |
| 162 | |
| 163 | |
| 153 | 164 | // device type definition |
| 154 | 165 | extern const device_type C1570; |
| 155 | 166 | extern const device_type C1571; |
| 156 | 167 | extern const device_type C1571CR; |
| 168 | extern const device_type MINI_CHIEF; |
| 157 | 169 | |
| 158 | 170 | |
| 159 | 171 | |