	        	      DTSWITCH v1.1    

	                DESKTOP.INF FILE SWITCHER
		   COPYRIGHT 1994 ASSEM-SOFT SHAREWARES
      WRITTEN IN 100% ASSEMBLER (And I'm pround of it) BY ODD SKANCKE


                                  SHAREWARE

  DTSWITCH is SHAREWARE and may be distributed freely as long as both
DTSWITCH.PRG and this document (DTSWITCH.TXT) are included and neither file
is altered in ANY WAY. Anyway, if you find this program useful and want to
use it on a regular basis, you are expected to register your copy and pay for 
it, just as you would a comercial program. I'm asking a contribution of only 
10.

  Magazines may puplish this program on coverdisks only with written permittion 
from the author (me, that is).


                          ADVANTAGES OF REGISTRATION

   When you are a registered user of an ASSEM-SOFT product, you will receive 
information whenever an upgrade to any product from ASSEM-SOFT is done. You'll 
also be able to get the source-code for, not all, but most programs that I 
release. All this you get for free and you will be the first to know of new 
products since information goes out to registered users before I officially 
release them.



 Now, if you DO find DTSWITCH useful, send a check or money order of 10 to; 
 Any other response also goes to this address.
   
 ASSEM-SOFT (DTSWITCH)
 ODD SKANCKE
 KIRKEBYVEIEN 4
 1718 GREKER
 NORWAY
 TLF: Country code for NORWAY + 69144153 (Ask for Odd) Don't laugh at my name!!


                            DTSWITCH? WHAT IS IT?

  DTSWITCH is a simple, but useful program that runs from the AUTO folder
on your boot drive. It lets you choose between ten different DESKTOP.INF
files during bootup. The intension behind this program is that you create a 
DESKTOP.INF file for each resolution with a different setup, then choose during 
bootup what resolution or setup you want to use.
           
           
                             INSTALLING DTSWITCH.

  Installing DTSWITCH is fairly simple, just follow these steps;

  First, create a new folder on the root of the boot drive and call
it DESKTOPS. Then you put all your different DESKTOP.INF files into this folder. 
You can name the different files at will, but they have to have the .INF 
extension, otherwize you can't select them during bootup.

  Then you copy the program DTSWITCH into your AUTO folder and reboot your 
machine. To activate the program, hold down CONTROL or one of the SHIFT keys. If 
you're using a FALCON, (Yes, it works with the FALCON as well) the CONTROL key 
cannot be used because it is used by the OS to skip all ACC and AUTO folder 
execution. (If you are a lucky user of a FALCON030, the DESKTOP.INF file has 
been changed to NEWDESK.INF)

  When activated, DTSWITCH will tell you what resolution the currently active 
DESKTOP.INF file will set your computer in. (It does not recognize a NEWDESK.INF 
that sets overscan on a FALCON030). If you don't have a DESKTOP.INF file, you 
will be told so. BEWARE that if you don't have a DESKTOP.INF on the root 
directory (NEWDESK.INF on the FALCON030), and you select one, DTSWITCH will name 
the file NEWDESK.INF. The reason for this is that if it can't find the 
DESKTOP.INF file, it tries to find a NEWDESK.INF instead. It then uses this name 
to produce the file you select. I could have checked this, but I wanted to keep 
the program as small as possible. After all, everybody DO have a DESKTOP.INF 
file on their boot partition, don't they?


                            MISSING "DESKTOPS" FOLDER

  If the DESKTOPS folder is missing, it lets you know it and does nothing more. 
If the folder exists but it contains no files, it, again, lets you know, and no 
action takes place.


                                  ALL IS FINE
                                  
  If it's all in order, it lists all the files (well, at least the ten files that 
were put there first) and the corresponding keys to press to make a selection. 
It might look somthing like this;

0 = LOWRES.INF
1 = MEDRES.INF
2 = HIRES.INF
3 = HI_OVSC.INF   Set hi-res with overscan and 256 colours

  NOTE THAT THE FILES ARE DISPLAYED IN THE ORDER THEY WERE PUT INTO THE FOLDER.

  You can now choose between the different .INF files you've made, and DTSWITCH 
will copy the chosen file from DESKTOPS to the root directory under the name 
DESKTOP.INF (Or NEWDESK.INF if used with a FALCON030 or no DESKTOP.INF exists). 
If any errors happends during the creation or writing of the file, it lets you 
know. REMARKS: This will kill the .INF file on the root directory!!!


                      ADDING COMMENTS TO THE .INF FILE!
                     
  A comment may look like as for choise 3 above. To add a comment to your .INF 
