Mercurial > hg > Members > kono > nitros9-code
diff level1/modules/clock2_dw3.asm @ 2720:482a547d5155 lwtools-port
Fixed so OP_DWINIT puts response in globals
OP_SETTIME not sent unless response from OP_DWINIT from server is 128
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Thu, 26 Jul 2012 12:19:43 -0500 |
parents | 8399491c0821 |
children |
line wrap: on
line diff
--- a/level1/modules/clock2_dw3.asm Thu Jul 26 11:01:43 2012 -0500 +++ b/level1/modules/clock2_dw3.asm Thu Jul 26 12:19:43 2012 -0500 @@ -45,7 +45,15 @@ bra GetTime RTC Get Time nop -SetTime pshs u,y,x,d +SetTime + IFGT Level-1 + lda <D.DWSrvID + ELSE + lda >D.DWSrvID + ENDC + cmpa #128 + bne leave + pshs u,y,x,d IFGT Level-1 ldu <D.DWSubAddr ELSE