Minor tweaks to Suzy struct types.

Named math union
This commit is contained in:
Alex Thissen
2024-08-09 15:54:05 +02:00
committed by Alex Thissen
parent 489989f4c8
commit 1f1a004a05

View File

@@ -268,10 +268,10 @@ struct __suzy {
unsigned char *coladr; // 0xFC0E Current col buffer address
unsigned char *scbnext; // 0xFC10 Address of next SCB
unsigned char *sprdline; // 0xFC12 start of sprite data line address
unsigned char *hposstrt; // 0xFC14 start hpos
unsigned char *vposstrt; // 0xFC16 start vpos
unsigned char *sprhsize; // 0xFC18 sprite h size
unsigned char *sprvsize; // 0xFC1A sprite v size
unsigned int hposstrt; // 0xFC14 start hpos
unsigned int vposstrt; // 0xFC16 start vpos
unsigned int sprhsize; // 0xFC18 sprite h size
unsigned int sprvsize; // 0xFC1A sprite v size
unsigned int stretchl; // 0xFC1C H size adder
unsigned int tilt; // 0xFC1E H pos adder
unsigned int sprdoff; // 0xFC20 offset to next sprite data line
@@ -306,7 +306,7 @@ struct __suzy {
struct _math_unsigned_multiply unsigned_multiply;
struct _math_signed_multiply signed_multiply;
struct _math_divide divide;
};
} math;
unsigned char unused4[16]; // 0xFC70 - 0xFC7F do not use
unsigned char sprctl0; // 0xFC80 sprite control bits 0
unsigned char sprctl1; // 0xFC81 sprite control bits 1