changeset 2304:02a0a5544e93

We no longer advertise SS.Ready GetStat to the server
author boisy
date Sat, 02 Jan 2010 11:38:33 +0000
parents 6ac5d9e0cb86
children daf732c77c52
files level1/modules/scdwt.asm
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/scdwt.asm	Fri Jan 01 17:01:26 2010 +0000
+++ b/level1/modules/scdwt.asm	Sat Jan 02 11:38:33 2010 +0000
@@ -707,8 +707,6 @@
 *
 
 GetStat
-         ldb   #OP_SERGETSTAT
-                bsr    SendStat
 		clrb    			; default to no error...
 			pshs  	cc,dp  		; save IRQ/Carry status,system DP
            
@@ -717,7 +715,7 @@
         	beq   	GSExitOK 	; SCF devices never return EOF
            
         	cmpa  	#SS.Ready
-        	bne   	GetScSiz	; next check
+        	bne   	Advertise	; next check
            	
         	* SS.Ready
         	lda   	RxDatLen,u	; get Rx data length
@@ -731,6 +729,11 @@
 UnSvcErr   	ldb   	#E$UnkSvc
            	bra   	ErrExit		; return error code			
 			
+* We advertise all of our SERGETSTAT calls (except SS.Ready) to the server
+Advertise
+         ldb   #OP_SERGETSTAT
+                bsr    SendStat
+
 GetScSiz   	cmpa  	#SS.ScSiz
            	bne   	GetComSt	; next check
            	ldu   	PD.DEV,y