Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
G
 GBA
 gba_rom, Memory
 gba_rom_size, Memory
 gbaFunc
 GetA0B9, OAMSprite
 GetAddress, Memory
 GetBGMode, PPU
 GetBLDYEvy, PPU
 getByID, Tile4
 getByXY, Tile4
 GetConsumedCycles, dma_data
 GetControl
 GetCount, timer_data
 GetCountUpTiming, timer_data
 GetCP, OAMSprite
 GetCpsr, CPU
 GetDestAddrOperation, dma_data
 GetDestinationAddr, dma_data
 GetDISPCNT, PPU
 GetDISPSTAT, PPU
 GetDMAEnabled, dma_data
 GetDRQ, dma_data
 GetFirstFrame, PPU
 GetFlipX, OAMSprite
 GetFlipY, OAMSprite
 GetGPRegisterID, CPU
 GetGPRegValue, CPU
 getHigherNibble, Tile4
 GetIORam
 GetIRQEnabled
 getLowerNibble, Tile4
 GetMemory, PPU
 GetMosaic, OAMSprite
 GetObjMode, OAMSprite
 GetObjShape, OAMSprite
 GetObjSizeID, OAMSprite
 GetObjTilesMemory, PPU
 GetOperationName, CPU
 GetPaletteBG, Palettes
 GetPaletteID, OAMSprite
 GetPaletteOBJ, Palettes
 GetPalettes, PPU
 GetPPU, MainWindow
 GetPrefetch, CPU
 GetPrescalerSelection, timer_data
 GetPrescalerSelectionIndex, timer_data
 GetPriority, OAMSprite
 GetRepeat, dma_data
 GetRSFlag, OAMSprite
 GetRSGroup, OAMSprite
 GetSecondFrame, PPU
 GetSelectedSecondFrame, PPU
 GetShadersCode, MainWindow
 GetSize, Memory
 GetSourceAddr, dma_data
 GetSourceAddrOperation, dma_data
 GetSprite, OAMSprites
 GetSprites, PPU
 GetSpsrID, CPU
 GetSpsrVal, CPU
 GetStartCondition, dma_data
 GetStartTiming, dma_data
 GetTileID, OAMSprite
 GetTimerState, timer_data
 GetTransformationGroupPart, OAMSprites
 GetTransformGroup, OAMSprites
 GetUnitSize, dma_data
 GetVBlank, PPU
 GetVRam, PPU
 GetWordsCount, dma_data
 getWSCount, Memory
 GetX, OAMSprite
 GetY, OAMSprite
