Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_54.ADF » PRINT

PRINT

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_54.ADF
Filename: PRINT
Read OK:
File size: 04EE bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

There are 22 duplicate copies of this file in the archive:

File contents
   10HIMEM=&2600:lns=&80:sklns=&81:skp=&82:cnt=&83:modflg=&84:?skp=0:f$=$&15C
   20?lns=K%:?sklns=L%:?cnt=?lns
   30*LOAD $.CODE8
   40IFZ% PROCtext
   50m%=3:VDU23;8202;0;0;0;:CLS:PRINT"All text files will be printed."''"Screen or Printer? (S/P)"
   60REPEAT:a%=INSTR("SsPp",GET$):UNTILa%
   70VDU22,3,23;8202;0;0;0;
   80IFa%<3 PROCscreen ELSE PROCprinter
   90MODE6:VDU23;8202;0;0;0;:CHAIN"$.MENU"
  100END
  110:
  120DEFPROCscreen:T%=FALSE:PROCdirs:ENDPROC
  130:
  140DEFPROCprinter:N%=3:T%=TRUE:PRINT''"Do you want perforation skip? (Y/N)":REPEAT:a%=INSTR("YyNn",GET$):UNTILa%
  150IFa%<3 ?skp=-1 ELSE ?skp=0
  160VDU15,2:IFZ% PROCtext ELSEPROCdirs:VDU3:ENDPROC
  170:
  180DEFPROCdirs
  190PROCreaddir
  200OSCLI"DIR $.V":PROCreaddir
  210OSCLI"DIR $.L":PROCreaddir
  220OSCLI"DIR $"
  230ENDPROC
  240:
  250DEFPROCreaddir
  260DIM parblk &0C,fname 10
  270A%=8:X%=parblk MOD&100:Y%=parblk DIV&100:parblk!9=0
  280REPEAT:parblk!1=fname:parblk!5=1:CALL&FFD1
  290IFparblk!5<>1 THEN IFfname?1=ASC"+" PROCldfname
  300UNTIL parblk!5=1:ENDPROC
  310ENDPROC
  320:
  330DEFPROCldfname:fn$=""
  340FORx%=1TO ?fname:f$=CHR$?(fname+x%):fn$=fn$+f$:NEXT:PROCprint:ENDPROC
  350DEFPROCprint:VDU22,6,23;8202;0;0;0;:CALL&900
  360OSCLI"LOAD "+fn$+" 2600"+CHR$13
  370IFT% VDU22,3 ELSE VDU22,N%,23;8202;0;0;0;:IFT% VDU15,2 ELSE VDU14:PRINT'"����������������  ��������  ����������       <SHIFT> TO SCROLL ISSUE #";I%'STRING$(12*(9-N%),CHR$(157))'
  380CALL&903
  390IFNOTT% PRINT'STRING$(12*(9-N%),CHR$(157)):PROCspace
  400PRINT:ENDPROC
  410:
  420DEFPROCyn:REPEAT:a%=INSTR("YyNn",GET$):UNTILa%:ENDPROC
  430:
  440DEFPROCspace OSCLI"FX21":PRINT''SPC(41-6*N%)"PRESS <SPACE> TO CONTINUE"TAB(0,0);:REPEATUNTILGET=32:ENDPROC

