Datasheet

4D SYSTEMS GOLDELOX Processor
© 2012 4D SYSTEMS Page 13 of 25 www.4dsystems.com.au
GOLDELOX PROCESSOR
9. System Registers Memory Map
The following tables outline in detail the GOLDELOX system registers and flags.
Table 5.1: System (BYTE Size) Registers Memory Map
LABEL
ADDRESS
USAGE SIZE *NOTES
DEC
HEX
VX1
128
0x80
display hardware GRAM x1 pos
BYTE
SYSTEM (R/O)
VY1
129
0x81
display hardware GRAM y1 pos
BYTE
SYSTEM (R/O)
VX2
130
0x82
display hardware GRAM x2 pos
BYTE
SYSTEM (R/O)
VY2
131
0x83
display hardware GRAM y2 pos
BYTE
SYSTEM (R/O)
SYS_X_MAX
132
0x84
display hardware X res-1
BYTE
SYSTEM (R/O)
SYS_Y_MAX
133
0x85
display hardware Y res-1
BYTE
SYSTEM (R/O)
WRITE_GRAM_REG
134
0x86
display GRAM write address
BYTE
SYSTEM (R/O)
READ_GRAM_REG
135
0x87
display GRAM read address
BYTE
SYSTEM (R/O)
IMAGE_WIDTH
136
0x88
loaded image/animation width
BYTE
SYSTEM (R/O)
IMAGE_HEIGHT
137
0x89
loaded image/animation height
BYTE
SYSTEM (R/O)
IMAGE_DELAY
138
0x8A
frame delay (if animation)
BYTE
USER
IMAGE_MODE
139
0x8B
image/animation colour mode
BYTE
SYSTEM (R/O)
CLIP_LEFT_POS
140
0x8C
left clipping point setting
BYTE
USER
CLIP_TOP_POS
141
0x8D
top clipping point setting
BYTE
USER
CLIP_RIGHT_POS
142
0x8E
right clipping point setting
BYTE
USER
CLIP_BOTTOM_POS
143
0x8F
bottom clipping point setting
BYTE
USER
CLIP_LEFT
144
0x90
left clipping point active
BYTE
USER
CLIP_TOP
145
0x91
top clipping point active
BYTE
USER
CLIP_RIGHT
146
0x92
right clipping point active
BYTE
USER
CLIP_BOTTOM
147
0x93
bottom clipping point active
BYTE
USER
FONT_TYPE
148
0x94
0 = fixed, 1 = proportional
BYTE
SYSTEM (R/O)
FONT_MAX
149
0x95
number of chars in font set
BYTE
SYSTEM (R/O)
FONT_OFFSET
150
0x96
ASCII offset (usually 0x20)
BYTE
SYSTEM (R/O)
FONT_WIDTH
151
0x97
width of font (pixel units)
BYTE
SYSTEM (R/O)
FONT_HEIGHT
152
0x98
height of font (pixel units)
BYTE
SYSTEM (R/O)
TEXT_XMAG
153
0x99
text width magnification
BYTE
USER
TEXT_YMAG
154
0x9A
text height magnification
BYTE
USER
TEXT_MARGIN
155
0x9B
text place holder for CR
BYTE
SYSTEM (R/O)
TEXT_DELAY
156
0x9C
text delay effect (0-255msec)
BYTE
USER
TEXT_X_GAP
157
0x9D
X pixel gap between chars
BYTE
USER
TEXT_Y_GAP
158
0x9E
Y pixel gap between chars
BYTE
USER
GFX_XMAX
159
0x9F
width of current orientation
BYTE
SYSTEM (R/O)
GFX_YMAX
160
0xA0
height of current orientation
BYTE
SYSTEM (R/O)
GFX_SCREENMODE
161
0xA1
Current screen mode (0-3)
BYTE
SYSTEM (R/O)
reserved
162-
165
0xA2-
0xA5
reserved BYTE SYSTEM (R/O)
*NOTES:
SYSTEM
SYSTEM registers are maintained by internal system functions and should not be
written to. They should only ever be read.
DO NOT WRITE to these registers.
USER
USER registers are read/write (R/W) registers used to alter the system behaviour.
Refer to the individual functions for information on the interaction with these
registers.
These registers are accessible with peekB and pokeB functions.