changeset 2257:a7b20230e9c0

Fixed issue where uninitalized device might receive data from server, causing crash. Also turned off SHARE. bits in descriptors for now
author boisy
date Sun, 27 Dec 2009 17:33:05 +0000
parents fd6248fea839
children c5e313a93c68
files level1/modules/scdwt.asm level1/modules/t0_scdwt.asm level1/modules/t1_scdwt.asm level1/modules/t2_scdwt.asm level1/modules/t3_scdwt.asm level1/modules/t4_scdwt.asm level1/modules/t5_scdwt.asm level1/modules/t6_scdwt.asm
diffstat 8 files changed, 11 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/scdwt.asm	Sun Dec 27 17:32:00 2009 +0000
+++ b/level1/modules/scdwt.asm	Sun Dec 27 17:33:05 2009 +0000
@@ -393,6 +393,10 @@
 * here we set U to the static storage area of the device we are working with
 			ldx     #D.DWSTATS
 			lda     a,x
+			bne		IRQCont		;if A is 0, then this device is not active, so exit
+            puls    d
+			bra     IRQExit
+IRQCont
 			clrb
 			tfr     d,u
 
--- a/level1/modules/t0_scdwt.asm	Sun Dec 27 17:32:00 2009 +0000
+++ b/level1/modules/t0_scdwt.asm	Sun Dec 27 17:33:05 2009 +0000
@@ -23,7 +23,7 @@
 
          mod   eom,name,tylg,atrv,mgrnam,drvnam
 
-         fcb   UPDAT.+SHARE.    	mode byte (share set to prevent multiple access)
+         fcb   UPDAT.    	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
--- a/level1/modules/t1_scdwt.asm	Sun Dec 27 17:32:00 2009 +0000
+++ b/level1/modules/t1_scdwt.asm	Sun Dec 27 17:33:05 2009 +0000
@@ -21,7 +21,7 @@
 
          mod   eom,name,tylg,atrv,mgrnam,drvnam
 
-         fcb   UPDAT.+SHARE.      mode byte
+         fcb   UPDAT.      mode byte
          fcb   HW.Page    extended controller address
          fdb   $FF01      physical controller address
          fcb   initsize-*-1 initilization table size
--- a/level1/modules/t2_scdwt.asm	Sun Dec 27 17:32:00 2009 +0000
+++ b/level1/modules/t2_scdwt.asm	Sun Dec 27 17:33:05 2009 +0000
@@ -20,7 +20,7 @@
 
          mod   eom,name,tylg,atrv,mgrnam,drvnam
 
-         fcb   UPDAT.+SHARE.     mode byte
+         fcb   UPDAT.     mode byte
          fcb   HW.Page    extended controller address
          fdb   $FF02      physical controller address
          fcb   initsize-*-1 initilization table size
--- a/level1/modules/t3_scdwt.asm	Sun Dec 27 17:32:00 2009 +0000
+++ b/level1/modules/t3_scdwt.asm	Sun Dec 27 17:33:05 2009 +0000
@@ -20,7 +20,7 @@
 
          mod   eom,name,tylg,atrv,mgrnam,drvnam
 
-         fcb   UPDAT.+SHARE.     mode byte
+         fcb   UPDAT.     mode byte
          fcb   HW.Page    extended controller address
          fdb   $FF03      physical controller address
          fcb   initsize-*-1 initilization table size
--- a/level1/modules/t4_scdwt.asm	Sun Dec 27 17:32:00 2009 +0000
+++ b/level1/modules/t4_scdwt.asm	Sun Dec 27 17:33:05 2009 +0000
@@ -20,7 +20,7 @@
 
          mod   eom,name,tylg,atrv,mgrnam,drvnam
 
-         fcb   UPDAT.+SHARE.    	mode byte (share set to prevent multiple access)
+         fcb   UPDAT.    	mode byte (share set to prevent multiple access)
          fcb   HW.Page    extended controller address
          fdb   $FF04      physical controller address
          fcb   initsize-*-1 initilization table size
--- a/level1/modules/t5_scdwt.asm	Sun Dec 27 17:32:00 2009 +0000
+++ b/level1/modules/t5_scdwt.asm	Sun Dec 27 17:33:05 2009 +0000
@@ -20,7 +20,7 @@
 
          mod   eom,name,tylg,atrv,mgrnam,drvnam
 
-         fcb   UPDAT.+SHARE.    	mode byte (share set to prevent multiple access)
+         fcb   UPDAT.    	mode byte (share set to prevent multiple access)
          fcb   HW.Page    extended controller address
          fdb   $FF05      physical controller address
          fcb   initsize-*-1 initilization table size
--- a/level1/modules/t6_scdwt.asm	Sun Dec 27 17:32:00 2009 +0000
+++ b/level1/modules/t6_scdwt.asm	Sun Dec 27 17:33:05 2009 +0000
@@ -20,7 +20,7 @@
 
          mod   eom,name,tylg,atrv,mgrnam,drvnam
 
-         fcb   UPDAT.+SHARE.    	mode byte (share set to prevent multiple access)
+         fcb   UPDAT.    	mode byte (share set to prevent multiple access)
          fcb   HW.Page    extended controller address
          fdb   $FF06      physical controller address
          fcb   initsize-*-1 initilization table size