changeset 2272:d6f1ee0e63a5

Fixed dwtdesc.asm for T0 to be nonsharable.
author boisy
date Mon, 28 Dec 2009 20:50:34 +0000
parents 1091e798e5db
children db65aeb5c335
files level1/modules/dwtdesc.asm level2/coco3_6309/modules/makefile
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/dwtdesc.asm	Mon Dec 28 14:10:29 2009 +0000
+++ b/level1/modules/dwtdesc.asm	Mon Dec 28 20:50:34 2009 +0000
@@ -29,7 +29,11 @@
 
          mod   eom,name,tylg,atrv,mgrnam,drvnam
 
-         fcb   UPDAT.    	mode byte (share set to prevent multiple access)
+         IFEQ  TNum
+         fcb   UPDAT.+SHARE.   	mode byte (share set to prevent multiple access on /T0)
+         ELSE
+         fcb   UPDAT.    	mode byte
+         ENDC
          fcb   HW.Page    extended controller address
          fdb   $FF00+TNum      physical controller address
          fcb   initsize-*-1 initilization table size
@@ -69,7 +73,7 @@
 initsize equ   *
 
          IFNE  TERM
-name     fcc   /Term/
+name     fcs   /Term/
          ELSE
 name     fcc   /T/
          fcb   176+TNum
--- a/level2/coco3_6309/modules/makefile	Mon Dec 28 14:10:29 2009 +0000
+++ b/level2/coco3_6309/modules/makefile	Mon Dec 28 20:50:34 2009 +0000
@@ -194,7 +194,7 @@
 
 # DriveWire 3 SCF descriptors
 term_scdwt.dt: dwtdesc.asm
-	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aTERM=1 -aTNum=0
+	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aTERM=1 -aTNum=1
 
 t0_scdwt.dd: dwtdesc.asm
 	$(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=0