aboutsummaryrefslogtreecommitdiff
path: root/source/fxemu.h
diff options
context:
space:
mode:
authorTwinaphex2017-08-14 07:23:57 +0200
committerGitHub2017-08-14 07:23:57 +0200
commit262051693823522c34a3e19904bf4ed9f1877e65 (patch)
treed0dd772a589dbfa07bacd70207fc4db0f37d4109 /source/fxemu.h
parent62be8bed4dc3dc7793f1df1391f153436e4ea949 (diff)
parent5e450063fbe25926ae50d569c285db428055318a (diff)
downloadsnes9x2005-262051693823522c34a3e19904bf4ed9f1877e65.tar.gz
snes9x2005-262051693823522c34a3e19904bf4ed9f1877e65.tar.bz2
snes9x2005-262051693823522c34a3e19904bf4ed9f1877e65.zip
Merge pull request #39 from jamsilva/master
Fixes and cleanups
Diffstat (limited to 'source/fxemu.h')
-rw-r--r--source/fxemu.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/source/fxemu.h b/source/fxemu.h
index 3161ebd..66e64e4 100644
--- a/source/fxemu.h
+++ b/source/fxemu.h
@@ -22,39 +22,13 @@ extern void FxReset(FxInit_s* psFxInfo);
extern int32_t FxEmulate(uint32_t nInstructions);
/* Write access to the cache */
-extern void FxCacheWriteAccess(uint16_t vAddress);
extern void FxFlushCache(void); /* Called when the G flag in SFR is set to zero */
-/* Errors */
-extern int32_t FxGetErrorCode(void);
-extern int32_t FxGetIllegalAddress(void);
-
-/* Access to internal registers */
-extern uint32_t FxGetColorRegister(void);
-extern uint32_t FxGetPlotOptionRegister(void);
-extern uint32_t FxGetSourceRegisterIndex(void);
-extern uint32_t FxGetDestinationRegisterIndex(void);
-
-/* Get the byte currently in the pipe */
-extern uint8_t FxPipe(void);
-
/* SCBR write seen. We need to update our cached screen pointers */
extern void fx_dirtySCBR(void);
/* Update RamBankReg and RAM Bank pointer */
extern void fx_updateRamBank(uint8_t Byte);
-/* Option flags */
-#define FX_FLAG_ADDRESS_CHECKING 0x01
-#define FX_FLAG_ROM_BUFFER 0x02
-
-/* Return codes from FxEmulate(), FxStepInto() or FxStepOver() */
-#define FX_BREAKPOINT -1
-#define FX_ERROR_ILLEGAL_ADDRESS -2
-
-/* Return the number of bytes in an opcode */
-#define OPCODE_BYTES(op) ((((op) >= 0x05 && (op) <= 0xf) || ((op) >= 0xa0 && (op) <= 0xaf)) ? 2 : (((op) >= 0xf0) ? 3 : 1))
-
extern void fx_computeScreenPointers(void);
-
#endif