unsigned char sprctl1;
unsigned char sprcoll;
char *next;
- char *data;
- unsigned int hpos;
- unsigned int vpos;
+ unsigned char *data;
+ signed int hpos;
+ signed int vpos;
unsigned int hsize;
unsigned int vsize;
unsigned int stretch;
unsigned char sprctl1;
unsigned char sprcoll;
char *next;
- char *data;
- unsigned int hpos;
- unsigned int vpos;
+ unsigned char *data;
+ signed int hpos;
+ signed int vpos;
unsigned int hsize;
unsigned int vsize;
unsigned int stretch;
unsigned char sprctl1;
unsigned char sprcoll;
char *next;
- char *data;
- unsigned int hpos;
- unsigned int vpos;
+ unsigned char *data;
+ signed int hpos;
+ signed int vpos;
unsigned int hsize;
unsigned int vsize;
} SCB_REHV;
unsigned char sprctl1;
unsigned char sprcoll;
char *next;
- char *data;
- unsigned int hpos;
- unsigned int vpos;
+ unsigned char *data;
+ signed int hpos;
+ signed int vpos;
unsigned int hsize;
unsigned int vsize;
unsigned char penpal[8];
unsigned char sprctl1;
unsigned char sprcoll;
char *next;
- char *data;
- unsigned int hpos;
- unsigned int vpos;
+ unsigned char *data;
+ signed int hpos;
+ signed int vpos;
unsigned int hsize;
unsigned int vsize;
unsigned int stretch;
unsigned char sprctl1;
unsigned char sprcoll;
char *next;
- char *data;
- unsigned int hpos;
- unsigned int vpos;
+ unsigned char *data;
+ signed int hpos;
+ signed int vpos;
unsigned int hsize;
unsigned int vsize;
unsigned int stretch;
unsigned char sprctl1;
unsigned char sprcoll;
char *next;
- char *data;
- unsigned int hpos;
- unsigned int vpos;
+ unsigned char *data;
+ signed int hpos;
+ signed int vpos;
} SCB_RENONE;
typedef struct SCB_RENONE_PAL { // SCB w/o size/str/tilt w/penpal
unsigned char sprctl1;
unsigned char sprcoll;
char *next;
- char *data;
- unsigned int hpos;
- unsigned int vpos;
+ unsigned char *data;
+ signed int hpos;
+ signed int vpos;
unsigned char penpal[8];
} SCB_RENONE_PAL;
+typedef struct PENPAL_4 {
+ unsigned char penpal[8];
+} PENPAL_4;
+
+typedef struct PENPAL_3 {
+ unsigned char penpal[4];
+} PENPAL_3;
+
+typedef struct PENPAL_2 {
+ unsigned char penpal[2];
+} PENPAL_2;
+
+typedef struct PENPAL_1 {
+ unsigned char penpal[1];
+} PENPAL_1;
/* Misc system defines */
unsigned char parstat; // 0xFCC2 parallel port status
unsigned char pardata; // 0xFCC3 parallel port data
unsigned char howie; // 0xFCC4 howie (?)
- // 0xFCC5 - 0xFCFF unused
+ // 0xFCC5 - 0xFCFF unused
};