---------------------------------------------------------------------
Automatic mode switcher, test version 201119

** This is a work in progress test version that is still very
** rough around the edges.

2020, Anders Granlund
---------------------------------------------------------------------

Automatically switch screen mode when running certain programs.

For launching ST-Low resolution fullscreen games & demos from
an ET4000/Lacescan/Mono desktop

It will not work with desktop programs or things that are using GEM.

---------------------------------------------------------------------

Usage:
Put MODESW.PRG and MODESW.INF in the AUTO folder.

For ET4000 and Lacescan users it is important to have this program
run *before* the screen drivers.
(ET4000: At least before nvdi.prg, redirect.prg and slct_dev.prg)
(LaceScan: At least before lacescan.prg)


Edit MODESW.INF with you favourite editor.

You can specify up to 256 rules.
Each line must start with 00, then a space, then the search string.
modesw will activate automatically for any program that matches a rule in this file.

Some examples:

Use modesw on all programs launched from F:
00 F:\

Use modesw on all programs launched from a GAMES directory
00 \GAMES\

Use modesw on a program called MYGAME.PRG
00 \MYGAME.PRG

