Title |
Data B> |
Data Name |
No |
typedef struct SclSysreg{
/ * Address content * /
Uint16 tvmode; / * 180000H TV screen mode * /
Uint16 extenbl; / * 180002H External signal * /
Uint16 tvstatus; / * 180004H Screen status * /
Uint16 vramsize; / * 180006H VRAM size * /
Uint16 H_val; / * 180008H H counter * /
Uint16 V_val; / * 18000AH V counter * /
Uint16 vramchg; / * 18000CH * /
Uint16 ramcontrl; / * 18000EH RAM control * /
Uint16 vramcyc [8]; / * 180010H VRAM cycle pattern * /
Uint16 dispenbl; / * 180020H Screen display enable * /
Uint16 mosaic; / * 180022H Mosaic control * /
Uint16 specialcode_sel; / * 180024H Special code select * /
Uint16 specialcode; / * 180026H special function code * /
} SclSysreg; Symbols are registered in this library as follows. If 1 is written to global variable "SclProcess" after writing to this symbol, it will be reflected in the register at the next V-Blank.
SclSysreg Scl_s_reg;
Title |
Data B> |
Data Name |
No |
typedef struct SclDataset{
/ * Address content * /
Uint16 charcontrl0; / * 180028H Character control (NBG0, NBG1) * /
Uint16 charcontrl1; / * 18002AH Character control (NBG2, NBG3, RBG0) * /
Uint16 bmpalnum0; / * 18002CH Bitmap palette number (NBG0, NBG1) * /
Uint16 bmpalnum1; / * 18002EH Bitmap palette number (RBG0) * /
Uint16 patnamecontrl [5]; / * 180030H Pattern name control * /
Uint16 platesize; / * 18003AH plain size * /
Uint16 mapoffset0; / * 18003CH Map offset (NBG0 to NBG3) * /
Uint16 mapoffset1; / * 18003EH Map offset (rotation parameter A.B) * /
Uint16 normap [8]; / * 180040H Map (normal scroll) * /
Uint16 rotmap [16]; / * 180050H Map (rotation parameters A and B) * /
} SclDataset;Symbols are registered in this library as follows. If 1 is written to the global variable “SclProcess” after writing to this symbol, it will be reflected in the register at the next V-Blank.
SclDataset Scl_d_reg;