We need this because cc65 writes *far* better code if you tell it to mark
key structure pointers as register so it can then use zp based offset addressing
on them
#define ntohs(x) ((((x) & 0xFF) << 8) | (((x) & 0xFF00) >> 8))
#define CPUTYPE CPUTYPE_6502
+
+/* cc65 really wants register tags on struct pointers used repeatedly */
+#define regptr register
#define ntohs(x) ((((x) & 0xFF) << 8) | (((x) & 0xFF00) >> 8))
#define CPUTYPE CPUTYPE_65C816
+
+/* cc65 really wants structs used repeatedly to be marked register */
+#define regptr register