1
0
mirror of https://github.com/bebbo/amiga-gcc.git synced 2025-11-19 20:11:10 +00:00

add some unions to vposr and vhposr for combined/byte access

This commit is contained in:
bebbo
2019-10-21 14:10:33 +02:00
parent 654736ce08
commit 115df72f81

View File

@ -75,8 +75,25 @@
- UWORD adkcon;
+ volatile UWORD bltddat;
+ volatile UWORD dmaconr;
+ volatile UWORD vposr;
+ volatile UWORD vhposr;
+ union {
+ volatile ULONG vpos32;
+ struct {
+ union {
+ volatile UWORD vposr;
+ struct {
+ volatile UBYTE vposr_h;
+ volatile UBYTE vposr_l;
+ };
+ };
+ union {
+ volatile UWORD vhposr;
+ struct {
+ volatile UBYTE vhposr_h;
+ volatile UBYTE vhposr_l;
+ };
+ };
+ };
+ };
+ volatile UWORD dskdatr;
+ volatile UWORD joy0dat;
+ volatile UWORD joy1dat;