src/mess/drivers/bbcbc.c
| r4749 | r4750 | |
| 4 | 4 | |
| 5 | 5 | BBC Bridge Companion |
| 6 | 6 | |
| 7 | | TODO: |
| 8 | | Inputs |
| 9 | | Find correct clock frequencies |
| 7 | Inputs hooked up - 2009-03-14 - Robbbert |
| 8 | Clock Freq added - 2009-05-18 - incog |
| 10 | 9 | |
| 11 | | Inputs hooked up - 2009-03-14 - Robbbert |
| 12 | | There are considerable debounce issues which can be solved by |
| 13 | | slowing down the processor. 400khz works nicely. |
| 14 | | |
| 15 | 10 | ***************************************************************************/ |
| 16 | 11 | #include "driver.h" |
| 17 | 12 | #include "cpu/z80/z80.h" |
| r4749 | r4750 | |
| 20 | 15 | #include "cpu/z80/z80daisy.h" |
| 21 | 16 | #include "devices/cartslot.h" |
| 22 | 17 | |
| 18 | #define MAIN_CLOCK XTAL_4_433619MHz |
| 19 | |
| 23 | 20 | |
| 24 | 21 | static ADDRESS_MAP_START( bbcbc_prg, ADDRESS_SPACE_PROGRAM, 8 ) |
| 25 | 22 | AM_RANGE(0x00000, 0x03fff) AM_ROM |
| r4749 | r4750 | |
| 132 | 129 | |
| 133 | 130 | |
| 134 | 131 | static MACHINE_DRIVER_START( bbcbc ) |
| 135 | | MDRV_CPU_ADD( "maincpu", Z80, 4000000 ) |
| 132 | MDRV_CPU_ADD( "maincpu", Z80, MAIN_CLOCK / 8 ) |
| 136 | 133 | MDRV_CPU_PROGRAM_MAP( bbcbc_prg) |
| 137 | 134 | MDRV_CPU_IO_MAP( bbcbc_io) |
| 138 | 135 | MDRV_CPU_CONFIG(bbcbc_daisy_chain) |