          ---------------------------------------------
                    STOS Basic TOS 3.6 fixer

                         By John Dillenburg
              
                            4-Feb-1992
          ----------------------------------------------

FREEWARE:
   This program is FREEWARE and may be distributed without license free 
 of charge so long as this message is included in every copy.

DISCLAIMER:
    Because there are unreasonable people, I feel I must state the
  following:  I take NO RESPONSIBILITY for any damage this program 
  might incur.  This program is not from Mandarin software or Francois 
  Lionet, just lil'ol me.

Contents:
  READ306.ME
  ROM__306.TOS

Instructions:  
  One of the disappointments I had when I got my TT was the inability to
run STOS properly.  I tried the STOS 2.5 upgrade, but this didn't work
since it was meant for STe's with TOS 1.6 installed.   The designers of STOS
used hidden system vectors in the operating system which change with
each TOS version.  Up till now, Francois Lionet has been able to keep up
with TOS revisions and has made upgrades available.  

  I set out to determine the system vectors for TOS 3.6.  This was no easy
task since I had to disassemble and decipher large portions of the operating
system.  After I found all the addresses (about 2 days later), I placed them
into a program which can patch STOS version 2.5 so that it works with
TOS 3.6.  If you don't have version STOS version 2.5, then don't use this
patch!  My program assumes you have STOS version 2.5 upgraded to handle
TOS version 1.6.

  To use the program, place ROM__306.TOS in the same folder as BASIC205.PRG
and run the program.  The program will copy BASIC205.PRG to BASICTT.PRG and
place the new ROM vectors in BASICTT.PRG.  It will then copy STOS\RUN__205.BIN
to STOS\RUN__TT.BIN and place the TOS 3.6 ROM vectors in STOS\RUN_TT.BIN.
It will then rename BASIC205.PRG to BASIC205.TMP and rename STOS\RUN__205.BIN
to STOS\RUN__205.TMP.  Finally, it will install the TOS 3.6 versions of
BASIC205.PRG and STOS\RUN__205.BIN.  In case the new version doesn't work,
you can delete BASIC205.PRG and STOS\RUN__205.BIN and then rename the
.TMP versions.  If all goes well, you'll have a screaming version of STOS
working on your TT!

ROM address:
  For those of you who are technical minded, here are the ROM addresses:

     $000037C0      Mouse Coordinate
     $000010A9      Joystick
     $00000ECA      Keyboard
     $00003766      VDI tables
     $00003828      VDI tables
     $0000107A      Mouse
     $000010E4      Sound

Send questions or comments to:

   John Dillenburg
   820 Regent Street
   New Lenox, IL    60451
   U.S.A.

   GEnie: J.DILLENBURG
   Internet:  dillenbu@uicbert.eecs.uic.edu

Plug:  Try SEAWAR, you'll like it.
