src/mess/drivers/ptcsol.c
| r10151 | r10152 | |
| 8 | 8 | |
| 9 | 9 | Note that the SOLOS dump comes from the Solace emu. Not being sure if |
| 10 | 10 | it has been verified with a real SOL-20 (even if I think it has been), I |
| 11 | | marked it as a BAD_DUMP |
| 11 | marked it as a BAD_DUMP. |
| 12 | 12 | |
| 13 | The roms DPMON and CONSOL are widely available on the net as ENT files, |
| 14 | which can be loaded into memory with the Paste option, then exported to |
| 15 | binary files with the debugger. They are working, however the ENT files |
| 16 | do not indicate the values of unused rom space. Therefore they are marked |
| 17 | as BAD_DUMP. |
| 18 | |
| 19 | Note that the CONSOL rom is basically a dumb terminal program and doesn't |
| 20 | do anything useful unless the MODE key (whatever that is) is pressed. |
| 21 | |
| 13 | 22 | Other OS ROMs to be dumped: |
| 14 | 23 | - CONSOL |
| 15 | 24 | - CUTER |
| r10151 | r10152 | |
| 385 | 394 | inv = 0; |
| 386 | 395 | |
| 387 | 396 | /* Take care of flashing characters */ |
| 388 | | if ((chr & 0x80) && (state->m_framecnt & 0x08)) |
| 397 | //if ((chr & 0x80) && (state->m_framecnt & 0x08)) |
| 398 | if (chr & 0x80) |
| 389 | 399 | inv ^= 0xff; |
| 390 | 400 | |
| 391 | 401 | chr &= 0x7f; |
| r10151 | r10152 | |
| 394 | 404 | gfx = 0; |
| 395 | 405 | else |
| 396 | 406 | if (ra < 10) |
| 397 | | |
| 398 | 407 | gfx = state->FNT[(chr<<4) | (ra-1) ] ^ inv; |
| 399 | 408 | else |
| 400 | 409 | gfx = inv; |
| r10151 | r10152 | |
| 418 | 427 | WRITE8_MEMBER( sol20_state::sol20_kbd_put ) |
| 419 | 428 | { |
| 420 | 429 | m_sol20_fa &= 0xfe; |
| 421 | | m_sol20_fc = data; |
| 430 | m_sol20_fc = data | 0x80; // CONSOL requires bit 7 to be high, others don't care |
| 422 | 431 | } |
| 423 | 432 | |
| 424 | 433 | static GENERIC_TERMINAL_INTERFACE( sol20_terminal_intf ) |
| r10151 | r10152 | |
| 466 | 475 | /* ROM definition */ |
| 467 | 476 | ROM_START( sol20 ) |
| 468 | 477 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 469 | | ROM_LOAD( "solos.rom", 0xc000, 0x0800, BAD_DUMP CRC(4d0af383) SHA1(ac4510c3380ed4a31ccf4f538af3cb66b76701ef) ) // from solace emu |
| 478 | ROM_SYSTEM_BIOS(0, "SOLOS", "SOLOS") |
| 479 | ROMX_LOAD( "solos.bin", 0xc000, 0x0800, BAD_DUMP CRC(4d0af383) SHA1(ac4510c3380ed4a31ccf4f538af3cb66b76701ef), ROM_BIOS(1) ) // from solace emu |
| 480 | ROM_SYSTEM_BIOS(1, "DPMON", "DPMON") |
| 481 | ROMX_LOAD( "dpmon.bin", 0xc000, 0x0800, BAD_DUMP CRC(2a84f099) SHA1(60ff6e38082c50afcf0f40707ef65668a411008b), ROM_BIOS(2) ) |
| 482 | ROM_SYSTEM_BIOS(2, "CONSOL", "CONSOL") |
| 483 | ROMX_LOAD( "consol.bin", 0xc000, 0x0400, BAD_DUMP CRC(80bf6d85) SHA1(84b81c60bb08a3a5435ec1be56a67aa695bce099), ROM_BIOS(3) ) |
| 470 | 484 | /* Character generator rom is missing */ |
| 471 | 485 | |
| 472 | 486 | /* character generator not dumped, using the one from 'c10' for now */ |