mirror of
https://github.com/elliotnunn/NetBoot.git
synced 2024-08-31 09:29:21 +00:00
More impressive demonstration
This commit is contained in:
parent
b3ebd3735b
commit
7e286430ce
15
ServerDA.a
15
ServerDA.a
@ -121,7 +121,7 @@ DACtl
|
|||||||
SUB.W #64,D0 ; = 64? (event)
|
SUB.W #64,D0 ; = 64? (event)
|
||||||
BEQ.S DoCtlEvent
|
BEQ.S DoCtlEvent
|
||||||
SUB.W #1,D0 ; = 65? (periodic)
|
SUB.W #1,D0 ; = 65? (periodic)
|
||||||
BEQ.S DoPeriodic
|
BEQ DoPeriodic
|
||||||
|
|
||||||
CtlDone
|
CtlDone
|
||||||
MOVE.L A4,A1 ; put DCE ptr back in A1
|
MOVE.L A4,A1 ; put DCE ptr back in A1
|
||||||
@ -188,7 +188,11 @@ CtlEvtMouse
|
|||||||
move.w (SP)+,D0
|
move.w (SP)+,D0
|
||||||
beq.s .noControlClicked
|
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
|
.noControlClicked
|
||||||
DC.W $A873 ; _SetPort to restore the GrafPort
|
DC.W $A873 ; _SetPort to restore the GrafPort
|
||||||
@ -202,17 +206,12 @@ DoPeriodic
|
|||||||
DC.W $A873 ; __SetPort
|
DC.W $A873 ; __SetPort
|
||||||
|
|
||||||
BSR.S DrawWindow ; draw our window every 5s
|
BSR.S DrawWindow ; draw our window every 5s
|
||||||
BRA.S CtlDone
|
BRA CtlDone
|
||||||
|
|
||||||
|
|
||||||
****************************** FONT METRICS *******************************
|
****************************** FONT METRICS *******************************
|
||||||
|
|
||||||
DrawWindow
|
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)
|
move.l 2(A3),-(SP)
|
||||||
dc.w $A969 ; _DrawControls
|
dc.w $A969 ; _DrawControls
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user