Back-Link on Demand Garbage Collection Distribution 2021 ======================================================== 2021-04-25 Johann E. Klasek johann AT klasek at Based on BLOD-GC V1.0 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 $C816 51222 $0317 791 ------------------------------------------------------------ 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