1
0
mirror of https://github.com/weiju/amiga-stuff synced 2025-12-08 14:58:33 +00:00
Files
amiga-stuff/scrolling_tricks/hardware.h
2016-06-13 08:49:14 -07:00

28 lines
543 B
C

#ifdef custom
#undef custom
#endif
#define mycustombase ((struct Custom *)0xdff000)
#define custom mycustombase
#define BPL0_USEBPLCON3_F 0x1
#define BPL0_COLOR_F 0x200
#define BPL0_BPU0_F 0x1000
#define BPL0_BPU3_F 0x10
#define BPL0_BPUMASK 0x7000
void KillSystem(void);
void ActivateSystem(void);
void WaitVBL(void);
void WaitVBeam(ULONG line);
void HardWaitBlit(void);
void HardWaitLMB(void);
BOOL JoyLeft(void);
BOOL JoyRight(void);
BOOL JoyUp(void);
BOOL JoyDown(void);
BOOL JoyFire(void);
BOOL LMBDown(void);