Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_18.ADF » SCREEN

SCREEN

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_User_Group » EUG_18.ADF
Filename: SCREEN
Read OK:
File size: 0465 bytes
Load address: FFFF1D00
Exec address: FFFF8023
File contents
   10REM OPENING SCREEN FOR EUG18
   20*FX9,12
   30*FX10,12
   40ENVELOPE1,0,0,0,0,0,0,0,0,-1,-1,-1,126,0
   50MODE2
   60VDU 23,224,&5410;&BC7E;&7CFF;&104E;  
   70VDU23;8202;0;0;0;
   80m$="E"
   90n$="U"
   92o$="G"
   94p$="1"
   96q$="8"
   97COLOUR 6:PRINTTAB(5,25)"PRESS SPACE"
  100PROCbig(1,5,2,m$)
  101PROCbig(7,5,3,n$)
  102PROCbig(14,5,4,o$) 
  103PROCbig(5,13,5,p$)
  104PROCbig(11,13,6,q$) 
  130GCOL0,132
  140VDU24,0;0;50;1023;16
  150VDU24,0;0;1270;50;16
  160VDU24,1230;0;1279;1023;16
  170VDU24,0;974;1279;1023;16
  180VDU20,26
  190X%=100
  200Y%=900
  210X=8
  220Y=1
  240REPEATY=Y*.999-.1
  250X=X*.999
  260P%=POINT(X%+X,Y%)
  270IFP%<>7ANDP%<>0X=-X:PROCZ ELSEP%=POINT(X%,Y%+Y)
  280IFP%<>7ANDP%<>0Y=-Y:PROCZ
  290PLOT71,X%,Y%:X%=X%+X
  300Y%=Y%+Y
  310PLOT69,X%,Y%
  320UNTIL INKEY(-99)
  330*LOAD CODE2
  335CHAIN"MENU"  
  340DEFPROCbig(x,y,c,m$)
  350COLOUR128+c
  360FOR i=1 TO LEN m$ 
  370?&70=ASC(MID$(m$,i))
  380A%=10:X%=&70:Y%=0 
  390CALL &FFF1
  400FOR j=0 TO 6
  410PRINTTAB(x+i*6-6,y+j);
  420FOR k=5 TO 0 STEP -1
  430IF j?&71 AND 2^k VDU32 ELSE VDU 9
  440NEXT
  450NEXT
  460NEXT
  470ENDPROC
  480DEF PROCZ
  490VDU 19,P%,RND(6);0;
  500X=X*1.03
  510Y=Y*(1.03-.1*(Y>0 AND Y%<500))
  520MOVE X%-32+RND MOD 9,Y%+12+RND MOD 5
  530GCOL 0,0
  540VDU 5,224,4
  550GCOL 0,7
  560SOUND 16,1,3+RND(3),1
  570IF X%<50X=8 ELSE IF X%>1230 X=-8
  580IF Y%<50 Y=8 ELSE IF Y%>974 Y=-8
  590IF ABS X>16 X=16*SGN(X)
  600IF ABS Y>16 Y=16*SGN(Y)
  610ENDPROC

