home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
PROGRAMS
/
WSTAR
/
WS33LBLS.TXT
< prev
next >
Wrap
Text File
|
2000-06-30
|
6KB
|
279 lines
Wordstar 3.3 labels
===================
This is a list of the labels used in WS 3.3. These labels
are described in the WS 3.0 manual & configuration guides, but
have different addresses from 3.0. However, if you combine the
manuals, this list, and a debugger (such as DDT, SID or ZSID),
you should be able to patch WS 3.3 with no problem. The
definitions haven't changed, but Micropro has compacted the code
and gotten rid of the useless 'reserved' patch areas they kept
leaving in 2.x and 3.0. This list was extracted from WS.INS using
ZSID and a small MBASIC utility I whipped up for the occasion.
One handy thing about the list in this form; if you want to
write assembly language patches that you can zap in with DDT,
just write your code or DB statements preceded by the appropriate
ORG. For example, if you wanted to write some special startup
sequence and put it into the MORPAT area, you could write some
code...
(the address equate list goes here)
ORG TRMINI ; location for terminal init jump
JMP MYINIT ; patch it to jump into my code
ORG MORPAT
MYINIT: MVI A,2 ; start of my init code
.
.
.
RET ; end of my init code
END
...then assemble with ASM or MAC. Before you patch your
Wordstar, you will want to have installed it so you won't have to
worry about some of the more mundane aspects of Wordstar
initialization. After you have installed Wordstar and assembled
the code, you will need DDT or something like that. Say your code
was called WSPAT.ASM; now just zap in the hex file without a
displacement...
A>DDT WS.COM
DDT VERS. 2.2
NEXT PC
4600 0100
-IWSPAT.HEX
-R
NEXT PC
4600 0100
-G0
A>SAVE 69 WSNEW.COM
...or whatever you want to call it. This is a much nicer way
to create large or complicated patches than using the INSTALL
facility or even DDT.
'nuff said. Here is the list!
Jeffrey J. Nonken
;
; List of Wordstar 3.3 labels
;
PATVER EQU 010CH
MSGVER EQU 010EH
WSVER EQU 0110H
COPRIT EQU 0112H
SIGNON EQU 014EH
IDTEX EQU 018AH
PIDTEX EQU 01AEH
PROTTX EQU 01D2H
PDRVTX EQU 01F6H
ABSVAR EQU 021BH
WFLAGS EQU 021BH
WRAPF EQU 021BH
JUSTF EQU 021CH
VTABF EQU 021DH
SHYPF EQU 021EH
HYPF EQU 021FH
SHOWCF EQU 0220H
SHOWDF EQU 0220H
SHOWHF EQU 0220H
SHOWMF EQU 0221H
PAGON EQU 0222H
PAGDIS EQU 0223H
LSPACE EQU 0224H
MOVETY EQU 0225H
DISDIR EQU 0226H
INPORT EQU 0227H
AUPAV EQU 0228H
MSGLEN EQU 0229H
INSTLD EQU 022AH
PCLAS EQU 022BH
SAVEND EQU 022CH
PTEXTS EQU 022EH
POVSTB EQU 0230H
HITE EQU 0232H
WID EQU 0233H
CLEAD1 EQU 0234H
CLEAD2 EQU 023DH
CTRAIL EQU 0242H
CB4LFG EQU 0247H
LINOFF EQU 0248H
COLOFF EQU 0249H
ASCUR EQU 024AH
UCRPOS EQU 024BH
ERAEOL EQU 0250H
LINDEL EQU 0257H
LININS EQU 025EH
IVON EQU 0267H
IVOFF EQU 026EH
TRMINI EQU 0275H
TRMUNI EQU 027EH
INISUB EQU 0287H
UNISUB EQU 028AH
USELST EQU 028DH
DELCUS EQU 028EH
DELMIS EQU 028FH
MEMAPV EQU 0290H
MEMADR EQU 0291H
HIBIV EQU 0293H
HIBCUR EQU 0294H
CRBLIV EQU 0295H
ZAFCIN EQU 0296H
RUBFXF EQU 0298H
RFIXER EQU 0299H
UCNSTA EQU 029AH
UCONI EQU 029DH
UCONO EQU 02A0H
SWIN EQU 02A3H
SWOUT EQU 02A9H
DEL1 EQU 02AFH
DEL2 EQU 02B0H
DEL3 EQU 02B1H
DEL4 EQU 02B2H
DEL5 EQU 02B3H
TRSCRS EQU 02B4H
TRSCIF EQU 02B5H
HETHBS EQU 02B6H
APLFLG EQU 02B7H
MPMFLG EQU 02B8H
DEFDSK EQU 02B9H
SCRLSZ EQU 02BAH
CNVTBL EQU 02BBH
MORPAT EQU 02CBH
PBGMEM EQU 034BH
ITHELP EQU 034DH
NITHLF EQU 034EH
ITITOG EQU 034FH
ITDSDR EQU 0350H
INITPF EQU 0351H
INITLM EQU 036AH
INITRM EQU 036BH
INITSR EQU 036CH
INITWF EQU 036DH
NONDOC EQU 0378H
DOTSON EQU 0379H
DECCHR EQU 037AH
DOTCHR EQU 037BH
BLNCHR EQU 0386H
CMTCHR EQU 0387H
ENDEXP EQU 0388H
RVELIM EQU 0389H
RVQUOT EQU 038AH
TXBACK EQU 038CH
VARCH1 EQU 038EH
VARCH2 EQU 038FH
VAROPC EQU 0390H
COMPOP EQU 0396H
LOGICP EQU 03B7H
HZONE EQU 03C9H
VOWTAB EQU 03CEH
NONCON EQU 03D3H
BOFCHR EQU 03DDH
CONCHR EQU 03DEH
EOFCHR EQU 03DFH
FDTCHR EQU 03E0H
HARDCR EQU 03E1H
LFCHR EQU 03E2H
OVPCHR EQU 03E3H
PAGCHR EQU 03E4H
SOFTCR EQU 03E5H
SOFHYC EQU 03E7H
PAGFIL EQU 03E8H
MARKS EQU 03E9H
PODBLK EQU 03F8H
NOUFF EQU 03FCH
ITPOPN EQU 03FDH
ITMIJ EQU 03FEH
ITBIP EQU 03FFH
FNWSCM EQU 0400H
DSKTNA EQU 040CH
FNOVLY EQU 0418H
FNMRGP EQU 0424H
AUTOBS EQU 0430H
BSCHR EQU 043BH
NOFTAB EQU 043CH
VTAB EQU 0489H
XTAB EQU 0655H
FPTAB EQU 067AH
CLCHR EQU 0691H
CRCHR EQU 0692H
LITCHR EQU 0693H
DIRCH EQU 0694H
STPCHR EQU 0697H
ERELCH EQU 0698H
POSMTH EQU 0699H
BLDSTR EQU 069AH
DBLSTR EQU 069BH
PSCRLF EQU 069CH
PSCR EQU 06A7H
PSHALF EQU 06AEH
PBACKS EQU 06B5H
PALT EQU 06BBH
PSTD EQU 06C0H
ROLUP EQU 06C5H
ROLDOW EQU 06CAH
USR1 EQU 06CFH
USR2 EQU 06D4H
USR3 EQU 06D9H
USR4 EQU 06DEH
RIBBON EQU 06E3H
RIBOFF EQU 06E8H
PSINIT EQU 06EDH
PSFINI EQU 06FEH
SOCHR EQU 070FH
ULCHR EQU 0710H
PRINIT EQU 0711H
PRFINI EQU 0714H
CSWTCH EQU 0717H
HAVBSY EQU 0718H
LIBSY EQU 0719H
LISEND EQU 071CH
LISINP EQU 0724H
POBSY EQU 0727H
POSTAT EQU 0728H
POMASK EQU 072BH
POOM EQU 072DH
POSEND EQU 0732H
POOP EQU 0733H
POINP EQU 0736H
PISTAT EQU 0737H
POINSK EQU 073AH
POIM EQU 073CH
POIP EQU 0740H
PUBSY EQU 0744H
PUSEND EQU 0747H
PUINP EQU 074AH
ACBSY EQU 074DH
ACSEND EQU 0750H
ACINP EQU 0759H
ACFIN EQU 0763H
ACSTA1 EQU 0764H
ACSTAR EQU 076CH
CONFIE EQU 0774H
PROTCL EQU 0778H
EAKBSZ EQU 0779H
DVMILE EQU 077AH
DVMITR EQU 077FH
DVMMIN EQU 0784H
DVMRNG EQU 0786H
DHMILE EQU 0788H
DHMIFG EQU 078DH
DHMIN EQU 078EH
DHRNG EQU 0790H
DFWD EQU 0792H
DBAK EQU 0797H
DSP EQU 079CH
DBS EQU 07A1H
DLF EQU 07A6H
DRLF EQU 07ABH
DPHSPC EQU 07B0H
DPHRUB EQU 07B4H
DNPROS EQU 07B8H
DMJWB EQU 07B9H
PSTAB EQU 07BAH