A Screen Compressor/Decompressor
by Nick Smith

This module provides two commands, PicLoad and PicSave, which load and save screens in a compressed format.

Double clicking on the !Squasher icon pops up a dialogue box allowing the Squash module to be copied to an appropriate directory on your work disc. Once Squash has been loaded (either with *RMload or by double clicking on its icon), then '*PicSave <filename>' saves the screen in a compressed format with filetype 'Squashed' (=&600). This file can then be reloaded with '*PicLoad <filename>'. The mode and palette data are saved in the file, so these are automatically restored before the picture is loaded.

You may find it useful to set up an alias for the filetype using:

*Set Alias$@FileType_600 PicLoad %*0

so that Squashed files can be loaded by double clicking on their icon or using *<filename>.

The assembler source code for this module is saved in !Squasher as Squasher.