 
*  FWHICODE/S    40-col       Jul / 11 / 93
*----------------------
*  Minimum Function
 
*-------------------------------
*  Use FWEDMAKE to SAVE
*  Saves from >2000 - LLAST   EX
*             BUFCOD - SLAST  EY
*-------------------------------
 
*  Editor and System EQUates
 
       COPY "DSK5.ED0/EQUS"
 
*  DEFs for FSAVE
 
       DEF  SLAST,SDLEN,SDVEND
       DEF  TXTVDL,TOPOV,HFIRST
       DEF  EDITBF,HIBUF
 
*  DEFs from TEXTMESG
 
       DEF  TEXT,TXTLEN
 
*  DEFs from BUFMGR
 
       DEF  MVLINS,NXDIG,BINDEC
       DEF  INSTLN,UPDTLN,DELTLN,GETLN
       DEF  DLBLOC,CPBLOC,ELDCON
 
*  DEFs from ENTHI & for SD
 
       DEF  FIRST,SDEND,SDATA
 
*  REFs for P/E overlay
 
       REF  ASMCM2,ASMLEN,PRTB12,PRTB22
       REF  PRETTY,PRDOF1,PRDOF2
       REF  PAD01,FCEND
 
*  REFs for command tables
 
       REF  START,ROLLUP,INSCH1,COMAND,RGTAR,UPAR
       REF  FREEZE,INSCHR,HOMFIL,TABF,ENDFIL,CTOEOL
       REF  HOMCSR,INSERT,GO2ORG,PAGE,ROLDWN
       REF  REFRMT,LFTAR,BTAB,CMODE,GOTO1,TABWD
       REF  DWNAR,MRREL,GO2END,DNCAS,UPCAS
       REF  INDENT,WORDW,OOPS,COLORC,NEXTP,DUPLIC
       REF  LASTP,LMODE,MARKIT,DELCHR,GO2MRK
       REF  DELLIN,ENTKEY,NXTSCN
       REF  CMRLUP,CUPAR,INSC40,MARKLN,CHR0C
       REF  CMRLDN,CDNAR,CHR0A,CTOPL,CMDXIT,TOGBCL
 
*  REFs from FWEDITOR
 
       REF  ONE,TENS,TENLST,TENM2
       REF  LINT46,LINT48
       REF  PCCENT,PCCEXT,HELPLD,HPMAX
       REF  SSNLEN,SCNLEN,CPUADR,TOPSCN
       REF  BUFADR,LINENO,LINF,DSIX
       REF  INSLIN
 
*  Key / command tables
 
       REF  PCENTY,PCEXT,PCEDAT,PCXDAT
       REF  CMDTBL,CMDTND,CMDTE
       REF  PABHLN,HLPFLD
       REF  CRSTAB,CRSTND,INXADR
 
*  Byte data
 
       REF  LCA,LCZ,PERIOD,BFF,BA0
       REF  MASK10,ASTRIX,READ,WRITE,TWO,AZERO
       REF  CTRLC,UDLINE
 
       REF  ASPARS,WDPROC,WPMODE
       REF  CRFLAG,WDWRAP,REFRSH
       REF  RWBRN,STVW10,STVR10
 
*  Format/Cursor  pointers
 
       REF  WCSR,FCSR
 
*  Code entries
 
       REF  WORDW
       REF  SPLIT,DRCODF
       REF  UPDA12,ASMPOS,REFR05,CLRT10
       REF  CMDRT,DSRERR
 
*  Sub-routines
 
       REF  WINDOW,MFILL,PURGF
 
*  Keyscan / Sound pointers
 
       REF  SCANKY,KWAIT
       REF  HONK,BEEP,BEEPL,DELVAL
 
*  Data pointers
 
       REF  NBLINE,NBLNM3,NBLEND,EOFLIN
       REF  SCLR,CMDCLR,PARBLK,SDLMEM
       REF  MARKR,FRMWP,FRMPE
 
*  VDP routines & related data
 
       REF  VSTRM,VSTRU,VSTRV,VSTRW
       REF  VMBWD,VMBWE,VMBWL,VMBW10
       REF  MOVE,MOVF,SETVDW,SETVDR
       REF  SETWDA,SETRDA,SETRDB,SETVR1
       REF  COLOR,COLCH,TWCOLS,TWCOLT
       REF  VFILI,VFILJ,VFILK,VFILL
 
*  REFs from LOADSAVE
 
       REF  LSLEN,OVRLEN,NOTABS
       REF  LFLAG,PURGF
       REF  PABOC,PABNL,PABLRL,PABSO,SLRL,PABBAD
       REF  IO,IOREC,VINIT,C2V,OPEN,CLOSE
       REF  TWDSLK,CRUSTT,CRUEND,DSRTYP
       REF  CRULST,CRUINC
 
*      HI-MEM code             *
*------------------------------*
 
       AORG BUFCOD
 
*  Buffer Manager code
 
HFIRST EQU  $
 
       COPY "DSK5.EE1/BFMGR"
 
EDITBF EQU  $
 
*  Entry code starting in text buffer
 
       COPY "DSK5.EE2/ENTHI"
 
*  DATa for ENtry code and subroutines
 
       COPY "DSK5.EE3/DATEN"
 
*  SD code tagged on to end
 
SDATA  EQU  $
       COPY "DSK5.EE4/SHODR"
       COPY "DSK5.EE5/DIREC"
SDEND  EQU  $
SDLEN  EQU  SDEND-SDATA
SDVEND EQU  SDATV+SDLEN
 
TOPOV  EQU SDATV+SDLEN
 
       COPY "DSK5.EE7/TABLS"  Command tables
       COPY "DSK5.EE8/MESGS"  Text messages
SLAST  EQU  $
 
       END
 
