home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 58
/
af058sub.adf
/
frcemon31.lha
/
ForceMonitor.doc
< prev
next >
Wrap
Text File
|
1993-04-23
|
6KB
|
145 lines
/***************************************************************************/
/* */
/* This magnificient piece of software is real PD, so you do not need to */
/* send any money to me, but I would like to receive some good sourcecodes */
/* especially for OS2.0 [ amiga, of course ;-) ] or better.
/* */
/***************************************************************************/
/* */
/* This program is dedicated to the poor souls which own a brandnew A4000, */
/* but cannot afford a real MultiScan monitor. It can change some Monitor- */
/* IDs to a given ID, which allows to use most non-games Amiga-Software on */
/* cheap, standard VGA-monitors. KickStart 3.0 or better is required. */
/* */
/* Michael Illgner */
/* Theodorstr. 27 */
/* W-4790 Paderborn */
/* Germany */
/* Tel.: 05251/26488 or 05251/60-2331 */
/* */
/* email: fillg1@uni-paderborn.de */
/* */
/***************************************************************************/
/* */
/* F o r c e M o n i t o r V3.10 */
/* */
/***************************************************************************/
ForceMonitor is written as a commodity, so it should belong to your
WBStartUp-drawer and will be started and used as any other commodity.
ForceMonitor patches OpenScreen and OpenScreenTagList, to open most screens
in a given displaymode. Using Exchange you can disable ForceMonitor, which
will bypass the patch. Due to security reasons, the patch will only removed
at program end.
Forcemonitor accepts the following tooltypes :
CX_PRIORITY -- the commodity's priority,
please look in your Amiga manual
CX_POPUP -- YES or NO, popup the configwindow at startup
CX_POPKEY -- the hotkey to display the configwindow,
defaults to 'ctrl alt f', please look
in your normal manuals (like Toolmanager)
to get a detailed description of possible hotkeys
The rest of the ToolTypes should not be set by the Workbench Info-command,
this will be done by the configwindow.
Now a short description of the gadgets in the configwindow,
its use should be quite obvious.
PopKey Shortcut 'p'
An alternative place to specify the hotkey for displaying this window.
CheckSize Shortcut 'c'
ForceMonitor uses the 3.0 function BestModeID to determine to new
ScreenMode. If CheckSize is choosen, BestModeID will use the specified
sizes in the NewScreen structure or in the SA_Width and SA_Height tags
instead of the default ones. This is recommended.
NewLook Shortcut 'n'
Set the newlook for all screens, even the old ones.
AutoScroll Shortcut 'a'
Set the Autoscroll flag for all screens.
Hide Shortcut 'h'
Close the configwindow, equivalent to the closebutton.
Save Shortcut 's'
Saves the configuration to the info-file, so no extra configfile
is needed :-)
Quit Shortcut 'q'
Quits the program, removing the patch.
Replace
This is a ListView gadget where you can select the MonitorIDs you
want to replace. VGA users should select PAL, NTSC and default, which
is the MonitorID 0x0 or no Monitor specified.
With Shortcut 'w'
With this Cycle gadet, you can choose the new MonitorID, which will
replace the selected ones in the ListView gadget.
Reject
Here you can specify screens and tasks, which ForceMonitor will not change.
Example: You don't want to change any screen ImageFX will open, so include
"T:ImageFX" into the rejectlist (T: means the task ImageFX).
Another example: "S:#?NetHack#?" will not change any screen which title includes
the string NetHack. ForceMonitor is using the DOS-function MatchPatternNoCase(),
so you can use any valid AmigaDOSPattern including wildcards, the comparison is
>not< case-sensitiv.
Enable
Like the Commodities Exchange Enable/Disable gadgets.
Sorry, I cannot include the sources yet, because I am not allowed to own
the 3.0 AutoDocs and Includes ;-) (Hello CATS, we need them !!!!!)
History :
V1.0 ForceVGA is based on ForceNTSC
V2.0 Initial Release on Oct 23 1992
V3.0 Changed to ForceMonitor, complete rewritten, can now switch to
any MonitorID
V3.1 fixed small bug in LoadConfig()
V3.2 fixed small bug in determining the fontsize
V3.3 recompiled using SAS/C 6.2 (no new SAS/C bugs found, yet ;-)
V3.4 change the highlighting method in renderhook
V3.5 fixed some small bugs.
The NewLook flag was always set.
ForceMonitor now checks ToolTypes from the icon it was started from,
not from the program icon itself.
Thanks to Markus Stipp (corwin@uni-paderborn.de) for discovering these.
V3.6 The ConfigWindow now gets to the front if opened.
V3.7 Implemented the Reject-Screens-and-Tasks ListView, now you can specify
some Screens and Tasks, where ForceMonitor will not work.
Changed the SaveConfig() routine, now >all< unknown ToolTypes are saved,
not only "DONOTWAIT" !!
The version string is updated on every compilation now !!
ForceMonitor now uses 68020 code instead of 68040, so Amiga 1200 owners
are happy :-)
V3.8 Implemented some menus.
Corrected the Reject-Screen-and-Task Gadget enabling and activation.
Removed bug in MyOpenScreenTagList() which caused enforcerhits on
screens without title.
Removed ugly bug in GetMonitorList()
ForceMonitor will now popup the ConfigWindow, if no correct configuration
could be read from the icon.
V3.9 ForceMonitor will activate the ConfigWindow if openend.
V3.10 Implemented an Enable Gadget to en/-disable ForceMonitor from ConfigWindow.
Thanks to Mario Kemper (magick@uni-paderborn.de) for this suggestion.