From 5e450063fbe25926ae50d569c285db428055318a Mon Sep 17 00:00:00 2001 From: João Silva Date: Mon, 14 Aug 2017 06:03:05 +0100 Subject: Deleted several unused variables, code and files. --- source/fxemu.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'source/fxemu.h') 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 -- cgit v1.2.3