home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
No Fragments Archive 10: Diskmags
/
nf_archive_10.iso
/
MAGS
/
ST_USER
/
1990
/
USERNV90.MSA
/
TEXT_SCROLLER.DOC
< prev
next >
Wrap
Text File
|
1990-05-24
|
4KB
|
107 lines
Sroller Version 1.0
Written by Mike Johnson
Music by Jochen Hippel
Written for ST User
This program does not fit easily into either the catagory 'Demo' or
'Utility', it is not really either. What makes this program different
from all the other scrolling message systems availible for the Atari ST,
I hear you cry? Mainly the unusual degree of control you have over the
text; If you have not yet run the demo, try it now!
The program loads in, and displays a file called 'text.txt'. Various
effects can be achieved by placing control codes in with your text, which
allows characters to be moved in various ways. The first thing to notice
is that there are 6 character positions on the screen, numbered surprisingly
from 1 to 6. The control codes are listed below.
'x' is either 0 or 1
'n' is a number from 1 to 6 which corresponds to a character position
'A' is a character
{xxxxxx Move up each character with a 1 eg {101010 moves up the first,
third and fifth characters.
}xxxxxx As above but characters move down.
[nA Move character 'A' up into position 'n' eg [1M moves M into
position 1
]nA As above but character moves down
^nA Places character 'A' into position 'n'
# Pause
| Dissolve the screen
* Clears the screen by scrolling alternate lines left and right
& Clears screen
@A Reverse scroll character 'A', ie move 'A' in from the left
A few examples may make this a bit clearer.
(note the examples will be put enclosed with ", which should not be
included in the text file)
"start!#" ... would scroll START! into the display and then pause.
"[2m" ....... would move an 'M' up into position 2, making the display
look like "SMART!"
"{101010" ... would move the 'S','A' and 'T' out of the top, leaving the
display " M R !"
"}010101" ... would move the 'M','R' amd '!' off the bottom, clearing the
display.
"abcdef" .... would put "ABCDEF" into the display
"@a@b@c@d@e@" would scroll "ABCDE" in from the left, leaving the display
like "EDCBAA"
Note that lower case letters are converted into upper case letters,
and all control codes are ignored, bar carriage return which becomes a
space.
Load in the example and experiment, but the best advice I can give you
is to work out the message on paper first! Have patience, it rarely works
first time, and takes practice. Also note that when writting the text on
a word processor, ensure that you are in staight ASCII mode, and be
careful about carriage returns, remember they are converted into a space,
so only use after a word at the end of a line!
IMPORTANT
---------
The program for some reason will not run at present with some desk
accessories installed. If anyone hacks through the program and can tell me
why, I'ld be very grateful.
OTHER CONTROLS
--------------
Music can be selected using the function keys F1 - F5, F10 turns it off
Leave the program with space.
I apologise for any bugs or problems with the program, and would welcome
any suggestions (this is my first serious program on the ST, I'm only 16!)
Please feel free to write, and I will attempt to answer all letters will
a SAE. I can be contacted at the following address.
Mike Johnson
C/O Mr P.Nichols
Carterton Community College
Upavon Way
Carterton
Oxon.