By C.J.Richardson for 8 bit software
This is a program which will convert
an ASCII file written in EDIT or a file
written with a teletext editor into a
file which can be *RUN to read it,
just as this help was produced.
Text from word processors other than
EDIT should be O.K. if there are no
control codes in it other than those
listed below.
Control codes can be placed into the
file to produce mode 7 effects. There
are also facilities in the program
to print out a file and to convert a
file back to plain ASCII.
There are just a couple of things to
know before you attempt to run your
text file through the program:
Use Mode 7 when writing the
text. This will ensure that
the display will be ok.
Do not insert any carriage
return characters into the
text as it will corrupt the
display.
Either:
Write a text file on your word
processor, ensure that it has no return
characters in it and that it looks ok
in mode 7. Save it to disc.
Or:
Use a teletext editor to write a file.
Then:
Chain MO7DIS.
You are presented with 4 options:
1. Convert a file to a display file
2. Print out a display file.
3. Convert a display file to ASCII.
4. Toggle ASCII or teletext file.
If you choose option 1:
The first prompt asks
for the memory location you want the
program to run from.
The second prompt asks for the
length of the text file you are
going to load into memory. The
answer to this is easy to work out
as all you have to do is to look at
the next to last number on the right
of the screen. The file load and save
options are displayed. The second
figure from the right is the file
length. Next, enter the name of the
ASCII text file to be converted, then
the name which the *RUN file will
be saved under.
When the drive stops
just type * FILENAME
use the up and down
arrow keys to read
the text. Press
BREAK
to end
Here is a list of what the control
codes in an EDIT file will do
CONTROL+ A - Z
A RED
B GREEN
C YELLOW
D BLUE
E MAGENTA
F CYAN
G WHITE
H FLASH
I STEADY
J DOUBLE HEIGHT
K CONTIGUOUS GRAPHICS
L NORMAL HEIGHT
M NOT AVAILABLE
N SEPARATED GRAPHICS
ONEW BACKGROUND
P HOLD GRAPHICS
Q GRAPHIC RED
R GRAPHIC GREEN
S GRAPHIC YELLOW
T GRAPHIC BLUE
U GRAPHIC MAGENTA
V GRAPHIC CYAN
W GRAPHIC WHITE
X
Y RELEASE GRAPHICS
Z BLACK BACKGROUND
Be careful when selecting where the
code is to run from. If you select
an area where the program you are
using is situated, the program will
inform you. Change PAGE and load
MO7DIS in again.
Occasionally, the finished file will
be corrupted at the end. To cure this
either change the length of the ASCII
file slightly, or switch the computer
off and on again before running the
conversion program.
One more point is not to touch any keys
whilst the final code is being saved as
if you do it will upset the saving.
The file that you have saved will be
automatically *RUN for you after
saving.
If you choose option 2:
You can print out a display file with
the control codes removed.
If you choose option 3:
You can strip all the control codes
from a display file.
If you choose option 4:
You can toggle between converting an
ASCII file and a teletext file.