home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR10
/
ACE181.ZIP
/
FON.INC
< prev
next >
Wrap
Text File
|
1994-01-17
|
3KB
|
99 lines
FON_RECORD_COUNT_MAX =250
;;
;;;sortkey bits
NO_OP Equ 0
UNMARK Equ 1
QBIT Equ 1; Qtag recordsortkey
DBIT Equ 2; Dtag recordsortkey
SCRIPTBIT Equ 4; Enable Auto logon script, Macro enabled when not SET
DTAGBIT Equ 8; Enable DTag
CAPTUREBIT Equ 16
IEMSIBIT Equ 32
CAPMETHODBIT Equ 64
AUTOLBIT Equ 128
;;
DIALMODE_USEFONDIR = 0
DIALMODE_USEFONREC = 1
;;
; The MAX LEN for each buffer includes a NUL byte. DON'T OVERWRITE IT!
;;
FON_NAME_MAXLEN = 25; 24 byte string, 1 NUL byte
FON_FONNUM_MAXLEN = 19; 18 byte string, 1 NUL byte
FON_DIALPREFIX_MAXLEN = 25; 24 byte string, 1 NUL byte
FON_SCRIPTNAM_MAXLEN = 13; 12 byte string, 1 NUL byte
FON_CAPFILENAM_MAXLEN = 13; 12 byte string, 1 NUL byte
FON_USERPWD_MAXLEN = 19;
FON_ALIAS_MAXLEN = 28;
FON_ID_MAXLEN = 12;
FON_KBD_MAXLEN = 13
;; ---
;; 108 bytes
Struc _fon
;record number is some what obsolete in that AceComm
;re numbers a FON file each time it it loaded
RecordNum dw 1; Record number (1 - 250)
;The MAX LEN for each buffer includes a NUL byte. DON'T OVERWRITE IT!
sysName db FON_NAME_MAXLEN Dup (0);
sysNum db FON_FONNUM_MAXLEN Dup (0);
DialPrefix db FON_DIALPREFIX_MAXLEN Dup (0)
userPwd db FON_USERPWD_MAXLEN Dup (0); System password
Scrfile db FON_SCRIPTNAM_MAXLEN Dup (0)
CapFile db FON_CAPFILENAM_MAXLEN Dup (0)
kbdfile db FON_KBD_MAXLEN Dup (0)
;Table lookup value (SIO.INC)
; 1 (300)
; 2 (1200)
; 3 (2400)
; 4 (4800)
; 5 (9600)
; 6 (19200)
; 7 (38400)
; 8 (57600)
; 9 (115200)
tableBaud db 3
;the line control byte is formated the same as it would be
;written to the UART
;Record linectrlbyte DLABBIT:1,BREAKBIT:1,PARITYBITS:3\
; ,STOPBITS:1,DATABITS:2
LineCTRL db 3; Parity,Stop,Data-bits (8n1) default
termtype db 0; Video type
LastDate dw 0; uses DOS date
LastTime dd 0; uses BIOS tick count
PrevCall dw 0; ; # calls to this system
SortKey db 0; Extra sort key
fillbyte db 0
fileoffs dw 0
autolt dw 0
autolm dw 0; Offset in PRM data area of auto log on MACRO
alias db FON_ALIAS_MAXLEN Dup (0)
id db FON_ID_MAXLEN Dup (0)
padding db 4 Dup (0)
EndS
FON_SIZE = Size _fon
;; Translation of the baudrate value to a table look-up value
;; can be understood by viewing the SIO.INC file.
Struc _fondir_data
recordcnt dw ?
recordnow dw ?
recordtop dw ?
recordbot dw ?
scrnfull db ?
fillbyte db ?; byte variable for filling strings with
dialquemode db ?
lastiypos db ?
verid dw ?; crc 16 of a 7 byte string 'AceComm',0
; 14 bytes above
db 12 Dup (?)
padding db 230 Dup (?)
EndS _fondir_data
FONDIR_DATA_SIZE = Size _fondir_data