Skip to content

Instantly share code, notes, and snippets.

@zoul0813
zoul0813 / gist:c3675bbd643ac97d2514bc5279aed022
Created October 20, 2026 03:55
flight.fs (Starship Forth)
\ Starship Forth -- uses native ARRAY, CONSTANT, +!, 1+, P@, and P! words.
\ Video: https://www.youtube.com/watch?v=OdSCx8Tt6Vk
\ Load: forth flight.fs Then: flight
\ Fixed 80x40 Zeal text screen. No files written. All coordinates are text cells.
decimal
: cr 10 emit ;
variable saved-bank
variable saved-blink
\ Select the text controller before a batch of direct video writes.
\ Its ports control character output, cursor Y/X, colour, and blink time.