modulecomputers: alsmost working terrain rader

This commit is contained in:
minjaesong
2021-12-03 22:56:53 +09:00
parent 4a4290dc35
commit 9c6b36c8e0
5 changed files with 19 additions and 14 deletions

View File

@@ -2,7 +2,7 @@
20 s=cput(1,"POLL")
30 if s><0 then goto 900
40 l=cget(1,0)
41 print("length: "+l+", pixels: "+l/3)
41 REM print("length: "+l+", pixels: "+l/3)
50 for i=0 to l-1 step 3
60 m=peek(i)*160+peek(i+1)
62 p=peek(i+2)
@@ -11,3 +11,4 @@
80 REM poke(-1070977,0)
90 goto 20
900 print("Polling failed: "+s)
910 goto 10