Hermit Reloc-aid - with new C64 support
----------------

This version works on newer C64s with new CIA chip, which makes IRQ one cycle
earlier than the one in the older machines. I found it still compatible with the old.

Usage - It depends on You, what you pefer:

1.Using the source code cross (with 64tass syntax)
2.Using the compiled binary (reloc-aid.prg - runs with 'SYS 2064' or 'G 0810')

Steps:

PASS1 - MASKMAKER:
------------------
        The Reloc-aid loaded to memory, the source tune loaded to its location
        Give the needed parameters (start/endaddress, init/playaddress, accu, etc. -see source-code documentation)
        start the program ( run / SYS 2064 / G 0810 - depending on your tool which You use it from )
        Wait till the selected (with accu) subtune ends or loops (VICE in warp mode+nosound is much faster)
        Press RUNSTOP key if you feel the tune played over, and touched every bytes in memory that it needs.
        The used zeropage pointers (low) will be listed onto the screen, you should write these down
        
PASS2 - RELOCATOR:
------------------
        Press space, so the relocator will relocate the tune to the wished address, and the mask is copied back to
        original place of the tune, later you can use it as a helping hand.. (see source code documentation)
        (I recommend to save the tune and the mask here for later use, just in case - in freeze mode of your cart.)
        Press space to go to finder
        
PASS3 - FINDER:
---------------
        Stops whenever a memory call still addresses into the original place of the tune.
        This is the case, when you have to be good coder and find where in the hell the unmodified pointers are.
        Some tips: -The mask signs used zeropage pointer-commands with "0C 0D" sequence, use monitor's H command
                   -The mask also signs the STA/STX/STY commands that affect the zeropage pointers with '0E'
                   -The mask signs the codes that modify codes (self writing code) with '0F'
                   
Wish you a success, time is short to write more now, read comments in source-code or visit the!Hermit reloc aid' 
forum topic at CSDB.

THIS IS NOT A COMPLETE TOOL, IF YOU FIND IT USELESS, PLEASE DO NOT COMPLAIN!

(The tune only relocates/copies the listened subtune to the target location, unless you switch off the clear-flag 082d.)

READY.
