trunk/src/mame/drivers/stv.c
| r20801 | r20802 | |
| 306 | 306 | |
| 307 | 307 | */ |
| 308 | 308 | |
| 309 | | void install_stvbios_speedups(running_machine &machine) |
| 309 | void saturn_state::install_stvbios_speedups( void ) |
| 310 | 310 | { |
| 311 | 311 | // 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); |
| 314 | 314 | |
| 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); |
| 317 | 317 | } |
| 318 | 318 | |
| 319 | 319 | DRIVER_INIT_MEMBER(saturn_state,stv) |
| r20801 | r20802 | |
| 332 | 332 | m_scsp_regs = auto_alloc_array(machine(), UINT16, 0x1000/2); |
| 333 | 333 | m_backupram = auto_alloc_array_clear(machine(), UINT8, 0x8000); |
| 334 | 334 | |
| 335 | | install_stvbios_speedups(machine()); |
| 335 | install_stvbios_speedups(); |
| 336 | 336 | |
| 337 | 337 | // do strict overwrite verification - maruchan and rsgun crash after coinup without this. |
| 338 | 338 | // cottonbm needs strict PCREL |
trunk/src/mame/includes/stv.h
| r20801 | r20802 | |
| 677 | 677 | direntryT *curdir; // current directory |
| 678 | 678 | int numfiles; // # of entries in current directory |
| 679 | 679 | int firstfile; // first non-directory file |
| 680 | |
| 681 | |
| 682 | // ST-V specific |
| 683 | void install_stvbios_speedups( void ); |
| 680 | 684 | }; |
| 681 | 685 | |
| 682 | 686 | #define MASTER_CLOCK_352 57272720 |
| r20801 | r20802 | |
| 705 | 709 | #define IRQ_VDP1_END 1 << 13 |
| 706 | 710 | #define IRQ_ABUS 1 << 15 |
| 707 | 711 | |
| 708 | | |
| 709 | | |
| 710 | | /*----------- defined in drivers/stv.c -----------*/ |
| 711 | | |
| 712 | | void 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 | | |