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Z80 $ SBIN.Z80 $ SBIST.Z80 $ SBOUT.Z80 $ SGUA.Z80 $ SSUA.Z80 $ SRREAD.Z80 $ SRWRITE.Z80 $ SACAS1.Z80 $ SACAS2.Z80 $ SACAS3.Z80 $ SAGO1.Z80 $ SAGO2.Z80 $ SAIF1.Z80 $ SAIF2.Z80 $ SBGO1.Z80 $ SBGO2.Z80 $ SHCAS1.Z80 $ SHCAS2.Z80 $ SHCAS3.Z80 $ SHGO1.Z80 $ SHGO2.Z80 $ SHIF1.Z80 $ SHIF2.Z80 $ SDGO1.Z80 $ SDGO2.Z80 $ SARGV.Z80 $ SCODEND.Z80 ; ; BUILD of SYSLIB ; Step 1: Assemble All Files ; zas SVERSION zas SSDMA zas SLUCLOSE zas SLUDIR zas SLUINIT zas SLUOPEN zas SLUREAD zas SDIR zas SDIR00 zas SDIR01 zas SDIR02 zas SDIR03 zas SDIR04 zas SDIR05 zas SDIR06 zas SDIR07 zas SDIR08 zas SDIR09 zas SDIR10 zas SDIRBF zas SDIRQ zas SDIRQS zas SSORT zas SRAND zas SFNAME zas SSAFDC zas SSHLFDC zas SSHL4HC zas SSHL5DC zas SSADC zas SSA2HC zas SMAFDC zas SMHLFDC zas SMHL5DC zas SMHL4HC zas SMADC zas SMA2HC zas SINSTR zas SCOMP zas SSCANNER zas SALLOC zas SCOMPHD zas SEVAL zas SEVAL1 zas SEVAL2 zas SEVAL3 zas SEVAL4 zas SCONDIN zas SFYIO zas SFXIO zas S0FILEIO zas S1FILEIO zas S2FILEIO zas S3FILEIO zas SFILEIO zas SFSIZE zas SGFA zas SSFA zas SSCFA zas SFAPPEND zas SINITFCB zas SGRR zas SGRR1 zas SFOPEN zas SFEXIST zas SFMAKE zas SFCLOSE zas SFRENAME zas SFREAD zas SFWRITE zas SFDELETE zas SINLINE zas SBBLINE zas SBLINE zas SSPRINT zas SSPSTR zas SLPRINT zas SLPSTR zas SLAFDC zas SLHLFDC zas SLHL4HC zas SLHL5DC zas SLADC zas SLA2HC zas SSCRLF zas SLCRLF zas SPRINT zas SPSTR zas SEPRINT zas SEPSTR zas SPAFDC zas SPHLFDC zas SPHL4HC zas SPHL5DC zas SPADC zas SPA2HC zas SPFN1 zas SPFN2 zas SPFN3 zas SLFN1 zas SLFN2 zas SLFN3 zas SMFN1 zas SMFN2 zas SMFN3 zas SSFN1 zas SSFN2 zas SSFN3 zas SCRLF zas SSCOUT zas SSOUT zas SSCTLFL zas SCCOUT zas SCLOUT zas SCPOUT zas SCST zas SCAPIN zas SCIN zas SCOUT zas SLOUT zas SPOUT zas SRIN zas SUD1 zas SUD2 zas SUD3 zas SBDOS zas SCAPSTR zas SEN zas SBIOS zas SFILL zas SMOVE zas SCATH zas SCRC zas SCRC1 zas SCRC2 zas SPAUSE zas SMTH01 zas SMTH02 zas SMTH03 zas SMTH04 zas SMTH05 zas SMTH06 zas SMTH07 zas SMTH08 zas SMTH09 zas SMTH10 zas SMTH11 zas SMTH12 zas SCLINE zas SSKPUN zas SSKSP zas SISALNUM zas SISALPHA zas SISHEX zas SISPUN zas SISPRINT zas SISGRAPH zas SISDIGIT zas SISCTRL zas SISSP zas SCAPS zas SBIN zas SBIST zas SBOUT zas SGUA zas SSUA zas SRREAD zas SRWRITE zas SACAS1 zas SACAS2 zas SACAS3 zas SAGO1 zas SAGO2 zas SAIF1 zas SAIF2 zas SBGO1 zas SBGO2 zas SHCAS1 zas SHCAS2 zas SHCAS3 zas SHGO1 zas SHGO2 zas SHIF1 zas SHIF2 zas SDGO1 zas SDGO2 zas SARGV zas SCODEND ; ; Step 2: Create SYSLIB.REL ; lx -a:asm lib80 SYSLIB=SVERSION SSDMA SLUCLOSE SLUDIR SLUINIT SLUOPEN SLUREAD SDIR SDIR00 SDIR01 SDIR02 SDIR03 SDIR04 SDIR05 SDIR06 SDIR07 SDIR08 SDIR09 SDIR10 SDIRBF SDIRQ SDIRQS SSORT SRAND SFNAME SSAFDC SSHLFDC SSHL4HC SSHL5DC SSADC SSA2HC SMAFDC SMHLFDC SMHL5DC SMHL4HC SMADC SMA2HC SINSTR SCOMP SSCANNER SALLOC SCOMPHD SEVAL SEVAL1 SEVAL2 SEVAL3 SEVAL4 SCONDIN SFYIO SFXIO S0FILEIO S1FILEIO S2FILEIO S3FILEIO SFILEIO SFSIZE SGFA SSFA SSCFA SFAPPEND SINITFCB SGRR SGRR1 SFOPEN SFEXIST SFMAKE SFCLOSE SFRENAME SFREAD SFWRITE SFDELETE SINLINE SBBLINE SBLINE SSPRINT SSPSTR SLPRINT SLPSTR SLAFDC SLHLFDC SLHL4HC SLHL5DC SLADC SLA2HC SSCRLF SLCRLF SPRINT SPSTR SEPRINT SEPSTR SPAFDC SPHLFDC SPHL4HC SPHL5DC SPADC SPA2HC SPFN1 SPFN2 SPFN3 SLFN1 SLFN2 SLFN3 SMFN1 SMFN2 SMFN3 SSFN1 SSFN2 SSFN3 SCRLF SSCOUT SSOUT SSCTLFL SCCOUT SCLOUT SCPOUT SCST SCAPIN SCIN SCOUT SLOUT SPOUT SRIN SUD1 SUD2 SUD3 SBDOS SCAPSTR SEN SBIOS SFILL SMOVE SCATH SCRC SCRC1 SCRC2 SPAUSE SMTH01 SMTH02 SMTH03 SMTH04 SMTH05 SMTH06 SMTH07 SMTH08 SMTH09 SMTH10 SMTH11 SMTH12 SCLINE SSKPUN SSKSP SISALNUM SISALPHA SISHEX SISPUN SISPRINT SISGRAPH SISDIGIT SISCTRL SISSP SCAPS SBIN SBIST SBOUT SGUA SSUA SRREAD SRWRITE SACAS1 SACAS2 SACAS3 SAGO1 SAGO2 SAIF1 SAIF2 SBGO1 SBGO2 SHCAS1 SHCAS2 SHCAS3 SHGO1 SHGO2 SHIF1 SHIF2 SDGO1 SDGO2 SARGV SCODEND /e ; ; Step 3: Erase All Unneeded REL Files ; era SVERSION.REL era SSDMA.REL era SLUCLOSE.REL era SLUDIR.REL era SLUINIT.REL era SLUOPEN.REL era SLUREAD.REL era SDIR.REL era SDIR00.REL era SDIR01.REL era SDIR02.REL era SDIR03.REL era SDIR04.REL era SDIR05.REL era SDIR06.REL era SDIR07.REL era SDIR08.REL era SDIR09.REL era SDIR10.REL era SDIRBF.REL era SDIRQ.REL era SDIRQS.REL era SSORT.REL era SRAND.REL era SFNAME.REL era SSAFDC.REL era SSHLFDC.REL era SSHL4HC.REL era SSHL5DC.REL era SSADC.REL era SSA2HC.REL era SMAFDC.REL era SMHLFDC.REL era SMHL5DC.REL era SMHL4HC.REL era SMADC.REL era SMA2HC.REL era SINSTR.REL era SCOMP.REL era SSCANNER.REL era SALLOC.REL era SCOMPHD.REL era SEVAL.REL era SEVAL1.REL era SEVAL2.REL era SEVAL3.REL era SEVAL4.REL era SCONDIN.REL era SFYIO.REL era SFXIO.REL era S0FILEIO.REL era S1FILEIO.REL era S2FILEIO.REL era S3FILEIO.REL era SFILEIO.REL era SFSIZE.REL era SGFA.REL era SSFA.REL era SSCFA.REL era SFAPPEND.REL era SINITFCB.REL era SGRR.REL era SGRR1.REL era SFOPEN.REL era SFEXIST.REL era SFMAKE.REL era SFCLOSE.REL era SFRENAME.REL era SFREAD.REL era SFWRITE.REL era SFDELETE.REL era SINLINE.REL era SBBLINE.REL era SBLINE.REL era SSPRINT.REL era SSPSTR.REL era SLPRINT.REL era SLPSTR.REL era SLAFDC.REL era SLHLFDC.REL era SLHL4HC.REL era SLHL5DC.REL era SLADC.REL era SLA2HC.REL era SSCRLF.REL era SLCRLF.REL era SPRINT.REL era SPSTR.REL era SEPRINT.REL era SEPSTR.REL era SPAFDC.REL era SPHLFDC.REL era SPHL4HC.REL era SPHL5DC.REL era SPADC.REL era SPA2HC.REL era SPFN1.REL era SPFN2.REL era SPFN3.REL era SLFN1.REL era SLFN2.REL era SLFN3.REL era SMFN1.REL era SMFN2.REL era SMFN3.REL era SSFN1.REL era SSFN2.REL era SSFN3.REL era SCRLF.REL era SSCOUT.REL era SSOUT.REL era SSCTLFL.REL era SCCOUT.REL era SCLOUT.REL era SCPOUT.REL era SCST.REL era SCAPIN.REL era SCIN.REL era SCOUT.REL era SLOUT.REL era SPOUT.REL era SRIN.REL era SUD1.REL era SUD2.REL era SUD3.REL era SBDOS.REL era SCAPSTR.REL era SEN.REL era SBIOS.REL era SFILL.REL era SMOVE.REL era SCATH.REL era SCRC.REL era SCRC1.REL era SCRC2.REL era SPAUSE.REL era SMTH01.REL era SMTH02.REL era SMTH03.REL era SMTH04.REL era SMTH05.REL era SMTH06.REL era SMTH07.REL era SMTH08.REL era SMTH09.REL era SMTH10.REL era SMTH11.REL era SMTH12.REL era SCLINE.REL era SSKPUN.REL era SSKSP.REL era SISALNUM.REL era SISALPHA.REL era SISHEX.REL era SISPUN.REL era SISPRINT.REL era SISGRAPH.REL era SISDIGIT.REL era SISCTRL.REL era SISSP.REL era SCAPS.REL era SBIN.REL era SBIST.REL era SBOUT.REL era SGUA.REL era SSUA.REL era SRREAD.REL era SRWRITE.REL era SACAS1.REL era SACAS2.REL era SACAS3.REL era SAGO1.REL era SAGO2.REL era SAIF1.REL era SAIF2.REL era SBGO1.REL era SBGO2.REL era SHCAS1.REL era SHCAS2.REL era SHCAS3.REL era SHGO1.REL era SHGO2.REL era SHIF1.REL era SHIF2.REL era SDGO1.REL era SDGO2.REL era SARGV.REL era SCODEND.REL ; ; Done ; ; ; LULIB Module: LUDDEF.LIB ; Author: Richard Conn ; Date: 8 August 85 ; LULIB Version: 1.0 ; LULIB Module Version: 1.0 ; ; ; The LUD (Library Utility Descriptor) is defined as follows: ; ; LUD: ; DS 2 ; Length of LU Directory (filled by LUINIT) ; DS 2 ; Index of current entry (filled by LU*) ; DS 2 ; Length of current entry (filled by LU*) ; DS 11 ; Name of current file ; LUD$FCB: ; DS 1 ; Disk ; DS 8 ; LU File Name (filled by user) ; DS 3 ; LU File Type (should be LBR, filled by user) ; DS 24 ; tbuff equ 80h ; temp buffer ; luidx equ 12 ; offset to index in LU directory lulen equ 14 ; offset to length in LU directory ; ludlen equ 0 ; offset to LUD dir length ludidx equ ludlen+2; offset to LUD current index ludcnt equ ludidx+2; offset to LUD current count ludfn equ ludcnt+2; offset to LUD current file ludfcb equ ludfn+11; offset to LUD FCB ; ; SYSLIB Module Name: N/A ; Author: Richard Conn ; Part of SYSLIB3 SDIR Series ; SYSLIB Version Number: 3.0 ; Module Version Number: 1.0 ; Module Entry Points: N/A ; Module External References: N/A ; ;; ;; HEADER FOR SDIR MODULES ;; THIS HEADER CONTAINS COMMONLY-USED EQUATES ;; CPM EQU 0 ;; CP/M ENTRY POINT BDOS EQU 5 ;; BDOS ENTRY POINT BUFF EQU 80H ;; TEMP BUFFER FOR DISK I/O ESIZE EQU 16 ;; SIZE OF DIR ENTRY ;; ;; REFERENCE TO VALUES IN EXTERNAL BUFFER AREA ;; EXT BLKSHF,BLKMSK,BLKMAX,DIRMAX EXT ORDER,DIRBUF EXT SELFLG