Back-Link on Demand Garbage Collection Distribution 2024 ======================================================== 2024-06-09 Johann E. Klasek johann AT klasek at Based on BLOD-GC V1.2 Characteristics --------------- Signature: (to prove if the program is already loaded) $C501 (50433) = $46 (71, "g") $C502 (50432) = $43 (67, "c") Start last address Length used ------------------------------------------------------------ Variant hex dec hex dec hex dec ------------------------------------------------------------ blodgc $C500 50432 $C812 51218 $0313 787 ------------------------------------------------------------ Usage in BASIC -------------- ### load and activate GC 1 ifpeek(50433)<>71orpeek(50434)<>67thenload"supergc",8,1 2 sys50432 ### deactivate GC # just the BASIC ROM is switched back again poke1,55 ### reactivate GC # the BASIC ROM is switched out and the patched RAM copy is used again poke1,54