Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_16.ADF » PROGS/TRANS/READER

PROGS/TRANS/READER

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_16.ADF
Filename: PROGS/TRANS/READER
Read OK:
File size: 05FB bytes
Load address: FFFF1D00
Exec address: FFFF8023
File contents
   10REM***************************** 
   20REM Thanks to ROBERT COOPER!
   30REM who wrote this text viewer
   40REM which was then secretly
   50REM ripped off from the
   60REM "ELK PD" catalogue disc
   70REM by Will Watts because he's
   80REM not clever enough to use
   90REM the text file viewer that
  100REM appeared on "BBC PD" discs
  110REM and finds Richard Dimond's
  120REM text display routines on the
  130REM EUG 13 disc way beyond his
  140REM ability to comprehend!!!
  150REM Then pinched by C.Weber 
  160REM for his own dastardly needs 
  170REM 'cos he can't write such a
  180REM clever program!
  190REM Although he has altered this
  200REM one to fit his needs.
  210REM Don'tcha just love PD 
  220REM software............?
  230REM***************************** 
  240 P%=0
  250REPEAT
  260MODE6
  270PROCmenu
  280REM** MODE and mode can be changed
  290REM** to "3" for files saved in
  300REM** 80 column format.
  310MODE3
  320mode=3
  330PROCscreen
  340 VDU3:P%=0
  350 PRINT'"(P)rint text or return to (M)enu" 
  360 IF INKEY(-56)THENP%=1:GOTO250
  370 IF INKEY(-102)THENMODE4:CHAIN"MENU"
  380 GOTO 360
  390DEF PROCscreen
  400 REM***VDU19,0,7,0,0,0
  410 REM***VDU19,1,4,0,0,0
  420*FX15,1
  430CLS
  440PRINT
  450PRINT
  460 PRINT"Press SHIFT to scroll text":PRINT
  470 PRINT"Press SPACE to continue":REPEATUNTILINKEY-99 
  480 IFP%=1THENPROCprint
  490PRINT
  500 REM IF mode=4 THEN VDU28,0,31,39,7
  510VDU28,0,31,79,7:REM mode=3
  520 REM COLOUR0
  530 REM COLOUR129
  540CLS
  550PRINT
  560*FX15,1
  570VDU15
  580VDU14
  590REPEAT
  600file=OPENIN(file$)
  610UNTIL file<>0
  620REPEAT
  630char=BGET#file
  640IF char=&0D THEN PRINT ELSE IF char<&20 THEN PRINT " "; ELSE PRINT CHR$(char);  
  650UNTIL EOF#file
  660CLOSE#file
  670VDU7
  680ENDPROC
  690DEF PROCmenu
  700VDU23,1,0;0;0;0;
  710CLS
  720 A$="1"
  730IF A$="1" file$="document"
  740ENDPROC
  750 
  760 DEFPROCprint
  770 VDU2
  780 ENDPROC

#�***************************** 
� Thanks to ROBERT COOPER!
 � who wrote this text viewer