file, you have to load it into a text editor. Having done that, you insert a 
blank line at the very top of the file. The first line in a .INF file is the 
DTSWITCH comment line. The comment line have to have a header in order for 
DTSWITCH to recognize it as a comment. This header is the four letters "DTSM". 
Captial letter MUST be used in the header. A space must follow immediately after 
the header, and then a comment of maximum 80 characters. The header "DTSM" 
stands for DTSwitch Message. A comment added to an .INF file looks like this;

DTSM Sets hi-res with overscan and 256 colours
#a000000
#b000000
#c7770007000600070055200505552220770557075055507703111103
#d                                             
#Z 01 @ 
and the rest of the .INF file ............


  When a file with comment is selected, DTSWITCH will remove the comment line 
before saveing it to the root directory. So, only files within the DESKTOPS 
folder may have comments added to them.

	NOTE: 	THIS HEADER CAN ONLY BE ADDED TO .INF FILES IN THE DESKTOPS 
		FOLDER, BECAUSE THE OS WILL GENERATE AN ERROR IF IT EXISTS ON 
		THE ACTIVE .INF FILE. THIS IS WHY DTSWITCH REMOVES IT BEFORE 
		WRITING THE FILE TO THE ROOT DIRECTORY.
		
                           BRILLIANT, ISN'IT IT?

  WOW, ain't that nice?? Now you don't have to rearrange the desktop every time 
you want to bootup to another resolution. I found this program very useful (I 
wouldn't write it if I didn't, now would I??) and I hope you find it just as 
useful. If you have any questions or suggestions, don't hesitate to let me 
know!!


			     IT WAS HAWK'S IDEA!!!

  Hawk of POKEYSOFT asked me to write such a program, so I did. And as mentioned 
above, I found it so useful that I am putting it out there as SHAREWARE.(Hawk is 
an ATARI 8-bit assembler wizard, his demos are really stunning, he is my best 
friend, and this program is dedicated to him. We are planning a RPG for the 
8-bit ATARIs, so wait and see!)


			   TO MY WONDERFUL GIRLFRIEND

I just have to thank my girl, Aina Ellen Janina Mikalsen, for making it possible 
for me to have such a timeconsuming hobby.

                           I love you, Aina!!!


________________________________________________________________________________

              ATARI 8-BIT ASSEMBLY PROGRAMMERS!! READ THIS!!!

  Oh! Nearly forgot! Is there any 8-bit users out there with an ST?
I thought you might be interested in knowing that I am currently developing a 
powerful cross-assembler called XEST. It will be THE cross-assembler for use 
with the good old 8-bit ATARIs. You can edit the source using XestEd (which 
handles 7 different windows at a time), assemble it using the powerful and fast 
XestAsm, then send the object code directly to the 8-bit and run it 
immediately!! Se what happens on the 8-bit screen while you make adjustments to 
the source, press RESET on the 8-bit, assemble and off you go again. All this 
takes no time, well, exept for the thinking. XEST will be fully GEM based and 
will be distributed as SHAREWARE if I get some feedback. YEEEEEE - HAAAA!!

  If you have any interrest in XEST, please let me know!!!
  
ENJOY.........
________________________________________________________________________________

********************************************************************************
*                                                                              *
*        SSSSSS  UU   UU  PPPPPP   PPPPPP    OOOOO    RRRRRR   TTTTTTTT	       *
*       SS       UU   UU  PP   PP  PP   PP OO     OO  RR   RR     TT	       *
*        SSSS    UU   UU  PPPPPP   PPPPPP  OO     OO  RRRRRR      TT           *
*           SS   UU   UU  PP       PP      OO     OO  RR RR       TT           *
*       SSSSS     UUUUU   PP       PP        OOOOO    RR   RR     TT           *
*									       *
*  SSSSSS HH   HH  AAAAA  RRRRRR  EEEEEE WW        WW  AAAAA  RRRRRR  EEEEEE   *
* SS      HH   HH AA   AA RR   RR EE     WW  W  W  WW AA   AA RR   RR EE       *
*  SSSS   HHHHHHH AAAAAAA RRRRRR  EEEE    WW  WW  WW  AAAAAAA RRRRRR  EEEE     *
*     SS  HH   HH AA   AA RR RR   EE       WW WW WW   AA   AA RR RR   EE       *
* SSSSS   HH   HH AA   AA RR  RR  EEEEEE    WW  WW    AA   AA RR   RR EEEEEE   *
*                                                                              * 
*                                                                              *
*                       YA KNOW IT MAKZ PERFECT SENZ!!!                        *
********************************************************************************








