apple1-videocard-lib/lib/utils.h
2021-12-15 14:38:52 +01:00

8 lines
156 B
C

#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 }