Previous 199869 Revisions Next

r20802 Thursday 7th February, 2013 at 15:52:41 UTC by Angelo Salese
Minor changes
[src/mame/drivers]saturn.c stv.c
[src/mame/includes]stv.h
[src/mame/machine]stvcd.h

trunk/src/mame/drivers/stv.c
r20801r20802
306306
307307*/
308308
309void install_stvbios_speedups(running_machine &machine)
309void saturn_state::install_stvbios_speedups( void )
310310{
311311   // flushes 0 & 1 on both CPUs are for the BIOS speedups
312   sh2drc_add_pcflush(machine.device("maincpu"), 0x60154b2);
313   sh2drc_add_pcflush(machine.device("maincpu"), 0x6013aee);
312   sh2drc_add_pcflush(machine().device("maincpu"), 0x60154b2);
313   sh2drc_add_pcflush(machine().device("maincpu"), 0x6013aee);
314314
315   sh2drc_add_pcflush(machine.device("slave"), 0x60154b2);
316   sh2drc_add_pcflush(machine.device("slave"), 0x6013aee);
315   sh2drc_add_pcflush(machine().device("slave"), 0x60154b2);
316   sh2drc_add_pcflush(machine().device("slave"), 0x6013aee);
317317}
318318
319319DRIVER_INIT_MEMBER(saturn_state,stv)
r20801r20802
332332   m_scsp_regs  = auto_alloc_array(machine(), UINT16, 0x1000/2);
333333   m_backupram = auto_alloc_array_clear(machine(), UINT8, 0x8000);
334334
335   install_stvbios_speedups(machine());
335   install_stvbios_speedups();
336336
337337   // do strict overwrite verification - maruchan and rsgun crash after coinup without this.
338338   // cottonbm needs strict PCREL
trunk/src/mame/drivers/saturn.c
r20801r20802
8686#include "cpu/m68000/m68000.h"
8787#include "machine/eeprom.h"
8888#include "cpu/sh2/sh2.h"
89#include "machine/stvcd.h"
9089#include "machine/scudsp.h"
9190#include "sound/scsp.h"
9291#include "sound/cdda.h"
trunk/src/mame/machine/stvcd.h
r20801r20802
1/***************************************************************************
2
3  machine/stvcd.h - Sega Saturn and ST-V CD-ROM handling
4
5  By R. Belmont
6
7***************************************************************************/
8
9#ifndef __STVCD_H__
10#define __STVCD_H__
11
12
13#endif
trunk/src/mame/includes/stv.h
r20801r20802
677677   direntryT *curdir;       // current directory
678678   int numfiles;            // # of entries in current directory
679679   int firstfile;           // first non-directory file
680
681
682   // ST-V specific
683   void install_stvbios_speedups( void );
680684};
681685
682686#define MASTER_CLOCK_352 57272720
r20801r20802
705709#define IRQ_VDP1_END   1 << 13
706710#define IRQ_ABUS       1 << 15
707711
708
709
710/*----------- defined in drivers/stv.c -----------*/
711
712void install_stvbios_speedups(running_machine &machine);
713
714/*----------- defined in video/stvvdp1.c -----------*/
715
716//extern UINT16   **stv_framebuffer_display_lines;
717//extern int stv_framebuffer_double_interlace;
718//extern int stv_framebuffer_mode;
719//extern UINT8* stv_vdp1_gfx_decode;
720
721//int stv_vdp1_start ( running_machine &machine );
722//void video_update_vdp1(running_machine &machine);
723//void stv_vdp2_dynamic_res_change(running_machine &machine);
724

Previous 199869 Revisions Next


© 1997-2024 The MAME Team