mirror of
https://github.com/holub/mame
synced 2025-05-22 21:58:57 +03:00
Port from MESS, nw
This commit is contained in:
parent
5aa5a1d553
commit
19a90cdcc7
@ -1999,6 +1999,8 @@ static MACHINE_CONFIG_START( saturn, saturn_state )
|
||||
MCFG_CPU_ADD("audiocpu", M68000, 11289600) //11.2896 MHz
|
||||
MCFG_CPU_PROGRAM_MAP(sound_mem)
|
||||
|
||||
MCFG_TIMER_ADD_PERIODIC("sh1_cmd", stv_sh1_sim, attotime::from_hz(16667))
|
||||
|
||||
MCFG_MACHINE_START(saturn)
|
||||
MCFG_MACHINE_RESET(saturn)
|
||||
|
||||
@ -2049,6 +2051,8 @@ static MACHINE_CONFIG_START( stv, saturn_state )
|
||||
MCFG_CPU_ADD("audiocpu", M68000, 11289600) //11.2896 MHz
|
||||
MCFG_CPU_PROGRAM_MAP(sound_mem)
|
||||
|
||||
MCFG_TIMER_ADD_PERIODIC("sh1_cmd", stv_sh1_sim, attotime::from_hz(16667))
|
||||
|
||||
MCFG_MACHINE_START(stv)
|
||||
MCFG_MACHINE_RESET(stv)
|
||||
|
||||
|
@ -210,3 +210,4 @@ WRITE32_HANDLER ( saturn_vdp2_regs_w );
|
||||
VIDEO_START ( stv_vdp2 );
|
||||
SCREEN_UPDATE( stv_vdp2 );
|
||||
|
||||
TIMER_DEVICE_CALLBACK( stv_sh1_sim );
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -3082,7 +3082,7 @@ static void stv_vdp2_draw_basic_bitmap(running_machine &machine, bitmap_t *bitma
|
||||
gfxdatalow = gfxdata + stv2_current_tilemap.bitmap_map * 0x20000;
|
||||
gfxdata+=(
|
||||
(stv2_current_tilemap.scrollx & (xlinesize-1)) +
|
||||
((stv2_current_tilemap.scrolly & (ysize-1)) * (xlinesize)) + /* TODO: mask ysize, check me! */
|
||||
((stv2_current_tilemap.scrolly) * (xlinesize)) + /* TODO: mask ysize, check me! */
|
||||
(stv2_current_tilemap.bitmap_map * 0x20000)
|
||||
);
|
||||
gfxdatahigh = gfxdatalow + xlinesize*ysize;
|
||||
|
Loading…
Reference in New Issue
Block a user