home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 2
/
goldfish_vol2_cd1.bin
/
files
/
util
/
wb
/
pst
/
pst.doc
< prev
next >
Wrap
Text File
|
1993-10-15
|
14KB
|
361 lines
PST - a Public Screen creation Tool
-----------------------------------
Copyright ©1993 by Timothy B. Kreuzer. All rights reserved.
Version: 1.0a
Author: Tim Kreuzer (and the KreuzerSoft support team)
Language: SAC/C V6.3
Features: Creates a Public Screen with screen type selectable from any
currently active Monitor type
Uses the 3.0 ASL Screen Mode Requester
Allows for selection of screen dimensions, depth, overscan, and
autoscroll (via ASL Screen Mode Requester)
Allows complete control of all Public Screen-related features,
such as "Default Public Screen", "Pop to Front", and "Shanghai".
Tested OK using the Enforcer.
Extremely compatible with the KreuzerSoft series of graphics
programs (Fractal, LyapunovSpace, Terrain, PaletteTool, etc.)
but is NOT in anyway restricted to usage with them.
Put differently, this is a general-usage tool.
Limitations: Requires AmigaDOS 3.0
I have tested PST extensively and have never had it cause
any problems or crashes. I cannot, however, guarantee it
100% for each system and the various programs you use.
As such, you use PST at your own risk. Please report any
problems encountered to the author.
Changes in Version 1.0a
-----------------------
1) Fixed a bug where all pens/color registers in the Public Screen that is
opened were "Obtained", and not available to 3.0 programs which utilize
the "ObtainPen" function.
Note that since the detailed info on what's new in 3.0 as far as
functions, flags, etc. is not available to common folk like me (yet),
I feel fortunate to have figured this out from the include files.
Now, all but the first four pens/registers (needed for Intuition) and
the three for the pointer are free to "Obtain".
2) Finally figured out how to get the 3.0 "NewLook" menus (black-on-white)
to display correctly, based upon adapting the code output from
GadToolsBox (same "Note" as previous item).
3) The size and position of the Screen Mode Requester will now attempt to
tailor itself to the Workbench (or default Public Screen) it is opened
upon (roughly 1/4 of screen size, centered in the middle of the screen).
4) Added new explanatory sections and additional info to this "doc" file.
If you obtained V1.0 of PST, I recommend reading this updated "doc" file
as the new information can be useful.
Why did I create PST?
---------------------
When creating the KreuzerSoft series of graphics programs, I decided to
make them open on the current default Public Screen, instead of embedding
the opening of a screen within them. This was intended to allow the
maximum flexibility in their usage (i.e., you could open them on your
Workbench screen as well).
This is also why I did not embed any screen palette controls into the
programs, and instead created the stand-alone PaletteTool.
I had previously recommended the usage of WindowBlender (to open an AGA
Public Screen at any resolution/# of colors/etc.) and PSX (to make the
WindowBlender screen the default Public Screen) as a method of using the
KreuzerSoft graphics programs on screens with characteristics different
from the Workbench.
I finally grew tired of either resetting my Workbench screen mode or
using WindowBlender/PSX to set up an AGA Public Screen. Having not yet
seen any type of tool to create (AGA) Public Screens and control them (like
the venerable PSX did for 2.0), I decided to create PST.
NOTE that there are many other ways in which PST can be used, besides in
relation to the KreuzerSoft graphics programs. I only mention the other
programs as an explanation of why PST was created.
Getting started with PST
------------------------
Click on the PST icon.
PST will present a Screen Mode Requester, containing a list of all currently
available screen modes (via your "Monitor" definitions).
You are defining, via this requester, the type of screen to be opened as
a new Public Screen.
Select the type of screen desired from the list.
The Overscan, Width, Height, Colors, and AutoScrool gadgets allow you to
further tailor the PublicScreen which is to be opened.
Once you've set the screen parameters to your liking, select OK.
A Public Screen of the designated characteristics will then be opened.
The (PST) Public Screen menu
----------------------------
The Public Screen opened by PST contains a menu which allows you to control
the characteristics of the Public Screen.
This menu can be activated by first left-clicking anywhere on the background
surface of the screen (akin to the Workbench).
The "PST" menu items are as follows:
About... Version, Copyright, and Author
information.
The "Screen Control" menu items are as follows:
Public - NoPop Defines the screen as a "local" Public
Screen, which WILL NOT pop to the front
if a window is opened upon it.
Public - Pop Defines the screen as a "local" Public
Screen, which WILL pop to the front if
a window is opened upon it.
Default - NoPop/NoShanghai Defines the screen as the "default"
Public Screen, which WILL NOT pop to the
front if a window is opened upon it,
and WILL NOT force windows which
normally open on the Workbench screen
to open on this screen.
Default - NoPop/Shanghai Defines the screen as the "default"
Public Screen, which WILL NOT pop to the
front if a window is opened upon it,
and WILL force windows which normally
open on the Workbench screen to open
on this screen.
Default - Pop/NoShanghai Defines the screen as the "default"
Public Screen, which WILL pop to the
front if a window is opened upon it,
but WILL NOT force windows which
normally open on the Workbench screen
to open on this screen.
Default - Pop/Shanghai Defines the screen as the "default"
Public Screen, which WILL pop to the
front if a window is opened upon it,
and WILL force windows which normally
open on the Workbench screen to open
on this screen.
Close Close the PST Public Screen.
NOTE that the actual screen will NOT
close until all windows opened on
PST screen are themselves closed.
NOTE that in this case, once you select
"Close", the PST screen menu is no
longer available.
IMPORTANT NOTE: The 6 different "Public Screen" modes listed above are
completely changeable (i.e., can be dynamically changed).
You are NOT locked into choosing only 1 of them each time
you run PST.
For example, you may want to initially select "Default -
Pop/Shanghai" to get some of your Workbench programs to
open their windows on the PST screen, then change back to
"Public - NoPop" so that any new programs/windows open on
the Workbench screen as usual.
Note about the PST Screen menu items
------------------------------------
1) KreuzerSoft graphics program users will want to select
"Default - Pop/NoShanghai"
so that the Fractal/LyapunovSpace/etc. windows will open on the Public
Screen, which will cause the Public Screen to pop to the front.
2) The only (current) reason I can think of to select the
"Public - NoPop" and "Public - Pop"
items would be as "operating" modes. That is, once you've gotten a
program to open it's window(s) on the PST screen and wish to turn off
the "Default" and/or "Shanghai" modes.
Of course, they are also useful for programs which allow windows to be
opened on a named (i.e., non-Default) Public Screen (not too many of
these yet).
3) When the PST Public Screen is closed, the Workbench screen is (re)set
to be the "default" Public Screen (and PopToFront and Shanghai are
turned off). This is, of course, only important if the final PST
Public Screen mode included "Default", "Pop", or "Shanghai".
Notes about Public Screen and Default Public Screen workings
-------------------------------------------------------------
1) I've noticed that even if you select the "Public - Pop" options, the
PST screen does not alway pop to the front when you start a given
program from the Workbench. Not quite sure (yet) why this happens.
Worst case is that you'll have to use the Screen Depth gadget or the
"Amiga-m" key combo to move the PST screen back to the front.
2) I use PST to give me a second "Workbench", by using the "Public -
Shanghai" options. It really cuts down on the Workbench screen clutter
if you're editing multiple files while doing other things which operate
via Workbench-screen windows.
It also allows you to, say, edit files on the PST screen at a higher
screen mode resolution while keeping your Workbench at a more "reasonable"
resolution. Of course, editing files is just one example of this "dual"
Workbench approach. One could easily apply the same thing to the "# of
available colors".
Give this a try and see what you think.
Remember that you can temporarily set the "Shanghai" option, start some
new programs (which open on the PST screen), and then turn off "Shanghai"
(select one of the "Public" options). This will put you back in the
"normal" mode where programs open on the Workbench screen.
Credits/Miscellaneous
---------------------
The GUI for PST was developed using Jan van den Baards' wonderful
GadToolsBox.
WindowBlender is a fantastic 3.0/AGA graphics program written by
Fred Mitchell.
PublicScreenX (aka PSX) is a marvelous public screen manager written
by Steve Tibbett.
Thanks to Dave at Buried Treasure in Rockville, MD. Please support your
local Amiga dealers!
Possible future enhancements
----------------------------
1) Default the Screen Mode Requester initial settings to those of the
current Workbench or Default Public Screen.
2) Support the opening of multiple "PST" Public Screens.
3) Allow user to select the name of the PST-generated Public Screen(s).
*********************************************************************
Please let me know if you have any problems/suggestions/comments/etc.
*********************************************************************
I can be reached via two methods:
- E-mail on GEnie (T.KREUZER)
- U.S. mail at: 6711A N. Washington Blvd.
Arlington, VA 22213
-----------------------------------------------------------------------------
Legal Department
-----------------------------------------------------------------------------
PST Version 1.0a
Copyright ©1993 by Timothy B. Kreuzer. All rights reserved.
PST is freely redistributable, as long as the following rules are
followed:
- This doc file must be kept with the executable(s), and must
include the above copyright notice.
- You may not charge any fee for this program, other than the basic
cost of distribution media (and ONLY the media itself) and/or BBS
access.
- Fred Fish is hereby given permission to include this archive in
his superb collection of Amiga PD software.
My religion does not prohibit me from receiving $$$$ if you really like
the program, or would like custom modifications.
Here's that address again:
Timothy B. Kreuzer
6711A N. Washington Blvd.
Arlington, VA 22213
-----------------------------------------------------------------------------
Commercial Section
-----------------------------------------------------------------------------
The following KreuzerSoft projects are (hopefully) available on a BBS
near you:
Fractal V1.1 - Mandelbrot set program for 3.0/AGA.
LyapunovSpace V1.1 - Lyapunov fractal program for 3.0/AGA.
Terrain V1.1 - 3-D fractal terrain program for 3.0/AGA.
PaletteTool V1.2 - Public Screen palette program for 3.0/AGA.
FindColor - "Color-by-Name" selector for 3.0/AGA.
Worm V1.1 - Port of SUN-Unix graphic toy for all Amigas.
DLA - Diffusion Limited Aggregation simulation for
all Amigas.
Jimi - 8-color Jimi Hendrix image for your Workbench.
All for the incredibly low, low price of FREE!