| D | |
| daddr, dma_data | |
| data | |
| DebuggerInterface | |
| dest, dma_data | |
| dma, GBA | |
| dma_data | |
| DMAChannels | |
| draw | |
| Draw | |
| draw_obj | |
| draw_obj_rot | |
| drawFlag, Memory | |
| DrawIdle, PPU | |
| dummyValue, Memory | |
| E | |
| Evaluate | |
| ewram, Memory | |
| ExecuteOperation, CPU | |
| ExecuteThumbAluOperation, CPU | |
| ExecuteTransfer, dma_data | |
| F | |
| Functions |
Current destination address.
uint32_t daddr
Color in RGBA_5_5_5_1 format.
uint16_t data
Actual data of the tile.
uint8_t data[32]
Actual tile data.
uint8_t data[64]
This class handles ncurses to draw and update the logic of the debugger terminal interface
class DebuggerInterface
Initializes the interface.
DebuggerInterface( Memory * _mem, CPU * _cpu, bool startTrace = false )
Pointer to the destination register.
uint32_t* dest
DMAChannels.
DMAChannels dma
Contains pointers to io-ram to make lighter functions in DMAChannels (and thus (hopefully) faster code without branches)
struct dma_data
DMA stands for Direct Memory Access.
class DMAChannels
Initializes the channels
DMAChannels( Memory * mem, CPU * cpu )
Draws the tile
inline void draw( Palettes * palette, int palID, int fromX, int toX, int fromY, int toY, bool flipX, bool flipY, uint16_t * outBuffer )
Draws the tile.
inline void draw( Palettes * palette, int fromX, int toX, int fromY, int toY, bool flipX, bool flipY, uint16_t * outBuffer )
Draws all the windows in the terminal.
void Draw()
Draws the video buffer with openGL.
void Draw()
Draws the sprite tile.
inline void draw_obj( Palettes * palette, int palID, int fromX, int toX, int fromY, int toY, bool flipX, bool flipY, uint16_t * outBuffer, uint8_t * outPriority, int priorityValue )
Draws the sprite tile
inline void draw_obj( Palettes * palette, int fromX, int toX, int fromY, int toY, bool flipX, bool flipY, uint16_t * outBuffer, uint8_t * outPriority, int priorityValue )
Draws the sprite (rotated) tile
inline void draw_obj_rot( Palettes * palette, int palID, int xOff, int yOff, int pa, int pb, int pc, int pd, uint16_t * outBuffer, uint8_t * outPriority, int priorityValue )
Draws the sprite (rotated) tile
inline void draw_obj_rot( Palettes * palette, int xOff, int yOff, int pa, int pb, int pc, int pd, uint16_t * outBuffer, uint8_t * outPriority, int priorityValue )
Used by the rendering engine thread to signal it is rendering, so the cpu shall not get into VBLANK.
bool drawFlag
Performs PPU idle operations.
inline void DrawIdle( int count )
Dummy value to readdress null writes.
uint16_t dummyValue
Evaluates break condition.
bool Evaluate( Memory * mem, CPU * cpu, int address )
Evaluates all the breakrules.
bool Evaluate( int address )
The external working ram.
int8_t ewram[0x40000]
Executes the next operation.
int ExecuteOperation()
Executes an Alu operation in THUMB Mode.
inline void ExecuteThumbAluOperation( int op, int rd, int op1, int op2 )
Executes a DMA Transfer.
inline void ExecuteTransfer( int chan )