Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in - nap
TinyCrunch V1.0   [2018]

Released by :
ChristopherJam

Release Date :
16 July 2018

Type :
Other Platform C64 Tool

User rating:awaiting 8 votes (7 left)   See votestatistics

Credits :
Code .... ChristopherJam
Test .... Ian Coog of HVSC Crew
  Krill of Plush
Help .... Krill of Plush

Download :

Look for downloads on external sites:
 Pokefinder.org


Summary
Submitted by ChristopherJam on 16 July 2018
from the readme:

About
=====

TinyCrunch is a small, fast LZ codec originally thrown together in a hurry for Jam Ball 2. It's since been considerably refined.

While the basic design of three byte aligned fixed length token formats remains the same, there is now a 100 byte decoder for when space is even tighter, a faster decoder (tc_decode_f.s) for use in self extracting files, and optional 'next block' callbacks for fastload integration. Last but not least, it can also now output self extracting .prgs, for any file north of $0200.


Requirements
============

Generating self extracting .prgs only requires python (tested on 2.7 and 3.6)

Building the tests, or modifying the boot file used by sfx mode requires ca65.

Rebuilding bmp.prg (the bitmap displayed by the tests) would require Numpy, but the .prg is included in case you have python and ca65 but don't want to install any more python libraries.


Installation Notes
==================

Wherever you put tc_encode.py, make sure it's accompanied by tc_boot.prg


Usage
=====

python tc_encode.py -h for argument descriptions. Note that you must specify precisely one of output start address, output end address, in-place compression, or self extracting.

The data files produced by the first three options can be decoded with either of the tc_decode*.s routines by calling decode with A and X set to the low and high bytes respectively of the address of the data to decrunch.


SFX notes
=========

Simple sfx example:

python tc_encode.py -vx input.prg output.prg

Input files can range anywhere from $0200 to $ffff

IO area and interrupts are disabled during decrunch, and restored before jumping to start address (default $080d)

The SFX boot ovewrites memory from $00fa to $01ba, and four bytes of stack ($01f3-$1f6). The rest of low memory is undisturbed.


Acknowledgements
================

Thanks to Krill for much assistance getting the small decrunch down to 100 bytes, as well as general testing and feature requests.

Thanks also to iAN CooG for beta testing the self extracting file functionality.

Any remaining bugs are mine.
Search CSDb
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries (1)
· User Comments (4)
· Production Notes
Fun Stuff
· Goofs (2)
· Hidden Parts
· Trivia (1)
Forum
· Discuss this release
Support CSDb
Help keep CSDb running:



Funding status:




About this site:
CSDb (Commodore 64 Scene Database) is a website which goal is to gather as much information and material about the scene around the commodore 64 computer - the worlds most popular home computer throughout time. Here you can find almost anything which was ever made for the commodore 64, and more is being added every day. As this website is scene related, you can mostly find demos, music and graphics made by the people who made the scene (the sceners), but you can also find a lot of the old classic games here. Try out the search box in the top right corner, or check out the CSDb main page for the latest additions.
Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.088 sec.