home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 1: Collection A
/
17Bit_Collection_A.iso
/
files
/
950.dms
/
950.adf
/
Sleepy
/
sleepy.doc
< prev
next >
Wrap
Text File
|
1993-03-09
|
4KB
|
88 lines
About Sleepy - the document file. . .
Overview
The idea of Sleepy is to allow anyone to create a new "sleepy"
pointer - that is the one Workbench uses to illustrate disk access
etc. The system consists of several files:
SLEEPY.DOC: This file
SLEEPY: The main program
EDITSLEEPY: An intuition-based editor for above
SLEEPY SPRITE: An example of what can be done
TEAPOT SPRITE: Another example
Using Sleepy
From CLI/Shell: Type "Sleepy [<filename>]" where filename is the
complete path and filename for the sprite to be loaded. If <filename
is not supplied then Sleepy will attempt to load its default sprite
- this is located in the SYS:devs directory. If you need extra help
enter a ? at the prompt, then another ? at the Filename: prompt for
even more help!
Double click on the CLI icon to start up the command line. Then type
the following. Remember to press Return after every line:
CD DF0:
CD SLEEPY
RUNBACK SLEEPY "SLEEPY SPRITE"
ENDCLI
The demonstration sprite called Sleepy Sprite will now be installed.
Double clicking on SLEEPY will return you to normal. As will entering
SLEEPY at the CLI.
ARP must be in the LIBS directory of your boot disk or the programs
will fail to work AT ALL!
Using EditSleepy
What could be easier? Start the program in the usual manner from CLI
or Workbench and away you go. All the gadgets should be
self-explanatory, except RESTORE - it always restores from the LAST
loaded or saved position. Be careful: this is not an undo, it is
meant to save disk accesses.
When loading or saving, for the first time, the program defaults
to the SYS:devs directory and displays files ending in SPRITE.
Workbench users who want to edit the default sprite should only edit
DEVS:SleepySprite any others will be ignored unless called from CLI.
Running Sleepy in a Startup-Sequence
There is a bug in the CLI which prevents programs from detaching
properly. To overcome this you should start Sleepy with the PD CLI
patch RUNBACK, i.e:
runback Sleepy SYS:DEVS/mysprite
wait 2 secs ; time to load the sprite
Runback was written by Charlie Heath who also
contributed the File Requester and several other routines which made
the development of Sleepy a LOT simpler.
Caveats
1) The ARP.LIBRARY MUST be present for these programs to run -
Install_Sleepy does this for you - do not remove it!
2) Sleepy can only understand its own sprite files (this is for your
protection). If you insist on using RAW sprite data convert it using
the editor FIRST. To do this load the data into the editor and save
it out again. Sleepy sprites can be up to 38 (thirty-eight) scan
lines high. The format is 1 longword for each row of data as an
ILBM.
Credits: Conception and programming: Mark Smiddy
SleepySprite design: Guilder
Assembler: Devpac II from HiSoft
File Requester: Charlie Heath of MicroSmiths
ARP Library: The MicroSmiths
Foreez: A jolly good fellow
Packed by: The Power Packer
Amiga: Commodore Business Machines
Thanks to: Nigel Streeter, Jim Gower and
Jason Holborn (who's he? - Ed) for suggestions