apple1-videocard-lib/utils.h

8 lines
156 B
C
Raw Normal View History

2021-12-08 11:53:13 +00:00
#define POKE(a,b) (*((byte *)(a))=(byte)(b))
#define PEEK(a) (*((byte *)(a)))
#define HIBYTE(c) (>(c))
#define LOBYTE(c) (<(c))
#define NOP asm { nop }