changeset 1488:1a875569e4d7

sacia has been renamed to sc6551 and descriptors are modified accordingly
author boisy
date Mon, 22 Dec 2003 22:10:46 +0000
parents 97b3df00ef37
children d6ad827b8f59
files level1/modules/makefile level1/modules/sc6551.asm level1/modules/t2_sc6551.asm level1/modules/t3_sc6551.asm
diffstat 4 files changed, 19 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/makefile	Mon Dec 22 21:59:00 2003 +0000
+++ b/level1/modules/makefile	Mon Dec 22 22:10:46 2003 +0000
@@ -28,10 +28,10 @@
 		ddd0_80d.dd d0_80d.dd d1_80d.dd d2_80d.dd
 
 SCF		= scf.mn \
-		sacia.dr dacia.dr vrn.dr printer.dr sio.dr sspak.dr ccio.dr \
+		sc6551.dr vrn.dr printer.dr sio.dr sspak.dr ccio.dr \
 		co32.io co80.io grfo.io \
 		nil.dd p.dd pipe.dd ssp.dd \
-		term_t1.dd t1.dd t2_sacia.dd t3_sacia.dd t2_dacia.dd t3_dacia.dd \
+		term_t1.dd t1.dd t2_sc6551.dd t3_sc6551.dd \
 		term32.dd term80.dd
 
 PIPE		= pipeman.mn \
@@ -55,13 +55,6 @@
 boot_1773_30ms:	boot_1773.asm
 	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 -aSTEP=3
 
-# Drivers
-sacia.dr: sacia.asm
-        $(AS) -aA6551=1 -aA6552=0 -aMPI.Slot=03 $(AFLAGS) $< $(ASOUT)$@
-
-dacia.dr: sacia.asm
-        $(AS) -aA6551=0 -aA6552=1 -aMPI.Slot=03 $(AFLAGS) $< $(ASOUT)$@
-
 # Clocks
 clock_60hz: clock.asm
 	$(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=60
--- a/level1/modules/sc6551.asm	Mon Dec 22 21:59:00 2003 +0000
+++ b/level1/modules/sc6551.asm	Mon Dec 22 22:10:46 2003 +0000
@@ -1,13 +1,18 @@
 ********************************************************************
-* SACIA - 6551 Driver
+* sc6551 - 6551 Driver
 *
 * $Id$
 *
-* Ed.    Comments                                       Who YY/MM/DD
+* Edt/Rev  YYYY/MM/DD  Modified by
+* Comment
 * ------------------------------------------------------------------
-*        NitrOS-9 2.00 distribution                         ??/??/??
+*          ????/??/??
+* NitrOS-9 2.00 distribution.
+*
+*   9r4    2003/01/01  Boisy G. Pitre
+* Back-ported to OS-9 Level Two.
 
-           nam   SACIA
+           nam   sc6551
            ttl   6551 Driver
 
            ifp1
@@ -22,10 +27,8 @@
 * miscellaneous definitions
 DCDStBit   equ   %00100000      DCD status bit for SS.CDSta call
 DSRStBit   equ   %01000000      DSR status bit for SS.CDSta call
-Edtn       equ   10
 SlpBreak   set   TkPerSec/2+1   line Break duration
 SlpHngUp   set   TkPerSec/2+1   hang up (drop DTR) duration
-Vrsn       equ   1
 
        ifeq  TC9-true
 IRQBit     equ   %00000100      GIME IRQ bit to use for IRQ ($FF92)
@@ -33,9 +36,6 @@
 IRQBit     equ   %00000001      GIME IRQ bit to use for IRQ ($FF92)
        endc
 
-           nam   SACIA
-           ttl   6551           Single ACIA driver
-
 * 6551 register definitions
            org   0
 DataReg    rmb   1              receive/transmit Data (read Rx / write Tx)
@@ -174,12 +174,15 @@
 RxBuff     rmb   RxBufDSz       default Rx buffer
 MemSize    equ   .
 
-           mod   ModSize,ModName,Drivr+Objct,ReEnt+Vrsn,ModEntry,MemSize
+rev        set   1
+edition    set   10
+
+           mod   ModSize,ModName,Drivr+Objct,ReEnt+rev,ModEntry,MemSize
 
            fcb   UPDAT.         access mode(s)
 
-ModName    fcs   "SACIA"
-           fcb   Edtn
+ModName    fcs   "sc6551"
+           fcb   edition
 
        ifeq  MPIFlag-true
 SlotSlct   fcb   MPI.Slot       selected MPI slot
--- a/level1/modules/t2_sc6551.asm	Mon Dec 22 21:59:00 2003 +0000
+++ b/level1/modules/t2_sc6551.asm	Mon Dec 22 22:10:46 2003 +0000
@@ -58,7 +58,7 @@
 
 name     fcs   /t2/
 mgrnam   fcs   /SCF/
-drvnam   fcs   /SACIA/
+drvnam   fcs   /sc6551/
 
          emod  
 eom      equ   *
--- a/level1/modules/t3_sc6551.asm	Mon Dec 22 21:59:00 2003 +0000
+++ b/level1/modules/t3_sc6551.asm	Mon Dec 22 22:10:46 2003 +0000
@@ -58,7 +58,7 @@
 
 name     fcs   /t3/
 mgrnam   fcs   /SCF/
-drvnam   fcs   /SACIA/
+drvnam   fcs   /sc6551/
 
          emod  
 eom      equ   *