#define __SUZY_H
/* Joypad $FCB0 */
-#define JOY_RIGHT 0x10
-#define JOY_LEFT 0x20
-#define JOY_DOWN 0x40
-#define JOY_UP 0x80
+#define JOYPAD_RIGHT 0x10
+#define JOYPAD_LEFT 0x20
+#define JOYPAD_DOWN 0x40
+#define JOYPAD_UP 0x80
#define BUTTON_OPTION1 0x08
#define BUTTON_OPTION2 0x04
#define BUTTON_INNER 0x02
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
};