Authors
Publication
Pub Details
Date
Pages
BASIC Terms
Please refer to the June issue of THE PLOTTER for details of this program.
A handy program format follows for Larken users. The CODE has been saved as “getput.C1” at address 60000, 396. This is the code entered in GETPUT. This program makes it easy to enter formulas, text, etc, to be scrolled in part across the screen.
If an image is on the screen when “Getput” is loaded, the star will rotate back and forth, dragging part of the text with it.
BASIC Listing1
2 REM "GETPUT" by Mike De Rienzo 3 REM see program in THE PLOTTER 6/90 issue for details 5 RANDOMIZE USR 100: LOAD "getput.C1"CODE 10 LET get=60000 20 LET put=60006 30 PLOT 9,142: DRAW 57,10,4000 40 RANDOMIZE USR get: PRINT AT 0,0;10,10,50000 45 PRINT FLASH 1;AT 4,2; INK 2;"GETPUT"; INVERSE 1;AT 5,2; INK 1;"Demo!!": PRINT AT 10,5;"Press a key to start...": PAUSE 0 50 LET d=-1: LET dx=d: LET dy=d: LET x=-d: LET y=-d 55 CLS 60 LET x=x+dx: LET y=d+dy 70 IF NOT x OR x=22 THEN LET dx=dx*d: BEEP .01,y 80 IF NOT y OR y=14 THEN LET dy=dy*d: BEEP .01,x 90 RANDOMIZE USR put: PRINT AT y,x;10,10,50000\n100 GO TO 60
Line 60 is reproduced as printed and does not run correctly as printed.2
Notes
- The listing is set in a narrow column and several statements wrap. Line 2 breaks after
De Rien, line 3 afterTHE PLOTT, line 5 afterLOAD "get, line 40 afterPRINT AT, line 50 afterLET dy=d, and line 70 breaks across the page boundary afterTHEN LET d, resuming at the top of page 4 withx=dx*d. All wraps have been rejoined; no character was added or dropped in doing so. ↩ - Line 60 as printed reads
LET x=x+dx: LET y=d+dy. The second assignment should almost certainly beLET y=y+dy, matching the form of the first and thedy=dy*dreversal at line 80; as printed,yis recomputed from the constantdon every pass and never advances, so the vertical motion the program is written for cannot occur. Reproduced as printed because nothing else in the article independently establishes the intended form. ↩
Products
Media
Image Gallery
Source Code
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.