view level1/modules/term_scdwt.asm @ 3267:024ad1d926fd

Get gfx2 to build from cmds folders Now that gfx2.asm needs to include coco3vtio.d the latter needs to be built first and be accessed from the port-specific defs folder. OTOH the one built in 3rd-party/packages/basic09 is built only later during a full build. (All the different defs folders and .d files still puzzle me.) Also updated coco3fpga/defs/makefile to be based on the coco3 one. The mc09l2 port doesn't need gfx and gfx2. Note for later: This whole build of basic09 components from the 3rdparty folder during the ports builds is not very nice. At a minimum we should try to limit the extra --includedir to the few commands needing it.
author Tormod Volden <debian.tormod@gmail.com>
date Wed, 17 Jul 2019 01:14:55 +0200
parents c877f09599f9
children
line wrap: on
line source

********************************************************************
* TERM - Drivewire Virtual Serial Port on T0
*
* mostly copied or slightly changed from other OS9/DriveWire code
*
* Aaron Wolfe
* version 0.3 - 12/17/09  - added SHARE bit to mode
*
* This descriptor has slightly different defaults, intended to be used as 
* the channel for the DriveWire utilities
*

         nam   TERM
         ttl   CoCo DriveWire Virtual Serial Device Descriptor

         ifp1  
         use   defsfile
         endc  

tylg     set   Devic+Objct
atrv     set   ReEnt+rev
rev      set   $00

         mod   eom,name,tylg,atrv,mgrnam,drvnam

         fcb   UPDAT.+SHARE.    	mode byte (share set to prevent multiple access)
         fcb   HW.Page    extended controller address
         fdb   $FF00      physical controller address
         fcb   initsize-*-1 initilization table size
         fcb   DT.SCF     device type:0=scf,1=rbf,2=pipe,3=scf
         fcb   $00        case:0=up&lower,1=upper only
         fcb   $00        backspace:0=bsp,1=bsp then sp & bsp
         fcb   $01        delete:0=bsp over line,1=return
         fcb   $00        echo:0=no echo
         fcb   $00        auto line feed:0=off
         fcb   $00        end of line null count
         fcb   $00        pause:0=no end of page pause
         fcb   66         lines per page
         fcb   C$BSP      backspace character
         fcb   C$DEL      delete line character
         fcb   $00        end of record character
         fcb   $00        end of file character
         fcb   C$RPRT     reprint line character
         fcb   C$RPET     duplicate last line character
         fcb   C$PAUS     pause character
         fcb   $00        interrupt character
         fcb   $00        quit character
         fcb   C$BSP        backspace echo character
         fcb   C$BELL     line overflow character (bell)
         fcb   $00        init value for dev ctl reg
         fcb   B600       baud rate
         fdb   name       copy of descriptor name address
         fcb   $00        acia xon char
         fcb   $00        acia xoff char
         fcb   80         (szx) number of columns for display
         fcb   24         (szy) number of rows for display
initsize equ   *

name     fcs   /Term/
mgrnam   fcs   /SCF/
drvnam   fcs   /scdwt/

         emod  
eom      equ   *
         end