mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-26 15:45:41 +00:00
50 lines
1.7 KiB
C
50 lines
1.7 KiB
C
|
/*
|
||
|
* Sega Model 3 Emulator
|
||
|
* Copyright (C) 2003 Bart Trzynadlowski, Ville Linde, Stefano Teso
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify it
|
||
|
* under the terms of the GNU General Public License Version 2 as published
|
||
|
* by the Free Software Foundation.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful, but
|
||
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||
|
* for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU General Public License along
|
||
|
* with this program (license.txt); if not, write to the Free Software
|
||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
* r3d.h
|
||
|
*
|
||
|
* Real3D Model 3 graphics system header.
|
||
|
*/
|
||
|
|
||
|
#ifndef INCLUDED_R3D_H
|
||
|
#define INCLUDED_R3D_H
|
||
|
|
||
|
extern void r3d_init(UINT8 *, UINT8 *, UINT8 *, UINT8 *, UINT8 *);
|
||
|
extern void r3d_shutdown(void);
|
||
|
extern void r3d_reset(void);
|
||
|
|
||
|
extern void r3d_save_state(FILE *);
|
||
|
extern void r3d_load_state(FILE *);
|
||
|
|
||
|
extern UINT32 r3d_read_32(UINT32 a);
|
||
|
extern void r3d_write_32(UINT32 a, UINT32 d);
|
||
|
|
||
|
extern void r3d_dma_culling_ram_8c(UINT32 *src, UINT32 dst, int length, BOOL swap_words);
|
||
|
extern void r3d_dma_culling_ram_8e(UINT32 *src, UINT32 dst, int length, BOOL swap_words);
|
||
|
extern void r3d_dma_polygon_ram(UINT32 *src, UINT32 dst, int length, BOOL swap_words);
|
||
|
extern void r3d_dma_texture_ram(UINT32 *src, UINT32 dst, int length, BOOL swap_words);
|
||
|
|
||
|
|
||
|
extern void tap_reset(void);
|
||
|
extern BOOL tap_read(void);
|
||
|
extern void tap_write(BOOL tck, BOOL tms, BOOL tdi, BOOL trst);
|
||
|
|
||
|
#endif // INCLUDED_R3D_H
|
||
|
|