class GBA
This is the class representing the entire device.
GBA()
Builds a GameBoyAdvance.
int8_t* gba_rom
Cartridge emulated ROM.
uint32_t gba_rom_size
The size of the ROM.
void* gbaFunc(void *args)
GBA emulation thread entry point
inline bool GetA0B9()
Gets bit 9.
inline void* GetAddress(uint32_t addr)
Returns the in-system address associated to the emulated address.
inline int GetBGMode()
Contained in DISPCNT.
inline float GetBLDYEvy()
Computes Evy factor for backgrounds effects (from BLDY register).
inline int getByID(int i)
inline int getByXY(int x,
int y)
inline int GetConsumedCycles()
Checks how many cycles has the dma consumed.
inline uint16_t GetControl(int chan)
Retrieves the control register of a DMAChannel.
inline int GetControl(int index)
Gets the Control register of the timer.
inline uint16_t GetCount(int index)
Retrieves a timer’s counter.
inline bool GetCountUpTiming(int index)
When countup timing is enabled in a timer, when it overflows, it increases the next one value.
inline bool GetCP()
True if 8bit tiles shall be used, False if 4 bit tiles shall be used.
inline uint32_t GetCpsr()
Retrieve Current Program Status Register
inline int GetDestAddrOperation(int chan)
Returns the destination address operation of the DMAChannel.
inline uint32_t GetDestinationAddr(int chan)
Retrieves the destination address of a DMAChannel.
inline uint16_t GetDISPCNT()
The DISPCNT register contains information about rendering (e.g.
inline uint16_t GetDISPSTAT()
The DISPSTAT register contains the LYC (vertical match register) and things like HBLANK flag, VBLANK flag, ....
inline bool GetDMAEnabled(int chan)
Checks if a DMA channel is enabled.
inline bool GetDRQ(int chan)
Returns the DRQ Flag of the DMAChannel.
inline unsigned char* GetFirstFrame()
The first frame in rendering modes 3-4-5.
inline int GetFlipX()
True if the sprite has to be flipped horizontally.
inline int GetFlipY()
True if the sprite has to be flipped vertically.
inline int GetGPRegisterID(int regid,
int mode)
Gets the id of a GP register depending on the current mode.
inline uint32_t GetGPRegValue(int regid,  
int pcOff =  8)
Returns the value contained inside a register (in the current mode).
inline int getHigherNibble(int i)
inline ASICRegisters* GetIORam()
Gets IORam converted to the ASICRegister structure.
inline ASICRegisters* GetIORam()
The IORam of the GBA associated to the PPU.
inline bool GetIRQEnabled(int chan)
Returns if DMA interrupts are enabled for a channel.
inline bool GetIRQEnabled(int index)
Gets if interrupts for a timer overflow are enabled.
inline int getLowerNibble(int i)
inline Memory* GetMemory()
The memory of the GBA associated to the PPU.
True if Mosaic Effect is enabled for this sprite.
inline int GetObjMode()
0=Normal, 1=Semi-Transparent, 2=Obj-Window
inline int GetObjShape()
0=square, 1=horizontal, 2=vertical
inline int GetObjSizeID()
Returns the size ID.
inline void* GetObjTilesMemory()
Unimplemented.
void GetOperationName(char *buffer,  
int opcode,  
int opaddr,  
bool thumb =  false,
char *comment = nullptr)
Converts arm opcode into assembly language.
inline Palette* GetPaletteBG (int section,
int id)
Retrieves the color of a background palette.
inline int GetPaletteID()
The ID of the palette that has to be used in Tile4 mode.
inline Palette* GetPaletteOBJ(int section,
int id)
Retrieves the color of a sprite palette.
inline Palettes* GetPalettes()
The Palettes of the GBA associated to the PPU.
inline PPU* GetPPU()
Retrieves the ppu associated to this Window.
inline uint32_t GetPrefetch()
Retrieves pipeline prefetch.
inline int GetPrescalerSelection(int index)
Gets Prescaler selection.
inline int GetPrescalerSelectionIndex(int index)
Gets The prescaler selection index of a timer.
inline int GetPriority()
The priority relative to backgrounds.
inline bool GetRepeat(int chan)
Returns the repeat flag of the DMAChannel.
inline bool GetRSFlag()
Returns true if rotation/scale are used.
inline int GetRSGroup()
There are 32 transform groups for 128 sprites.
inline unsigned char* GetSecondFrame()
The second frame in rendering modes 3-4-5.
inline bool GetSelectedSecondFrame()
For Render modes 4-5.
void GetShadersCode(char *vs,
char *fs)
Gets the shaders code to draw a full screen quad.
uint32_t GetSize()
Computes the size of the emulated memory.
inline uint32_t GetSourceAddr(int chan)
Retrieves the source address of a DMAChannel.
inline int GetSourceAddrOperation(int chan)
Returns the source address operation of the DMAChannel.
inline OAMSprite* GetSprite(int id)
inline OAMSprites* GetSprites()
The Sprites of the GBA associated to the PPU.
inline int GetSpsrID(int mode)
Gets the ID of the register SPSR with a particular mode.
inline int GetSpsrVal()
Retrieves the value of SPSR.
inline bool GetStartCondition(int chan)
Check if the DMA Channel should start execution
inline int GetStartTiming(int chan)
Returns the start condition of the DMAChannel.
inline int GetTileID()
The id of the upper-left tile.
inline bool GetTimerState(int index)
Retrieves a timer’s state.
inline uint16_t* GetTransformationGroupPart(int id)
Every part is located at 0x8 offset starting at 0x6.
inline OAMTransformGroup* GetTransformGroup(int id)
inline bool GetUnitSize(int chan)
Returns the word size of the DMAChannel.
inline bool GetVBlank()
True if VBlank Flag is set.
inline int8_t* GetVRam()
The VRAM of the GBA associated to the PPU.
inline uint16_t GetWordsCount(int chan)
Retrieves the transfer words count of a DMAChannel.
inline int getWSCount(int id)
inline int GetX()
The X-coordinate of the sprite.
inline int GetY()
The Y-coordinate of the sprite.
Close