{"id":200,"date":"2025-01-01T00:51:51","date_gmt":"2025-01-01T00:51:51","guid":{"rendered":"https:\/\/goldtek.ca\/?p=200"},"modified":"2025-01-01T00:51:52","modified_gmt":"2025-01-01T00:51:52","slug":"update-applematrix","status":"publish","type":"post","link":"https:\/\/goldtek.ca\/?p=200","title":{"rendered":"UPDATE: AppleMatrix"},"content":{"rendered":"\n<p>See an updated listing for AppleMatrix below. Some small changes to appearance while running. NOTE- I have had issues with some emulators that don&#8217;t like the long DATA statements on lines 35 &amp; 36&#8230; You may have to retype them into your emulator listing if this happens.<\/p>\n\n\n\n<p>10 REM MATRIX V1.01<br>20 REM WAYNE GOLDSMITH 2023<br>25 REM 80 COL MODE<br>26 PRINT CHR$(4)&#8221;PR#3&#8243;<br>30 HOME<br>31 DIM CHAR(84)<br>32 FOR I = 1 TO 84<br>33 READ CHAR(I)<br>34 NEXT I<br>35 DATA 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90<br>36 DATA 97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122<br>39 X = 0:Y = 0:L = 0<br>40 REM CALC COLUMN POS<br>50 X = INT (80 * RND (1))<br>60 REM CALC COLUMN LENGTH<br>70 L = INT (22 * RND (1))<br>80 REM DISPLAY COLUMN<br>100 FOR Y = 1 TO L<br>105 FOR R = 1 TO 3<br>115 POKE 1403,X : REM ALLOW HTAB > 40 APPLE ][E<br>120 VTAB Y<br>125 GOSUB 1000<br>126 IF R > 2 THEN GOSUB 4000<br>127 IF R &lt; 3 THEN INVERSE : PRINT CHR$ (CHAR(C)): NORMAL<br>135 NEXT R<br>140 NEXT Y<br>142 COUNT = COUNT + 1<br>143 IF COUNT = 3 THEN GOSUB 3000<br>144 IF COUNT = 2 THEN GOSUB 2000<br>150 GOTO 39<br>1000 REM GENERATE CONTENT<br>1010 C = INT (84 * RND (1))<br>1020 REM FOR T=1 TO 10<br>1030 REM NEXT T<br>1090 RETURN<br>2000 REM RND COLUMN WIPER<br>2005 FOR WI = 1 TO 3<br>2010 X = INT (80 * RND (1))<br>2020 L = INT (23 * RND (1))<br>2030 FOR Y = 1 TO L<br>2040 POKE 1403,X: VTAB Y<br>2045 FOR T = 1 TO 10<br>2046 NEXT T<br>2050 PRINT CHR$ (32)<br>2060 NEXT Y<br>2065 NEXT WI<br>2080 RETURN<br>3000 REM RND FLASH CHARACTER<br>3005 IF L &lt; 1 THEN L = 1<br>3010 INV = INT (22 * RND (1))<br>3015 IF INV = 0 THEN 3010<br>3020 POKE 1403,X: VTAB INV<br>3025 GOSUB 1000<br>3030 FLASH : PRINT CHR$ (CHAR(C))<br>3050 COUNT = 0<br>3060 NORMAL<br>3070 RETURN<br>4000 REM PRINT NORMAL CHARACTER<br>4010 POKE 1403,X<br>4020 VTAB Y<br>4030 PRINT CHR$ (CHAR(C))<br>4040 RETURN<\/p>\n","protected":false},"excerpt":{"rendered":"<p>See an updated listing for AppleMatrix below. Some small changes to appearance while running. NOTE- I have had issues with some emulators that don&#8217;t like the long DATA statements on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,36],"tags":[48,71],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-applesoft","category-coding","tag-applesoft","tag-coding"],"_links":{"self":[{"href":"https:\/\/goldtek.ca\/index.php?rest_route=\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/goldtek.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/goldtek.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/goldtek.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/goldtek.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=200"}],"version-history":[{"count":1,"href":"https:\/\/goldtek.ca\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions"}],"predecessor-version":[{"id":201,"href":"https:\/\/goldtek.ca\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions\/201"}],"wp:attachment":[{"href":"https:\/\/goldtek.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/goldtek.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/goldtek.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}