trunk/src/mess/drivers/gameking.c
| r32753 | r32754 | |
| 23 | 23 | */ |
| 24 | 24 | |
| 25 | 25 | #include "emu.h" |
| 26 | | #include "cpu/m6502/m65c02.h" |
| 26 | #include "cpu/m6502/m65ce02.h" |
| 27 | 27 | #include "bus/generic/slot.h" |
| 28 | 28 | #include "bus/generic/carts.h" |
| 29 | 29 | |
| r32753 | r32754 | |
| 131 | 131 | m_cart_rom->base()[0x3ffc] = 0x00; |
| 132 | 132 | m_cart_rom->base()[0x3ffd] = 0x40; |
| 133 | 133 | |
| 134 | | // Some fake code to get bios functions called logged |
| 134 | // Some fake code to get bios function calls logged |
| 135 | 135 | memory_region *maincpu_rom = memregion("maincpu"); |
| 136 | 136 | maincpu_rom->base()[0x0f80] = 0x9d; // STA $0e00,X |
| 137 | 137 | maincpu_rom->base()[0x0f81] = 0x00; |
| r32753 | r32754 | |
| 151 | 151 | |
| 152 | 152 | static MACHINE_CONFIG_START( gameking, gameking_state ) |
| 153 | 153 | /* basic machine hardware */ |
| 154 | | MCFG_CPU_ADD("maincpu", M65C02, 6000000) |
| 154 | MCFG_CPU_ADD("maincpu", M65CE02, 6000000) |
| 155 | 155 | MCFG_CPU_PROGRAM_MAP(gameking_mem) |
| 156 | 156 | //MCFG_CPU_VBLANK_INT_DRIVER("screen", gameking_state, gameking_frame_int) |
| 157 | 157 | |