From: Larry Anderson (foxnhare_at_bigvalley.net)
Date: 2003-04-29 03:01:01
You might want to take a look at Supermon for the PET, It uses a relocating loader based on the value of the upper limit of the free memory. As long as the object code isn't self modifying it *should* be no problem to write up something in BASIC to scan the binary and tag all the instructions that refer to addresses within the target range, then put in a special code (ala: rle packing bytes) and replace the hi byte with an offset value (i.e. first page in the target would be [special byte] 00 third page in [special byte] 03, etc. Larry -- 01000011 01001111 01001101 01001101 01001111 01000100 01001111 01010010 01000101 Larry Anderson - Sysop of Silicon Realms BBS (209) 754-1363 300-14.4k bps Set your 8-bit C= rigs to sail for http://www.portcommodore.com/ 01000011 01001111 01001101 01010000 01010101 01010100 01000101 01010010 01010011 ---------------------------------------------------------------------------------- 50% faster, 400% cheaper, one phone line for voice and data, v.92, national coverage, all for less than $8.50 a month http://www.BigValley.net Message was sent through the cbm-hackers mailing list
Archive generated by hypermail pre-2.1.8.