2017-09-18 18:36:05 +02:00
|
|
|
#ifndef GUARD_GPU_REGS_H
|
|
|
|
#define GUARD_GPU_REGS_H
|
|
|
|
|
2017-09-18 08:52:57 -04:00
|
|
|
// Exported type declarations
|
|
|
|
|
|
|
|
// Exported RAM declarations
|
|
|
|
|
|
|
|
// Exported ROM declarations
|
2017-09-19 14:27:46 +02:00
|
|
|
void InitGpuRegManager(void);
|
|
|
|
void CopyBufferedValuesToGpuRegs(void);
|
2017-09-18 18:36:05 +02:00
|
|
|
void SetGpuReg(u8 regOffset, u16 value);
|
|
|
|
void SetGpuReg_ForcedBlank(u8 regOffset, u16 value);
|
|
|
|
u16 GetGpuReg(u8 regOffset);
|
|
|
|
void SetGpuRegBits(u8 regOffset, u16 mask);
|
|
|
|
void ClearGpuRegBits(u8 regOffset, u16 mask);
|
|
|
|
void EnableInterrupts(u16 mask);
|
|
|
|
void DisableInterrupts(u16 mask);
|
|
|
|
|
2017-09-16 15:13:26 -04:00
|
|
|
#endif //GUARD_GPU_REGS_H
|