base:exomizer_level_compress_decompression_for_beginners
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
base:exomizer_level_compress_decompression_for_beginners [2018-04-06 12:03] – created richard | base:exomizer_level_compress_decompression_for_beginners [2020-10-01 14:15] – [Using Exomizer's Decruncher on a Cross Assembler] richard | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Exomizer Memory Crunching / Decrunching for Beginners ===== | ||
Exomizer comes with a manual on how to compress data. However there may be people who are quite new to using the Exomizer tool, and the decruncher source, provided with Exomizer. I find Exomizer to be VERY useful for level packing single or multiload files. Some times decrunching binary/ | Exomizer comes with a manual on how to compress data. However there may be people who are quite new to using the Exomizer tool, and the decruncher source, provided with Exomizer. I find Exomizer to be VERY useful for level packing single or multiload files. Some times decrunching binary/ | ||
Line 7: | Line 7: | ||
exomizer mem -l $2000 mypic.prg, | exomizer mem -l $2000 mypic.prg, | ||
</ | </ | ||
+ | |||
+ | **If you use Exomizer V3, you will need to add a -P0 extension at the end of the command above ** | ||
+ | |||
This will load a koalapaint picture to $6000, then pack the memory to $2000. Exomizer then displays the pack result at the end of the crunching phase. If not using a crossassembler You must note down the END address in which the pack address lies. However if you are using a cross assembler, then you don't need to note the memory. Since you can use labels to indicate the end of the current load address. | This will load a koalapaint picture to $6000, then pack the memory to $2000. Exomizer then displays the pack result at the end of the crunching phase. If not using a crossassembler You must note down the END address in which the pack address lies. However if you are using a cross assembler, then you don't need to note the memory. Since you can use labels to indicate the end of the current load address. | ||
- | An example program (in ACME/ | + | |
+ | ====An Example Using Exomizer' | ||
+ | |||
+ | An example program (in ACME/ | ||
< | < | ||
!to " | !to " | ||
Line 30: | Line 36: | ||
| | ||
</ | </ | ||
+ | Please take note that there can be cases where running the decruncher, sometimes it might crash. This is normally if a zero byte has been read while depacking from reverse memory. Or the crash will occur if you are decrunching from the incorrect end address. Sometimes you may need to set the $01 value to #$35, #$36 or #$37 before/ | ||
+ | ====Using Exomizer' | ||
+ | |||
+ | What about if you wanted to use Exomizer when using a native C64 instead of a cross-assembler. It is quite easy. Exomizer' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | //This snapshot above shows a small example of using the Exomizer de-crunch routine assembled from wrap.s DASM cross-assembler // | ||
base/exomizer_level_compress_decompression_for_beginners.txt · Last modified: 2020-10-01 15:14 by richard