home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Light
/
Light_Vol.1_August_1992_Datasphere_Publications_Disk_1_of_2_Side_A.d64
/
textfx.demo
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
3KB
|
78 lines
1 a=53280:pokea,0:pokea+1,0:print"[144][147]":printchr$(8)
2 poke49407,2:rem set speed for flash routine(1 is fastest 255 is slowwwwwest!)
9 rem poke colours into $9000 hex, 36864 decimal, onwards
10 fora=36864to36864+63:readb:pokea,b:next
11 data0,6,14,3,1,3,14,6:rem blues
12 data0,9,8,7,1,7,8,9:rem browns
13 data0,2,10,15,1,15,10,2:rem reds
14 data0,11,12,15,1,15,12,11:rem greys
15 data0,5,3,13,1,13,3,5:rem greens
16 data0,4,10,15,1,15,10,4:rem purples
17 data0,6,10,7,1,7,10,6:rem mixed1
18 data0,2,7,15,1,15,7,2:rem mixed2
19 rem high + low colour address select ($9000+)
20 fora=49600to49624:pokea,144:next:rem high col add ($90,144)
21 fora=49568to49592:readb:pokea,b:next:rem low col add ( from $00,0 to $3f,63)
22 data00:rem blues
23 data56:rem mixed2
24 data00:rem blues
25 data00:rem blues
26 data32:rem greens
27 data40:rem purples
28 data00:rem blues
29 data48:rem mixed1
30 data00:rem blues
31 data16:rem reds
32 data16:rem reds
33 data00:rem blues
34 data08:rem browns
35 data08:rem browns
36 data08:rem browns
37 data16:rem reds
38 data16:rem reds
39 data00:rem blues
40 data24:rem greys
41 data24:rem greys
42 data24:rem greys
43 data24:rem greys
44 data24:rem greys
45 data24:rem greys
46 data24:rem greys
49 rem init for left and right of rows + formation of colours
50 fora=49504to49528:pokea,0:next:rem set colours to start at left most side
51 fora=49536to49560:pokea,40:next:rem set colours to start at right most side
52 fora=49280to49304:pokea,0:next:rem set colours to start at same time
59 rem set colour amount for each row
60 fora=49632to49656:pokea,8:next:rem set amount of colours go through as 8
69 rem define commoodore disk user + jonathan wells, words to flash.
70 poke49508,13:poke49540,32:rem c.d.u bit
71 poke49511,20:rem jw bit
79 rem define two way scroll bit on **** _lenlenstars
80 poke49513,40:poke49514,20:poke49545,60:rem top stars bit
81 poke49519,40:poke49520,20:poke49551,60:rem bottom stars bit
99 rem print up screen
100 print"----------------------------------------";
101 print" the t.e.x.t f.x demo"
102 print"----------------------------------------";
103 print"[152] copyright [144]light disk magazine [155]1992[144]"
104 print" [195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195]"
105 print" programmed by [144]jonathan wells"
106 print"****************************************";
107 print"if you want to have a little look at the";
108 print"program then just press run/stop and,"
109 print"restore. then list it up!!!!!!!!!!!!!!!!";
110 print"****************************************";
111 print" [146] [146] [169] [223][146] [146] [146] "
112 print" [146] [146] [146] [146] [146] "
113 print" [146] [146] [146] [146] [146] "
114 print" [146] [146] [146] [146] [146] "
115 print" [146] [146] [146] [146] [146] [146] "
116 print" [146] [146] [146] [146] [146] [146] "
117 print" [146] [146] [223] [146][169] [146] [146] [146][150]"
198 rem turn on rows (1 for right scroll, 2 for left scroll and 3 for pulsate)
199 rem 0 to turn off row
200 fora=49408to49432:readb:pokea,b:next:rem flash selecter
201 data1,3,2,0,2,1,0,3,0,2,1,0,1,2,1,2,1,0,1,2,1,2,1,2,1
210 sys49152:rem start flash routine
250 goto250