src/mess/drivers/supracan.c
| r6849 | r6850 | |
| 63 | 63 | |
| 64 | 64 | static ADDRESS_MAP_START( supracan_mem, ADDRESS_SPACE_PROGRAM, 16 ) |
| 65 | 65 | AM_RANGE( 0x000000, 0x07ffff ) AM_ROM AM_REGION( "cart", 0 ) |
| 66 | AM_RANGE( 0xe80204, 0xe80205 ) AM_READ( supracan_unk1_r ) |
| 66 | 67 | AM_RANGE( 0xe80300, 0xe80301 ) AM_READ( supracan_unk1_r ) |
| 67 | 68 | AM_RANGE( 0xe88400, 0xe88c87 ) AM_RAM /* Unknown, some data gets copied here during boot */ |
| 68 | 69 | AM_RANGE( 0xe8f000, 0xe8ffff ) AM_RAM_WRITE( supracan_soundram_w ) AM_BASE( &supracan_soundram_16 ) |
| r6849 | r6850 | |
| 94 | 95 | gfx[offset*2+0] = (supracan_charram[offset] & 0xff00) >> 8; |
| 95 | 96 | gfx[offset*2+1] = (supracan_charram[offset] & 0x00ff) >> 0; |
| 96 | 97 | |
| 97 | | gfx_element_mark_dirty(space->machine->gfx[0], offset/64); |
| 98 | gfx_element_mark_dirty(space->machine->gfx[0], offset/32); |
| 98 | 99 | } |
| 99 | 100 | } |
| 100 | 101 | |
| r6849 | r6850 | |
| 248 | 249 | static MACHINE_DRIVER_START( supracan ) |
| 249 | 250 | MDRV_CPU_ADD( "maincpu", M68000, XTAL_10_738635MHz ) /* Correct frequency unknown */ |
| 250 | 251 | MDRV_CPU_PROGRAM_MAP( supracan_mem ) |
| 252 | MDRV_CPU_VBLANK_INT("screen", irq7_line_hold) |
| 251 | 253 | |
| 252 | 254 | MDRV_CPU_ADD( "soundcpu", M6502, XTAL_3_579545MHz ) /* TODO: Verfiy actual clock */ |
| 253 | 255 | MDRV_CPU_PROGRAM_MAP( supracan_sound_mem ) |