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 / BEEHIVE / COMMS / MODEM9.ARC / START.ASM < prev    next >
Assembly Source File  |  1991-02-02  |  6KB  |  168 lines

  1. ;
  2. ;            START.ASM
  3. ;
  4. ;This file is for making changes to MODEM9.xx which are not UART/MODEM
  5. ;specific. UART/MODEM suport is provided by the various SYS files.
  6. ;
  7. ;The user can make the following changes in this file:
  8. ;
  9. ;       a) Set the TRUE/FALSE statements in the lookup table which
  10. ;       begins with BAKUPBYTE and ends with EOFSEND
  11. ;       b) Change the control characters that are used for local commands,
  12. ;       this sequence starts with EXITCHR and ends with EXTCHR
  13. ;    c) Set STRGOK to TRUE and enter up to ten strings at location
  14. ;       STRINGS. These strings can be logon sequences or frequently
  15. ;       used commands that are sent to a remote computer
  16. ;
  17. ;
  18. STRGOK    EQU    TRUE        ;change to TRUE if you want to define
  19.                 ;strings, such as logon sequences, for
  20.                 ;transmission. Up to 10 strings may be
  21.                 ;entered at location STRINGS in this file.
  22. ;
  23. ;*** Don't change the ORG locations in this file or in the files    ***
  24. ;*** SETUP and MAIN. This ORG statements provide standard locations ***
  25. ;*** for modification by overaly files or DDT.                ***
  26. ;
  27.           ORG   0100H
  28. ;
  29.           JMP   START
  30. ;
  31. BAKUPBYTE:    DB    FALSE    ;true=make .BAK file
  32. CKSUMDFLT:    DB    FALSE    ;true=default to Checksum checking
  33.                 ;false=default to CRC checking
  34. TOGGLECRC:    DB    TRUE    ;true=allow toggling of Checksum to CRC
  35. CONVBKSP:    DB    FALSE    ;true=convert backspace to rub
  36. TOGGLEBK:    DB    TRUE    ;true=allow toggling of bksp to rub
  37. ADDLF:        DB    FALSE    ;true=add LF after CR
  38. TOGGLELF:    DB    TRUE    ;true=allow toggling of LF after CR
  39. STRLF:        DB    TRUE    ;true=strip LF after CR in terminal file output
  40. TOGSLF:        DB    TRUE    ;true=toggle strip LF after CR in file output
  41. SAVCCP:        DB    TRUE    ;true=do not overwrite CCP
  42. LOCONEXTCHR:    DB    FALSE    ;true=local command if EXTCHR precedes
  43.                 ;false=not local command if EXTCHR precedes
  44. TOGGLELOC:    DB    TRUE    ;true=allow toggling of LOCONEXTCHR
  45. LSTTST:        DB    TRUE    ;true=allow toggling of printer on/off
  46.                 ;in terminal mode. Set to false if your
  47.                 ;printer can't keep up with the modem
  48. XOFFTST:    DB    FALSE    ;true=allow testing of XOFF from remote
  49.                 ;while transmitting a file in terminal mode
  50. XONWAIT:    DB    FALSE    ;true=wait for XON after sending CR while
  51.                 ;transmitting a file in terminal mode
  52. TOGXOFF:    DB    TRUE    ;true=allow toggling of XOFF/XON testing
  53. ECHWAIT:    DB    FALSE    ;true=wait for echo before sending next
  54.                 ;character in terminal mode file output
  55. EOFSEND:    DB    FALSE    ;true=send eof in terminal mode file output
  56. NAKONLY:    DB    FALSE    ;true=resends a record only after a valid NAK
  57.                 ;false=resends a record after any non-ACK
  58.                 ;true is intended only for use with mainframes
  59.                 ;that send, for example, xoff when buffer is
  60.                 ;full
  61. ;
  62. SETUPTST:    DB    SETUP
  63. SCRNTEST:    DB    SCRNCLR
  64. TRANLOGON:    DB    STRGOK
  65. DISCFLG:    DB    DISCON
  66. CARDETFLG:    DB    CARDET
  67. CLOCK:        DB    CLKRATE
  68. ;
  69. MSPEED:        DB    1    ;sets the display time to send a file
  70.                 ;0=110 1=300 2=450 3=600 4=710
  71.                 ;5=1200 6=2400 7=4800 8=9600
  72. BYTDLY:        DB    0    ;default time to send character in
  73.                 ;terminal mode file transfer
  74.                 ;0=0 delay, 1=0.02 sec, -- ,9=0.18 sec
  75. CRDLY:        DB    0    ;default time for extra wait after CR
  76.                 ;in terminal mode file transfer
  77.                 ;0=0 delay, 1=0.02 sec, -- ,9=0.18 sec
  78. BELRPT:        DB    1    ;bell repeat time = value*0.03 sec
  79. NOOFCOL:    DB    5    ;number of directory columns, currently
  80.                 ;set for 80 column screen
  81. ;
  82.         ORG    130H        
  83. ;
  84. EXITCHR:    DB    'E'-40H    ; ^E = Exit without disconnect
  85. LOGCHR:        DB    'O'-40H    ; ^O = Send logon
  86. LSTCHR:        DB    'P'-40H    ; ^P = Toggle printer
  87. UNSAVECHR:    DB    'R'-40H    ; ^R = Close input text buffer
  88. TRANCHR:    DB    'T'-40H ; ^T = Transmit file to remote
  89. SAVECHR:    DB    'Y'-40H    ; ^Y = Open input text buffer
  90. EXTCHR:        DB    '^'-40H    ; ^^ = Send next character
  91. ;
  92.         ORG    1E0H
  93. ;
  94. VERNUM:    CALL    ILPRT
  95.     DB    CR,LF,'MODEM 9.02 - 19-OCT-83',CR,LF,0
  96.     JMP    SYSVER
  97. ;
  98.         ORG    240H
  99. ;
  100. ;ALL STRINGS MUST BE 31 CHARACTERS OR LESS AND MUST BE TERMINATED WITH 0
  101. ;
  102. STRINGS:
  103.     DB    'STRING #0 at 240H',0
  104.     DS    STRINGS-$+32*1
  105.     DB    'STRING #1 at 260H',0
  106.     DS    STRINGS-$+32*2
  107.     DB    'STRING #2 at 280H',0
  108.     DS    STRINGS-$+32*3
  109.     DB    'STRING #3 at 2A0H',0
  110.     DS    STRINGS-$+32*4
  111.     DB    'STRING #4 at 2C0H',0
  112.     DS    STRINGS-$+32*5
  113.     DB    'STRING #5 at 2E0H',0
  114.     DS    STRINGS-$+32*6
  115.     DB    'STRING #6 at 300H',0
  116.     DS    STRINGS-$+32*7
  117.     DB    'STRING #7 at 320H',0
  118.     DS    STRINGS-$+32*8
  119.     DB    'STRING #8 at 340H',0
  120.     DS    STRINGS-$+32*9
  121.     DB    'STRING #9 at 360H',0
  122. ;
  123. ;
  124.         ORG    380H
  125. ;
  126. ;PHONE NUMBER LIBRARY TABLE.
  127. ;
  128. ;EACH DB MUST BE 32 CHARACTERS LONG FOR PROPER OPERATION.
  129. ;LAST DB MUST BE DB 0. UP TO 26 NUMBERS ARE ALLOWED.
  130. ;
  131. ;    Use only "blanks" for table fill chars as TABs will upset the screen
  132. ;    format. A "blank" after the table '=' sign will prevent that entry
  133. ;    appearring on the screen. The letter prefix in front of each name
  134. ;    is for the non-existent Auto dialler.
  135. ;
  136. NUMBLIB:
  137. ;    '----5---10---15---20---25-----32'
  138. DB    'A=GL-RCPM            051-34-1563'
  139. DB    'B=MICOM-CBBS         03-762-5088'
  140. DB    'C=MiCC-BBS           02-662-1686'
  141. DB    'D=MDL-RCPM           02-663-0152'
  142. DB    'E=ST-RCPM            02-997-1836'
  143. DB    'F=SCUA-CBBS          03-836-4616'
  144. DB    'G=SPA-RCPM           02-808-3536'
  145. DB    'H=TARDIS (1800-0800)  03-67-7760'
  146. DB    'I=                              '
  147. DB    'J=                              '
  148. DB    'K=                              '
  149. DB    'L=                              '
  150. DB    'M=                              '
  151. DB    'N=                              '
  152. DB    'O=                              '
  153. DB    'P=                              '
  154. DB    'Q=                              '
  155. DB    'R=                              '
  156. DB    'S=                              '
  157. DB    'T=                              '
  158. DB    'U=                              '
  159. DB    'V=                              '
  160. DB    'W=                              '
  161. DB    'X=                              '
  162. DB    'Y=                              '
  163. DB    'Z=                              '
  164. DB    0                    ; end marker
  165. ;    '----5---10---15---20---25-----32'
  166. ;
  167.     LINK    SYS
  168.