src/mess/drivers/spc1000.c
| r0 | r4671 | |
| 1 | /*************************************************************************** |
| 2 | |
| 3 | Samsung SPC-1000 driver by Miodrag Milanovic |
| 4 | |
| 5 | 10/05/2009 Preliminary driver. |
| 6 | |
| 7 | ****************************************************************************/ |
| 8 | |
| 9 | |
| 10 | #include "driver.h" |
| 11 | #include "cpu/z80/z80.h" |
| 12 | #include "video/m6847.h" |
| 13 | #include "sound/ay8910.h" |
| 14 | #include "sound/wave.h" |
| 15 | #include "devices/cassette.h" |
| 16 | |
| 17 | static UINT8 IPLK; |
| 18 | static UINT8 *spc1000_video_ram; |
| 19 | static UINT8 GMODE; |
| 20 | |
| 21 | static ADDRESS_MAP_START(spc1000_mem, ADDRESS_SPACE_PROGRAM, 8) |
| 22 | ADDRESS_MAP_UNMAP_HIGH |
| 23 | AM_RANGE( 0x0000, 0x7fff ) AM_READWRITE(SMH_BANK1, SMH_BANK2) |
| 24 | AM_RANGE( 0x8000, 0xffff ) AM_READWRITE(SMH_BANK3, SMH_BANK4) |
| 25 | ADDRESS_MAP_END |
| 26 | |
| 27 | static WRITE8_HANDLER(spc1000_iplk_w) |
| 28 | { |
| 29 | IPLK = IPLK ? 0 : 1; |
| 30 | if (IPLK == 1) { |
| 31 | memory_set_bankptr(space->machine, 1, memory_region(space->machine, "maincpu")); |
| 32 | memory_set_bankptr(space->machine, 3, memory_region(space->machine, "maincpu")); |
| 33 | } else { |
| 34 | memory_set_bankptr(space->machine, 1, mess_ram); |
| 35 | memory_set_bankptr(space->machine, 3, mess_ram + 0x8000); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | static READ8_HANDLER(spc1000_iplk_r) |
| 40 | { |
| 41 | IPLK = IPLK ? 0 : 1; |
| 42 | if (IPLK == 1) { |
| 43 | memory_set_bankptr(space->machine, 1, memory_region(space->machine, "maincpu")); |
| 44 | memory_set_bankptr(space->machine, 3, memory_region(space->machine, "maincpu")); |
| 45 | } else { |
| 46 | memory_set_bankptr(space->machine, 1, mess_ram); |
| 47 | memory_set_bankptr(space->machine, 3, mess_ram + 0x8000); |
| 48 | } |
| 49 | return 0; |
| 50 | } |
| 51 | |
| 52 | |
| 53 | |
| 54 | static WRITE8_HANDLER(spc1000_video_ram_w) |
| 55 | { |
| 56 | spc1000_video_ram[offset] = data; |
| 57 | } |
| 58 | |
| 59 | static READ8_HANDLER(spc1000_video_ram_r) |
| 60 | { |
| 61 | return spc1000_video_ram[offset]; |
| 62 | } |
| 63 | |
| 64 | static READ8_HANDLER(spc1000_keyboard_r) { |
| 65 | static const char *const keynames[] = { "LINE0", "LINE1", "LINE2", "LINE3", |
| 66 | "LINE4", "LINE5", "LINE6", "LINE7", |
| 67 | "LINE8", "LINE9" }; |
| 68 | return input_port_read(space->machine, keynames[offset]); |
| 69 | } |
| 70 | |
| 71 | static WRITE8_HANDLER(spc1000_gmode_w) |
| 72 | { |
| 73 | GMODE = data; |
| 74 | } |
| 75 | |
| 76 | static READ8_HANDLER(spc1000_gmode_r) |
| 77 | { |
| 78 | return GMODE; |
| 79 | } |
| 80 | |
| 81 | static ADDRESS_MAP_START( spc1000_io , ADDRESS_SPACE_IO, 8) |
| 82 | ADDRESS_MAP_UNMAP_HIGH |
| 83 | AM_RANGE(0x0000, 0x1fff) AM_READWRITE(spc1000_video_ram_r, spc1000_video_ram_w) |
| 84 | AM_RANGE(0x2000, 0x3fff) AM_READWRITE(spc1000_gmode_r, spc1000_gmode_w) |
| 85 | AM_RANGE(0x8000, 0x8009) AM_READ(spc1000_keyboard_r) |
| 86 | AM_RANGE(0xA000, 0xA000) AM_READWRITE(spc1000_iplk_r, spc1000_iplk_w) |
| 87 | AM_RANGE(0x4000, 0x4000) AM_DEVWRITE("ay8910", ay8910_address_w) |
| 88 | AM_RANGE(0x4001, 0x4001) AM_DEVREADWRITE("ay8910", ay8910_r, ay8910_data_w) |
| 89 | ADDRESS_MAP_END |
| 90 | |
| 91 | /* Input ports */ |
| 92 | INPUT_PORTS_START( spc1000 ) |
| 93 | PORT_START("LINE0") |
| 94 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_UNUSED) |
| 95 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Shift") PORT_CODE(KEYCODE_RSHIFT) PORT_CODE(KEYCODE_LSHIFT) |
| 96 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Ctrl") PORT_CODE(KEYCODE_RCONTROL) PORT_CODE(KEYCODE_LCONTROL) |
| 97 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_UNUSED) |
| 98 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Break") PORT_CODE(KEYCODE_PAUSE) |
| 99 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_UNUSED) |
| 100 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Graph") PORT_CODE(KEYCODE_LALT) PORT_CODE(KEYCODE_RALT) |
| 101 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_UNUSED) |
| 102 | PORT_START("LINE1") |
| 103 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("~") PORT_CODE(KEYCODE_TILDE) |
| 104 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Home") PORT_CODE(KEYCODE_HOME) |
| 105 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Space") PORT_CODE(KEYCODE_SPACE) |
| 106 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Return") PORT_CODE(KEYCODE_ENTER) |
| 107 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("C") PORT_CODE(KEYCODE_C) |
| 108 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("A") PORT_CODE(KEYCODE_A) |
| 109 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Q") PORT_CODE(KEYCODE_Q) |
| 110 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("1") PORT_CODE(KEYCODE_1) |
| 111 | PORT_START("LINE2") |
| 112 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Caps") PORT_CODE(KEYCODE_CAPSLOCK) |
| 113 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_UNUSED) |
| 114 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Z") PORT_CODE(KEYCODE_Z) |
| 115 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("]") PORT_CODE(KEYCODE_CLOSEBRACE) |
| 116 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("V") PORT_CODE(KEYCODE_V) |
| 117 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("S") PORT_CODE(KEYCODE_S) |
| 118 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("W") PORT_CODE(KEYCODE_W) |
| 119 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("2") PORT_CODE(KEYCODE_2) |
| 120 | PORT_START("LINE3") |
| 121 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Del") PORT_CODE(KEYCODE_BACKSPACE) |
| 122 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_UNUSED) |
| 123 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("ESC") PORT_CODE(KEYCODE_ESC) |
| 124 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("[") PORT_CODE(KEYCODE_OPENBRACE) |
| 125 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("B") PORT_CODE(KEYCODE_B) |
| 126 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("D") PORT_CODE(KEYCODE_D) |
| 127 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("E") PORT_CODE(KEYCODE_E) |
| 128 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("3") PORT_CODE(KEYCODE_3) |
| 129 | PORT_START("LINE4") |
| 130 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_UNUSED) |
| 131 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_UNUSED) |
| 132 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Right") PORT_CODE(KEYCODE_RIGHT) |
| 133 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("\\") PORT_CODE(KEYCODE_BACKSLASH) |
| 134 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("N") PORT_CODE(KEYCODE_N) |
| 135 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("F") PORT_CODE(KEYCODE_F) |
| 136 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("R") PORT_CODE(KEYCODE_R) |
| 137 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("4") PORT_CODE(KEYCODE_4) |
| 138 | PORT_START("LINE5") |
| 139 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_UNUSED) |
| 140 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("F1") PORT_CODE(KEYCODE_F1) |
| 141 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Left") PORT_CODE(KEYCODE_LEFT) |
| 142 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_UNUSED) |
| 143 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("M") PORT_CODE(KEYCODE_M) |
| 144 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("G") PORT_CODE(KEYCODE_G) |
| 145 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("T") PORT_CODE(KEYCODE_T) |
| 146 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("5") PORT_CODE(KEYCODE_5) |
| 147 | PORT_START("LINE6") |
| 148 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_UNUSED) |
| 149 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("F2") PORT_CODE(KEYCODE_F2) |
| 150 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("@") PORT_CODE(KEYCODE_EQUALS) |
| 151 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("X") PORT_CODE(KEYCODE_X) |
| 152 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(",") PORT_CODE(KEYCODE_COMMA) |
| 153 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("H") PORT_CODE(KEYCODE_H) |
| 154 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Y") PORT_CODE(KEYCODE_Y) |
| 155 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("6") PORT_CODE(KEYCODE_6) |
| 156 | PORT_START("LINE7") |
| 157 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_UNUSED) |
| 158 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("F3") PORT_CODE(KEYCODE_F3) |
| 159 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Up") PORT_CODE(KEYCODE_UP) |
| 160 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("P") PORT_CODE(KEYCODE_P) |
| 161 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(".") PORT_CODE(KEYCODE_STOP) |
| 162 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("J") PORT_CODE(KEYCODE_J) |
| 163 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("U") PORT_CODE(KEYCODE_U) |
| 164 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("7") PORT_CODE(KEYCODE_7) |
| 165 | PORT_START("LINE8") |
| 166 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_UNUSED) |
| 167 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("F4") PORT_CODE(KEYCODE_F4) |
| 168 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Down") PORT_CODE(KEYCODE_DOWN) |
| 169 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(":") PORT_CODE(KEYCODE_QUOTE) |
| 170 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("/") PORT_CODE(KEYCODE_SLASH) |
| 171 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("K") PORT_CODE(KEYCODE_K) |
| 172 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("I") PORT_CODE(KEYCODE_I) |
| 173 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("8") PORT_CODE(KEYCODE_8) |
| 174 | PORT_START("LINE9") |
| 175 | PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_UNUSED) |
| 176 | PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("F5") PORT_CODE(KEYCODE_F5) |
| 177 | PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("-") PORT_CODE(KEYCODE_MINUS) |
| 178 | PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("0") PORT_CODE(KEYCODE_0) |
| 179 | PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(";") PORT_CODE(KEYCODE_COLON) |
| 180 | PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("L") PORT_CODE(KEYCODE_L) |
| 181 | PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("O") PORT_CODE(KEYCODE_O) |
| 182 | PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("9") PORT_CODE(KEYCODE_9) |
| 183 | INPUT_PORTS_END |
| 184 | |
| 185 | |
| 186 | static MACHINE_RESET(spc1000) |
| 187 | { |
| 188 | const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM); |
| 189 | |
| 190 | memory_install_read8_handler(space, 0x0000, 0x7fff, 0, 0, SMH_BANK1); |
| 191 | memory_install_read8_handler(space, 0x8000, 0xffff, 0, 0, SMH_BANK3); |
| 192 | |
| 193 | memory_install_write8_handler(space, 0x0000, 0x7fff, 0, 0, SMH_BANK2); |
| 194 | memory_install_write8_handler(space, 0x8000, 0xffff, 0, 0, SMH_BANK4); |
| 195 | |
| 196 | memory_set_bankptr(machine, 1, memory_region(machine, "maincpu")); |
| 197 | memory_set_bankptr(machine, 2, mess_ram); |
| 198 | memory_set_bankptr(machine, 3, memory_region(machine, "maincpu")); |
| 199 | memory_set_bankptr(machine, 4, mess_ram + 0x8000); |
| 200 | |
| 201 | IPLK = 1; |
| 202 | } |
| 203 | |
| 204 | |
| 205 | static ATTR_CONST UINT8 spc1000_get_attributes(running_machine *machine, UINT8 c, UINT8 attr) |
| 206 | { |
| 207 | UINT8 result = 0x00; |
| 208 | //if (c & 0x40) result |= M6847_INTEXT; |
| 209 | if (attr & 0x01) result |= M6847_INV; |
| 210 | if (attr & 0x02) result |= M6847_CSS; |
| 211 | if (attr & 0x04) result |= M6847_AS; |
| 212 | if (attr & 0x08) result |= M6847_GM0; |
| 213 | |
| 214 | if (GMODE & 0x08) result |= M6847_AG; |
| 215 | if (GMODE & 0x04) result |= M6847_GM2; |
| 216 | if (GMODE & 0x02) result |= M6847_GM1; |
| 217 | if (GMODE & 0x80) result |= M6847_GM0; |
| 218 | |
| 219 | return result; |
| 220 | } |
| 221 | |
| 222 | static const UINT8 *spc1000_get_video_ram(running_machine *machine, int scanline) |
| 223 | { |
| 224 | return spc1000_video_ram + (scanline / 12) * 0x20; |
| 225 | } |
| 226 | |
| 227 | VIDEO_START( spc1000 ) |
| 228 | { |
| 229 | m6847_config cfg; |
| 230 | |
| 231 | spc1000_video_ram = auto_malloc (0x2000); |
| 232 | |
| 233 | memset(&cfg, 0, sizeof(cfg)); |
| 234 | cfg.type = M6847_VERSION_M6847T1_NTSC; |
| 235 | cfg.get_attributes = spc1000_get_attributes; |
| 236 | cfg.get_video_ram = spc1000_get_video_ram; |
| 237 | m6847_init(machine, &cfg); |
| 238 | } |
| 239 | |
| 240 | static const ay8910_interface spc1000_ay_interface = |
| 241 | { |
| 242 | AY8910_LEGACY_OUTPUT, |
| 243 | AY8910_DEFAULT_LOADS, |
| 244 | DEVCB_NULL |
| 245 | }; |
| 246 | |
| 247 | static const cassette_config spc1000_cassette_config = |
| 248 | { |
| 249 | cassette_default_formats, |
| 250 | NULL, |
| 251 | CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED |
| 252 | }; |
| 253 | |
| 254 | |
| 255 | static MACHINE_DRIVER_START( spc1000 ) |
| 256 | /* basic machine hardware */ |
| 257 | MDRV_CPU_ADD("maincpu",Z80, XTAL_4MHz) |
| 258 | MDRV_CPU_PROGRAM_MAP(spc1000_mem, 0) |
| 259 | MDRV_CPU_IO_MAP(spc1000_io, 0) |
| 260 | |
| 261 | MDRV_MACHINE_RESET(spc1000) |
| 262 | |
| 263 | /* video hardware */ |
| 264 | MDRV_SCREEN_ADD("screen", RASTER) |
| 265 | MDRV_SCREEN_REFRESH_RATE(M6847_NTSC_FRAMES_PER_SECOND) |
| 266 | MDRV_VIDEO_START(spc1000) |
| 267 | MDRV_VIDEO_UPDATE(m6847) |
| 268 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32) |
| 269 | MDRV_SCREEN_SIZE(320, 25+192+26) |
| 270 | MDRV_SCREEN_VISIBLE_AREA(0, 319, 1, 239) |
| 271 | |
| 272 | /* sound hardware */ |
| 273 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 274 | MDRV_SOUND_ADD("ay8910", AY8910, XTAL_4MHz / 1) |
| 275 | MDRV_SOUND_CONFIG(spc1000_ay_interface) |
| 276 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
| 277 | MDRV_SOUND_WAVE_ADD("wave", "cassette") |
| 278 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00) |
| 279 | |
| 280 | MDRV_CASSETTE_ADD( "cassette", spc1000_cassette_config ) |
| 281 | MACHINE_DRIVER_END |
| 282 | |
| 283 | static SYSTEM_CONFIG_START(spc1000) |
| 284 | CONFIG_RAM(64 * 1024) |
| 285 | SYSTEM_CONFIG_END |
| 286 | |
| 287 | /* ROM definition */ |
| 288 | ROM_START( spc1000 ) |
| 289 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |
| 290 | ROM_LOAD( "spcall.rom", 0x0000, 0x8000, CRC(19638fc9)) |
| 291 | ROM_END |
| 292 | |
| 293 | /* Driver */ |
| 294 | |
| 295 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME FLAGS */ |
| 296 | COMP( 1982, spc1000, 0, 0, spc1000, spc1000, 0, spc1000, "Samsung", "SPC-1000", GAME_NOT_WORKING) |