User Tools

Site Tools


base:exomizer_level_compress_decompression_for_beginners

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
base:exomizer_level_compress_decompression_for_beginners [2018-04-06 12:03] – created richardbase:exomizer_level_compress_decompression_for_beginners [2018-04-07 11:23] 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/source data can be a right pain in the neck. It is also very flexible with decrunching memory.  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/source data can be a right pain in the neck. It is also very flexible with decrunching memory. 
Line 8: Line 8:
 </code> </code>
 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. 
 +
 +
 +====Using Exomizer's Decruncher on a Cross Assembler==== 
  
 An example program (in ACME/C64Studio): An example program (in ACME/C64Studio):
Line 30: Line 33:
      
 </code> </code>
 +
 +====Using Exomizer's Decruncher on a Native C64==== 
 +
 +What about if you wanted to use Exomizer when using a native C64 instead of a cross assembler. It is quite easy. Exomizer's level decrunch is very flexible when it comes to areas to place the crunched data (Providing the crunched data is NOT loaded on to memory that is being used for something else. A machine code monitor, such as the Action / Retro Replay fastload is helpful. Where there is spare memory in your program, you load the crunched data to a chosen address. Take note of the END address where the program lies. Then use the end address as a LOW/HI BYTE target. Then call the Exomizer to decrunch from that address. You can also load in the next crunched file one byte AFTER the END address of the previous file. Note down the end address and so on.
 +
 +{{:base:exomizer_example_mc.png?400|}}
  
  
base/exomizer_level_compress_decompression_for_beginners.txt · Last modified: 2020-10-01 15:14 by richard