src/mess/machine/i8355.c
| r0 | r5248 | |
| 1 | /********************************************************************** |
| 2 | |
| 3 | Intel 8355 - 16,384-Bit ROM with I/O emulation |
| 4 | |
| 5 | Copyright MESS Team. |
| 6 | Visit http://mamedev.org for licensing and usage restrictions. |
| 7 | |
| 8 | **********************************************************************/ |
| 9 | |
| 10 | /* |
| 11 | |
| 12 | TODO: |
| 13 | |
| 14 | - attempt to direct-map |
| 15 | |
| 16 | */ |
| 17 | |
| 18 | #include "i8355.h" |
| 19 | |
| 20 | /*************************************************************************** |
| 21 | PARAMETERS |
| 22 | ***************************************************************************/ |
| 23 | |
| 24 | #define LOG 0 |
| 25 | |
| 26 | enum |
| 27 | { |
| 28 | I8355_REGISTER_PORT_A = 0, |
| 29 | I8355_REGISTER_PORT_B, |
| 30 | I8355_REGISTER_PORT_A_DDR, |
| 31 | I8355_REGISTER_PORT_B_DDR |
| 32 | }; |
| 33 | |
| 34 | enum |
| 35 | { |
| 36 | PORT_A = 0, |
| 37 | PORT_B, |
| 38 | PORT_COUNT |
| 39 | }; |
| 40 | |
| 41 | /*************************************************************************** |
| 42 | TYPE DEFINITIONS |
| 43 | ***************************************************************************/ |
| 44 | |
| 45 | typedef struct _i8355_t i8355_t; |
| 46 | struct _i8355_t |
| 47 | { |
| 48 | devcb_resolved_read8 in_rom_func; |
| 49 | devcb_resolved_read8 in_port_func[PORT_COUNT]; |
| 50 | devcb_resolved_write8 out_port_func[PORT_COUNT]; |
| 51 | |
| 52 | /* registers */ |
| 53 | UINT8 output[PORT_COUNT]; /* output latches */ |
| 54 | UINT8 ddr[PORT_COUNT]; /* DDR latches */ |
| 55 | |
| 56 | /* ROM */ |
| 57 | const UINT8 *rom; /* ROM */ |
| 58 | }; |
| 59 | |
| 60 | /*************************************************************************** |
| 61 | INLINE FUNCTIONS |
| 62 | ***************************************************************************/ |
| 63 | |
| 64 | INLINE i8355_t *get_safe_token(const device_config *device) |
| 65 | { |
| 66 | assert(device != NULL); |
| 67 | assert(device->token != NULL); |
| 68 | return (i8355_t *)device->token; |
| 69 | } |
| 70 | |
| 71 | INLINE const i8355_interface *get_interface(const device_config *device) |
| 72 | { |
| 73 | assert(device != NULL); |
| 74 | assert(device->type == I8355); |
| 75 | return (const i8355_interface *) device->static_config; |
| 76 | } |
| 77 | |
| 78 | INLINE UINT8 read_port(i8355_t *i8355, int port) |
| 79 | { |
| 80 | UINT8 data = i8355->output[port] & i8355->ddr[port]; |
| 81 | |
| 82 | if (i8355->ddr[port] != 0xff) |
| 83 | { |
| 84 | data |= devcb_call_read8(&i8355->in_port_func[port], 0) & ~i8355->ddr[port]; |
| 85 | } |
| 86 | |
| 87 | return data; |
| 88 | } |
| 89 | |
| 90 | INLINE void write_port(i8355_t *i8355, int port, UINT8 data) |
| 91 | { |
| 92 | i8355->output[port] = data; |
| 93 | |
| 94 | devcb_call_write8(&i8355->out_port_func[port], 0, i8355->output[port] & i8355->ddr[port]); |
| 95 | } |
| 96 | |
| 97 | /*************************************************************************** |
| 98 | IMPLEMENTATION |
| 99 | ***************************************************************************/ |
| 100 | |
| 101 | /*------------------------------------------------- |
| 102 | i8355_register_r - register read |
| 103 | -------------------------------------------------*/ |
| 104 | |
| 105 | READ8_DEVICE_HANDLER( i8355_r ) |
| 106 | { |
| 107 | i8355_t *i8355 = get_safe_token(device); |
| 108 | int port = offset & 0x01; |
| 109 | |
| 110 | UINT8 data = 0; |
| 111 | |
| 112 | switch (offset & 0x03) |
| 113 | { |
| 114 | case I8355_REGISTER_PORT_A: |
| 115 | case I8355_REGISTER_PORT_B: |
| 116 | data = read_port(i8355, port); |
| 117 | break; |
| 118 | |
| 119 | case I8355_REGISTER_PORT_A_DDR: |
| 120 | case I8355_REGISTER_PORT_B_DDR: |
| 121 | /* write only */ |
| 122 | break; |
| 123 | } |
| 124 | |
| 125 | return data; |
| 126 | } |
| 127 | |
| 128 | /*------------------------------------------------- |
| 129 | i8355_register_w - register write |
| 130 | -------------------------------------------------*/ |
| 131 | |
| 132 | WRITE8_DEVICE_HANDLER( i8355_w ) |
| 133 | { |
| 134 | i8355_t *i8355 = get_safe_token(device); |
| 135 | int port = offset & 0x01; |
| 136 | |
| 137 | switch (offset & 0x03) |
| 138 | { |
| 139 | case I8355_REGISTER_PORT_A: |
| 140 | case I8355_REGISTER_PORT_B: |
| 141 | if (LOG) logerror("I8355 '%s' Port %c Write %02x\n", device->tag, 'A' + port, data); |
| 142 | write_port(i8355, port, data); |
| 143 | break; |
| 144 | |
| 145 | case I8355_REGISTER_PORT_A_DDR: |
| 146 | case I8355_REGISTER_PORT_B_DDR: |
| 147 | if (LOG) logerror("I8355 '%s' Port %c DDR: %02x\n", device->tag, 'A' + port, data); |
| 148 | i8355->ddr[port] = data; |
| 149 | write_port(i8355, port, data); |
| 150 | break; |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | /*------------------------------------------------- |
| 155 | i8355_rom_r - memory read |
| 156 | -------------------------------------------------*/ |
| 157 | |
| 158 | READ8_DEVICE_HANDLER( i8355_rom_r ) |
| 159 | { |
| 160 | i8355_t *i8355 = get_safe_token(device); |
| 161 | |
| 162 | return i8355->rom[offset & 0x7ff]; |
| 163 | } |
| 164 | |
| 165 | /*------------------------------------------------- |
| 166 | DEVICE_START( i8355 ) |
| 167 | -------------------------------------------------*/ |
| 168 | |
| 169 | static DEVICE_START( i8355 ) |
| 170 | { |
| 171 | i8355_t *i8355 = device->token; |
| 172 | const i8355_interface *intf = get_interface(device); |
| 173 | |
| 174 | /* resolve callbacks */ |
| 175 | devcb_resolve_read8(&i8355->in_port_func[PORT_A], &intf->in_pa_func, device); |
| 176 | devcb_resolve_read8(&i8355->in_port_func[PORT_B], &intf->in_pb_func, device); |
| 177 | devcb_resolve_write8(&i8355->out_port_func[PORT_A], &intf->out_pa_func, device); |
| 178 | devcb_resolve_write8(&i8355->out_port_func[PORT_B], &intf->out_pb_func, device); |
| 179 | |
| 180 | /* find memory region */ |
| 181 | i8355->rom = memory_region(device->machine, device->tag); |
| 182 | assert(i8355->rom != NULL); |
| 183 | |
| 184 | /* register for state saving */ |
| 185 | state_save_register_device_item_array(device, 0, i8355->output); |
| 186 | state_save_register_device_item_array(device, 0, i8355->ddr); |
| 187 | } |
| 188 | |
| 189 | /*------------------------------------------------- |
| 190 | DEVICE_RESET( i8355 ) |
| 191 | -------------------------------------------------*/ |
| 192 | |
| 193 | static DEVICE_RESET( i8355 ) |
| 194 | { |
| 195 | i8355_t *i8355 = device->token; |
| 196 | |
| 197 | /* set ports to input mode */ |
| 198 | i8355->ddr[PORT_A] = 0; |
| 199 | i8355->ddr[PORT_B] = 0; |
| 200 | } |
| 201 | |
| 202 | /*------------------------------------------------- |
| 203 | DEVICE_GET_INFO( i8355 ) |
| 204 | -------------------------------------------------*/ |
| 205 | |
| 206 | DEVICE_GET_INFO( i8355 ) |
| 207 | { |
| 208 | switch (state) |
| 209 | { |
| 210 | /* --- the following bits of info are returned as 64-bit signed integers --- */ |
| 211 | case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = 0; break; |
| 212 | case DEVINFO_INT_CLASS: info->i = DEVICE_CLASS_PERIPHERAL; break; |
| 213 | case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(i8355_t); break; |
| 214 | |
| 215 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 216 | case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(i8355); break; |
| 217 | case DEVINFO_FCT_STOP: /* Nothing */ break; |
| 218 | case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME(i8355); break; |
| 219 | |
| 220 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 221 | case DEVINFO_STR_NAME: strcpy(info->s, "Intel 8355"); break; |
| 222 | case DEVINFO_STR_FAMILY: strcpy(info->s, "Intel 8080"); break; |
| 223 | case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break; |
| 224 | case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; |
| 225 | case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright the MESS Team"); break; |
| 226 | } |
| 227 | } |
src/mess/drivers/exp85.c
| r5247 | r5248 | |
| 1 | 1 | /*************************************************************************** |
| 2 | 2 | |
| 3 | | Explorer 85 |
| 3 | Explorer 85 |
| 4 | 4 | |
| 5 | | 12/05/2009 Skeleton driver. |
| 5 | 12/05/2009 Skeleton driver. |
| 6 | 6 | |
| 7 | 7 | ****************************************************************************/ |
| 8 | 8 | |
| 9 | /* |
| 10 | |
| 11 | TODO: |
| 12 | |
| 13 | - needs a terminal, or a dump of the hexadecimal keyboard monitor ROM |
| 14 | - serial input/output at SID/SOD pins |
| 15 | - disable ROM mirror after boot |
| 16 | - RAM expansions |
| 17 | |
| 18 | */ |
| 19 | |
| 9 | 20 | #include "driver.h" |
| 21 | #include "includes/exp85.h" |
| 10 | 22 | #include "cpu/i8085/i8085.h" |
| 23 | #include "devices/cassette.h" |
| 24 | #include "machine/i8155.h" |
| 25 | #include "machine/i8355.h" |
| 26 | #include "sound/speaker.h" |
| 11 | 27 | |
| 12 | | static ADDRESS_MAP_START(exp85_mem, ADDRESS_SPACE_PROGRAM, 8) |
| 28 | /* Memory Maps */ |
| 29 | |
| 30 | static ADDRESS_MAP_START( exp85_mem, ADDRESS_SPACE_PROGRAM, 8 ) |
| 13 | 31 | ADDRESS_MAP_UNMAP_HIGH |
| 14 | | AM_RANGE( 0x0000, 0xbfff ) AM_RAM |
| 15 | | AM_RANGE( 0xc000, 0xf7ff ) AM_ROM |
| 16 | | AM_RANGE( 0xf800, 0xffff ) AM_RAM |
| 32 | AM_RANGE(0x0000, 0x07ff) AM_ROMBANK(1) |
| 33 | AM_RANGE(0xc000, 0xdfff) AM_ROM |
| 34 | AM_RANGE(0xf000, 0xf7ff) AM_ROM |
| 35 | AM_RANGE(0xf800, 0xf8ff) AM_RAM |
| 17 | 36 | ADDRESS_MAP_END |
| 18 | 37 | |
| 19 | | static ADDRESS_MAP_START( exp85_io , ADDRESS_SPACE_IO, 8) |
| 38 | static ADDRESS_MAP_START( exp85_io, ADDRESS_SPACE_IO, 8 ) |
| 20 | 39 | ADDRESS_MAP_UNMAP_HIGH |
| 40 | AM_RANGE(0xf0, 0xf3) AM_DEVREADWRITE(I8355_TAG, i8355_r, i8355_w) |
| 41 | AM_RANGE(0xf8, 0xfd) AM_DEVREADWRITE(I8155_TAG, i8155_r, i8155_w) |
| 42 | // AM_RANGE(0xfe, 0xff) AM_DEVREADWRITE(I8279_TAG, i8279_r, i8279_w) |
| 21 | 43 | ADDRESS_MAP_END |
| 22 | 44 | |
| 23 | | /* Input ports */ |
| 45 | /* Input Ports */ |
| 46 | |
| 47 | static INPUT_CHANGED( trigger_reset ) |
| 48 | { |
| 49 | cputag_set_input_line(field->port->machine, I8085A_TAG, INPUT_LINE_RESET, newval ? CLEAR_LINE : ASSERT_LINE); |
| 50 | } |
| 51 | |
| 52 | static INPUT_CHANGED( trigger_rst75 ) |
| 53 | { |
| 54 | cputag_set_input_line(field->port->machine, I8085A_TAG, I8085_RST75_LINE, newval ? CLEAR_LINE : ASSERT_LINE); |
| 55 | } |
| 56 | |
| 24 | 57 | static INPUT_PORTS_START( exp85 ) |
| 58 | PORT_START("SPECIAL") |
| 59 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("R") PORT_CODE(KEYCODE_F1) PORT_CHANGED(trigger_reset, 0) |
| 60 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("I") PORT_CODE(KEYCODE_F2) PORT_CHANGED(trigger_rst75, 0) |
| 25 | 61 | INPUT_PORTS_END |
| 26 | 62 | |
| 63 | /* Video */ |
| 27 | 64 | |
| 28 | | static MACHINE_RESET(exp85) |
| 29 | | { |
| 30 | | cpu_set_reg(cputag_get_cpu(machine, "maincpu"), I8085_PC, 0xf000); |
| 31 | | } |
| 32 | | |
| 33 | 65 | static VIDEO_START( exp85 ) |
| 34 | 66 | { |
| 35 | 67 | } |
| r5247 | r5248 | |
| 39 | 71 | return 0; |
| 40 | 72 | } |
| 41 | 73 | |
| 74 | /* 8155 Interface */ |
| 75 | |
| 76 | static I8155_INTERFACE( i8155_intf ) |
| 77 | { |
| 78 | DEVCB_NULL, /* port A read */ |
| 79 | DEVCB_NULL, /* port B read */ |
| 80 | DEVCB_NULL, /* port C read */ |
| 81 | DEVCB_NULL, /* port A write */ |
| 82 | DEVCB_NULL, /* port B write */ |
| 83 | DEVCB_NULL, /* port C write */ |
| 84 | DEVCB_NULL /* timer output */ |
| 85 | }; |
| 86 | |
| 87 | /* 8355 Interface */ |
| 88 | |
| 89 | static READ8_DEVICE_HANDLER( i8355_a_r ) |
| 90 | { |
| 91 | /* |
| 92 | |
| 93 | bit description |
| 94 | |
| 95 | PA0 tape control |
| 96 | PA1 jumper S17 (open=+5V closed=GND) |
| 97 | PA2 J5:13 |
| 98 | PA3 |
| 99 | PA4 J2:22 |
| 100 | PA5 |
| 101 | PA6 |
| 102 | PA7 speaker output |
| 103 | |
| 104 | */ |
| 105 | |
| 106 | return 0x02; |
| 107 | } |
| 108 | |
| 109 | static WRITE8_DEVICE_HANDLER( i8355_a_w ) |
| 110 | { |
| 111 | /* |
| 112 | |
| 113 | bit description |
| 114 | |
| 115 | PA0 tape control |
| 116 | PA1 jumper S17 (open=+5V closed=GND) |
| 117 | PA2 J5:13 |
| 118 | PA3 |
| 119 | PA4 J2:22 |
| 120 | PA5 |
| 121 | PA6 |
| 122 | PA7 speaker output |
| 123 | |
| 124 | */ |
| 125 | |
| 126 | exp85_state *state = device->machine->driver_data; |
| 127 | |
| 128 | /* tape control */ |
| 129 | state->tape_control = BIT(data, 0); |
| 130 | |
| 131 | /* speaker output */ |
| 132 | speaker_level_w(state->speaker, !BIT(data, 7)); |
| 133 | } |
| 134 | |
| 135 | static I8355_INTERFACE( i8355_intf ) |
| 136 | { |
| 137 | DEVCB_HANDLER(i8355_a_r), /* port A read */ |
| 138 | DEVCB_NULL, /* port B read */ |
| 139 | DEVCB_HANDLER(i8355_a_w), /* port A write */ |
| 140 | DEVCB_NULL, /* port B write */ |
| 141 | }; |
| 142 | |
| 143 | /* I8085A Interface */ |
| 144 | |
| 145 | static void exp85_sod_w(const device_config *device, int state) |
| 146 | { |
| 147 | exp85_state *driver_state = device->machine->driver_data; |
| 148 | |
| 149 | cassette_output(driver_state->cassette, state ? -1.0 : +1.0); |
| 150 | } |
| 151 | |
| 152 | static int exp85_sid_r(const device_config *device) |
| 153 | { |
| 154 | exp85_state *driver_state = device->machine->driver_data; |
| 155 | |
| 156 | int data = 1; |
| 157 | |
| 158 | if (driver_state->tape_control) |
| 159 | { |
| 160 | data = cassette_input(driver_state->cassette) > +1.0; |
| 161 | } |
| 162 | |
| 163 | return data; |
| 164 | } |
| 165 | |
| 166 | static const i8085_config exp85_i8085_config = |
| 167 | { |
| 168 | NULL, /* INTE changed callback */ |
| 169 | NULL, /* STATUS changed callback */ |
| 170 | exp85_sod_w, /* SOD changed callback (8085A only) */ |
| 171 | exp85_sid_r /* SID changed callback (8085A only) */ |
| 172 | }; |
| 173 | |
| 174 | /* Machine Initialization */ |
| 175 | |
| 176 | static MACHINE_START( exp85 ) |
| 177 | { |
| 178 | exp85_state *state = machine->driver_data; |
| 179 | const address_space *program = cputag_get_address_space(machine, I8085A_TAG, ADDRESS_SPACE_PROGRAM); |
| 180 | |
| 181 | /* setup memory banking */ |
| 182 | memory_install_readwrite8_handler(program, 0x0000, 0x07ff, 0, 0, SMH_BANK(1), SMH_UNMAP); |
| 183 | memory_configure_bank(machine, 1, 0, 1, memory_region(machine, I8085A_TAG) + 0xf000, 0); |
| 184 | memory_configure_bank(machine, 1, 1, 1, memory_region(machine, I8085A_TAG), 0); |
| 185 | memory_set_bank(machine, 1, 0); |
| 186 | |
| 187 | /* find devices */ |
| 188 | state->speaker = devtag_get_device(machine, SPEAKER_TAG); |
| 189 | state->cassette = devtag_get_device(machine, CASSETTE_TAG); |
| 190 | } |
| 191 | |
| 192 | /* Machine Driver */ |
| 193 | |
| 194 | static const cassette_config exp85_cassette_config = |
| 195 | { |
| 196 | cassette_default_formats, |
| 197 | NULL, |
| 198 | CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_MUTED |
| 199 | }; |
| 200 | |
| 42 | 201 | static MACHINE_DRIVER_START( exp85 ) |
| 202 | MDRV_DRIVER_DATA(exp85_state) |
| 203 | |
| 43 | 204 | /* basic machine hardware */ |
| 44 | | MDRV_CPU_ADD("maincpu",8085A, 3072000 ) |
| 205 | MDRV_CPU_ADD(I8085A_TAG, 8085A, XTAL_6_144MHz) |
| 45 | 206 | MDRV_CPU_PROGRAM_MAP(exp85_mem) |
| 46 | 207 | MDRV_CPU_IO_MAP(exp85_io) |
| 208 | MDRV_CPU_CONFIG(exp85_i8085_config) |
| 47 | 209 | |
| 48 | | MDRV_MACHINE_RESET(exp85) |
| 210 | MDRV_MACHINE_START(exp85) |
| 49 | 211 | |
| 50 | 212 | /* video hardware */ |
| 51 | | MDRV_SCREEN_ADD("screen", RASTER) |
| 213 | MDRV_SCREEN_ADD(SCREEN_TAG, RASTER) |
| 52 | 214 | MDRV_SCREEN_REFRESH_RATE(50) |
| 53 | 215 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */ |
| 54 | 216 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 55 | 217 | MDRV_SCREEN_SIZE(640, 480) |
| 56 | 218 | MDRV_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1) |
| 57 | | MDRV_PALETTE_LENGTH(2) |
| 219 | |
| 220 | MDRV_PALETTE_LENGTH(2) |
| 58 | 221 | MDRV_PALETTE_INIT(black_and_white) |
| 222 | |
| 223 | MDRV_VIDEO_START(exp85) |
| 224 | MDRV_VIDEO_UPDATE(exp85) |
| 59 | 225 | |
| 60 | | MDRV_VIDEO_START(exp85) |
| 61 | | MDRV_VIDEO_UPDATE(exp85) |
| 226 | /* sound hardware */ |
| 227 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 228 | MDRV_SOUND_ADD(SPEAKER_TAG, SPEAKER, 0) |
| 229 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 230 | |
| 231 | /* devices */ |
| 232 | MDRV_I8155_ADD(I8155_TAG, XTAL_6_144MHz/2, i8155_intf) |
| 233 | MDRV_I8355_ADD(I8355_TAG, XTAL_6_144MHz/2, i8355_intf) |
| 234 | |
| 235 | MDRV_CASSETTE_ADD(CASSETTE_TAG, exp85_cassette_config) |
| 62 | 236 | MACHINE_DRIVER_END |
| 63 | 237 | |
| 64 | | static SYSTEM_CONFIG_START(exp85) |
| 65 | | SYSTEM_CONFIG_END |
| 238 | /* ROMs */ |
| 66 | 239 | |
| 67 | | /* ROM definition */ |
| 68 | 240 | ROM_START( exp85 ) |
| 69 | | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |
| 70 | | ROM_LOAD( "c000.bin", 0xc000, 0x0800, CRC(73ce4aad) SHA1(2c69cd0b6c4bdc92f4640bce18467e4e99255bab)) |
| 71 | | ROM_LOAD( "c800.bin", 0xc800, 0x0800, CRC(eb3fdedc) SHA1(af92d07f7cb7533841b16e1176401363176857e1)) |
| 72 | | ROM_LOAD( "d000.bin", 0xd000, 0x0800, CRC(c10c4a22) SHA1(30588ba0b27a775d85f8c581ad54400c8521225d)) |
| 73 | | ROM_LOAD( "d800.bin", 0xd800, 0x0800, CRC(dfa43ef4) SHA1(56a7e7a64928bdd1d5f0519023d1594cacef49b3)) |
| 74 | | ROM_LOAD( "explorer.bin", 0xf000, 0x0800, CRC(1a99d0d9) SHA1(57b6d48e71257bc4ef2d3dddc9b30edf6c1db766)) |
| 241 | ROM_REGION( 0x10000, I8085A_TAG, 0 ) |
| 242 | ROM_DEFAULT_BIOS("eia") |
| 243 | ROM_LOAD( "c000.bin", 0xc000, 0x0800, CRC(73ce4aad) SHA1(2c69cd0b6c4bdc92f4640bce18467e4e99255bab) ) |
| 244 | ROM_LOAD( "c800.bin", 0xc800, 0x0800, CRC(eb3fdedc) SHA1(af92d07f7cb7533841b16e1176401363176857e1) ) |
| 245 | ROM_LOAD( "d000.bin", 0xd000, 0x0800, CRC(c10c4a22) SHA1(30588ba0b27a775d85f8c581ad54400c8521225d) ) |
| 246 | ROM_LOAD( "d800.bin", 0xd800, 0x0800, CRC(dfa43ef4) SHA1(56a7e7a64928bdd1d5f0519023d1594cacef49b3) ) |
| 247 | ROM_SYSTEM_BIOS( 0, "eia", "EIA Terminal" ) |
| 248 | ROMX_LOAD( "explorer.u105", 0xf000, 0x0800, CRC(1a99d0d9) SHA1(57b6d48e71257bc4ef2d3dddc9b30edf6c1db766), ROM_BIOS(1) ) |
| 249 | ROM_SYSTEM_BIOS( 1, "hex", "Hex Keyboard" ) |
| 250 | ROMX_LOAD( "explorer.u105", 0xf000, 0x0800, NO_DUMP, ROM_BIOS(2) ) |
| 251 | |
| 252 | ROM_REGION( 0x800, I8355_TAG, ROMREGION_ERASE00 ) |
| 253 | /* ROM_DEFAULT_BIOS("terminal") |
| 254 | ROM_SYSTEM_BIOS( 0, "terminal", "Terminal" ) |
| 255 | ROMX_LOAD( "explorer.u105", 0xf000, 0x0800, CRC(1a99d0d9) SHA1(57b6d48e71257bc4ef2d3dddc9b30edf6c1db766), ROM_BIOS(1) ) |
| 256 | ROM_SYSTEM_BIOS( 1, "hexkbd", "Hex Keyboard" ) |
| 257 | ROMX_LOAD( "explorer.u105", 0xf000, 0x0800, NO_DUMP, ROM_BIOS(2) )*/ |
| 75 | 258 | ROM_END |
| 76 | 259 | |
| 77 | | /* Driver */ |
| 260 | /* System Configuration */ |
| 78 | 261 | |
| 79 | | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME FLAGS */ |
| 80 | | COMP( 1979, exp85, 0, 0, exp85, exp85, 0, exp85, "Netronics", "Explorer 85", GAME_NOT_WORKING) |
| 262 | static SYSTEM_CONFIG_START( exp85 ) |
| 263 | CONFIG_RAM_DEFAULT( 256 ) |
| 264 | CONFIG_RAM ( 4 * 1024 ) |
| 265 | SYSTEM_CONFIG_END |
| 81 | 266 | |
| 267 | /* System Drivers */ |
| 268 | |
| 269 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME FLAGS */ |
| 270 | COMP( 1979, exp85, 0, 0, exp85, exp85, 0, exp85, "Netronics", "Explorer/85", GAME_NOT_WORKING ) |