(� which was then secretly
2� ripped off from the
<� "ELK PD" catalogue disc
F � by Will Watts because he's
P� not clever enough to use
Z� the text file viewer that
d � appeared on "BBC PD" discs
n � and finds Richard Dimond's
x"� text display routines on the
� � EUG 13 disc way beyond his
�� ability to comprehend!!!
�� Then pinched by C.Weber 
�"� for his own dastardly needs 
� � 'cos he can't write such a
�� clever program!
�"� Although he has altered this
�� one to fit his needs.
�� Don'tcha just love PD 
�� software............?
�#�***************************** 
�	 P%=0
��
�6
	�menu
$�** MODE and mode can be changed
"!�** to "3" for files saved in
,�** 80 column format.
6�3
@
mode=3
J�screen
T �3:P%=0
^* �'"(P)rint text or return to (M)enu" 
h � �(-56)�P%=1:�dz@
r � �(-102)��4:�"MENU"
| � �DhA
�
� �screen
� �***VDU19,0,7,0,0,0
� �***VDU19,1,4,0,0,0
�*FX15,1
��
��
��
�$ �"Press SHIFT to scroll text":�
�' �"Press SPACE to continue":���-99 
� �P%=1��print
��
�% � IF mode=4 THEN VDU28,0,31,39,7
��28,0,31,79,7:� mode=3
 � COLOUR0
 � COLOUR129
�
&�
0*FX15,1
:�15
D�14
N�
Xfile=�(file$)
b
� file<>0
l�
vchar=�#file
�7� char=&0D � � � � char<&20 � � " "; � � �(char);  
�� �#file
�
�#file
��7
��
�� �menu
��23,1,0;0;0;0;
��
� A$="1"
�� A$="1" file$="document"
��
� 
� ��print
 �2
 �
�
00000000  0d 00 0a 23 f4 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |...#.***********|
00000010  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
00000020  2a 2a 20 0d 00 14 1e f4  20 54 68 61 6e 6b 73 20  |** ..... Thanks |
00000030  74 6f 20 52 4f 42 45 52  54 20 43 4f 4f 50 45 52  |to ROBERT COOPER|
00000040  21 0d 00 1e 20 f4 20 77  68 6f 20 77 72 6f 74 65  |!... . who wrote|
00000050  20 74 68 69 73 20 74 65  78 74 20 76 69 65 77 65  | this text viewe|
00000060  72 0d 00 28 1d f4 20 77  68 69 63 68 20 77 61 73  |r..(.. which was|
00000070  20 74 68 65 6e 20 73 65  63 72 65 74 6c 79 0d 00  | then secretly..|
00000080  32 19 f4 20 72 69 70 70  65 64 20 6f 66 66 20 66  |2.. ripped off f|
00000090  72 6f 6d 20 74 68 65 0d  00 3c 1d f4 20 22 45 4c  |rom the..<.. "EL|
000000a0  4b 20 50 44 22 20 63 61  74 61 6c 6f 67 75 65 20  |K PD" catalogue |
000000b0  64 69 73 63 0d 00 46 20  f4 20 62 79 20 57 69 6c  |disc..F . by Wil|
000000c0  6c 20 57 61 74 74 73 20  62 65 63 61 75 73 65 20  |l Watts because |
000000d0  68 65 27 73 0d 00 50 1e  f4 20 6e 6f 74 20 63 6c  |he's..P.. not cl|
000000e0  65 76 65 72 20 65 6e 6f  75 67 68 20 74 6f 20 75  |ever enough to u|
000000f0  73 65 0d 00 5a 1f f4 20  74 68 65 20 74 65 78 74  |se..Z.. the text|
00000100  20 66 69 6c 65 20 76 69  65 77 65 72 20 74 68 61  | file viewer tha|
00000110  74 0d 00 64 20 f4 20 61  70 70 65 61 72 65 64 20  |t..d . appeared |
00000120  6f 6e 20 22 42 42 43 20  50 44 22 20 64 69 73 63  |on "BBC PD" disc|
00000130  73 0d 00 6e 20 f4 20 61  6e 64 20 66 69 6e 64 73  |s..n . and finds|
00000140  20 52 69 63 68 61 72 64  20 44 69 6d 6f 6e 64 27  | Richard Dimond'|
00000150  73 0d 00 78 22 f4 20 74  65 78 74 20 64 69 73 70  |s..x". text disp|
00000160  6c 61 79 20 72 6f 75 74  69 6e 65 73 20 6f 6e 20  |lay routines on |
00000170  74 68 65 0d 00 82 20 f4  20 45 55 47 20 31 33 20  |the... . EUG 13 |
00000180  64 69 73 63 20 77 61 79  20 62 65 79 6f 6e 64 20  |disc way beyond |
00000190  68 69 73 0d 00 8c 1e f4  20 61 62 69 6c 69 74 79  |his..... ability|
000001a0  20 74 6f 20 63 6f 6d 70  72 65 68 65 6e 64 21 21  | to comprehend!!|
000001b0  21 0d 00 96 1e f4 20 54  68 65 6e 20 70 69 6e 63  |!..... Then pinc|
000001c0  68 65 64 20 62 79 20 43  2e 57 65 62 65 72 20 0d  |hed by C.Weber .|
000001d0  00 a0 22 f4 20 66 6f 72  20 68 69 73 20 6f 77 6e  |..". for his own|
000001e0  20 64 61 73 74 61 72 64  6c 79 20 6e 65 65 64 73  | dastardly needs|
000001f0  20 0d 00 aa 20 f4 20 27  63 6f 73 20 68 65 20 63  | ... . 'cos he c|
00000200  61 6e 27 74 20 77 72 69  74 65 20 73 75 63 68 20  |an't write such |
00000210  61 0d 00 b4 15 f4 20 63  6c 65 76 65 72 20 70 72  |a..... clever pr|
00000220  6f 67 72 61 6d 21 0d 00  be 22 f4 20 41 6c 74 68  |ogram!...". Alth|
00000230  6f 75 67 68 20 68 65 20  68 61 73 20 61 6c 74 65  |ough he has alte|
00000240  72 65 64 20 74 68 69 73  0d 00 c8 1b f4 20 6f 6e  |red this..... on|
00000250  65 20 74 6f 20 66 69 74  20 68 69 73 20 6e 65 65  |e to fit his nee|
00000260  64 73 2e 0d 00 d2 1c f4  20 44 6f 6e 27 74 63 68  |ds...... Don'tch|
00000270  61 20 6a 75 73 74 20 6c  6f 76 65 20 50 44 20 0d  |a just love PD .|
00000280  00 dc 1b f4 20 73 6f 66  74 77 61 72 65 2e 2e 2e  |.... software...|
00000290  2e 2e 2e 2e 2e 2e 2e 2e  2e 3f 0d 00 e6 23 f4 2a  |.........?...#.*|
000002a0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
000002b0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 20 0d 00 f0  |************ ...|
000002c0  09 20 50 25 3d 30 0d 00  fa 05 f5 0d 01 04 06 eb  |. P%=0..........|
000002d0  36 0d 01 0e 09 f2 6d 65  6e 75 0d 01 18 24 f4 2a  |6.....menu...$.*|
000002e0  2a 20 4d 4f 44 45 20 61  6e 64 20 6d 6f 64 65 20  |* MODE and mode |
000002f0  63 61 6e 20 62 65 20 63  68 61 6e 67 65 64 0d 01  |can be changed..|
00000300  22 21 f4 2a 2a 20 74 6f  20 22 33 22 20 66 6f 72  |"!.** to "3" for|
00000310  20 66 69 6c 65 73 20 73  61 76 65 64 20 69 6e 0d  | files saved in.|
00000320  01 2c 19 f4 2a 2a 20 38  30 20 63 6f 6c 75 6d 6e  |.,..** 80 column|
00000330  20 66 6f 72 6d 61 74 2e  0d 01 36 06 eb 33 0d 01  | format...6..3..|
00000340  40 0a 6d 6f 64 65 3d 33  0d 01 4a 0b f2 73 63 72  |@.mode=3..J..scr|
00000350  65 65 6e 0d 01 54 0c 20  ef 33 3a 50 25 3d 30 0d  |een..T. .3:P%=0.|
00000360  01 5e 2a 20 f1 27 22 28  50 29 72 69 6e 74 20 74  |.^* .'"(P)rint t|
00000370  65 78 74 20 6f 72 20 72  65 74 75 72 6e 20 74 6f  |ext or return to|
00000380  20 28 4d 29 65 6e 75 22  20 0d 01 68 18 20 e7 20  | (M)enu" ..h. . |
00000390  a6 28 2d 35 36 29 8c 50  25 3d 31 3a e5 8d 64 7a  |.(-56).P%=1:..dz|
000003a0  40 0d 01 72 19 20 e7 20  a6 28 2d 31 30 32 29 8c  |@..r. . .(-102).|
000003b0  eb 34 3a d7 22 4d 45 4e  55 22 0d 01 7c 0b 20 e5  |.4:."MENU"..|. .|
000003c0  20 8d 44 68 41 0d 01 86  0d dd 20 f2 73 63 72 65  | .DhA..... .scre|
000003d0  65 6e 0d 01 90 18 20 f4  2a 2a 2a 56 44 55 31 39  |en.... .***VDU19|
000003e0  2c 30 2c 37 2c 30 2c 30  2c 30 0d 01 9a 18 20 f4  |,0,7,0,0,0.... .|
000003f0  2a 2a 2a 56 44 55 31 39  2c 31 2c 34 2c 30 2c 30  |***VDU19,1,4,0,0|
00000400  2c 30 0d 01 a4 0b 2a 46  58 31 35 2c 31 0d 01 ae  |,0....*FX15,1...|
00000410  05 db 0d 01 b8 05 f1 0d  01 c2 05 f1 0d 01 cc 24  |...............$|
00000420  20 f1 22 50 72 65 73 73  20 53 48 49 46 54 20 74  | ."Press SHIFT t|
00000430  6f 20 73 63 72 6f 6c 6c  20 74 65 78 74 22 3a f1  |o scroll text":.|
00000440  0d 01 d6 27 20 f1 22 50  72 65 73 73 20 53 50 41  |...' ."Press SPA|
00000450  43 45 20 74 6f 20 63 6f  6e 74 69 6e 75 65 22 3a  |CE to continue":|
00000460  f5 fd a6 2d 39 39 20 0d  01 e0 11 20 e7 50 25 3d  |...-99 .... .P%=|
00000470  31 8c f2 70 72 69 6e 74  0d 01 ea 05 f1 0d 01 f4  |1..print........|
00000480  25 20 f4 20 49 46 20 6d  6f 64 65 3d 34 20 54 48  |% . IF mode=4 TH|
00000490  45 4e 20 56 44 55 32 38  2c 30 2c 33 31 2c 33 39  |EN VDU28,0,31,39|
000004a0  2c 37 0d 01 fe 1a ef 32  38 2c 30 2c 33 31 2c 37  |,7.....28,0,31,7|
000004b0  39 2c 37 3a f4 20 6d 6f  64 65 3d 33 0d 02 08 0e  |9,7:. mode=3....|
000004c0  20 f4 20 43 4f 4c 4f 55  52 30 0d 02 12 10 20 f4  | . COLOUR0.... .|
000004d0  20 43 4f 4c 4f 55 52 31  32 39 0d 02 1c 05 db 0d  | COLOUR129......|
000004e0  02 26 05 f1 0d 02 30 0b  2a 46 58 31 35 2c 31 0d  |.&....0.*FX15,1.|
000004f0  02 3a 07 ef 31 35 0d 02  44 07 ef 31 34 0d 02 4e  |.:..15..D..14..N|
00000500  05 f5 0d 02 58 11 66 69  6c 65 3d 8e 28 66 69 6c  |....X.file=.(fil|
00000510  65 24 29 0d 02 62 0d fd  20 66 69 6c 65 3c 3e 30  |e$)..b.. file<>0|
00000520  0d 02 6c 05 f5 0d 02 76  0f 63 68 61 72 3d 9a 23  |..l....v.char=.#|
00000530  66 69 6c 65 0d 02 80 37  e7 20 63 68 61 72 3d 26  |file...7. char=&|
00000540  30 44 20 8c 20 f1 20 8b  20 e7 20 63 68 61 72 3c  |0D . . . . char<|
00000550  26 32 30 20 8c 20 f1 20  22 20 22 3b 20 8b 20 f1  |&20 . . " "; . .|
00000560  20 bd 28 63 68 61 72 29  3b 20 20 0d 02 8a 0c fd  | .(char);  .....|
00000570  20 c5 23 66 69 6c 65 0d  02 94 0a d9 23 66 69 6c  | .#file.....#fil|
00000580  65 0d 02 9e 06 ef 37 0d  02 a8 05 e1 0d 02 b2 0b  |e.....7.........|
00000590  dd 20 f2 6d 65 6e 75 0d  02 bc 12 ef 32 33 2c 31  |. .menu.....23,1|
000005a0  2c 30 3b 30 3b 30 3b 30  3b 0d 02 c6 05 db 0d 02  |,0;0;0;0;.......|
000005b0  d0 0b 20 41 24 3d 22 31  22 0d 02 da 1d e7 20 41  |.. A$="1"..... A|
000005c0  24 3d 22 31 22 20 66 69  6c 65 24 3d 22 64 6f 63  |$="1" file$="doc|
000005d0  75 6d 65 6e 74 22 0d 02  e4 05 e1 0d 02 ee 05 20  |ument"......... |
000005e0  0d 02 f8 0c 20 dd f2 70  72 69 6e 74 0d 03 02 07  |.... ..print....|
000005f0  20 ef 32 0d 03 0c 06 20  e1 0d ff                 | .2.... ...|
000005fb
PROGS/TRANS/READER.m0
PROGS/TRANS/READER.m1
PROGS/TRANS/READER.m2
PROGS/TRANS/READER.m4
PROGS/TRANS/READER.m5