home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
No Fragments Archive 10: Diskmags
/
nf_archive_10.iso
/
MAGS
/
POWERMAG
/
POWER21.MSA
/
POWER_21
/
STOSDEMO.PWR
< prev
next >
Wrap
Text File
|
1990-01-01
|
4KB
|
88 lines
CREATE YOUR OWN
*** ***** * * *****
* * * ** ** * *
* * *** * * * * *
* * * * * * *
*** ***** * * *****
USING STOS BASIC
---> BY JAMES DAVIDSON <---
Want to know how to create your very own demo with excellent sound
and graphics? Want to be one of those elusive demo creators at the
top of the ST scene, but just don't have the skill or knowledge to
program in machine code? Then read this article for how to create
your OWN small demo using MOD soundtracker tunes.
1. Get STOS, preferably v2.06.
2. If you can't draw, get Kozmic 4 (available directly from POWER
P.D. for 99p inc. p+p on disk no:PWR 132). It creates very good
pictures with great ease.
3. Get the source code given away on this issue of POWER. You can
do whatever you want with it!
4. Read on...
A basic knowledge of STOS is required, i.e. how to pack a picture,
how to load files into memory banks, the rest is in the source
code which should be on this disk in the file, DEMO.TOS. This
is a self-extracting archive, containing the file DEMO.BAS.
Just copy it to a blank disk, then run it. Next run STOS and
load in DEMO.BAS. You will need to read the remarks (rem's) for
advice and help. Next, run this small demo to show you exactly
how to display a picture whilst playing a 16khz tracker file.
The program works by depacking a packed picture file from bank 7.
This is then displayed using the APPEAR command for a good effect.
Then, a small machine code routine is used to call the code stored
in bank 15 which contains a .MOD replay routine. That's it!
It's easy. You can use this code, and by changing the picture to
one of your own, and using a different .MOD file (thousands of
mods are available in the P.D.),contact me or POWER P.D. for some.
No-one would know you didn't really write it. I really didn't, I
just got a replay routine and added instructions and the picture
part. And there you have it, your very OWN demo that is as good as
some of the ones by the proper coders (well, sort of!) because of
the famous tracker file which will provide excellent sound
quality. Compiling it is necessary if you wish to distribute it.
This is only a basic example. You could quite easily expand on it
with sprites, a scrolltext, and even Spectrum 512 pictures. If you
want to write to me for advice, (my knowledge is limited!), I will
be pleased to help you. Maybe if the response is good enough, I
will show you how to use scrolltexts and sprites within demos next
month.
I have tried to code demos on some occasions. They can be found
on my J.D.C.D. disks in my P.D. swap library. For a disk
catalogue just send a blank disk, or one of PD and some stamps for
return postage to:
J. DAVIDSON
WOOD FARM HOUSE
WHICHFORD
SHIPSTON-ON-STOUR
WARWICHSHIRE
ENGLAND
CV36 5PG
Have fun and keep with the ST! Bye!