H�=&2600:lns=&80:sklns=&81:skp=&82:cnt=&83:modflg=&84:?skp=0:f$=$&15C
?lns=K%:?sklns=L%:?cnt=?lns
*LOAD $.CODE8
(
�Z% �text
2Ym%=3:�23;8202;0;0;0;:�:�"All text files will be printed."''"Screen or Printer? (S/P)"
<�:a%=�"SsPp",�):�a%
F�22,3,23;8202;0;0;0;
P�a%<3 �screen � �printer
Z �6:�23;8202;0;0;0;:�"$.MENU"
d�
n:
x��screen:T%=�:�dirs:�
�:
�T��printer:N%=3:T%=�:�''"Do you want perforation skip? (Y/N)":�:a%=�"YyNn",�):�a%
��a%<3 ?skp=-1 � ?skp=0
��15,2:�Z% �text ��dirs:�3:�
�:
�
��dirs
��readdir
��"DIR $.V":�readdir
��"DIR $.L":�readdir
��"DIR $"
��
�:
�
��readdir
� parblk &0C,fname 10
3A%=8:X%=parblk �&100:Y%=parblk �&100:parblk!9=0
&�:parblk!1=fname:parblk!5=1:�&FFD1
")�parblk!5<>1 � �fname?1=�"+" �ldfname
,� parblk!5=1:�
6�
@:
J��ldfname:fn$=""
T7�x%=1� ?fname:f$=�?(fname+x%):fn$=fn$+f$:�:�print:�
^&��print:�22,6,23;8202;0;0;0;:�&900
h�"LOAD "+fn$+" 2600"+�13
r��T% �22,3 � �22,N%,23;8202;0;0;0;:�T% �15,2 � �14:�'"����������������  ��������  ����������       <SHIFT> TO SCROLL ISSUE #";I%'�12*(9-N%),�(157))'
|	�&903
�$�T% �'�12*(9-N%),�(157)):�space
��:�
�:
���yn:�:a%=�"YyNn",�):�a%:�
�:
�K��space �"FX21":�''�(41-6*N%)"PRESS <SPACE> TO CONTINUE"�0,0);:���=32:�
�
00000000  0d 00 0a 48 d3 3d 26 32  36 30 30 3a 6c 6e 73 3d  |...H.=&2600:lns=|
00000010  26 38 30 3a 73 6b 6c 6e  73 3d 26 38 31 3a 73 6b  |&80:sklns=&81:sk|
00000020  70 3d 26 38 32 3a 63 6e  74 3d 26 38 33 3a 6d 6f  |p=&82:cnt=&83:mo|
00000030  64 66 6c 67 3d 26 38 34  3a 3f 73 6b 70 3d 30 3a  |dflg=&84:?skp=0:|
00000040  66 24 3d 24 26 31 35 43  0d 00 14 1f 3f 6c 6e 73  |f$=$&15C....?lns|
00000050  3d 4b 25 3a 3f 73 6b 6c  6e 73 3d 4c 25 3a 3f 63  |=K%:?sklns=L%:?c|
00000060  6e 74 3d 3f 6c 6e 73 0d  00 1e 11 2a 4c 4f 41 44  |nt=?lns....*LOAD|
00000070  20 24 2e 43 4f 44 45 38  0d 00 28 0d e7 5a 25 20  | $.CODE8..(..Z% |
00000080  f2 74 65 78 74 0d 00 32  59 6d 25 3d 33 3a ef 32  |.text..2Ym%=3:.2|
00000090  33 3b 38 32 30 32 3b 30  3b 30 3b 30 3b 3a db 3a  |3;8202;0;0;0;:.:|
000000a0  f1 22 41 6c 6c 20 74 65  78 74 20 66 69 6c 65 73  |."All text files|
000000b0  20 77 69 6c 6c 20 62 65  20 70 72 69 6e 74 65 64  | will be printed|
000000c0  2e 22 27 27 22 53 63 72  65 65 6e 20 6f 72 20 50  |."''"Screen or P|
000000d0  72 69 6e 74 65 72 3f 20  28 53 2f 50 29 22 0d 00  |rinter? (S/P)"..|
000000e0  3c 17 f5 3a 61 25 3d a7  22 53 73 50 70 22 2c be  |<..:a%=."SsPp",.|
000000f0  29 3a fd 61 25 0d 00 46  18 ef 32 32 2c 33 2c 32  |):.a%..F..22,3,2|
00000100  33 3b 38 32 30 32 3b 30  3b 30 3b 30 3b 0d 00 50  |3;8202;0;0;0;..P|
00000110  1c e7 61 25 3c 33 20 f2  73 63 72 65 65 6e 20 8b  |..a%<3 .screen .|
00000120  20 f2 70 72 69 6e 74 65  72 0d 00 5a 20 eb 36 3a  | .printer..Z .6:|
00000130  ef 32 33 3b 38 32 30 32  3b 30 3b 30 3b 30 3b 3a  |.23;8202;0;0;0;:|
00000140  d7 22 24 2e 4d 45 4e 55  22 0d 00 64 05 e0 0d 00  |."$.MENU"..d....|
00000150  6e 05 3a 0d 00 78 19 dd  f2 73 63 72 65 65 6e 3a  |n.:..x...screen:|
00000160  54 25 3d a3 3a f2 64 69  72 73 3a e1 0d 00 82 05  |T%=.:.dirs:.....|
00000170  3a 0d 00 8c 54 dd f2 70  72 69 6e 74 65 72 3a 4e  |:...T..printer:N|
00000180  25 3d 33 3a 54 25 3d b9  3a f1 27 27 22 44 6f 20  |%=3:T%=.:.''"Do |
00000190  79 6f 75 20 77 61 6e 74  20 70 65 72 66 6f 72 61  |you want perfora|
000001a0  74 69 6f 6e 20 73 6b 69  70 3f 20 28 59 2f 4e 29  |tion skip? (Y/N)|
000001b0  22 3a f5 3a 61 25 3d a7  22 59 79 4e 6e 22 2c be  |":.:a%=."YyNn",.|
000001c0  29 3a fd 61 25 0d 00 96  1a e7 61 25 3c 33 20 3f  |):.a%.....a%<3 ?|
000001d0  73 6b 70 3d 2d 31 20 8b  20 3f 73 6b 70 3d 30 0d  |skp=-1 . ?skp=0.|
000001e0  00 a0 1f ef 31 35 2c 32  3a e7 5a 25 20 f2 74 65  |....15,2:.Z% .te|
000001f0  78 74 20 8b f2 64 69 72  73 3a ef 33 3a e1 0d 00  |xt ..dirs:.3:...|
00000200  aa 05 3a 0d 00 b4 0a dd  f2 64 69 72 73 0d 00 be  |..:......dirs...|
00000210  0c f2 72 65 61 64 64 69  72 0d 00 c8 17 ff 22 44  |..readdir....."D|
00000220  49 52 20 24 2e 56 22 3a  f2 72 65 61 64 64 69 72  |IR $.V":.readdir|
00000230  0d 00 d2 17 ff 22 44 49  52 20 24 2e 4c 22 3a f2  |....."DIR $.L":.|
00000240  72 65 61 64 64 69 72 0d  00 dc 0c ff 22 44 49 52  |readdir....."DIR|
00000250  20 24 22 0d 00 e6 05 e1  0d 00 f0 05 3a 0d 00 fa  | $".........:...|
00000260  0d dd f2 72 65 61 64 64  69 72 0d 01 04 19 de 20  |...readdir..... |
00000270  70 61 72 62 6c 6b 20 26  30 43 2c 66 6e 61 6d 65  |parblk &0C,fname|
00000280  20 31 30 0d 01 0e 33 41  25 3d 38 3a 58 25 3d 70  | 10...3A%=8:X%=p|
00000290  61 72 62 6c 6b 20 83 26  31 30 30 3a 59 25 3d 70  |arblk .&100:Y%=p|
000002a0  61 72 62 6c 6b 20 81 26  31 30 30 3a 70 61 72 62  |arblk .&100:parb|
000002b0  6c 6b 21 39 3d 30 0d 01  18 26 f5 3a 70 61 72 62  |lk!9=0...&.:parb|
000002c0  6c 6b 21 31 3d 66 6e 61  6d 65 3a 70 61 72 62 6c  |lk!1=fname:parbl|
000002d0  6b 21 35 3d 31 3a d6 26  46 46 44 31 0d 01 22 29  |k!5=1:.&FFD1..")|
000002e0  e7 70 61 72 62 6c 6b 21  35 3c 3e 31 20 8c 20 e7  |.parblk!5<>1 . .|
000002f0  66 6e 61 6d 65 3f 31 3d  97 22 2b 22 20 f2 6c 64  |fname?1=."+" .ld|
00000300  66 6e 61 6d 65 0d 01 2c  12 fd 20 70 61 72 62 6c  |fname..,.. parbl|
00000310  6b 21 35 3d 31 3a e1 0d  01 36 05 e1 0d 01 40 05  |k!5=1:...6....@.|
00000320  3a 0d 01 4a 14 dd f2 6c  64 66 6e 61 6d 65 3a 66  |:..J...ldfname:f|
00000330  6e 24 3d 22 22 0d 01 54  37 e3 78 25 3d 31 b8 20  |n$=""..T7.x%=1. |
00000340  3f 66 6e 61 6d 65 3a 66  24 3d bd 3f 28 66 6e 61  |?fname:f$=.?(fna|
00000350  6d 65 2b 78 25 29 3a 66  6e 24 3d 66 6e 24 2b 66  |me+x%):fn$=fn$+f|
00000360  24 3a ed 3a f2 70 72 69  6e 74 3a e1 0d 01 5e 26  |$:.:.print:...^&|
00000370  dd f2 70 72 69 6e 74 3a  ef 32 32 2c 36 2c 32 33  |..print:.22,6,23|
00000380  3b 38 32 30 32 3b 30 3b  30 3b 30 3b 3a d6 26 39  |;8202;0;0;0;:.&9|
00000390  30 30 0d 01 68 1c ff 22  4c 4f 41 44 20 22 2b 66  |00..h.."LOAD "+f|
000003a0  6e 24 2b 22 20 32 36 30  30 22 2b bd 31 33 0d 01  |n$+" 2600"+.13..|
000003b0  72 97 e7 54 25 20 ef 32  32 2c 33 20 8b 20 ef 32  |r..T% .22,3 . .2|
000003c0  32 2c 4e 25 2c 32 33 3b  38 32 30 32 3b 30 3b 30  |2,N%,23;8202;0;0|
000003d0  3b 30 3b 3a e7 54 25 20  ef 31 35 2c 32 20 8b 20  |;0;:.T% .15,2 . |
000003e0  ef 31 34 3a f1 27 22 88  89 8e 8f 88 89 84 85 99  |.14:.'".........|
000003f0  9a 95 96 84 87 90 91 20  20 9b 9c 97 98 88 89 95  |.......  .......|
00000400  96 20 20 84 8d 95 96 84  87 9b 9c 93 94 20 20 20  |.  ..........   |
00000410  20 20 20 20 3c 53 48 49  46 54 3e 20 54 4f 20 53  |    <SHIFT> TO S|
00000420  43 52 4f 4c 4c 20 49 53  53 55 45 20 23 22 3b 49  |CROLL ISSUE #";I|
00000430  25 27 c4 31 32 2a 28 39  2d 4e 25 29 2c bd 28 31  |%'.12*(9-N%),.(1|
00000440  35 37 29 29 27 0d 01 7c  09 d6 26 39 30 33 0d 01  |57))'..|..&903..|
00000450  86 24 e7 ac 54 25 20 f1  27 c4 31 32 2a 28 39 2d  |.$..T% .'.12*(9-|
00000460  4e 25 29 2c bd 28 31 35  37 29 29 3a f2 73 70 61  |N%),.(157)):.spa|
00000470  63 65 0d 01 90 07 f1 3a  e1 0d 01 9a 05 3a 0d 01  |ce.....:.....:..|
00000480  a4 1e dd f2 79 6e 3a f5  3a 61 25 3d a7 22 59 79  |....yn:.:a%=."Yy|
00000490  4e 6e 22 2c be 29 3a fd  61 25 3a e1 0d 01 ae 05  |Nn",.):.a%:.....|
000004a0  3a 0d 01 b8 4b dd f2 73  70 61 63 65 20 ff 22 46  |:...K..space ."F|
000004b0  58 32 31 22 3a f1 27 27  89 28 34 31 2d 36 2a 4e  |X21":.''.(41-6*N|
000004c0  25 29 22 50 52 45 53 53  20 3c 53 50 41 43 45 3e  |%)"PRESS <SPACE>|
000004d0  20 54 4f 20 43 4f 4e 54  49 4e 55 45 22 8a 30 2c  | TO CONTINUE".0,|
000004e0  30 29 3b 3a f5 fd a5 3d  33 32 3a e1 0d ff        |0);:...=32:...|
000004ee
PRINT.m0
PRINT.m1
PRINT.m2
PRINT.m4
PRINT.m5