Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!hplabs!sri-unix!Info-IBMPC@USC-ISIB.ARPA
From: Info-IBMPC@USC-ISIB.ARPA
Newsgroups: net.micro.pc
Subject: none
Message-ID: <629@sri-arpa.UUCP>
Date: Thu, 2-Aug-84 05:08:24 EDT
Article-I.D.: sri-arpa.629
Posted: Thu Aug  2 05:08:24 1984
Date-Received: Sun, 5-Aug-84 00:29:00 EDT
Lines: 56

From:  Info-IBMPC Digest 

31-Jul-84 10:33:58-PDT,2648;000000000001
Date: 30-Jul-84
From: Ron Kuper 
Subject: Tab size under DOS and Wordstar
To: info-ibmpc@isib

    Here's some relief for anyone who is fed up with 8-space tabs in DOS
and/or WordStar.  I've done some digging about and have defined a few
patches that can be made to reduce the default DOS tab size to 4 characters,
and that will set WordStar's non-document "fixed" tab size to 4 characters.
Unfortunately, the DOS patches as of this point can only be made in memory;
I haven't had the time to find what actual module the patched code resides
in... maybe someone out there can help.  Anyway, here are the patches:

DOS PATCHES:
    While in DEBUG, type "U 0:432D".  You should see as the first line of
code "OR AL,F8".  If you do not see this, you must search memory for that
particular instruction.  The idea is to change the "F8" to an "FC", thus
allowing for 4 spaces instead of 8.  Anway, once the code is found, type
in "E 0:432D FC" (or, E 0:YOURADDRESS FC).
    Once you've done that, type "U 0:44BA".  You should see as the first line
of code "MOV BL,07".  Once again, if you don't see that, you must find that
code in memory.  This instruction will be changed to a "MOV BL,3", so you
must type "E 0:44BB 3" to make the change.
    As stated above, this is a one-time patch.  To make this patch easier I
guess a small program could be written that will move the data into place.
A better solution would be the patch either IBMBIO or IBMDOS, whichever
file the above code resides in.
    So, quickly again, its "E 0:432E FC" and "E 0:44BB 03"

WS PATCHES:
    First, you must patch WS.COM, so type (of course) in "DEBUG WS.COM".
For this patch to work, the following instructions should be at the indicated
addresses, and you must change the instructions as indicated (either by typing
in the new code or directly substituting 3's for 7's):

XXXX:1433 AND      AL,07        ...change to...       AND     AL,03
XXXX:2533 OR       CL,07        ...change to...       OR      CL,03
XXXX:27FA AND      AL,07        ...change to...       AND     AL,07

    The "XXXX" 's shown will probably vary from system to system, so I do not
provide actual values.  They will be some 4 digit hex number.  After making 
these changes, type "W" to re-save the newly patched version of WordStar.
    Next, you must patch the file WSOVLY1.OVR, so type in "DEBUG WSOVLY1.OVR".
This time there is only one location to change:

XXXX:2403 AND      AL,07        ...change to...       AND     AL,03

    And, of course, type in "W" to re-save the file.

    That's all folks!!
------

-------