src/mess/drivers/pegasus.c
| r7893 | r7894 | |
| 6 | 6 | |
| 7 | 7 | 23/04/2010 Skeleton driver. |
| 8 | 8 | |
| 9 | Each copy of the monitor rom was made for an individual machine. |
| 10 | Therefore the only way to emulate is to hack out the protection check. |
| 11 | |
| 9 | 12 | ****************************************************************************/ |
| 10 | 13 | |
| 11 | 14 | #include "emu.h" |
| r7893 | r7894 | |
| 18 | 21 | ADDRESS_MAP_UNMAP_HIGH |
| 19 | 22 | AM_RANGE(0x0000, 0x1fff) AM_ROM |
| 20 | 23 | AM_RANGE(0x2000, 0xbdff) AM_RAM |
| 21 | | AM_RANGE(0xbe00, 0xbfff) AM_RAM AM_BASE(&pegasus_video_ram) // Video RAM |
| 22 | | /* AM-RANGE(0xe200, 0xe3ff) PCG |
| 24 | AM_RANGE(0xbe00, 0xbfff) AM_RAM AM_BASE(&pegasus_video_ram) |
| 25 | /* AM_RANGE(0xe000, 0xe1ff) AM_READ(pegasus_protection) |
| 26 | AM-RANGE(0xe200, 0xe3ff) PCG |
| 23 | 27 | AM-RANGE(0xe400, 0xe5ff) PIA-1 |
| 24 | 28 | AM-RANGE(0xe600, 0xe7ff) PIA-0 |
| 25 | 29 | AM-RANGE(0xe800, 0xe807) Printer Port |
| r7893 | r7894 | |
| 39 | 43 | |
| 40 | 44 | static MACHINE_DRIVER_START( pegasus ) |
| 41 | 45 | /* basic machine hardware */ |
| 42 | | MDRV_CPU_ADD("maincpu", M6809E, XTAL_4MHz) |
| 46 | MDRV_CPU_ADD("maincpu", M6809E, XTAL_4MHz) // actually a 6809C |
| 43 | 47 | MDRV_CPU_PROGRAM_MAP(pegasus_mem) |
| 44 | 48 | |
| 45 | 49 | MDRV_MACHINE_RESET(pegasus) |
| r7893 | r7894 | |
| 60 | 64 | ROM_START( pegasus ) |
| 61 | 65 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |
| 62 | 66 | ROM_LOAD( "mon1_1_2674.bin", 0xf000, 0x1000, CRC(1640ff7e) SHA1(8199643749fb40fb8be05e9f311c75620ca939b1) ) |
| 67 | ROM_FILL(0xf09e, 1, 0x20) // hack out the protection |
| 63 | 68 | ROM_END |
| 64 | 69 | |
| 65 | 70 | /* Driver */ |