mame/src/emu/cpu/mips/mips3fe.h
Aaron Giles 25abe2749d Hornet driver:
- connected EEPROM (doesn't seem to affect much)
 - cleaned up system register access

GTI Club driver:
 - altered network IRQ clear to fix several problems
 - added Guru readme
 - fixed crashes due to missing inputs
 - gticlub "works" again

ZR107 driver:
 - added Guru readme
 - cleaned up system register access
 - these games work again with altered network IRQ timing

NWK-TR driver:
 - added Guru readme

DRC frontend:
 - now passes pointer to previous instruction when describing

PPC frontend:
 - attempts to roughly take into account branch and CR logical
    folding in timing computations
2008-06-25 15:02:07 +00:00

43 lines
1.1 KiB
C

/***************************************************************************
mips3fe.h
Front-end for MIPS3 recompiler
Copyright Aaron Giles
Released for general non-commercial use under the MAME license
Visit http://mamedev.org for licensing and usage restrictions.
***************************************************************************/
#ifndef __MIPS3FE_H__
#define __MIPS3FE_H__
#include "cpu/drcfe.h"
/***************************************************************************
CONSTANTS
***************************************************************************/
/* register flags 0 */
#define REGFLAG_R(n) (((n) == 0) ? 0 : (1 << (n)))
/* register flags 1 */
#define REGFLAG_CPR1(n) (1 << (n))
/* register flags 2 */
#define REGFLAG_LO (1 << 0)
#define REGFLAG_HI (1 << 1)
#define REGFLAG_FCC (1 << 2)
/***************************************************************************
FUNCTION PROTOTYPES
***************************************************************************/
int mips3fe_describe(void *param, opcode_desc *desc, const opcode_desc *prev);
#endif