2017-09-18 16:36:05 +00:00
|
|
|
#ifndef GUARD_GPU_REGS_H
|
|
|
|
#define GUARD_GPU_REGS_H
|
|
|
|
|
2017-09-18 12:52:57 +00:00
|
|
|
// Exported type declarations
|
|
|
|
|
|
|
|
// Exported RAM declarations
|
|
|
|
|
|
|
|
// Exported ROM declarations
|
2017-09-19 12:27:46 +00:00
|
|
|
void InitGpuRegManager(void);
|
|
|
|
void CopyBufferedValuesToGpuRegs(void);
|
2017-09-18 16:36:05 +00: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 19:13:26 +00:00
|
|
|
#endif //GUARD_GPU_REGS_H
|