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 / MEX / MXO-TV84.ASM < prev    next >
Assembly Source File  |  2000-06-30  |  16KB  |  473 lines

  1.  
  2. ; MXO-TV804.ASM -- TeleVideo TS-804 overlay file for MEX10. 04/02/86
  3. ;          - Originally MXO-TV802.ASM -
  4. ;
  5. ; You will want to look this file over carefully. There are a number of
  6. ; options that you can use to configure the program to suit your taste.
  7. ; This file adapts the modem port on the TeleVideo TS-804 to the modem
  8. ; program.
  9. ;
  10. ; Edit this file for your preferences then follow the Installation
  11. ; instructions provided with MEX10.
  12. ;
  13. ; Use the "SET" command to change the baudrate when desired.  It starts
  14. ; out at 1200 baud when the program is first called up.
  15. ;
  16. ; =   =   =   =   =   =   =   =   =   =   =   =   =   =   =   =   =   =
  17. ;
  18. ; 04/02/86 - Revised to work with TS804     - Bill Dale
  19. ; 05/22/84 - Revised to work with MEX10     - Bob Robesky
  20. ; 07/01/83 - Revised to work with MDM711    - Irv Hoff
  21. ; 06/22/83 - Revised to work with MDM711    - Irv Hoff
  22. ; 05/27/83 - Updated to work with MDM709    - Irv Hoff
  23. ; 05/15/83 - Revised to work with MDM708    - Irv Hoff
  24. ; 04/27/83 - Revised to work with TV802     - Irv Hoff
  25. ; 02/17/83 - Modified MDM703CF for Datapoint
  26. ;         1560 computers using an external
  27. ;         modem                - Irv Hoff
  28. ;
  29. ; =   =   =   =   =   =   =   =   =   =   =   =   =   =   =   =   =   =
  30. ;
  31. BELL        EQU    07H        ;bell
  32. CR        EQU    0DH        ;carriage return
  33. ESC        EQU    1BH        ;escape
  34. LF        EQU    0AH        ;linefeed
  35. ;
  36. YES        EQU    0FFH
  37. NO        EQU    0
  38. ;
  39. ;
  40. PORT        EQU    1EH        ;TeleVideo TS-804 data port
  41. ;
  42. BAUDRP        EQU    0EH        ;CTC port for baud rate
  43. MODCTL1        EQU    PORT+1        ;Modem control port
  44. MODCTL2        EQU    PORT+1        ;Modem control port
  45. MODDATP        EQU    PORT        ;Modem data port
  46. MODDCDB        EQU    4        ;carrier detect bit
  47. MODDCDA        EQU    0        ;value when active
  48. MODRCVB        EQU    1        ;bit to test for receive ready
  49. MODRCVR        EQU    1        ;value when ready
  50. MODSNDB        EQU    4        ;bit to test for send ready
  51. MODSNDR        EQU    4        ;value when ready
  52. ;
  53. ; MEX service processor stuff
  54. ;
  55. INMDM    EQU    255        ;get char from port to A, CY=no more in 100 ms
  56. TIMER    EQU    254        ;delay 100ms * reg B
  57. TMDINP    EQU    253        ;B=# secs to wait for char, cy=no char
  58. CHEKCC    EQU    252        ;check for ^C from KBD, Z=present
  59. SNDRDY    EQU    251        ;test for modem-send ready
  60. RCVRDY    EQU    250        ;test for modem-receive ready
  61. SNDCHR    EQU    249        ;send a character to the modem (after sndrdy)
  62. RCVCHR    EQU    248        ;recv a char from modem (after rcvrdy)
  63. LOOKUP    EQU    247        ;table search: see CMDTBL comments for info
  64. PARSFN    EQU    246        ;parse filename from input stream
  65. BDPARS    EQU    245        ;parse baud-rate from input stream
  66. SBLANK    EQU    244        ;scan input stream to next non-blank
  67. EVALA    EQU    243        ;evaluate numeric from input stream
  68. LKAHED    EQU    242        ;get nxt char w/o removing from input
  69. GNC    EQU    241        ;get char from input, cy=1 if none
  70. ILP    EQU    240        ;inline print
  71. DECOUT    EQU    239        ;decimal output
  72. PRBAUD    EQU    238        ;print baud rate
  73. ;
  74.         ORG    100H
  75. ;
  76.         DS    3    ;(for  "JMP   START" instruction)
  77. ;
  78. PMMIMODEM:    DB    NO    ;yes=PMMI S-100 Modem            103H
  79. SMARTMODEM:    DB    YES    ;yes=HAYES Smartmodem, no=non-PMMI    104H
  80. TOUCHPULSE:    DB    'T'    ;T=touch, P=pulse (Smartmodem-only)    105H
  81. CLOCK:        DB    40    ;clock speed in MHz x10, 25.5 MHz max.    106H
  82.                 ;20=2 MHh, 37=3.68 MHz, 40=4 MHz, etc.
  83. MSPEED:        DB    5    ;0=110 1=300 2=450 3=600 4=710 5=1200    107H
  84.                 ;6=2400 7=4800 8=9600 9=19200 default
  85. BYTDLY:        DB    5    ;0=0 delay  1=10ms  5=50 ms - 9=90 ms    108H
  86.                 ;default time to send character in ter-
  87.                 ;minal mode file transfer for slow BBS.
  88. CRDLY:        DB    5    ;0=0 delay 1=100 ms 5=500 ms - 9=900 ms 109H
  89.                 ;default time for extra wait after CRLF
  90.                 ;in terminal mode file transfer
  91. NOOFCOL:    DB    5    ;number of DIR columns shown        10AH
  92. SETUPTST:    DB    YES    ;yes=user-added Setup routine        10BH
  93. SCRNTEST:    DB    YES    ;Cursor control routine         10CH
  94. ACKNAK:        DB    YES    ;yes=resend a record after any non-ACK    10DH
  95.                 ;no=resend a record after a valid NAK
  96. BAKUPBYTE:    DB    NO    ;yes=change any file same name to .BAK    10EH
  97. CRCDFLT:    DB    YES    ;yes=default to CRC checking        10FH
  98. TOGGLECRC:    DB    YES    ;yes=allow toggling of CRC to Checksum    110H
  99. CONVBKSP:    DB    NO    ;yes=convert backspace to rub        111H
  100. TOGGLEBK:    DB    NO    ;yes=allow toggling of bksp to rub    112H
  101. ADDLF:        DB    NO    ;no=no LF after CR to send file in    113H
  102.                 ;terminal mode (added by remote echo)
  103. TOGGLELF:    DB    YES    ;yes=allow toggling of LF after CR    114H
  104. TRANLOGON:    DB    YES    ;yes=allow transmission of logon    115H
  105.                 ;write logon sequence at location LOGON
  106. SAVCCP:        DB    NO    ;yes=do not overwrite CCP        116H
  107. LOCONEXTCHR:    DB    NO    ;yes=local command if EXTCHR precedes    117H
  108.                 ;no=external command if EXTCHR precedes
  109. TOGGLELOC:    DB    YES    ;yes=allow toggling of LOCONEXTCHR    118H
  110. LSTTST:        DB    YES    ;yes=printer available on printer port    119H
  111. XOFFTST:    DB    NO    ;yes=check for XOFF from remote while    11AH
  112.                 ;sending a file in terminal mode
  113. XONWAIT:    DB    NO    ;yes=wait for XON after CR while    11BH
  114.                 ;sending a file in terminal mode
  115. TOGXOFF:    DB    YES    ;yes=allow toggling of XOFF checking    11CH
  116. IGNORCTL:    DB    YES    ;yes=CTL-chars above ^M not displayed    11DH
  117. EXTRA1:        DB    0    ;for future expansion            11EH
  118. EXTRA2:        DB    0    ;for future expansion            11FH
  119. BRKCHR:        DB    '@'-40H    ;^@ = Send a 300 ms. break tone     120H
  120. NOCONNCT:    DB    'N'-40H    ;^N = Disconnect from the phone line    121H
  121. LOGCHR:        DB    'O'-40H    ;^O = Send logon            122H
  122. LSTCHR:        DB    'P'-40H    ;^P = Toggle printer            123H
  123. UNSAVE:        DB    'R'-40H    ;^R = Close input text buffer        124H
  124. TRANCHR:    DB    'T'-40H    ;^T = Transmit file to remote        125H
  125. SAVECHR:    DB    'Y'-40H    ;^Y = Open input text buffer        126H
  126. EXTCHR:        DB    '^'-40H    ;^^ = Send next character        127H
  127. ;
  128. ;
  129.         DS    2        ;                128H
  130. ;
  131. IN$MODCTL1:    IN    MODCTL1    ! RET    ;in modem control port        12AH
  132.         DS    7
  133. OUT$MODDATP:    OUT    MODDATP    ! RET    ;out modem data port        134H
  134.         DS    7
  135. IN$MODDATP:    IN    MODDATP    ! RET    ;in modem data port        13EH
  136.         DS    7
  137. ;
  138. ANI$MODRCVB:    ANI    MODRCVB    ! RET    ;bit to test for receive ready    148H
  139. CPI$MODRCVR:    CPI    MODRCVR    ! RET    ;value of rec. bit when ready    14BH
  140. ANI$MODSNDB:    ANI    MODSNDB    ! RET    ;bit to test for send ready    14EH
  141. CPI$MODSNDR:    CPI    MODSNDR    ! RET    ;value of send bit when ready    151H
  142.         DS    6        ;                154H
  143. OUT$MODCTL1:    OUT    MODCTL1    ! RET    ;out modem control port #2    15AH
  144. OUT$MODCTL2:    OUT    MODCTL2    ! RET    ;out modem control port #1    15DH
  145. ;
  146. LOGONPTR:    DW    LOGON        ;for user message.        160H
  147.         DS    6
  148. JMP$GOODBYE:    JMP    GOODBYE        ;                168H
  149. JMP$INITMOD:    JMP    INITMOD        ;go to user written routine    16BH
  150.         RET  !    NOP  !    NOP    ;(by-passes PMMI routine)    16EH
  151.         RET  !    NOP  !    NOP    ;(by-passes PMMI routine)    171H
  152.         RET  !    NOP  !    NOP    ;(by-passes PMMI routine)    174H
  153. JMP$SETUPR:    JMP    SETUPR        ;                177H
  154. JMP$SPCLMENU:    JMP    SPCLMENU    ;                17AH
  155. JMP$SYSVER:    JMP    SYSVER        ;                17DH
  156. JMP$BREAK:    JMP    SENDBRK        ;                180H
  157. ;
  158. ;
  159. ; Do not change the following six lines
  160. ;
  161. JMP$ILPRT:    DS    3        ;                183H
  162. JMP$INBUF:    DS    3        ;                186H
  163. JMP$INLNCOMP:    DS    3        ;                189H
  164. JMP$INMODEM:    DS    3        ;                18CH
  165. JMP$NXTSCRN:    DS    3        ;                18FH
  166. JMP$TIMER:    DS    3        ;                192H
  167. ;
  168. ;
  169. ; Clear sequences -- CLREOS is clear to end of screen, CLRSCRN is clear
  170. ; entire screen.  Last entry must be 0.  Any other 0's act as NOP's.
  171. ;
  172. CLREOS:        CALL    JMP$ILPRT    ;                195H
  173.         DB    ESC,79H,0,0,0    ;ESC y - clear to end of screen 198H
  174.         RET            ;                19DH
  175. ;
  176. CLRSCRN:    CALL    JMP$ILPRT    ;                19EH
  177.         DB    ESC,2AH,0,0,0    ;ESC * clear CRT, home cursor    11AH
  178.         RET            ;                1A6H
  179. ;
  180. ;
  181. SYSVER:        MVI    C,ILP
  182.         CALL    MEX
  183.         DB    'Version for TeleVideo TS-804'
  184.         DB    CR,LF,0
  185.         RET
  186. ;.....
  187. ;
  188. ;
  189. ;-----------------------------------------------------------------------
  190. ;
  191. ; NOTE:  You can change the SYSVER message to be longer or shorter.  The
  192. ;     end of your last routine should terminate by 0400H (601 bytes
  193. ;     available after start of SYSVER) if using the Hayes Smartmodem
  194. ;     or by address 0C00H (2659 bytes) otherwise.
  195. ;
  196. ;-----------------------------------------------------------------------
  197. ;
  198. ; You can put in a message at this location which can be called up with
  199. ; CTL-O if TRANLOGON has been set YES.    You can put in several lines if
  200. ; desired.  End with a 0.
  201. ;
  202. ;
  203. LOGON:      DB    'XVY61937,OUTRAGE',CR,LF,0
  204. ;
  205. ;=======================================================================
  206. ;
  207. ;
  208. ; This routine allows a 300 ms. break tone to be sent to reset some
  209. ; time-share computers.
  210. ;
  211. SENDBRK:  MVI    A,5
  212.       OUT    MODCTL1
  213.       MVI    A,0F8H        ;SEND A BREAK TONE
  214.       JMP    GOODBYE1
  215. ;.....
  216. ;
  217. ;
  218. ; This routine sends a 300 ms. break tone and sets DTR low for the same
  219. ; length of time to disconnect some modems such as the Bell 212A, etc.
  220. ;
  221. GOODBYE:  MVI    A,5
  222.       OUT    MODCTL1        ;SEND TO THE STATUS PORT
  223.       MVI    A,068H        ;TURN OFF DTR, SEND BREAK
  224. ;
  225. GOODBYE1: OUT    MODCTL1
  226.       MVI    B,3        ;WAIT 300 MS.
  227.       CALL    JMP$TIMER
  228.       MVI    A,5
  229.       OUT    MODCTL1
  230.       MVI    A,0E8H        ;RESTORE TO NORMAL, 8 BITS, DTR ON, ETC.
  231.       OUT    MODCTL1
  232.       RET
  233. ;.....
  234. ;
  235. ;
  236. ; TeleVideo TS-804 baud rate change.  Sets CTC at port 0EH for baudrate
  237. ; in/out.
  238. ;
  239. ;
  240. INITMOD:  MVI    A,0        ;SELECT REG.
  241.       OUT    MODCTL1        ;SEND TO THE STATUS PORT
  242.       MVI    A,18H        ;RESET THE Z8SIO CHIP
  243.       OUT    MODCTL1        ;SEND TO THE STATUS PORT
  244.       MVI    A,4        ;SELECT REG.
  245.       OUT    MODCTL1        ;SEND TO THE STATUS PORT
  246.       MVI    A,44H        ;16X, 1-STOP, NO PARITY
  247.       OUT    MODCTL1        ;SEND TO THE STATUS PORT
  248.       MVI    A,3        ;SELECT REG.
  249.       OUT    MODCTL1        ;SEND TO THE STATUS PORT
  250.       MVI    A,0C1H        ;ENABLE RECEIVE SECTION
  251.       OUT    MODCTL1        ;SEND TO THE STATUS PORT
  252.       MVI    A,5        ;SELECT REG.
  253.       OUT    MODCTL1        ;SEND TO THE STATUS PORT
  254.       MVI    A,0EAH        ;DTR, RTS, 8-BITS, ENABLE SEND SECTION
  255.       OUT    MODCTL1        ;SEND TO THE STATUS PORT
  256. ;
  257. INITMOD1: MVI    A,5        ;DEFAULT TRANSFER TIME TO 1200 BAUD
  258.       STA    MSPEED
  259.       MVI    A,47H
  260.       OUT    BAUDRP
  261. ;
  262. INITMOD2: MVI    A,68H        ;DEFAULT TO 1200 BAUD
  263.       OUT    BAUDRP
  264.       RET
  265. ;.....
  266. ;
  267. ;
  268. SETUPR:      MVI    C,SBLANK    ;ANY ARGUMENTS?
  269.       CALL    MEX
  270.       JC    TELL        ;IF NOT, GO DISPLAY BAUD
  271.       LXI    D,CMDTBL
  272.       MVI    C,LOOKUP
  273.       CALL    MEX        ;PARSE ARGUMENT
  274.       PUSH    H        ;SAVE ANY PARSED ARGUMENT ADRS ON STACK
  275.       RNC            ;IF WE HAVE ONE, RETURN TO IT
  276.       POP    H        ;OOPS, INPUT NOT FOUND IN TABLE
  277.       MVI    C,ILP
  278.       CALL    MEX        ;TELL USER INPUT NOT VALID
  279.       DB    CR,LF,'Only 300, 1200, 2400 or 9600 allowed on SET command',CR,LF,0
  280.       RET
  281. ;
  282. CMDTBL:      DB    '30','0'+80H
  283.       DW    OK300
  284.       DB    '120','0'+80H
  285.       DW    OK1200
  286.       DB    '240','0'+80H
  287.       DW    OK2400
  288.       DB    '960','0'+80H
  289.       DW    OK9600
  290.       DB    0
  291. ;
  292. TELL:      MVI    C,ILP
  293.       CALL    MEX        ;PRINT CURRENT BAUD RATE
  294.       DB    CR,LF,'Baud rate is now: ',0
  295.       LDA    MSPEED
  296.       MVI    C,PRBAUD
  297.       CALL    MEX
  298.       RET
  299. ;
  300. OK300:      MVI    A,1        ;MSPEED 300 BAUD VALUE
  301.       LHLD    BD300        ;GET 300 BAUD PARAMETERS IN 'HL'
  302.       JMP    LOADBD        ;GO LOAD T
  303. ;
  304. OK1200:      MVI    A,5
  305.       LHLD    BD1200
  306.       JMP    LOADBD
  307. ;
  308. OK2400:      MVI    A,6
  309.       LHLD    BD2400
  310.       JMP    LOADBD
  311.  
  312. OK9600:      MVI    A,8
  313.       LHLD    BD9600
  314.       JMP    LOADBD
  315. ;
  316. LOADBD:      STA    INITMOD1+1    ;CHANGE TIME-TO-SEND TO MATCH BAUDRATE
  317.       MOV    A,L        ;GET BAUDRATE BYTE
  318.       STA    INITMOD2+1    ;STORE IN INITMOD
  319.       JMP    INITMOD1    ;REINITIALIZE TO NEW BAUDRATE, THEN DONE
  320. ;
  321. ;
  322. ; TABLE OF BAUDRATE PARAMETERS
  323. ;
  324. BD300:      DW    0734H        ;7800/300  CONVERTED TO HEX VALUE
  325. BD1200:      DW    4768H        ;124800/1200 CONVERTED TO HEX VALUE
  326. BD2400:      DW    4734H        ;124800/2400 CONVERTED TO HEX VALUE
  327. BD9600:      DW    470DH        ;124800/9600 CONVERTED TO HEX VALUE;
  328. ;
  329. BAUDBUF:  DB    10,0
  330.       DS    10
  331. ;
  332. ;           (END OF INITMOD AND SETUP ROUTINES)
  333. ;-----------------------------------------------------------------------
  334. ;
  335. ; These routines can be used for your equipment, be sure to end with RET
  336. ; If using the Hayes Smartmodem this is unavailable without a special
  337. ; address change.
  338. ;
  339. SPCLMENU: RET
  340. ;
  341. ;-----------------------------------------------------------------------
  342. ;
  343. ; NOTE:  MUST TERMINATE PRIOR TO 0400H (with Smartmodem)
  344. ;                 0C00H (without Smartmodem)
  345. ;
  346. ; +++ end of MEX TeleVideo 804 overlay
  347. ;----------------------------------------------------------------------
  348. ;
  349. ; +++ THIS IS THE MXPAT10.ASM FILE
  350. ;
  351. ; This is the patch file for MEX 1.0 -- you may edit this file to change
  352. ; various initial variables. Assemble with ASM or MAC, then use MLOAD
  353. ; to patch the changes into MEX:
  354. ;
  355. ;    ASM MEXPAT10.AAZ            ;assemble the edited file
  356. ;    MLOAD NEWMEX.COM=MEX.OBJ,MEXPAT10    ;patch MEX
  357. ;
  358. ; You may also pull this file into your modem overlay (be sure you in-
  359. ; clude the ORG statement below).
  360. ;
  361. ; The order of the patch variables supported here will not change from
  362. ; version to version (i.e., new items will be added on to the end).
  363. ;
  364. ;
  365.     ORG    0D00H        ;location of patch variables
  366. ;
  367. LF    EQU    10        ;define ASCII linefeed code
  368. ;
  369. ;
  370. ; The following line defines the MEX service call entry point, and
  371. ; is not meant to be changed by the user
  372. ;
  373. MEX:    DS    3        ;MEX service call processor
  374.     DS    3        ;reserved
  375.     DS    1        ;reserved
  376. ;
  377. ; The following line contains the initial free-memory pointer for
  378. ; MEX.    Sophisticated modem overlays requiring additional space may change
  379. ; this pointer (ie, move it higher), and thus "protect" an area of RAM.
  380. ;
  381. MEMRY:    DS    2        ;first free memory pointer
  382. ;
  383. ; Following are the lowest-level vectors for console and list I/O used
  384. ; by MEX.  These normally point to routines that save the registers and
  385. ; vector to the appropriate BIOS routines.  Complex applications may
  386. ; need to intercept (or even replace) these routines.  If you do this,
  387. ; be sure to preserve DE, HL and BC.
  388. ;
  389. STSVEC:    DS    2        ;console status vector
  390. INVEC:    DS    2        ;console input vector
  391. OUTVEC:    DS    2        ;console output vector
  392. LVEC:    DS    2        ;list output vector
  393. LSTVEC:    DS    2        ;list status vector
  394. ;
  395. ; The following line defines the location of the default MEX prompt.
  396. ; If you'd like to provide your own initial prompt, add a DW statement
  397. ; pointing to a prompt buffer structured as follows:
  398. ;
  399. ;        DB <max size of buffer>
  400. ;        DB <length of actual prompt>
  401. ;        DB <prompt string>
  402. ;
  403. ; <maxsize> and <length> may be equal (especially if you disable the
  404. ; ID command by setting CHGPMT, below to 0); the ID command will, if
  405. ; left enabled, be limited to the <max size> value.
  406. ;
  407. PROMPT:    DS    2        ;prompt location
  408.     DS    1        ;reserved
  409. TYPLIN:    DB    22        ;for TYPE command: # lines/screen
  410. PAUSFL:    DB    1        ;for TYPE cmd: 1=pause 0=no pause
  411. SEPCHR:    DB    ';'        ;multiple command-line separator
  412. ;
  413. ; following five for SENDOUT command
  414. ;
  415. SOWAIT:    DB    4        ;# seconds waiting for a sendout echo
  416. SOREPL:    DB    8        ;# seconds waiting for initial reply
  417. SOTRIG:    DB    '>'        ;sendout trigger char from remote
  418. CANCHR:    DB    'U'-64        ;sendout char to cancel line to remote
  419. SORTRY:    DB    6        ;sendout # retries
  420. ;
  421. ;
  422. HEXFLG:    DB    0        ;hex/decimal mode
  423. ESCCHR:    DB    0AH        ;terminal mode escape char (0AH = linefeed)
  424. NOBELL:    DB    0        ;set to 1 to disable bell
  425. ;
  426. ; Buffer variables.  See BUFFERS.DOC for setup information
  427. ;
  428. PSIZE:    DB    2        ;default=2k
  429. ASIZE:    DB    255        ;"big" capture buffer
  430. XSIZE:    DB    16        ;16K transfer buffer
  431. NSIZE:    DB    1        ;1k for 85 batch files
  432. PRELEN:    DB    40        ;maximum length of PREFIX string
  433. SUFLEN:    DB    40        ;maximum length of SUFFIX string
  434. ;
  435. ; Misc. stuff
  436. ;
  437. CDOSFL:    DB    0        ;non-zero for CDOS
  438. WTECHO:    DB    0        ;non-zero sets "wait-for-echo"
  439. KYSIZE:    DW    400        ;size of keystring area, in bytes
  440. CISFLG:    DB    1        ;non-zero allows CIS file transfers
  441. CISOK:    DB    1        ;non zero allows STAT CIS ON or OFF
  442. CHGPMT:    DB    1        ;non-zero allows ID (prompt chg) command
  443. ERRID:    DB    1        ;non-zero prints ID msg in err msgs
  444. ;
  445. ; by setting the following DB to 0, you can disable the HELP
  446. ; command, freeing up space used by the help file index.
  447. ;
  448. HELPOK:    DB    1        ;non-zero allows HELP command
  449. MEXDU:    DB    0        ;user \/  alternate area for READ,LOAD,INI.MEX
  450.     DB    0        ;drive/\  & HELP.MEX (if SEARCH <>0)
  451. DEBUG:    DB    0        ;debugging in term-mode if non-zero
  452. EXCLSY:    DB    1        ;non-0 excludes $SYS from batchsend, dir
  453. INIMEX:    DB    1        ;non-zero runs INI.MEX (if present) at startup
  454. RTIMER:    DB    1        ;receiver wait: # seconds [Plouff patch]
  455. PQSIZE:    DW    150        ;size of the modem-port queue
  456. PHSIZE:    DB    30        ;phone library size (# entries)
  457. SILENT:    DB    0FFH        ;0=silence multi-line & READ cmd echo
  458. ALERT:    DB    255        ;alert-bell count on CALL complete
  459. EXTEND:    DB    0        ;non-zero: unknown commands goto READ processor
  460. SPLIT:    DB    0        ;non-zero: splits phonelib printout, shows baud
  461. SEARCH:    DB    0        ;search mode 0,1,2,3
  462. ;
  463. ; Following is the GLOBAL secondary options table.  To
  464. ; set an option to global, change its ASCII character to a 0.
  465. ;
  466. RESTT:    DB    'BDLQRSTVX'
  467. ;
  468. ;
  469.     END
  470. ;
  471. ;----- End of MEXPAT10 area
  472. ;
  473.