Home » Personal collection » Acorn hard disk » misc » misc3 » dcfprog3/Graphics/EUGTitle2

dcfprog3/Graphics/EUGTitle2

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 hard disk » misc » misc3
Filename: dcfprog3/Graphics/EUGTitle2
Read OK:
File size: 04C0 bytes
Load address: 0000
Exec address: 0000
File contents
   10 REM EUG Title Screen
   20 :
   30 I%=20:REM Issue number
   35 MODE 1:HIMEM=&2C00
   40 PROCass
   60 PROCdisp
   70 CALL&2C00
   80 END
  190 :
  200 DEFPROCass
  205 osbyte=&FFF4:oswrch=&FFEE
  210 FORX=0TO2STEP2
  220 P%=&2C00
  230 [OPTX:LDY#&06:STY&72:LDY#&00:STY&73:STY&70:.lc JSRcolinit:.lb LDX#&30:STX&71:.l LDA(&70),Y:EOR#&0F:STA(&70),Y:TYA:CLC:ADC#&08:TAY:CPY#&08:BCSl
  240 INC&71:LDX&71:CPX#&80:BNEl:INY:CPY#&08:BNElb:BEQlc:.colinit LDA#&81:LDX#&00:LDY#&00:JSR osbyte:CPX#&20:BNEcin:PLA:PLA:RTS:.cin LDX&72:INX:CPX#&07:BNEcinb
  242 LDX#&03:.cinb STX&72:LDA&73:EOR#&01:STA&73:LDA#&13:JSRoswrch:LDY&73:INY:INY:TYA:JSRoswrch:TXA:JSRoswrch:JSRnull:LDA#&13:JSRoswrch:LDA&73
  244 JSRoswrch:DEX:DEX:TXA:JSRoswrch:JSRnull:LDY#&00:RTS:.null LDA#&00:JSRoswrch:JSRoswrch:JSRoswrch:JMPoswrch:]
  250 NEXT
  260 ENDPROC
  270 :
  280 DEFPROCdisp
  290 VDU 19,0,0,0,0,0,0
  300 VDU 19,1,7,0,0,0,0
  310 VDU 19,2,7,0,0,0,0
  320 VDU 19,3,7,0,0,0,0
  330 VDU 23,1,0;0;0;0;
  340 VDU 23,255,255,255,255,255,255,255,255,255
  350 COLOUR2
  360 PRINTTAB(16,25);"Issue ";I%;TAB(8,30);"Press SPACE to continue"
  370 FOR Y=5 TO 13 STEP 2
  380 READ X
  390 IF X=-1 THEN NEXT:ENDPROC
  400 PRINTTAB(X*2,Y);CHR$(255);TAB(X*2,Y+1);CHR$(255);TAB(X*2+1,Y);CHR$(255);TAB(X*2+1,Y+1);CHR$(255);
  410 GOTO 380
  500 DATA 0,1,2,4,6,8,9,10,-1
  510 DATA 0,4,6,8,-1
  520 DATA 0,1,4,6,8,-1
  530 DATA 0,4,6,8,10,-1
  540 DATA 0,1,2,4,5,6,8,9,10,-1

 � EUG Title Screen
 :
 I%=20:� Issue number
# � 1:�=&2C00
(	 �ass
<
 �disp
F �&2C00
P �
� :
�
 ��ass
� osbyte=&FFF4:oswrch=&FFEE
�
 �X=0�2�2
�
 P%=&2C00
� [OPTX:LDY#&06:STY&72:LDY#&00:STY&73:STY&70:.lc JSRcolinit:.lb LDX#&30:STX&71:.l LDA(&70),Y:�#&0F:STA(&70),Y:TYA:CLC:ADC#&08:TAY:CPY#&08:BCSl
� INC&71:LDX&71:CPX#&80:BNEl:INY:CPY#&08:BNElb:BEQlc:.colinit LDA#&81:LDX#&00:LDY#&00:JSR osbyte:CPX#&20:BNEcin:PLA:PLA:RTS:.cin LDX&72:INX:CPX#&07:BNEcinb
� LDX#&03:.cinb STX&72:LDA&73:�#&01:STA&73:LDA#&13:JSRoswrch:LDY&73:INY:INY:TYA:JSRoswrch:TXA:JSRoswrch:JSRnull:LDA#&13:JSRoswrch:LDA&73
�p JSRoswrch:DEX:DEX:TXA:JSRoswrch:JSRnull:LDY#&00:RTS:.null LDA#&00:JSRoswrch:JSRoswrch:JSRoswrch:JMPoswrch:]
� �
 �
 :
 ��disp
" � 19,0,0,0,0,0,0
, � 19,1,7,0,0,0,0
6 � 19,2,7,0,0,0,0
@ � 19,3,7,0,0,0,0
J � 23,1,0;0;0;0;
T- � 23,255,255,255,255,255,255,255,255,255
^ �2
h: �16,25);"Issue ";I%;�8,30);"Press SPACE to continue"
r � Y=5 � 13 � 2
| � X
� � X=-1 � �:�
�J �X*2,Y);�(255);�X*2,Y+1);�(255);�X*2+1,Y);�(255);�X*2+1,Y+1);�(255);
� � �D|A
� � 0,1,2,4,6,8,9,10,-1
� � 0,4,6,8,-1
 � 0,1,4,6,8,-1
 � 0,4,6,8,10,-1
 � 0,1,2,4,5,6,8,9,10,-1
