Created
June 25, 2026 03:46
-
-
Save ssg/cae582dd5a2d6bbfe0c42338fd3d196b to your computer and use it in GitHub Desktop.
Grid drawing for Locomotive BASIC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 10 CALL &BBFF:CALL &BB4E | |
| 20 FOR n=0 TO 400 STEP 40 | |
| 30 MOVE 0,n | |
| 40 DRAW 640,n,1 | |
| 50 NEXT | |
| 60 FOR n=0 TO 640 STEP 40 | |
| 70 MOVE n,0 | |
| 80 DRAW n,400,1 | |
| 90 NEXT | |
| 100 MOVE 0,399 | |
| 110 DRAW 640,399,1 | |
| 120 MOVE 639,0 | |
| 130 DRAW 639,399,1 | |
| 140 CALL &BB18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment