Super Garbage Collection Distribution 2020 ========================================== 2020-12-14 Johann E. Klasek johann AT klasek at Based on SuperGC (JK-GC) V2.2 Characteristics --------------- Signature: (to prove if the program is already loaded) $C501 (50433) = $46 (71, "g") $C502 (50432) = $43 (67, "c") Start: $C500 50432 End: End last address used Variant hex dec hex dec ------------------------------------------------- supergc-basic $C711 50961 $C717 50967 supergc-a000 $C7DF 51167 $C7E5 51173 supergc-e000 $C7D5 51157 $C7DB 51163 Usage in BASIC -------------- ### load and activate GC 1 ifpeek(50433)<>71orpeek(50434)<>67thenload"supergc",8,1 2 sys50432 ### deactivate GC ## for variant supergc-basic: # just the BASIC ROM is switched back again poke1,55 ## for variants supergc-irqa, supergc-irqe # Mask interrupts (disable CIA interrupts sperren, $DC0E), # Restore the IRQ vektor with the default value $EA31, # Reenable interrupts ($FF5E): poke56334,0:poke788,49:poke789,234:sys65374 ### reactivate GC ## for variant supergc-basic: # the BASIC ROM is switched out and the patched RAM copy is used again poke1,54