Portable Game Console
PoGa-4DGL Reference Manual
Appendix A: PoGa File System Overview
The PoGa File System is a
Fixed Block Architecture
(
FBA
) in which each addressable record on disk is of the
same size requiring no 'disk operating system'. It was designed to be as simple as possible, and the
position of all files is determined simply by offset.
Each 'file' consists of 4096 sectors (2097152 bytes or 2 megabytes) . There are 512 'files' consuming a little
over 1gb of storage, therefore the minimum media storage capacity is 2gb. The remainder of the disk above
the PoGa files is classed as a
Common Storage Area (CSA)
and is available for general purpose usage.
PoGa Disk Architecture
Sector offset #sectors #bytes
Usage
Notes
F*4096 + 0
1
512
FCB
File Control Block
F*4096 + 1
55
28160
PSA
Program storage area
(compiled *.4DG program becomes *.4XE)
F*4096 + 56
16
8192
GCIMAP
GCI image map
(created with Graphics Composer, *.DAT file)
F*4096 + 72
64
32768
BIN
General purpose data, user defined
F*4096 + 136
3960
2027520
GCI
GCI images
(created with Graphics Composer, *.GCI file)
Total
4096
2097152
© 2011 4D Systems
www.4dsystems.com.au
Page 76 of 87