compstatic
is a tool for compressing the ROM image of the static region to load with the NITRO IPL application. Compressing enables you to save ROM capacity.
% compstatic [-d] -9 [-c] [-a[FILE]] [-F|-eSUFFIX]
STATICMODULE OVERLAYDEFS [OVERLAYTABLE]
Compresses file of ROM static region specified with STATICMODULE/OVERLAYDEFS
while regarding it as ARM9 code. When the -c
option is specified, also compresses the overlay file specified by OVERLAYTABLE
. The uncompress process is integrated with the NITRO-SDK crt0.o
and the FS library, so the application programmer does not need to add any additional operation.
Compression results are output to a file of the original filename but with the extension LZ
attached to the end. To change the end extension _LZ
, specify the -e
option. To overwrite to the original file, specify the -F
option.
The -a
option enables you to fill the static region with the overlay digest value. Use this to confirm the validity of the overlay module that performs wireless transfer.
The -d
option is for outputting compstatic
debugging messages. It outputs debugging messages during execution. There is usually no need to specify this.
The library on the uncompressed side is currently not supported and thus cannot be used for the compression process of the ARM7's static region.
When using NITRO-SDK's make
environment, the ARM9 static region and the overlay compression process are available when some value is defined in the environmental variable NITRO_COMPRESS
.
$NitroSDK/tools/bin/compstatic.exe
09/21/2004 Initial version