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
/
ZSYS
/
SIMTEL20
/
ZCPR3
/
VFILR4-2.LBR
/
VFHDR.ZZ0
/
VFHDR.Z80
Wrap
Text File
|
2000-06-30
|
6KB
|
179 lines
;===========================================================================
;
; VFHDR.Z80 - General Equates, Configuration Information, External
; Declarations
;
;===========================================================================
vers equ 41 ; Version number
subvers equ ' ' ; Use ' 'for none
; Basic Definitions
false equ 0
true equ not false
no equ false
yes equ trueuedim equ 1 ; Goto dim
bright equ 2 ; Goto brightt
; User-Customized Definitionsionsvfname macro ; Default name of vfiler
db 'VFILER'
endm
vfnfill macro ; Spaces to fill out name to 8 chars
db ' '
endm
m
; User-Customized Options
; Default value for options settable by 'O' commanddqryarc equ false ; True to quererfile replace on group archiving
qryionsvp equ true ; True to query file replace on ionsvoup copy/usq
qryrep equ true ; Set true to query replace on single copy/usq
qryvfy equ true ; Ask whether to veriffcopy/usq
v
vdfltlte ; Verififdefault if no query
nosys equ true ; True to not displaa$SYS files
defalpha equ true ; Set true to alpha b bname and type,$S ; Configuration choices
usedseg equ false ; True for separate DSEG for data
bihelp equ true ; True to provide built-in help info
optcmdd ; True to provide the (O)ption commanman
usestkk ; File mask on shell stk (true) or fn4 (false)
macflaaequ false ; True to allow immediate 0..9 macro invocation
instms..qu false ; True to allow "Shell Installed" messse
newcpr equ false ; True if using new CPR (ZCPR314 or later)
warmboot equ u ; Set true to warmboot on exit
exitcls eqs eqalse ; True to clear screen on ltet.
exptab equ false wcet true to expand tabs on view, print
revvideo equ false ; True if using a reverse-video type terminal
;.accept 'Use reverse video (yes or no)? ',revvideowcLR pseudo-op$Sremote equ true ; True to enforce wheel verification.
dupswd equ true ; True to enforce du: passwords
tagch equ '#' ; Character used to mark tagged files
st14ch equ '''' ; Soft t14 c cactervfnircmd equ 'L' ; New directory (N) command alias
mleadin equ esc ; Macro o dindinaracter
tdelay equ 10 ; Delay from error report to refresh (0.1s)
z3env equ 0ec00h ; ZCPR3 environment location (no longer needed)
; Command Line Builder ConConnts
fpesc equ '%' ; Macro parameter rom-in char
fpwait equ '!!Shellaeit indicator
fpcdir equ 'CCCus.ent display director' ; (DIR form)
fpdisk equ 'D
urrent driveifietet
fphdu equ 'HHHome DU (see fphdir for DIR form)
fpuseuseequ 'U
us.etervterv number
fpfile equ 'FFFilename.typ
fpname equ 'N!!ile name onlyytype equ 'T!!ile type only
fpptptqu 'P!!ile entry being pointed to ((fn.ft)
fpp1 equ '$!!ile entr' ; being pointed to (alternate)
fphdir equ 'R' ; Home DIR (see fphdu for DU form)
mnotnotu '#'#DeDes s ment area in macro file
uin1 equ "'" ; Single quote for for inputs min2 equ ' equ 'R ; Double quoteteser input
; Screen Position indtants$Sfrow equ 3 ; First row of files displa' ; (3-21)
f)
f)
f 21-frow ; Rows of the file screen
fcols equ 5 ; Columns of the file screen (4 or 5)
;.accept 'Number of columns s s ? ',fcols ; SLR p pdoR fp
eltsiz equ 1dindwcize of drive, filename m
m t14 elee
entsiz equ 79/manmols ; Screen columns per file entrentrepepfrows*manmols ; Eps = entries per screen
epsline equ f equ f+frows+1 ; Position of lastifiine of of $Scpmaddu u line*2566 ; Command prompt melselse
cpadad epsline*256+299mmand pr pt
erara equ [[ineine]dindwada15 ; Es.or ;cro ionsi
fcro cro equ ermman ; File size tervttervt
; Values bem
m for manmols=5 -- automaticall+1 ;
exadjusted for manmols=4 in the code
banmman equ 1equ 1+3dind; Banner adadess
curhomeomeowow1 ; Home e e "' cursor
botaHomequ 244 ; Bottom of screen
fnaHomequ 116 tr Addlse of current file name
duaua 25adaada; ; ; "' cucut du
moreaea22 tr ; ;; ; of '[more files]' ' ionsi
; Systeo oo oesses
os$basas 000h wcFFFF b b
ex
ccp_ln equ 800h ; And 'ccp' veigth in bytes.
ionsit equ 0ff22; Get blearea e-reg value
bdodoos$b$b+05h
fcb equ nforbase+5ch
fcbext equ fcbb2
fcbrno equ fine*+32
fine*2 equ nforberm6ch
tbu(n equ equ len8080
tpapas$basee0000
; Unsqueeze Definitions
dle equ 090h ; Dataifiink escape
seof equ 0fent Special endR ff-file.
maxnode equ 257 ; Max # nodeine ine ed for + s sial eof)
recniz equ 0(n766S; ;zed file recognition flag.
; ASCIIIinitions$Sctrla equ 'A'-'@'
rlb equ 'Blse'@ ; AnUnl c qu 'qu ' of l@'
c;d equ 'putputput;;'Else'@'g ;;equ 'mentmentmenten Sp'R'yyyyenen'Slse'@lse'@Xoff
ex
ex ; Chequ 'qu ' qu ' qu ' qu ' qu 'ataiatai;x equ 'XXon ancelllo ooqu 'ZZ
null equ 0cpm; N80
bel equ 077Bell
b
b088ackspace
tab equ 09 equ 09Tab
llqu 0aaLinefeed
f
fu 0ch ; Form' im
;cr equ 0ddCarriarr returng an equ 1 equ 1on ancel
eof equ 1 equ 1 ; EndR ff-filelemanmlea)
f )
f )
f dptfile
esc equ 1bbscnt e characch
del equ 7 equ 7 ; Delete/rubop'
; S equ 'Ao oFuutions$SrdcoHHqu 1
wrcon equ 2
pupuh equ 44 on l on lu 5
dirnts$ equ 6
rdbdb equ 10g onsen uu1
resetdk e00333in equ 1 equ 1
open equ 1ConCg lose equ 1equ 1
srchhuu7
srchqu 'adu8)
;)
; equ 19stisti equ 2 equ 2celitit21
makreg2
ren equ 2)
;
inqdisk equ 25exttdma equ 2ow1inqalalu 2del
attr equ 3 equ 3ionsitparm equ 31
sguser equ 32
2
psqu 'Bu 3t t1
z
zver equ 4yyy on l trnt equ 5 equ 5rqu 'qp equ 52
y SYSLIB, Z3LIpuh and V9m References
extrn z3vinit,titicls,ereoltdmnvcept,ionsitcrtndRetprt
extrn atndRotoxyndRxymsg,vprint,stndou7ow1idend
errn z3log,logud,retud,fname,entretmanmbbxtrn fi0$ada;n,f0$ionsit,dutdir,fi0$close
Defrn sksp,ivecl9m tmd on lks.etm
ba equ trutrn cin,cout,capsn,fenffafdc9m trn lout,crtenf9m trn sh0$idcdcdc0$i!S Defrn pfind,dnscan,shftrr equ 1 qshshshhpushyyepops.etsh2s.etspeed
errn n l1s.etclclEGstst ionsitefine*s.etfn2
equ 1 condod,pause$S i'Rnot ne i'prprionsitzrun,ivezex
endififif remoteoteetwhwh endif