From 7e286430ce781e9f17b9c4ddadbb48a66251e7e4 Mon Sep 17 00:00:00 2001 From: Elliot Nunn Date: Mon, 15 Mar 2021 22:11:51 +0800 Subject: [PATCH] More impressive demonstration --- ServerDA.a | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/ServerDA.a b/ServerDA.a index 41077f8..cc3f1d5 100644 --- a/ServerDA.a +++ b/ServerDA.a @@ -121,7 +121,7 @@ DACtl SUB.W #64,D0 ; = 64? (event) BEQ.S DoCtlEvent SUB.W #1,D0 ; = 65? (periodic) - BEQ.S DoPeriodic + BEQ DoPeriodic CtlDone MOVE.L A4,A1 ; put DCE ptr back in A1 @@ -188,7 +188,11 @@ CtlEvtMouse move.w (SP)+,D0 beq.s .noControlClicked - dc.w $A9FF ; a button got clicked! its handle is in D3 +; dc.w $A9FF ; a button got clicked! its handle is in D3 + movem.l A0-A5/D0-D7,-(SP) + move.l #$00500050,D0 + bsr Poof + movem.l (SP)+,A0-A5/D0-D7 .noControlClicked DC.W $A873 ; _SetPort to restore the GrafPort @@ -202,17 +206,12 @@ DoPeriodic DC.W $A873 ; __SetPort BSR.S DrawWindow ; draw our window every 5s - BRA.S CtlDone + BRA CtlDone ****************************** FONT METRICS ******************************* DrawWindow - movem.l A0-A5/D0-D7,-(SP) - move.l #$00500050,D0 - bsr Poof - movem.l (SP)+,A0-A5/D0-D7 - move.l 2(A3),-(SP) dc.w $A969 ; _DrawControls