Posted By
JamesC on 2015-10-25 21:49:50
| Re: Commodore Basic's oddnesses
@Gerliczer: yes, those are H2G2 references.
@Litwr: it is just that, Knuth's opinion. But his opinion will crash a CBM 8-bit if used repeatedly. Is it possible you were thinking of a DO:LOOP with an EXIT? This will remove the running loop from the stack, allowing you to exit without memory issues.
@MMS: you can use Kernal routines to load a file from a running program. Or you can set a load variable, then load your graphics, font, etc at the start of execution:
10 IF L=0 THEN L=1 : GRAPHIC 1,1 : GRAPHIC 0 : LOAD "GRAPHICSCREEN",8,1 11 IF L=1 THEN L=2 : LOAD "FONT",8,1 12 IF L=2 THEN L=3 : LOAD "POINTER IRQ",8,1 13 : REM INSERT POKES FOR TED TO USE CUSTOM FONT 14 : REM INSERT POKES FOR MOUSE-LIKE POINTER IRQ TO EXECUTE 15 (program starts at this point)
|