�
00000000  0d 00 0a 17 20 f4 20 45  55 47 20 54 69 74 6c 65  |.... . EUG Title|
00000010  20 53 63 72 65 65 6e 0d  00 14 06 20 3a 0d 00 1e  | Screen.... :...|
00000020  19 20 49 25 3d 32 30 3a  f4 20 49 73 73 75 65 20  |. I%=20:. Issue |
00000030  6e 75 6d 62 65 72 0d 00  23 10 20 eb 20 31 3a d3  |number..#. . 1:.|
00000040  3d 26 32 43 30 30 0d 00  28 09 20 f2 61 73 73 0d  |=&2C00..(. .ass.|
00000050  00 3c 0a 20 f2 64 69 73  70 0d 00 46 0b 20 d6 26  |.<. .disp..F. .&|
00000060  32 43 30 30 0d 00 50 06  20 e0 0d 00 be 06 20 3a  |2C00..P. ..... :|
00000070  0d 00 c8 0a 20 dd f2 61  73 73 0d 00 cd 1e 20 6f  |.... ..ass.... o|
00000080  73 62 79 74 65 3d 26 46  46 46 34 3a 6f 73 77 72  |sbyte=&FFF4:oswr|
00000090  63 68 3d 26 46 46 45 45  0d 00 d2 0d 20 e3 58 3d  |ch=&FFEE.... .X=|
000000a0  30 b8 32 88 32 0d 00 dc  0d 20 50 25 3d 26 32 43  |0.2.2.... P%=&2C|
000000b0  30 30 0d 00 e6 91 20 5b  4f 50 54 58 3a 4c 44 59  |00.... [OPTX:LDY|
000000c0  23 26 30 36 3a 53 54 59  26 37 32 3a 4c 44 59 23  |#&06:STY&72:LDY#|
000000d0  26 30 30 3a 53 54 59 26  37 33 3a 53 54 59 26 37  |&00:STY&73:STY&7|
000000e0  30 3a 2e 6c 63 20 4a 53  52 63 6f 6c 69 6e 69 74  |0:.lc JSRcolinit|
000000f0  3a 2e 6c 62 20 4c 44 58  23 26 33 30 3a 53 54 58  |:.lb LDX#&30:STX|
00000100  26 37 31 3a 2e 6c 20 4c  44 41 28 26 37 30 29 2c  |&71:.l LDA(&70),|
00000110  59 3a 82 23 26 30 46 3a  53 54 41 28 26 37 30 29  |Y:.#&0F:STA(&70)|
00000120  2c 59 3a 54 59 41 3a 43  4c 43 3a 41 44 43 23 26  |,Y:TYA:CLC:ADC#&|
00000130  30 38 3a 54 41 59 3a 43  50 59 23 26 30 38 3a 42  |08:TAY:CPY#&08:B|
00000140  43 53 6c 0d 00 f0 9e 20  49 4e 43 26 37 31 3a 4c  |CSl.... INC&71:L|
00000150  44 58 26 37 31 3a 43 50  58 23 26 38 30 3a 42 4e  |DX&71:CPX#&80:BN|
00000160  45 6c 3a 49 4e 59 3a 43  50 59 23 26 30 38 3a 42  |El:INY:CPY#&08:B|
00000170  4e 45 6c 62 3a 42 45 51  6c 63 3a 2e 63 6f 6c 69  |NElb:BEQlc:.coli|
00000180  6e 69 74 20 4c 44 41 23  26 38 31 3a 4c 44 58 23  |nit LDA#&81:LDX#|
00000190  26 30 30 3a 4c 44 59 23  26 30 30 3a 4a 53 52 20  |&00:LDY#&00:JSR |
000001a0  6f 73 62 79 74 65 3a 43  50 58 23 26 32 30 3a 42  |osbyte:CPX#&20:B|
000001b0  4e 45 63 69 6e 3a 50 4c  41 3a 50 4c 41 3a 52 54  |NEcin:PLA:PLA:RT|
000001c0  53 3a 2e 63 69 6e 20 4c  44 58 26 37 32 3a 49 4e  |S:.cin LDX&72:IN|
000001d0  58 3a 43 50 58 23 26 30  37 3a 42 4e 45 63 69 6e  |X:CPX#&07:BNEcin|
000001e0  62 0d 00 f2 8b 20 4c 44  58 23 26 30 33 3a 2e 63  |b.... LDX#&03:.c|
000001f0  69 6e 62 20 53 54 58 26  37 32 3a 4c 44 41 26 37  |inb STX&72:LDA&7|
00000200  33 3a 82 23 26 30 31 3a  53 54 41 26 37 33 3a 4c  |3:.#&01:STA&73:L|
00000210  44 41 23 26 31 33 3a 4a  53 52 6f 73 77 72 63 68  |DA#&13:JSRoswrch|
00000220  3a 4c 44 59 26 37 33 3a  49 4e 59 3a 49 4e 59 3a  |:LDY&73:INY:INY:|
00000230  54 59 41 3a 4a 53 52 6f  73 77 72 63 68 3a 54 58  |TYA:JSRoswrch:TX|
00000240  41 3a 4a 53 52 6f 73 77  72 63 68 3a 4a 53 52 6e  |A:JSRoswrch:JSRn|
00000250  75 6c 6c 3a 4c 44 41 23  26 31 33 3a 4a 53 52 6f  |ull:LDA#&13:JSRo|
00000260  73 77 72 63 68 3a 4c 44  41 26 37 33 0d 00 f4 70  |swrch:LDA&73...p|
00000270  20 4a 53 52 6f 73 77 72  63 68 3a 44 45 58 3a 44  | JSRoswrch:DEX:D|
00000280  45 58 3a 54 58 41 3a 4a  53 52 6f 73 77 72 63 68  |EX:TXA:JSRoswrch|
00000290  3a 4a 53 52 6e 75 6c 6c  3a 4c 44 59 23 26 30 30  |:JSRnull:LDY#&00|
000002a0  3a 52 54 53 3a 2e 6e 75  6c 6c 20 4c 44 41 23 26  |:RTS:.null LDA#&|
000002b0  30 30 3a 4a 53 52 6f 73  77 72 63 68 3a 4a 53 52  |00:JSRoswrch:JSR|
000002c0  6f 73 77 72 63 68 3a 4a  53 52 6f 73 77 72 63 68  |oswrch:JSRoswrch|
000002d0  3a 4a 4d 50 6f 73 77 72  63 68 3a 5d 0d 00 fa 06  |:JMPoswrch:]....|
000002e0  20 ed 0d 01 04 06 20 e1  0d 01 0e 06 20 3a 0d 01  | ..... ..... :..|
000002f0  18 0b 20 dd f2 64 69 73  70 0d 01 22 15 20 ef 20  |.. ..disp..". . |
00000300  31 39 2c 30 2c 30 2c 30  2c 30 2c 30 2c 30 0d 01  |19,0,0,0,0,0,0..|
00000310  2c 15 20 ef 20 31 39 2c  31 2c 37 2c 30 2c 30 2c  |,. . 19,1,7,0,0,|
00000320  30 2c 30 0d 01 36 15 20  ef 20 31 39 2c 32 2c 37  |0,0..6. . 19,2,7|
00000330  2c 30 2c 30 2c 30 2c 30  0d 01 40 15 20 ef 20 31  |,0,0,0,0..@. . 1|
00000340  39 2c 33 2c 37 2c 30 2c  30 2c 30 2c 30 0d 01 4a  |9,3,7,0,0,0,0..J|
00000350  14 20 ef 20 32 33 2c 31  2c 30 3b 30 3b 30 3b 30  |. . 23,1,0;0;0;0|
00000360  3b 0d 01 54 2d 20 ef 20  32 33 2c 32 35 35 2c 32  |;..T- . 23,255,2|
00000370  35 35 2c 32 35 35 2c 32  35 35 2c 32 35 35 2c 32  |55,255,255,255,2|
00000380  35 35 2c 32 35 35 2c 32  35 35 2c 32 35 35 0d 01  |55,255,255,255..|
00000390  5e 07 20 fb 32 0d 01 68  3a 20 f1 8a 31 36 2c 32  |^. .2..h: ..16,2|
000003a0  35 29 3b 22 49 73 73 75  65 20 22 3b 49 25 3b 8a  |5);"Issue ";I%;.|
000003b0  38 2c 33 30 29 3b 22 50  72 65 73 73 20 53 50 41  |8,30);"Press SPA|
000003c0  43 45 20 74 6f 20 63 6f  6e 74 69 6e 75 65 22 0d  |CE to continue".|
000003d0  01 72 13 20 e3 20 59 3d  35 20 b8 20 31 33 20 88  |.r. . Y=5 . 13 .|
000003e0  20 32 0d 01 7c 08 20 f3  20 58 0d 01 86 11 20 e7  | 2..|. . X.... .|
000003f0  20 58 3d 2d 31 20 8c 20  ed 3a e1 0d 01 90 4a 20  | X=-1 . .:....J |
00000400  f1 8a 58 2a 32 2c 59 29  3b bd 28 32 35 35 29 3b  |..X*2,Y);.(255);|
00000410  8a 58 2a 32 2c 59 2b 31  29 3b bd 28 32 35 35 29  |.X*2,Y+1);.(255)|
00000420  3b 8a 58 2a 32 2b 31 2c  59 29 3b bd 28 32 35 35  |;.X*2+1,Y);.(255|
00000430  29 3b 8a 58 2a 32 2b 31  2c 59 2b 31 29 3b bd 28  |);.X*2+1,Y+1);.(|
00000440  32 35 35 29 3b 0d 01 9a  0b 20 e5 20 8d 44 7c 41  |255);.... . .D|A|
00000450  0d 01 f4 1a 20 dc 20 30  2c 31 2c 32 2c 34 2c 36  |.... . 0,1,2,4,6|
00000460  2c 38 2c 39 2c 31 30 2c  2d 31 0d 01 fe 11 20 dc  |,8,9,10,-1.... .|
00000470  20 30 2c 34 2c 36 2c 38  2c 2d 31 0d 02 08 13 20  | 0,4,6,8,-1.... |
00000480  dc 20 30 2c 31 2c 34 2c  36 2c 38 2c 2d 31 0d 02  |. 0,1,4,6,8,-1..|
00000490  12 14 20 dc 20 30 2c 34  2c 36 2c 38 2c 31 30 2c  |.. . 0,4,6,8,10,|
000004a0  2d 31 0d 02 1c 1c 20 dc  20 30 2c 31 2c 32 2c 34  |-1.... . 0,1,2,4|
000004b0  2c 35 2c 36 2c 38 2c 39  2c 31 30 2c 2d 31 0d ff  |,5,6,8,9,10,-1..|
000004c0