2245
|
1 ********************************************************************
|
|
2 * TERM - Drivewire Virtual Serial Port on T0
|
|
3 *
|
|
4 * mostly copied or slightly changed from other OS9/DriveWire code
|
|
5 *
|
|
6 * Aaron Wolfe
|
|
7 * version 0.3 - 12/17/09 - added SHARE bit to mode
|
|
8 *
|
|
9 * This descriptor has slightly different defaults, intended to be used as
|
|
10 * the channel for the DriveWire utilities
|
|
11 *
|
|
12
|
|
13 nam TERM
|
|
14 ttl CoCo DriveWire Virtual Serial Device Descriptor
|
|
15
|
|
16 ifp1
|
|
17 use defsfile
|
|
18 endc
|
|
19
|
|
20 tylg set Devic+Objct
|
|
21 atrv set ReEnt+rev
|
|
22 rev set $00
|
|
23
|
|
24 mod eom,name,tylg,atrv,mgrnam,drvnam
|
|
25
|
|
26 fcb UPDAT.+SHARE. mode byte (share set to prevent multiple access)
|
|
27 fcb HW.Page extended controller address
|
|
28 fdb $FF00 physical controller address
|
|
29 fcb initsize-*-1 initilization table size
|
|
30 fcb DT.SCF device type:0=scf,1=rbf,2=pipe,3=scf
|
|
31 fcb $00 case:0=up&lower,1=upper only
|
|
32 fcb $00 backspace:0=bsp,1=bsp then sp & bsp
|
|
33 fcb $01 delete:0=bsp over line,1=return
|
|
34 fcb $00 echo:0=no echo
|
|
35 fcb $00 auto line feed:0=off
|
|
36 fcb $00 end of line null count
|
|
37 fcb $00 pause:0=no end of page pause
|
|
38 fcb 66 lines per page
|
|
39 fcb C$BSP backspace character
|
|
40 fcb C$DEL delete line character
|
|
41 fcb $00 end of record character
|
|
42 fcb $00 end of file character
|
|
43 fcb C$RPRT reprint line character
|
|
44 fcb C$RPET duplicate last line character
|
|
45 fcb C$PAUS pause character
|
|
46 fcb $00 interrupt character
|
|
47 fcb $00 quit character
|
|
48 fcb C$BSP backspace echo character
|
|
49 fcb C$BELL line overflow character (bell)
|
|
50 fcb $00 init value for dev ctl reg
|
|
51 fcb B600 baud rate
|
|
52 fdb name copy of descriptor name address
|
|
53 fcb $00 acia xon char
|
|
54 fcb $00 acia xoff char
|
|
55 fcb 80 (szx) number of columns for display
|
|
56 fcb 24 (szy) number of rows for display
|
|
57 initsize equ *
|
|
58
|
|
59 name fcs /Term/
|
|
60 mgrnam fcs /SCF/
|
|
61 drvnam fcs /scdwt/
|
|
62
|
|
63 emod
|
|
64 eom equ *
|
|
65 end
|
|
66
|