Created
May 11, 2020 18:09
-
-
Save discatte/a702312fd2f55f54f8e1a629bf34df00 to your computer and use it in GitHub Desktop.
TI99 basic Color Cycling Text mode cats (slow random)
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 clear | |
90 for a=2 to 16 | |
91 call color(a,a,a-1) | |
92 next a | |
101 c$="4163777F6B6B3E1C" | |
102 randomize | |
105 for a=0 to 15 | |
106 call char(a*8+32,c$) | |
107 next a | |
110 row=int(24*rnd)+1 | |
111 col=int(32*rnd)+1 | |
112 cat=int(16*rnd)*8+32 | |
120 call hchar(row,col,cat) | |
130 for a=2 to 16 | |
131 fg=int(14*rnd)+2 | |
132 bg=int(14*rnd)+2 | |
133 call color(a,fg,bg) | |
134 next a | |
140 goto 110 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment