Portable Game Console
PoGa-4DGL Reference Manual
Program Storage Area
PROG nomenclature
sector offset
Byte Size
PSA
F*4096 + 1
28160
GCI Image Map
Image Map Entry Entry
WORD
Offset
Usage
0
0
Name, offset and position for image 0
1
16
Name, offset and position for image 1
...
...
...
254
224
Name, offset and position for image 254
255
240
Name, offset and position for image 255
Format of individual
entries in the Image Map
DAT nomenclature
Entry
WORD
offset
Entry
BYTE
size
Usage
IMAGE_NAME
0
20
Image name Padded with Blanks, Null terminated, STRING
IMAGE_OFFSET_HI
10
2
Relative offset to GCI image HI WORD
IMAGE_OFFSET_LO 11
2
Relative offset to GCI image LO WORD
IMAGE_XPOS
12
2
Image display position X co-ordinate
IMAGE_YPOS
13
2
Image display position Y co-ordinate
RESERVED
14
4
reserved
Total
32
(32 bytes per entry)
© 2011 4D Systems
www.4dsystems.com.au
Page 78 of 87
GCI image map at F*4096 + 56 (created with Graphics Composer, *.DAT file)
There are up to 256 entries, Each entry is 32 bytes.
GCI image data at F*4096 + 136 (created with Graphics Composer, *.GCI file)
Each image entry in the GCI storage area has the following format.