Home » Personal collection » Acorn ADFS disks » Electron » Utilities_1.ADF » GRAPHICS/UPSCROLL

GRAPHICS/UPSCROLL

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Electron » Utilities_1.ADF
Filename: GRAPHICS/UPSCROLL
Read OK:
File size: 0148 bytes
Load address: FFFF0E00
Exec address: FFFF8023
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10MODE 4:VDU23,1,0,0,0,0,0,0,0,0:PRINT TAB(0,5)"SCROLLING MESSAGE";TAB(0,9);:*fx16
   20INPUT "ENTER TEXT:"t$
   30PROCscroll(t$)
   40END
   60DEF PROCscroll(t$)
   70VDU 23,255,255,255,255,255,255,255,255,255:A%=10:X%=&70:Y%=0:REPEAT ?&70=ASC(t$):CALL &FFF1
   80FOR J%=0 TO 7:a$="":FOR K%=7 TO 0 STEP-1:IF 2^K% AND J%?&71 a$=a$+CHR$255 ELSE a$=a$+" "
   90NEXT:PRINT TAB(0,31);a$:NEXT:t$=MID$(t$,2):UNTIL t$=""
  100ENDPROC

E� 4:�23,1,0,0,0,0,0,0,0,0:� �0,5)"SCROLLING MESSAGE";�0,9);:*fx16
� "ENTER TEXT:"t$
�scroll(t$)
(�
<� �scroll(t$)
FS� 23,255,255,255,255,255,255,255,255,255:A%=10:X%=&70:Y%=0:� ?&70=�(t$):� &FFF1
PJ� J%=0 � 7:a$="":� K%=7 � 0 �-1:� 2^K% � J%?&71 a$=a$+�255 � a$=a$+" "
Z%�:� �0,31);a$:�:t$=�t$,2):� t$=""
d�
�
00000000  0d 00 0a 45 eb 20 34 3a  ef 32 33 2c 31 2c 30 2c  |...E. 4:.23,1,0,|
00000010  30 2c 30 2c 30 2c 30 2c  30 2c 30 2c 30 3a f1 20  |0,0,0,0,0,0,0:. |
00000020  8a 30 2c 35 29 22 53 43  52 4f 4c 4c 49 4e 47 20  |.0,5)"SCROLLING |
00000030  4d 45 53 53 41 47 45 22  3b 8a 30 2c 39 29 3b 3a  |MESSAGE";.0,9);:|
00000040  2a 66 78 31 36 0d 00 14  15 e8 20 22 45 4e 54 45  |*fx16..... "ENTE|
00000050  52 20 54 45 58 54 3a 22  74 24 0d 00 1e 0f f2 73  |R TEXT:"t$.....s|
00000060  63 72 6f 6c 6c 28 74 24  29 0d 00 28 05 e0 0d 00  |croll(t$)..(....|
00000070  3c 11 dd 20 f2 73 63 72  6f 6c 6c 28 74 24 29 0d  |<.. .scroll(t$).|
00000080  00 46 53 ef 20 32 33 2c  32 35 35 2c 32 35 35 2c  |.FS. 23,255,255,|
00000090  32 35 35 2c 32 35 35 2c  32 35 35 2c 32 35 35 2c  |255,255,255,255,|
000000a0  32 35 35 2c 32 35 35 2c  32 35 35 3a 41 25 3d 31  |255,255,255:A%=1|
000000b0  30 3a 58 25 3d 26 37 30  3a 59 25 3d 30 3a f5 20  |0:X%=&70:Y%=0:. |
000000c0  3f 26 37 30 3d 97 28 74  24 29 3a d6 20 26 46 46  |?&70=.(t$):. &FF|
000000d0  46 31 0d 00 50 4a e3 20  4a 25 3d 30 20 b8 20 37  |F1..PJ. J%=0 . 7|
000000e0  3a 61 24 3d 22 22 3a e3  20 4b 25 3d 37 20 b8 20  |:a$="":. K%=7 . |
000000f0  30 20 88 2d 31 3a e7 20  32 5e 4b 25 20 80 20 4a  |0 .-1:. 2^K% . J|
00000100  25 3f 26 37 31 20 61 24  3d 61 24 2b bd 32 35 35  |%?&71 a$=a$+.255|
00000110  20 8b 20 61 24 3d 61 24  2b 22 20 22 0d 00 5a 25  | . a$=a$+" "..Z%|
00000120  ed 3a f1 20 8a 30 2c 33  31 29 3b 61 24 3a ed 3a  |.:. .0,31);a$:.:|
00000130  74 24 3d c1 74 24 2c 32  29 3a fd 20 74 24 3d 22  |t$=.t$,2):. t$="|
00000140  22 0d 00 64 05 e1 0d ff                           |"..d....|
00000148
GRAPHICS/UPSCROLL.m0
GRAPHICS/UPSCROLL.m1
GRAPHICS/UPSCROLL.m2
GRAPHICS/UPSCROLL.m4
GRAPHICS/UPSCROLL.m5