src/mess/drivers/camplynx.c
| r5019 | r5020 | |
| 102 | 102 | logerror("cannot understand bankswitch command %X\n",data); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | static WRITE8_HANDLER( lynx128_bank_w ) |
| 106 | { |
| 107 | /* get address space */ |
| 108 | const address_space *mem = cputag_get_address_space(space->machine, "maincpu", ADDRESS_SPACE_PROGRAM); |
| 105 | 109 | |
| 110 | if (data == 0) |
| 111 | { |
| 112 | memory_set_bankptr(mem->machine, 1, memory_region(mem->machine, "maincpu") + 0x00000); |
| 113 | memory_set_bankptr(mem->machine, 2, memory_region(mem->machine, "maincpu") + 0x02000); |
| 114 | memory_set_bankptr(mem->machine, 3, memory_region(mem->machine, "maincpu") + 0x04000); |
| 115 | memory_set_bankptr(mem->machine, 4, memory_region(mem->machine, "maincpu") + 0x16000); |
| 116 | memory_set_bankptr(mem->machine, 5, memory_region(mem->machine, "maincpu") + 0x18000); |
| 117 | memory_set_bankptr(mem->machine, 6, memory_region(mem->machine, "maincpu") + 0x1a000); |
| 118 | memory_set_bankptr(mem->machine, 7, memory_region(mem->machine, "maincpu") + 0x0c000); |
| 119 | memory_set_bankptr(mem->machine, 8, memory_region(mem->machine, "maincpu") + 0x0e000); |
| 120 | memory_set_bankptr(mem->machine, 11, memory_region(mem->machine, "maincpu") + 0x10000); |
| 121 | memory_set_bankptr(mem->machine, 12, memory_region(mem->machine, "maincpu") + 0x12000); |
| 122 | memory_set_bankptr(mem->machine, 13, memory_region(mem->machine, "maincpu") + 0x14000); |
| 123 | memory_set_bankptr(mem->machine, 14, memory_region(mem->machine, "maincpu") + 0x16000); |
| 124 | memory_set_bankptr(mem->machine, 15, memory_region(mem->machine, "maincpu") + 0x18000); |
| 125 | memory_set_bankptr(mem->machine, 16, memory_region(mem->machine, "maincpu") + 0x1a000); |
| 126 | memory_set_bankptr(mem->machine, 17, memory_region(mem->machine, "maincpu") + 0x1c000); |
| 127 | memory_set_bankptr(mem->machine, 18, memory_region(mem->machine, "maincpu") + 0x1e000); |
| 128 | } |
| 129 | else |
| 130 | if (data == 0xc0) |
| 131 | { |
| 132 | memory_set_bankptr(mem->machine, 1, memory_region(mem->machine, "maincpu") + 0x00000); |
| 133 | memory_set_bankptr(mem->machine, 2, memory_region(mem->machine, "maincpu") + 0x02000); |
| 134 | memory_set_bankptr(mem->machine, 3, memory_region(mem->machine, "maincpu") + 0x04000); |
| 135 | memory_set_bankptr(mem->machine, 4, memory_region(mem->machine, "maincpu") + 0x16000); |
| 136 | memory_set_bankptr(mem->machine, 5, memory_region(mem->machine, "maincpu") + 0x18000); |
| 137 | memory_set_bankptr(mem->machine, 6, memory_region(mem->machine, "maincpu") + 0x1a000); |
| 138 | memory_set_bankptr(mem->machine, 7, memory_region(mem->machine, "maincpu") + 0x0c000); |
| 139 | memory_set_bankptr(mem->machine, 8, memory_region(mem->machine, "maincpu") + 0x0e000); |
| 140 | memory_set_bankptr(mem->machine, 11, memory_region(mem->machine, "maincpu") + 0x20000); |
| 141 | memory_set_bankptr(mem->machine, 12, memory_region(mem->machine, "maincpu") + 0x22000); |
| 142 | memory_set_bankptr(mem->machine, 13, memory_region(mem->machine, "maincpu") + 0x24000); |
| 143 | memory_set_bankptr(mem->machine, 14, memory_region(mem->machine, "maincpu") + 0x26000); |
| 144 | memory_set_bankptr(mem->machine, 15, memory_region(mem->machine, "maincpu") + 0x28000); |
| 145 | memory_set_bankptr(mem->machine, 16, memory_region(mem->machine, "maincpu") + 0x2a000); |
| 146 | memory_set_bankptr(mem->machine, 17, memory_region(mem->machine, "maincpu") + 0x2c000); |
| 147 | memory_set_bankptr(mem->machine, 18, memory_region(mem->machine, "maincpu") + 0x2e000); |
| 148 | } |
| 149 | else |
| 150 | if (data == 0xe0) |
| 151 | { |
| 152 | memory_set_bankptr(mem->machine, 1, memory_region(mem->machine, "maincpu") + 0x00000); |
| 153 | memory_set_bankptr(mem->machine, 2, memory_region(mem->machine, "maincpu") + 0x02000); |
| 154 | memory_set_bankptr(mem->machine, 3, memory_region(mem->machine, "maincpu") + 0x04000); |
| 155 | memory_set_bankptr(mem->machine, 4, memory_region(mem->machine, "maincpu") + 0x16000); |
| 156 | memory_set_bankptr(mem->machine, 5, memory_region(mem->machine, "maincpu") + 0x18000); |
| 157 | memory_set_bankptr(mem->machine, 6, memory_region(mem->machine, "maincpu") + 0x1a000); |
| 158 | memory_set_bankptr(mem->machine, 7, memory_region(mem->machine, "maincpu") + 0x0c000); |
| 159 | memory_set_bankptr(mem->machine, 8, memory_region(mem->machine, "maincpu") + 0x0e000); |
| 160 | memory_set_bankptr(mem->machine, 11, memory_region(mem->machine, "maincpu") + 0x20000); |
| 161 | memory_set_bankptr(mem->machine, 12, memory_region(mem->machine, "maincpu") + 0x22000); |
| 162 | memory_set_bankptr(mem->machine, 13, memory_region(mem->machine, "maincpu") + 0x24000); |
| 163 | memory_set_bankptr(mem->machine, 14, memory_region(mem->machine, "maincpu") + 0x26000); |
| 164 | memory_set_bankptr(mem->machine, 15, memory_region(mem->machine, "maincpu") + 0x28000); |
| 165 | memory_set_bankptr(mem->machine, 16, memory_region(mem->machine, "maincpu") + 0x2a000); |
| 166 | memory_set_bankptr(mem->machine, 17, memory_region(mem->machine, "maincpu") + 0x2c000); |
| 167 | memory_set_bankptr(mem->machine, 18, memory_region(mem->machine, "maincpu") + 0x2e000); |
| 168 | } |
| 169 | else |
| 170 | logerror("cannot understand bankswitch command %X\n",data); |
| 171 | } |
| 172 | |
| 106 | 173 | static ADDRESS_MAP_START( camplynx_mem, ADDRESS_SPACE_PROGRAM, 8) |
| 107 | 174 | ADDRESS_MAP_UNMAP_HIGH |
| 108 | 175 | AM_RANGE(0x0000,0x5fff) AM_ROM |
| r5019 | r5020 | |
| 110 | 177 | AM_RANGE(0x8000,0xffff) AM_RAMBANK(1) |
| 111 | 178 | ADDRESS_MAP_END |
| 112 | 179 | |
| 113 | | static ADDRESS_MAP_START( camp96_mem, ADDRESS_SPACE_PROGRAM, 8) |
| 180 | static ADDRESS_MAP_START( lynx96_mem, ADDRESS_SPACE_PROGRAM, 8) |
| 114 | 181 | ADDRESS_MAP_UNMAP_HIGH |
| 115 | 182 | AM_RANGE(0x0000,0x5fff) AM_ROM |
| 116 | | AM_RANGE(0x6000,0xdfff) AM_RAM |
| 117 | 183 | AM_RANGE(0x6000,0x7fff) AM_RAM |
| 118 | 184 | AM_RANGE(0x8000,0xffff) AM_RAMBANK(1) |
| 119 | 185 | ADDRESS_MAP_END |
| 120 | 186 | |
| 187 | static ADDRESS_MAP_START( lynx128_mem, ADDRESS_SPACE_PROGRAM, 8) |
| 188 | AM_RANGE(0x0000,0x1fff) AM_RAMBANK(1) |
| 189 | AM_RANGE(0x2000,0x3fff) AM_RAMBANK(2) |
| 190 | AM_RANGE(0x4000,0x5fff) AM_RAMBANK(3) |
| 191 | AM_RANGE(0x6000,0x7fff) AM_RAMBANK(4) |
| 192 | AM_RANGE(0x8000,0x9fff) AM_RAMBANK(5) |
| 193 | AM_RANGE(0xa000,0xbfff) AM_RAMBANK(6) |
| 194 | AM_RANGE(0xc000,0xdfff) AM_RAMBANK(7) |
| 195 | AM_RANGE(0xe000,0xffff) AM_RAMBANK(8) |
| 196 | ADDRESS_MAP_END |
| 197 | |
| 121 | 198 | static ADDRESS_MAP_START( camplynx_io , ADDRESS_SPACE_IO, 8) |
| 122 | 199 | ADDRESS_MAP_UNMAP_HIGH |
| 123 | 200 | AM_RANGE(0x007f,0x007f) AM_MIRROR(0xff00) AM_WRITE(camplynx_bank_w) |
| r5019 | r5020 | |
| 137 | 214 | AM_RANGE(0x0087,0x0087) AM_MIRROR(0xff00) AM_DEVREADWRITE("crtc", mc6845_register_r,mc6845_register_w) |
| 138 | 215 | ADDRESS_MAP_END |
| 139 | 216 | |
| 217 | static ADDRESS_MAP_START( lynx128_io , ADDRESS_SPACE_IO, 8) |
| 218 | ADDRESS_MAP_UNMAP_HIGH |
| 219 | // AM_RANGE(0x0050,0x0053) AM_MIRROR(0xff80) AM_READ(wd179x_r) // uses a 1793 |
| 220 | // AM_RANGE(0x0054,0x0057) AM_MIRROR(0xff80) AM_WRITE(wd179x_w) |
| 221 | // AM_RANGE(0x0058,0x0058) AM_MIRROR(0xff80) AM_WRITE(lynx128_disk_w) |
| 222 | // AM_RANGE(0x007a,0x007b) AM_MIRROR(0xff80) AM_READ(lynx128_joysticks_r) |
| 223 | // AM_RANGE(0x007c,0x007c) AM_MIRROR(0xff80) AM_READ(lynx128_printer_r) |
| 224 | // AM_RANGE(0x007d,0x007d) AM_MIRROR(0xff80) AM_WRITE(lynx128_printer_init_w) // this is rw |
| 225 | // AM_RANGE(0x007e,0x007e) AM_MIRROR(0xff80) AM_WRITE(lynx128_printer_w) |
| 226 | AM_RANGE(0x0080,0x0080) AM_MIRROR(0xff00) AM_WRITE(SMH_NOP) /* to be emulated */ |
| 227 | AM_RANGE(0x0080,0x0080) AM_READ_PORT("LINE0") |
| 228 | AM_RANGE(0x0180,0x0180) AM_READ_PORT("LINE1") |
| 229 | AM_RANGE(0x0280,0x0280) AM_READ_PORT("LINE2") |
| 230 | AM_RANGE(0x0380,0x0380) AM_READ_PORT("LINE3") |
| 231 | AM_RANGE(0x0480,0x0480) AM_READ_PORT("LINE4") |
| 232 | AM_RANGE(0x0580,0x0580) AM_READ_PORT("LINE5") |
| 233 | AM_RANGE(0x0680,0x0680) AM_READ_PORT("LINE6") |
| 234 | AM_RANGE(0x0780,0x0780) AM_READ_PORT("LINE7") |
| 235 | AM_RANGE(0x0880,0x0880) AM_READ_PORT("LINE8") |
| 236 | AM_RANGE(0x0980,0x0980) AM_READ_PORT("LINE9") |
| 237 | AM_RANGE(0x0082,0x0082) AM_MIRROR(0xff00) AM_WRITE(lynx128_bank_w) // read=serial buffer |
| 238 | AM_RANGE(0x0084,0x0084) AM_MIRROR(0xff00) AM_DEVWRITE("dac", dac_w) /* 6-bit dac. Read="single-step", causes a NMI */ |
| 239 | AM_RANGE(0x0086,0x0086) AM_MIRROR(0xff00) AM_DEVREADWRITE("crtc", mc6845_status_r,mc6845_address_w) |
| 240 | AM_RANGE(0x0087,0x0087) AM_MIRROR(0xff00) AM_DEVREADWRITE("crtc", mc6845_register_r,mc6845_register_w) |
| 241 | ADDRESS_MAP_END |
| 242 | |
| 140 | 243 | /* Input ports */ |
| 141 | 244 | static INPUT_PORTS_START( camplynx ) |
| 142 | 245 | PORT_START("LINE0") |
| r5019 | r5020 | |
| 218 | 321 | INPUT_PORTS_END |
| 219 | 322 | |
| 220 | 323 | |
| 221 | | static MACHINE_RESET( camplynx ) |
| 324 | static MACHINE_RESET( lynx128 ) |
| 222 | 325 | { |
| 326 | const address_space *mem = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM); |
| 327 | memory_install_readwrite8_handler (mem, 0x0000, 0x1fff, 0, 0, SMH_BANK(1), SMH_BANK(11)); |
| 328 | memory_install_readwrite8_handler (mem, 0x2000, 0x3fff, 0, 0, SMH_BANK(2), SMH_BANK(12)); |
| 329 | memory_install_readwrite8_handler (mem, 0x4000, 0x5fff, 0, 0, SMH_BANK(3), SMH_BANK(13)); |
| 330 | memory_install_readwrite8_handler (mem, 0x6000, 0x7fff, 0, 0, SMH_BANK(4), SMH_BANK(14)); |
| 331 | memory_install_readwrite8_handler (mem, 0x8000, 0x9fff, 0, 0, SMH_BANK(5), SMH_BANK(15)); |
| 332 | memory_install_readwrite8_handler (mem, 0xa000, 0xbfff, 0, 0, SMH_BANK(6), SMH_BANK(16)); |
| 333 | memory_install_readwrite8_handler (mem, 0xc000, 0xdfff, 0, 0, SMH_BANK(7), SMH_BANK(17)); |
| 334 | memory_install_readwrite8_handler (mem, 0xe000, 0xffff, 0, 0, SMH_BANK(8), SMH_BANK(18)); |
| 335 | lynx128_bank_w(mem, 0, 0); |
| 223 | 336 | } |
| 224 | 337 | |
| 338 | static WRITE8_DEVICE_HANDLER( lynx128_irq ) |
| 339 | { |
| 340 | cputag_set_input_line(device->machine, "maincpu", 0, data); |
| 341 | } |
| 342 | |
| 343 | |
| 225 | 344 | static const UINT8 camplynx_palette[8*3] = |
| 226 | 345 | { |
| 227 | 346 | 0x00, 0x00, 0x00, /* 0 Black */ |
| r5019 | r5020 | |
| 253 | 372 | |
| 254 | 373 | for (x = (y << 5); x < x_count + (y << 5); x++) |
| 255 | 374 | { |
| 256 | | r = RAM[0x14000|x]; |
| 257 | | g = RAM[0x1c000|x]; |
| 258 | | b = RAM[0x10000|x]; |
| 375 | r = RAM[0x14000+x]; |
| 376 | g = RAM[0x1c000+x]; |
| 377 | b = RAM[0x10000+x]; |
| 259 | 378 | |
| 260 | 379 | *p = ((r & 0x80) ? 2 : 0) | ((g & 0x80) ? 4 : 0) | ((b & 0x80) ? 1 : 0); p++; |
| 261 | 380 | *p = ((r & 0x40) ? 2 : 0) | ((g & 0x40) ? 4 : 0) | ((b & 0x40) ? 1 : 0); p++; |
| r5019 | r5020 | |
| 268 | 387 | } |
| 269 | 388 | } |
| 270 | 389 | |
| 390 | static MC6845_UPDATE_ROW( lynx128_update_row ) |
| 391 | { |
| 392 | UINT8 *RAM = memory_region(device->machine, "maincpu"); |
| 393 | UINT8 r,g,b; |
| 394 | UINT16 x, *p = BITMAP_ADDR16(bitmap, y, 0); |
| 395 | |
| 396 | for (x = (y << 5); x < x_count + (y << 5); x++) |
| 397 | { |
| 398 | r = RAM[0x20100+x]; |
| 399 | g = RAM[0x28100+x]; |
| 400 | b = RAM[0x24100+x]; |
| 401 | |
| 402 | *p = ((r & 0x80) ? 2 : 0) | ((g & 0x80) ? 4 : 0) | ((b & 0x80) ? 1 : 0); p++; |
| 403 | *p = ((r & 0x40) ? 2 : 0) | ((g & 0x40) ? 4 : 0) | ((b & 0x40) ? 1 : 0); p++; |
| 404 | *p = ((r & 0x20) ? 2 : 0) | ((g & 0x20) ? 4 : 0) | ((b & 0x20) ? 1 : 0); p++; |
| 405 | *p = ((r & 0x10) ? 2 : 0) | ((g & 0x10) ? 4 : 0) | ((b & 0x10) ? 1 : 0); p++; |
| 406 | *p = ((r & 0x08) ? 2 : 0) | ((g & 0x08) ? 4 : 0) | ((b & 0x08) ? 1 : 0); p++; |
| 407 | *p = ((r & 0x04) ? 2 : 0) | ((g & 0x04) ? 4 : 0) | ((b & 0x04) ? 1 : 0); p++; |
| 408 | *p = ((r & 0x02) ? 2 : 0) | ((g & 0x02) ? 4 : 0) | ((b & 0x02) ? 1 : 0); p++; |
| 409 | *p = ((r & 0x01) ? 2 : 0) | ((g & 0x01) ? 4 : 0) | ((b & 0x01) ? 1 : 0); p++; |
| 410 | } |
| 411 | } |
| 412 | |
| 271 | 413 | static VIDEO_START( camplynx ) |
| 272 | 414 | { |
| 273 | 415 | mc6845 = devtag_get_device(machine, "crtc"); |
| r5019 | r5020 | |
| 293 | 435 | NULL |
| 294 | 436 | }; |
| 295 | 437 | |
| 438 | static const mc6845_interface lynx128_crtc6845_interface = { |
| 439 | "screen", |
| 440 | 8, |
| 441 | NULL, |
| 442 | lynx128_update_row, |
| 443 | NULL, |
| 444 | DEVCB_NULL, |
| 445 | DEVCB_NULL, |
| 446 | DEVCB_HANDLER(lynx128_irq), |
| 447 | DEVCB_NULL, |
| 448 | NULL |
| 449 | }; |
| 296 | 450 | |
| 451 | |
| 297 | 452 | static MACHINE_DRIVER_START( camplynx ) |
| 298 | 453 | /* basic machine hardware */ |
| 299 | 454 | MDRV_CPU_ADD("maincpu", Z80, XTAL_4MHz) |
| 300 | 455 | MDRV_CPU_PROGRAM_MAP(camplynx_mem) |
| 301 | 456 | MDRV_CPU_IO_MAP(camplynx_io) |
| 302 | 457 | |
| 303 | | MDRV_MACHINE_RESET(camplynx) |
| 304 | | |
| 305 | 458 | /* video hardware */ |
| 306 | 459 | MDRV_SCREEN_ADD("screen", RASTER) |
| 307 | 460 | MDRV_SCREEN_REFRESH_RATE(50) |
| r5019 | r5020 | |
| 324 | 477 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.8) |
| 325 | 478 | MACHINE_DRIVER_END |
| 326 | 479 | |
| 327 | | static MACHINE_DRIVER_START( camp96 ) |
| 480 | static MACHINE_DRIVER_START( lynx96 ) |
| 328 | 481 | MDRV_IMPORT_FROM( camplynx ) |
| 329 | 482 | MDRV_CPU_MODIFY( "maincpu" ) |
| 330 | | MDRV_CPU_PROGRAM_MAP(camp96_mem) |
| 483 | MDRV_CPU_PROGRAM_MAP(lynx96_mem) |
| 331 | 484 | MACHINE_DRIVER_END |
| 332 | 485 | |
| 486 | static MACHINE_DRIVER_START( lynx128 ) |
| 487 | /* basic machine hardware */ |
| 488 | MDRV_CPU_ADD("maincpu", Z80, XTAL_4MHz) |
| 489 | MDRV_CPU_PROGRAM_MAP(lynx128_mem) |
| 490 | MDRV_CPU_IO_MAP(lynx128_io) |
| 491 | |
| 492 | MDRV_MACHINE_RESET(lynx128) |
| 493 | |
| 494 | /* video hardware */ |
| 495 | MDRV_SCREEN_ADD("screen", RASTER) |
| 496 | MDRV_SCREEN_REFRESH_RATE(50) |
| 497 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */ |
| 498 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 499 | MDRV_SCREEN_SIZE(512, 480) |
| 500 | MDRV_SCREEN_VISIBLE_AREA(0, 511, 0, 479) |
| 501 | MDRV_PALETTE_LENGTH(8) |
| 502 | MDRV_PALETTE_INIT(camplynx) |
| 503 | |
| 504 | MDRV_MC6845_ADD("crtc", MC6845, XTAL_12MHz / 8 /*? dot clock divided by dots per char */, lynx128_crtc6845_interface) |
| 505 | |
| 506 | MDRV_VIDEO_START(camplynx) |
| 507 | MDRV_VIDEO_UPDATE(camplynx) |
| 508 | |
| 509 | /* sound hardware */ |
| 510 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 511 | |
| 512 | MDRV_SOUND_ADD("dac", DAC, 0) |
| 513 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.8) |
| 514 | MACHINE_DRIVER_END |
| 515 | |
| 333 | 516 | static DRIVER_INIT( camplynx ) |
| 334 | 517 | { |
| 335 | 518 | UINT8 *RAM = memory_region(machine, "maincpu"); |
| 336 | 519 | memory_configure_bank(machine, 1, 0, 3, &RAM[0x8000], 0x8000); |
| 337 | 520 | } |
| 338 | 521 | |
| 522 | |
| 339 | 523 | /* ROM definition */ |
| 340 | 524 | ROM_START( camplynx ) |
| 341 | | ROM_REGION( 0x30000, "maincpu", ROMREGION_ERASEFF ) |
| 525 | ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASEFF ) |
| 342 | 526 | ROM_LOAD( "lynx48-1.rom", 0x0000, 0x2000, CRC(56feec44) SHA1(7ded5184561168e159a30fa8e9d3fde5e52aa91a) ) |
| 343 | 527 | ROM_LOAD( "lynx48-2.rom", 0x2000, 0x2000, CRC(d894562e) SHA1(c08a78ecb4eb05baa4c52488fce3648cd2688744) ) |
| 344 | 528 | ROM_END |
| 345 | 529 | |
| 346 | 530 | ROM_START( camply96 ) |
| 347 | | ROM_REGION( 0x30000, "maincpu", ROMREGION_ERASEFF ) |
| 531 | ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASEFF ) |
| 348 | 532 | ROM_LOAD( "lynx96-1.rom", 0x0000, 0x2000, CRC(56feec44) SHA1(7ded5184561168e159a30fa8e9d3fde5e52aa91a) ) |
| 349 | 533 | ROM_LOAD( "lynx96-2.rom", 0x2000, 0x2000, CRC(d894562e) SHA1(c08a78ecb4eb05baa4c52488fce3648cd2688744) ) |
| 350 | 534 | ROM_LOAD( "lynx96-3.rom", 0x4000, 0x2000, CRC(21f11709) SHA1(f86a729b01de286197c550974f7825c12815a4f4) ) |
| r5019 | r5020 | |
| 352 | 536 | ROM_END |
| 353 | 537 | |
| 354 | 538 | ROM_START( camply128 ) |
| 355 | | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |
| 539 | ROM_REGION( 0x50000, "maincpu", ROMREGION_ERASEFF ) |
| 356 | 540 | ROM_LOAD( "lynx128-1.rom", 0x0000, 0x2000, CRC(65d292ce) SHA1(36567c2fbd9cf72f758e8cb80c21cb4d82040752) ) |
| 357 | 541 | ROM_LOAD( "lynx128-2.rom", 0x2000, 0x2000, CRC(23288773) SHA1(e12a7ebea3fae5eb375c03e848dbb81070d9d189) ) |
| 358 | 542 | ROM_LOAD( "lynx128-3.rom", 0x4000, 0x2000, CRC(9827b9e9) SHA1(1092367b2af51c72ce9be367179240d692aeb131) ) |
| r5019 | r5020 | |
| 360 | 544 | ROM_END |
| 361 | 545 | |
| 362 | 546 | |
| 363 | | static SYSTEM_CONFIG_START(camp48) |
| 364 | | CONFIG_RAM_DEFAULT(48 * 1024) |
| 365 | | SYSTEM_CONFIG_END |
| 366 | | |
| 367 | | static SYSTEM_CONFIG_START(camp96) |
| 368 | | CONFIG_RAM_DEFAULT(96 * 1024) |
| 369 | | SYSTEM_CONFIG_END |
| 370 | | |
| 371 | | static SYSTEM_CONFIG_START(camp128) |
| 372 | | CONFIG_RAM_DEFAULT(128 * 1024) |
| 373 | | SYSTEM_CONFIG_END |
| 374 | | |
| 375 | | |
| 376 | 547 | /* Driver */ |
| 377 | | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME FLAGS */ |
| 378 | | COMP( 1983, camplynx, 0, 0, camplynx, camplynx, camplynx, camp48, "Camputers", "Lynx 48", GAME_NOT_WORKING) |
| 379 | | COMP( 1983, camply96, camplynx, 0, camp96, camplynx, camplynx, camp96, "Camputers", "Lynx 96", GAME_NOT_WORKING) |
| 380 | | COMP( 1983, camply128, camplynx, 0, camp96, camplynx, 0, camp128, "Camputers", "Lynx 128", GAME_NOT_WORKING) |
| 548 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME FLAGS */ |
| 549 | COMP( 1983, camplynx, 0, 0, camplynx, camplynx, camplynx, 0, "Camputers", "Lynx 48", GAME_NOT_WORKING) |
| 550 | COMP( 1983, camply96, camplynx, 0, lynx96, camplynx, camplynx, 0, "Camputers", "Lynx 96", GAME_NOT_WORKING) |
| 551 | COMP( 1983, camply128, camplynx, 0, lynx128, camplynx, 0, 0, "Camputers", "Lynx 128", GAME_NOT_WORKING) |