src/mess/machine/pc.c
| r3955 | r3956 | |
| 1345 | 1345 | |
| 1346 | 1346 | DRIVER_INIT( pc1640 ) |
| 1347 | 1347 | { |
| 1348 | | const address_space *space = cpu_get_address_space( machine->cpu[0], ADDRESS_SPACE_PROGRAM ); |
| 1349 | 1348 | const address_space *io_space = cpu_get_address_space( machine->cpu[0], ADDRESS_SPACE_IO ); |
| 1350 | 1349 | |
| 1351 | | pc_vga_init(machine, &vga_interface, NULL); |
| 1352 | | memory_install_read16_handler(space, 0xa0000, 0xaffff, 0, 0, SMH_BANK1 ); |
| 1353 | | memory_install_read16_handler(space, 0xb0000, 0xb7fff, 0, 0, SMH_BANK2 ); |
| 1354 | | memory_install_read16_handler(space, 0xb8000, 0xbffff, 0, 0, SMH_BANK3 ); |
| 1355 | | |
| 1356 | | memory_install_write16_handler(space, 0xa0000, 0xaffff, 0, 0, SMH_BANK1 ); |
| 1357 | | memory_install_write16_handler(space, 0xb0000, 0xb7fff, 0, 0, SMH_BANK2 ); |
| 1358 | | memory_install_write16_handler(space, 0xb8000, 0xbffff, 0, 0, SMH_BANK3 ); |
| 1359 | | |
| 1360 | | memory_install_read16_handler(io_space, 0x3b0, 0x3bf, 0, 0, vga_port16le_03b0_r ); |
| 1361 | | memory_install_read16_handler(io_space, 0x3c0, 0x3cf, 0, 0, paradise_ega16le_03c0_r ); |
| 1362 | | memory_install_read16_handler(io_space, 0x3d0, 0x3df, 0, 0, pc1640_16le_port3d0_r ); |
| 1363 | | |
| 1364 | | memory_install_write16_handler(io_space, 0x3b0, 0x3bf, 0, 0, vga_port16le_03b0_w ); |
| 1365 | | memory_install_write16_handler(io_space, 0x3c0, 0x3cf, 0, 0, vga_port16le_03c0_w ); |
| 1366 | | memory_install_write16_handler(io_space, 0x3d0, 0x3df, 0, 0, vga_port16le_03d0_w ); |
| 1367 | | |
| 1368 | 1350 | memory_install_read16_handler(io_space, 0x278, 0x27b, 0, 0, pc1640_16le_port278_r ); |
| 1369 | 1351 | memory_install_read16_handler(io_space, 0x4278, 0x427b, 0, 0, pc1640_16le_port4278_r ); |
| 1370 | 1352 | |
src/mess/drivers/pc.c
| r3955 | r3956 | |
| 59 | 59 | - Optional up to 2 external 360KB double-sided 5 1/4" floppy drive |
| 60 | 60 | |
| 61 | 61 | |
| 62 | Amstrad PC1640 |
| 63 | ============== |
| 64 | |
| 65 | More information can be found at http://www.seasip.info/AmstradXT/1640tech/index.html |
| 66 | |
| 67 | |
| 62 | 68 | Tandy 1000 |
| 63 | 69 | ========== |
| 64 | 70 | |
| r3955 | r3956 | |
| 112 | 118 | #include "video/pc_mda.h" |
| 113 | 119 | #include "video/pc_aga.h" |
| 114 | 120 | #include "video/pc_t1t.h" |
| 121 | #include "video/pc_ega.h" |
| 115 | 122 | #include "video/pc_video.h" |
| 116 | 123 | |
| 117 | 124 | #include "includes/pc_ide.h" |
| r3955 | r3956 | |
| 411 | 418 | AM_RANGE(0xa0000, 0xbffff) AM_NOP |
| 412 | 419 | AM_RANGE(0xc0000, 0xc7fff) AM_ROM |
| 413 | 420 | AM_RANGE(0xc8000, 0xcffff) AM_ROM |
| 414 | | AM_RANGE(0xd0000, 0xfbfff) AM_NOP |
| 415 | | AM_RANGE(0xfc000, 0xfffff) AM_ROM |
| 421 | AM_RANGE(0xd0000, 0xeffff) AM_NOP |
| 422 | AM_RANGE(0xf0000, 0xfffff) AM_ROM |
| 416 | 423 | ADDRESS_MAP_END |
| 417 | 424 | |
| 418 | 425 | |
| r3955 | r3956 | |
| 1780 | 1787 | MDRV_INS8250_ADD( "ins8250_3", ibm5150_com_interface[3] ) /* TODO: Verify model */ |
| 1781 | 1788 | |
| 1782 | 1789 | /* video hardware */ |
| 1783 | | MDRV_IMPORT_FROM(pcvideo_pc1640) |
| 1784 | | MDRV_SCREEN_MODIFY("main") |
| 1785 | | MDRV_SCREEN_REFRESH_RATE(60) |
| 1786 | | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */ |
| 1790 | MDRV_IMPORT_FROM( pcvideo_ega ) |
| 1787 | 1791 | |
| 1788 | 1792 | /* sound hardware */ |
| 1789 | 1793 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| r3955 | r3956 | |
| 2027 | 2031 | ROMX_LOAD("5700027.u30", 0xf8000, 0x2000, CRC(bfff99b8) SHA1(ca2f126ba69c1613b7b5a4137d8d8cf1db36a8e6), ROM_BIOS(2)) /* ROM Basic 1.0 F8000-F9FFF */ |
| 2028 | 2032 | ROMX_LOAD("5700035.u31", 0xfa000, 0x2000, CRC(9fe4ec11) SHA1(89af8138185938c3da3386f97d3b0549a51de5ef), ROM_BIOS(2)) /* ROM Basic 1.0 FA000-FBFFF */ |
| 2029 | 2033 | ROMX_LOAD("5700043.u32", 0xfc000, 0x2000, CRC(ea2794e6) SHA1(22fe58bc853ffd393d5e2f98defda7456924b04f), ROM_BIOS(2)) /* ROM Basic 1.0 FC000-FDFFF */ |
| 2030 | | ROMX_LOAD("5700051.u33", 0xfe000, 0x2000, NO_DUMP, ROM_BIOS(2)) |
| 2034 | ROMX_LOAD("5700051.u33", 0xfe000, 0x2000, CRC(12d33fb8) SHA1(f046058faa016ad13aed5a082a45b21dea43d346), ROM_BIOS(2)) /* TODO: ROM is pending verification */ |
| 2031 | 2035 | |
| 2032 | 2036 | /* IBM PC 5150 (rev 2: 10/19/81) 2-screw case, 16-64k MB w/MDA Card, ROM Basic 1.0 */ |
| 2033 | 2037 | ROM_SYSTEM_BIOS( 2, "rev2", "IBM PC 5150 5700671 10/19/81" ) |
| r3955 | r3956 | |
| 2456 | 2460 | ROM_START( pc1640 ) |
| 2457 | 2461 | // ROM_REGION(0x100000,"main", 0) |
| 2458 | 2462 | ROM_REGION16_LE(0x100000,"main", 0) |
| 2459 | | ROM_LOAD("40100", 0xc0000, 0x8000, CRC(d2d1f1ae) SHA1(98302006ee38a17c09bd75504cc18c0649174e33)) // this bios seams to be made for the amstrad pc |
| 2463 | ROM_LOAD("40100", 0xc0000, 0x8000, CRC(d2d1f1ae) SHA1(98302006ee38a17c09bd75504cc18c0649174e33)) /* Internal Graphics Adapter ROM */ |
| 2460 | 2464 | ROM_LOAD("wdbios.rom", 0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF */ |
| 2465 | |
| 2461 | 2466 | ROM_LOAD16_BYTE("40043.v3", 0xfc001, 0x2000, CRC(e40a1513) SHA1(447eff2057e682e51b1c7593cb6fad0e53879fa8)) // v3 |
| 2467 | ROM_RELOAD(0xf8001,0x2000) |
| 2468 | ROM_RELOAD(0xf4001,0x2000) |
| 2469 | ROM_RELOAD(0xf0001,0x2000) |
| 2462 | 2470 | ROM_LOAD16_BYTE("40044.v3", 0xfc000, 0x2000, CRC(f1c074f3) SHA1(a055ea7e933d137623c22fe24004e870653c7952)) |
| 2471 | ROM_RELOAD(0xf8000,0x2000) |
| 2472 | ROM_RELOAD(0xf4000,0x2000) |
| 2473 | ROM_RELOAD(0xf0000,0x2000) |
| 2474 | |
| 2463 | 2475 | ROM_REGION(0x08100,"gfx1", 0) |
| 2464 | 2476 | ROM_LOAD("40045.bin", 0x00000, 0x02000, CRC(dd5e030f) SHA1(7d858bbb2e8d6143aa67ab712edf5f753c2788a7)) |
| 2477 | |
| 2478 | ROM_REGION(0x50000, "gfx2", ROMREGION_ERASE00) |
| 2465 | 2479 | ROM_END |
| 2466 | 2480 | |
| 2467 | 2481 | |