| S | |
| saddr, dma_data | |
| SetAccessAddr, Memory | |
| SetAddFlags, CPU | |
| SetAddFlagsByVal, CPU | |
| SetGPRegisterValue, CPU | |
| SetPC, CPU | |
| SetRedrawAll, DebuggerInterface | |
| SetSubFlags, CPU | |
| SetSubFlagsByVal, CPU | |
| SetToReloadValue, timer_data | |
| shallBreak, Memory | |
| SoftwareInterrupt, CPU | |
| source, dma_data | |
| sprites | |
| Start, GBA | |
| StartDebug, GBA | |
| StartDisasm, GBA | |
| SWI_CpuFastSet, CPU | |
| SWI_CpuSet, CPU | |
| T | |
| Tile4 | |
| Tile8 | |
| timer_data | |
| timer0Reload, Memory | |
| timer1Reload, Memory | |
| timer2Reload, Memory | |
| timer3Reload, Memory | |
| timers, GBA | |
| Timers | |
| ToString, Breakpoint | |
| transfCount, dma_data | |
| TransferIncrementAddresses, dma_data | |
| transforms, OAMSprites | |
| U | |
| Update | |
| usedWaitCnt, Memory | |
| V | |
| Variables | |
| VBlank, PPU | |
| vram, Memory | |
| W | |
| W, reg_data | |
| winFunc | |
| Write16, Memory | |
| Write32, Memory | |
| Write8, Memory | |
| WriteRegisterName, CPU |
Current source address.
uint32_t saddr
Sets last access zone according to the address.
inline void SetAccessAddr( uint32_t addr )
Sets the correct flags after an addition.
inline void SetAddFlags( int op1, int op2, int destinationID )
Sets the correct flags after an addition.
inline void SetAddFlagsByVal( int op1, int op2, uint32_t val )
Set the value of a register in current Mode.
inline void SetGPRegisterValue( int regid, uint32_t val )
Sets the program counter.
inline void SetPC( uint32_t val )
Sets the right flags to make a full refresh happen at the next Draw call.
void SetRedrawAll()
Sets the correct flags after a subtraction.
inline void SetSubFlags( int op1, int op2, int destinationID )
Sets the correct flags after a subtraction.
inline void SetSubFlagsByVal( int op1, int op2, uint32_t val )
Sets a timer to its reload value.
inline void SetToReloadValue( int index )
Switch used to generate breakpoints from the video-output window.
bool shallBreak
Generates a Software Interrupt.
inline void SoftwareInterrupt( uint8_t id, int pcOff )
Pointer to the source register.
uint32_t* source
Interpretation of the OAM memory.
OAMSprites sprites
A reinterpretation of oam to make things understandable.
OAMSprites* sprites
Starts GBA execution.
void Start()
Starts GBA execution with a debugger (slower than Start).
void StartDebug()
Old OBSOLETE function.
void StartDisasm()
Fastly executes Software Interrupt 0xC (CpuFastSet).
inline void SWI_CpuFastSet()
Fastly executes Software Interrupt 0xB (CpuSet).
inline void SWI_CpuSet()
32 bytes Tile, 4 bit depth.
struct Tile4
64 bytes Tile, 8 bit depth.
struct Tile8
Utility class that holds pointers to the real registers plus internal registers.
struct timer_data
Timer reload value.
uint16_t timer0Reload
Timer reload value.
uint16_t timer1Reload
Timer reload value.
uint16_t timer2Reload
Timer reload value.
uint16_t timer3Reload
Timers.
Timers timers
Easy interface to do operations with timers and their registers.
class Timers
Builds the timers handler utility.
Timers( Memory * mem, CPU * cpu )
Makes the Break Rule readable by putting it into a string.
void ToString( char * str )
Keeps track of how many words have been moved
uint32_t transfCount
Increment the addresses following the control register rules.
inline void TransferIncrementAddresses( int chan, int sz )
Transformation groups.
OAMTransformGroup transforms[32]
Updates the logic of the debugger.
bool Update( int cycles )
Updates Window logic.
void Update()
Which wait-control has been used?
uint32_t usedWaitCnt
Generates a VBlank interrupt.
inline void VBlank()
VideoRAM.
int8_t vram [0x20000]
The value of the register
uint32_t W
OpenGL Window and rendering thread entry point.
void* winFunc( void * args )
Writes 16 bit at the given emulated address.
inline void Write16( uint32_t addr, uint16_t v )
Writes 32 bit at the given emulated address.
inline void Write32( uint32_t addr, uint32_t v )
Writes 8 bit at the given emulated address.
inline void Write8( uint32_t addr, uint8_t v )
Obsolete Function, now not working.
void WriteRegisterName( char * buffer, int id )