� OPENING SCREEN FOR EUG18
*FX9,12
*FX10,12
(%�1,0,0,0,0,0,0,0,0,-1,-1,-1,126,0
2�2
<'� 23,224,&5410;&BC7E;&7CFF;&104E;  
F�23;8202;0;0;0;
P
m$="E"
Z
n$="U"
\
o$="G"
^
p$="1"
`
q$="8"
a� 6:�5,25)"PRESS SPACE"
d�big(1,5,2,m$)
e�big(7,5,3,n$)
f�big(14,5,4,o$) 
g�big(5,13,5,p$)
h�big(11,13,6,q$) 
�
�0,132
��24,0;0;50;1023;16
��24,0;0;1270;50;16
��24,1230;0;1279;1023;16
��24,0;974;1279;1023;16
�
�20,26
�
X%=100
�
Y%=900
�X=8
�Y=1
��Y=Y*.999-.1
�X=X*.999
P%=�X%+X,Y%)
%�P%<>7�P%<>0X=-X:�Z �P%=�X%,Y%+Y)
�P%<>7�P%<>0Y=-Y:�Z
"�71,X%,Y%:X%=X%+X
,Y%=Y%+Y
6
�69,X%,Y%
@� �(-99)
J*LOAD CODE2
O
�"MENU"  
T��big(x,y,c,m$)
^
�128+c
h� i=1 � � m$ 
r?&70=�(�m$,i))
|A%=10:X%=&70:Y%=0 
�� &FFF1
�
� j=0 � 6
��x+i*6-6,y+j);
�� k=5 � 0 � -1
�� j?&71 � 2^k �32 � � 9
��
��
��
��
�� �Z
�� 19,P%,�(6);0;
�X=X*1.03
� Y=Y*(1.03-.1*(Y>0 � Y%<500))
� X%-32+� � 9,Y%+12+� � 5
	� 0,0

� 5,224,4
&	� 0,7
0� 16,1,3+�(3),1
:� X%<50X=8 � � X%>1230 X=-8
D� Y%<50 Y=8 � � Y%>974 Y=-8
N� � X>16 X=16*�(X)
X� � Y>16 Y=16*�(Y)
b�
�
00000000  0d 00 0a 1e f4 20 4f 50  45 4e 49 4e 47 20 53 43  |..... OPENING SC|
00000010  52 45 45 4e 20 46 4f 52  20 45 55 47 31 38 0d 00  |REEN FOR EUG18..|
00000020  14 0b 2a 46 58 39 2c 31  32 0d 00 1e 0c 2a 46 58  |..*FX9,12....*FX|
00000030  31 30 2c 31 32 0d 00 28  25 e2 31 2c 30 2c 30 2c  |10,12..(%.1,0,0,|
00000040  30 2c 30 2c 30 2c 30 2c  30 2c 30 2c 2d 31 2c 2d  |0,0,0,0,0,0,-1,-|
00000050  31 2c 2d 31 2c 31 32 36  2c 30 0d 00 32 06 eb 32  |1,-1,126,0..2..2|
00000060  0d 00 3c 27 ef 20 32 33  2c 32 32 34 2c 26 35 34  |..<'. 23,224,&54|
00000070  31 30 3b 26 42 43 37 45  3b 26 37 43 46 46 3b 26  |10;&BC7E;&7CFF;&|
00000080  31 30 34 45 3b 20 20 0d  00 46 13 ef 32 33 3b 38  |104E;  ..F..23;8|
00000090  32 30 32 3b 30 3b 30 3b  30 3b 0d 00 50 0a 6d 24  |202;0;0;0;..P.m$|
000000a0  3d 22 45 22 0d 00 5a 0a  6e 24 3d 22 55 22 0d 00  |="E"..Z.n$="U"..|
000000b0  5c 0a 6f 24 3d 22 47 22  0d 00 5e 0a 70 24 3d 22  |\.o$="G"..^.p$="|
000000c0  31 22 0d 00 60 0a 71 24  3d 22 38 22 0d 00 61 1c  |1"..`.q$="8"..a.|
000000d0  fb 20 36 3a f1 8a 35 2c  32 35 29 22 50 52 45 53  |. 6:..5,25)"PRES|
000000e0  53 20 53 50 41 43 45 22  0d 00 64 12 f2 62 69 67  |S SPACE"..d..big|
000000f0  28 31 2c 35 2c 32 2c 6d  24 29 0d 00 65 12 f2 62  |(1,5,2,m$)..e..b|
00000100  69 67 28 37 2c 35 2c 33  2c 6e 24 29 0d 00 66 14  |ig(7,5,3,n$)..f.|
00000110  f2 62 69 67 28 31 34 2c  35 2c 34 2c 6f 24 29 20  |.big(14,5,4,o$) |
00000120  0d 00 67 13 f2 62 69 67  28 35 2c 31 33 2c 35 2c  |..g..big(5,13,5,|
00000130  70 24 29 0d 00 68 15 f2  62 69 67 28 31 31 2c 31  |p$)..h..big(11,1|
00000140  33 2c 36 2c 71 24 29 20  0d 00 82 0a e6 30 2c 31  |3,6,q$) .....0,1|
00000150  33 32 0d 00 8c 16 ef 32  34 2c 30 3b 30 3b 35 30  |32.....24,0;0;50|
00000160  3b 31 30 32 33 3b 31 36  0d 00 96 16 ef 32 34 2c  |;1023;16.....24,|
00000170  30 3b 30 3b 31 32 37 30  3b 35 30 3b 31 36 0d 00  |0;0;1270;50;16..|
00000180  a0 1b ef 32 34 2c 31 32  33 30 3b 30 3b 31 32 37  |...24,1230;0;127|
00000190  39 3b 31 30 32 33 3b 31  36 0d 00 aa 1a ef 32 34  |9;1023;16.....24|
000001a0  2c 30 3b 39 37 34 3b 31  32 37 39 3b 31 30 32 33  |,0;974;1279;1023|
000001b0  3b 31 36 0d 00 b4 0a ef  32 30 2c 32 36 0d 00 be  |;16.....20,26...|
000001c0  0a 58 25 3d 31 30 30 0d  00 c8 0a 59 25 3d 39 30  |.X%=100....Y%=90|
000001d0  30 0d 00 d2 07 58 3d 38  0d 00 dc 07 59 3d 31 0d  |0....X=8....Y=1.|
000001e0  00 f0 10 f5 59 3d 59 2a  2e 39 39 39 2d 2e 31 0d  |....Y=Y*.999-.1.|
000001f0  00 fa 0c 58 3d 58 2a 2e  39 39 39 0d 01 04 10 50  |...X=X*.999....P|
00000200  25 3d b0 58 25 2b 58 2c  59 25 29 0d 01 0e 25 e7  |%=.X%+X,Y%)...%.|
00000210  50 25 3c 3e 37 80 50 25  3c 3e 30 58 3d 2d 58 3a  |P%<>7.P%<>0X=-X:|
00000220  f2 5a 20 8b 50 25 3d b0  58 25 2c 59 25 2b 59 29  |.Z .P%=.X%,Y%+Y)|
00000230  0d 01 18 17 e7 50 25 3c  3e 37 80 50 25 3c 3e 30  |.....P%<>7.P%<>0|
00000240  59 3d 2d 59 3a f2 5a 0d  01 22 15 f0 37 31 2c 58  |Y=-Y:.Z.."..71,X|
00000250  25 2c 59 25 3a 58 25 3d  58 25 2b 58 0d 01 2c 0b  |%,Y%:X%=X%+X..,.|
00000260  59 25 3d 59 25 2b 59 0d  01 36 0d f0 36 39 2c 58  |Y%=Y%+Y..6..69,X|
00000270  25 2c 59 25 0d 01 40 0c  fd 20 a6 28 2d 39 39 29  |%,Y%..@.. .(-99)|
00000280  0d 01 4a 0f 2a 4c 4f 41  44 20 43 4f 44 45 32 0d  |..J.*LOAD CODE2.|
00000290  01 4f 0d d7 22 4d 45 4e  55 22 20 20 0d 01 54 13  |.O.."MENU"  ..T.|
000002a0  dd f2 62 69 67 28 78 2c  79 2c 63 2c 6d 24 29 0d  |..big(x,y,c,m$).|
000002b0  01 5e 0a fb 31 32 38 2b  63 0d 01 68 11 e3 20 69  |.^..128+c..h.. i|
000002c0  3d 31 20 b8 20 a9 20 6d  24 20 0d 01 72 12 3f 26  |=1 . . m$ ..r.?&|
000002d0  37 30 3d 97 28 c1 6d 24  2c 69 29 29 0d 01 7c 16  |70=.(.m$,i))..|.|
000002e0  41 25 3d 31 30 3a 58 25  3d 26 37 30 3a 59 25 3d  |A%=10:X%=&70:Y%=|
000002f0  30 20 0d 01 86 0b d6 20  26 46 46 46 31 0d 01 90  |0 ..... &FFF1...|
00000300  0d e3 20 6a 3d 30 20 b8  20 36 0d 01 9a 13 f1 8a  |.. j=0 . 6......|
00000310  78 2b 69 2a 36 2d 36 2c  79 2b 6a 29 3b 0d 01 a4  |x+i*6-6,y+j);...|
00000320  12 e3 20 6b 3d 35 20 b8  20 30 20 88 20 2d 31 0d  |.. k=5 . 0 . -1.|
00000330  01 ae 1b e7 20 6a 3f 26  37 31 20 80 20 32 5e 6b  |.... j?&71 . 2^k|
00000340  20 ef 33 32 20 8b 20 ef  20 39 0d 01 b8 05 ed 0d  | .32 . . 9......|
00000350  01 c2 05 ed 0d 01 cc 05  ed 0d 01 d6 05 e1 0d 01  |................|
00000360  e0 08 dd 20 f2 5a 0d 01  ea 13 ef 20 31 39 2c 50  |... .Z..... 19,P|
00000370  25 2c b3 28 36 29 3b 30  3b 0d 01 f4 0c 58 3d 58  |%,.(6);0;....X=X|
00000380  2a 31 2e 30 33 0d 01 fe  20 59 3d 59 2a 28 31 2e  |*1.03... Y=Y*(1.|
00000390  30 33 2d 2e 31 2a 28 59  3e 30 20 80 20 59 25 3c  |03-.1*(Y>0 . Y%<|
000003a0  35 30 30 29 29 0d 02 08  1d ec 20 58 25 2d 33 32  |500))..... X%-32|
000003b0  2b b3 20 83 20 39 2c 59  25 2b 31 32 2b b3 20 83  |+. . 9,Y%+12+. .|
000003c0  20 35 0d 02 12 09 e6 20  30 2c 30 0d 02 1c 0d ef  | 5..... 0,0.....|
000003d0  20 35 2c 32 32 34 2c 34  0d 02 26 09 e6 20 30 2c  | 5,224,4..&.. 0,|
000003e0  37 0d 02 30 13 d4 20 31  36 2c 31 2c 33 2b b3 28  |7..0.. 16,1,3+.(|
000003f0  33 29 2c 31 0d 02 3a 1f  e7 20 58 25 3c 35 30 58  |3),1..:.. X%<50X|
00000400  3d 38 20 8b 20 e7 20 58  25 3e 31 32 33 30 20 58  |=8 . . X%>1230 X|
00000410  3d 2d 38 0d 02 44 1f e7  20 59 25 3c 35 30 20 59  |=-8..D.. Y%<50 Y|
00000420  3d 38 20 8b 20 e7 20 59  25 3e 39 37 34 20 59 3d  |=8 . . Y%>974 Y=|
00000430  2d 38 0d 02 4e 16 e7 20  94 20 58 3e 31 36 20 58  |-8..N.. . X>16 X|
00000440  3d 31 36 2a b4 28 58 29  0d 02 58 16 e7 20 94 20  |=16*.(X)..X.. . |
00000450  59 3e 31 36 20 59 3d 31  36 2a b4 28 59 29 0d 02  |Y>16 Y=16*.(Y)..|
00000460  62 05 e1 0d ff                                    |b....|
00000465
SCREEN.m0
SCREEN.m1
SCREEN.m2
SCREEN.m4
SCREEN.m5