changeset 2306:d86248fcdea0

Moved scdwt driver static storage definitions to dwdefs.d Added signal names in os9defs
author boisy
date Sun, 03 Jan 2010 14:07:45 +0000
parents daf732c77c52
children 2f90c1624ab4
files defs/dwdefs.d defs/os9defs
diffstat 2 files changed, 21 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/defs/dwdefs.d	Sat Jan 02 12:16:51 2010 +0000
+++ b/defs/dwdefs.d	Sun Jan 03 14:07:45 2010 +0000
@@ -63,6 +63,22 @@
 
 * DW Globals Page Definitions (must be 256 bytes max)
            org   $00
-DW.StatTbl rmb   31             room for 31 ports
+DW.StatTbl rmb   15             page pointers for terminal device static storage
 DW.VIRQPkt rmb   5
 
+
+* SCF Multi Terminal Driver Definitions
+
+         	org   	        V.SCF      	;V.SCF: free memory for driver to use
+PortSigPID      rmb             1              ;process ID for CD signal
+PortSigSig      rmb             1              ;CD signal code
+RxDatLen	rmb		1              ;current length of data in Rx buffer
+RxBufSiz	rmb		1              ;Rx buffer size
+RxBufEnd	rmb		2              ;end of Rx buffer
+RxBufGet	rmb		2              ;Rx buffer output pointer
+RxBufPut	rmb		2              ;Rx buffer input pointer
+RxGrab		rmb		1              ;bytes to grab in multiread
+RxBufPtr	rmb		2              ;pointer to Rx buffer
+RxBufDSz	equ		256-.          ;default Rx buffer gets remainder of page...
+RxBuff		rmb		RxBufDSz       ;default Rx buffer
+SCFDrvMemSz     equ             .
--- a/defs/os9defs	Sat Jan 02 12:16:51 2010 +0000
+++ b/defs/os9defs	Sun Jan 03 14:07:45 2010 +0000
@@ -366,7 +366,10 @@
 SS.CDRel       RMB       1
                ENDC      
 
-
+* scdwt defined
+SS.PortSta     EQU       SS.CDSta
+SS.PortSig     EQU       SS.CDSig
+SS.PortRel     EQU       SS.CDRel
 
                ORG       $A0
 *