src/mess/drivers/iq151.c
| r11853 | r11854 | |
| 7 | 7 | 07/June/2011 Added screen & keyboard (by looking at the Z80 code) |
| 8 | 8 | |
| 9 | 9 | |
| 10 | This computer depends on RAM just happening to be certain values at powerup. |
| 11 | If the conditions are not met, it may crash. |
| 12 | |
| 10 | 13 | Monitor Commands: |
| 11 | 14 | C |
| 12 | 15 | D Dump memory, any key to dump more, Return to finish |
| r11853 | r11854 | |
| 23 | 26 | ToDo: |
| 24 | 27 | - Add whatever devices may exist. |
| 25 | 28 | |
| 26 | | - Sort out the various roms |
| 27 | | |
| 28 | 29 | - Line 32 does not scroll, should it show? |
| 29 | 30 | (could be reserved for a status line in a terminal mode) |
| 30 | 31 | |
| r11853 | r11854 | |
| 96 | 97 | static ADDRESS_MAP_START(iq151_mem, AS_PROGRAM, 8, iq151_state) |
| 97 | 98 | ADDRESS_MAP_UNMAP_HIGH |
| 98 | 99 | AM_RANGE( 0x0000, 0x07ff ) AM_RAMBANK("boot") |
| 99 | | AM_RANGE( 0x0000, 0xc7ff ) AM_RAM |
| 100 | | AM_RANGE( 0xc800, 0xcfff ) AM_ROM // c800 has to be FF before we can boot |
| 101 | | AM_RANGE( 0xd000, 0xebff ) AM_RAM |
| 100 | AM_RANGE( 0x0800, 0xdfff ) AM_RAM AM_REGION("maincpu", 0x0800) // puts FF into C800 so we can boot |
| 101 | AM_RANGE( 0xe000, 0xe7ff ) AM_ROM |
| 102 | AM_RANGE( 0xe800, 0xebff ) AM_RAM |
| 102 | 103 | AM_RANGE( 0xec00, 0xefff ) AM_RAM AM_BASE(m_p_videoram) |
| 103 | 104 | AM_RANGE( 0xf000, 0xffff ) AM_ROM |
| 104 | 105 | ADDRESS_MAP_END |
| r11853 | r11854 | |
| 325 | 326 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |
| 326 | 327 | /* A number of bios versions here. The load address is shown for each */ |
| 327 | 328 | ROM_LOAD( "iq151_disc2_12_5_1987_v4_0.rom", 0xe000, 0x0800, CRC(b189b170) SHA1(3e2ca80934177e7a32d0905f5a0ad14072f9dabf)) |
| 328 | | ROM_LOAD( "iq151_monitor_cpm.rom", 0xf000, 0x1000, CRC(26f57013) SHA1(4df396edc375dd2dd3c82c4d2affb4f5451066f1)) |
| 329 | | ROM_LOAD( "iq151_monitor_cpm_old.rom", 0xf000, 0x1000, CRC(6743e1b7) SHA1(ae4f3b1ba2511a1f91c4e8afdfc0e5aeb0fb3a42)) |
| 330 | | ROM_LOAD( "iq151_monitor_disasm.rom", 0xf000, 0x1000, CRC(45c2174e) SHA1(703e3271a124c3ef9330ae399308afd903316ab9)) |
| 331 | | ROM_LOAD( "iq151_monitor_orig.rom", 0xf000, 0x1000, CRC(acd10268) SHA1(4d75c73f155ed4dc2ac51a9c22232f869cca95e2)) |
| 332 | 329 | |
| 330 | ROM_SYSTEM_BIOS( 0, "orig", "Original" ) |
| 331 | ROMX_LOAD( "iq151_monitor_orig.rom", 0xf000, 0x1000, CRC(acd10268) SHA1(4d75c73f155ed4dc2ac51a9c22232f869cca95e2),ROM_BIOS(1)) |
| 332 | ROM_SYSTEM_BIOS( 1, "disasm", "Disassembler" ) |
| 333 | ROMX_LOAD( "iq151_monitor_disasm.rom", 0xf000, 0x1000, CRC(45c2174e) SHA1(703e3271a124c3ef9330ae399308afd903316ab9),ROM_BIOS(2)) |
| 334 | ROM_SYSTEM_BIOS( 2, "cpm", "CPM" ) |
| 335 | ROMX_LOAD( "iq151_monitor_cpm.rom", 0xf000, 0x1000, CRC(26f57013) SHA1(4df396edc375dd2dd3c82c4d2affb4f5451066f1),ROM_BIOS(3)) |
| 336 | ROM_SYSTEM_BIOS( 3, "cpmold", "CPM (old)" ) |
| 337 | ROMX_LOAD( "iq151_monitor_cpm_old.rom", 0xf000, 0x1000, CRC(6743e1b7) SHA1(ae4f3b1ba2511a1f91c4e8afdfc0e5aeb0fb3a42),ROM_BIOS(4)) |
| 338 | |
| 333 | 339 | ROM_REGION( 0x0c00, "chargen", ROMREGION_INVERT ) |
| 334 | 340 | ROM_LOAD( "iq151_video32font.rom", 0x0000, 0x0400, CRC(395567a7) SHA1(18800543daf4daed3f048193c6ae923b4b0e87db)) |
| 335 | 341 | ROM_LOAD( "iq151_video64font.rom", 0x0400, 0x0800, CRC(cb6f43c0) SHA1(4b2c1d41838d569228f61568c1a16a8d68b3dadf)) |