Retrocomputing

Term Device Descriptor

Has been adapted to SCF line editing extensions

         nam TERM
         ttl Device Descriptor for terminal

         use  defsfile

         mod  TrmEnd,TrmNam,DEVIC+OBJCT,REENT+1,TrmMgr,TrmDrv
         fcb  UPDAT.     mode
         fcb  IOBlock/DAT.BlCt port bank
         fdb  A.TERM     port address
         fcb  OptEnd-*-1 initilization table size
         fcb  DT.SCF     Device Type: SCF

* DEFAULT PARAMETERS

         fcb  0          case:0=up&lower,1=upper only
         fcb  1          backspace:0=bsp,1=bsp then sp & bsp
         fcb  0          delete:0=bsp over line,1=return
         fcb  1          echo:0=no echo
         fcb  1          auto line feed:0=off
         fcb  0          end of line null count
         fcb  1          pause:0=no end of page pause
         fcb  24         lines per page
         fcb  C$BSP      backspace character
         fcb  C$DEL      delete line character
         fcb  C$CR       end of record character
         fcb  C$EOF      end of file character
         fcb  C$RPRT     reprint line character
         fcb  C$RPET     duplicate last line character
         fcb  C$PAUS     pause character
         fcb  C$INTR     interrupt character
         fcb  C$QUIT     quit character
         fcb  C$BSP      backspace echo character
         fcb  C$BELL     line overflow char
         fcb  A.T.init   ACIA initialization
         fcb  6          baud rate = 9600
         fdb  TrmNam     copy of descriptor name address
         fcb  $11        acia xon char
         fcb  $13        acia xoff char
         fcb  80         number of columns for display
         fcb  0          No-edit flag (4 = no-edit)
OptEnd   equ  *
         fcb  0          Lead-in character for input
         fcb  0          Lead-in character for output
         fcb  $08        Move left code
         fcb  $0C        Move right code
         fcb  $0B        Move left key (Ctrl-K)
         fcb  $0C        Move right key (Ctrl-L)
         fcb  6          Delete chr under cursor key (Ctrl-F)
         fcb  7          Delete to end of line key (Ctrl-G)

TrmNam   fcs  /Term/
TrmMgr   fcs  /SCF/
TrmDrv   fcs  /ACIA/

         emod            Module CRC

TrmEnd   equ  *