list off ; list noxref ; (Permitted only with ASMB versions 03.08 or higher) ; ----------------------------------------------------------------------------- ; mode definitions ; /* values to load into the c-register in order to access tty parameters ; by calling .GETMODE and .SETMODE ; ; these values (when non-negative) are equal to the displacements of the ; parameters from md_ispeed in the tty structure ; */ MD_ISPEED defl 0 ; input speed MD_OSPEED defl 1 ; output speed MD_MODE1 defl 2 ; flags: RAW, ECHO, etc. MD_MODED defl 3 ; delays for NL, CR, etc. MD_MODE2 defl 4 ; flags: PAUSE, XFF, etc. MD_MODE3 defl 5 ; flags: ESCRETN MD_ERASE defl 6 ; auxilliary erase character MD_DELECHO defl 7 ; erasure echo character MD_LKILL defl 8 ; line kill character MD_USIGNAL defl 9 ; user signal key MD_LENGTH defl 10 ; page length (lines) MD_WIDTH defl 11 ; page width (columns) MD_BMARGIN defl 12 ; bottom margin (lines) MODELEN equ MD_BMARGIN + 1 ; the following are commands, not displacements in the device structure MD_RESET equ -1 ; back to the default mode values MD_DUMP equ -2 ; dump the driver MD_ALTER equ -3 ; alter the driver MD_STATUS equ -100 ; flag: character is in one of the input queues MD_IFLUSH equ -101 ; flush input queues MD_FNKEYS equ -104 ; turn function keys on or off ; contents of d-register for MD_ISPEED calls to change the baudrate ; stored in md_ispeed ; equ 0 ;hang up dataphone ; equ 1 ;50 baud ; equ 2 ;75 baud S_110 equ 3 ;110 baud ; equ 4 ;134.5 baud S_150 equ 5 ;150 baud ; equ 6 ;200 baud S_300 equ 7 ;300 baud ; equ 8 ;600 baud S_1200 equ 9 ;1200 baud ; equ 10 ;1800 baud S_2400 equ 11 ;2400 baud S_4800 equ 12 ;4800 baud S_9600 equ 13 ;9600 baud ; equ 14 ;External A ; equ 15 ;External B S_19200 equ 16 ;19200 baud S_NOCHG equ 126 ; no change of baudrate S_UNINIT equ 127 ; uninitialized baudrate Sfl_AUTO equ 7 ; (bit 7): input CRs from keyboard to set baud ; contents of the d-register & e-register for MD_MODE1 calls ; stored in md_mode1 (bit numbers) TANDEM defl 0 XTAB defl 1 ; expand TABs ECHO defl 3 ; echo input CRDEVICE defl 4 ; on input, map CR into NL ; on output, echo LF or CR as CRLF RAW defl 5 ; on input, return after each character ; and treat ^C, ^S, ^Q as regular input ODD defl 6 ; parity function bits EVEN defl 7 ; ; contents of the d-register & e-register for MD_MODED calls ; stored in md_moded NLDELAY defl 03H ; (pairs of bits) TABDELAY defl 0CH ; CRDELAY defl 30H ; FFDELAY defl 40H ; (single bits) BSDELAY defl 80H ; ; contents of the d-register & e-register for MD_MODE2 calls ; stored in md_mode2 (bit numbers) PAUSE defl 0 ; wait for CNTRL-Q after a page is output NOTIMMECHO defl 1 ; do not echo characters typed-ahead NOECNL defl 2 ; do not echo NLs SGENABLE defl 3 ; user-specifiable key signal enable ABENABLE defl 4 ; CNTRL-C key signal enable XFF defl 5 ; expand FFs WRAP defl 6 ; wrap-around if page width is exceeded ; contents of the d-register & e-register for MD_MODE3 calls ; stored in md_mode3 (bit numbers) ESCRETN defl 0 ; ESC causes input line to be returned FNKEYS defl 1 ; enable response to 3102 function keys DISCARD defl 7 ; discard the device when it is no longer open ; bits of the d-register for MD_STATUS calls INOTEMPTY defl 0 ; there is a character in the input buffer ; (but if not RAW mode, it won't be accessible ; until a whole line is entered) ; ----------------------------------------------------------------------------- subttl old names md.ibaud equ md_ispeed md.obaud equ md_ospeed md.mode1 equ md_mode1 md.mode2 equ md_mode2 md.mode3 equ md_mode3 md.erase equ md_erase md.dlecho equ md_delecho md.kill equ md_lkill md.signal equ md_usignal md.length equ md_length md.width equ md_width md.bmargin equ md_bmargin b.9600 equ S_9600 b.19200 equ S_19200 b.auto equ ^Sfl_AUTO md1.tab defl XTAB md1.echo defl ECHO md1.cr.nl defl CRDEVICE md1.raw defl RAW md1.odd defl ODD md1.even defl EVEN md2.pause defl PAUSE md2.later defl NOTIMMECHO md2.noecnl defl NOECNL md2.sgenable defl SGENABLE md2.abenable defl ABENABLE md2.ff defl XFF md2.wrap defl WRAP md2.esccr defl ESCRETN st.charrdy equ INOTEMPTY ; list xref ; (Permitted only with ASMB versions 03.08 or higher) list on