View Single Post
Old 14 September 2013, 17:00   #109
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 49
Posts: 918
I dissasembled x-surf-100.device v1.9 (68040) and I have two questions for now:
1. Intuition library is not opened, then no error requester will be showed. This is OK?
Or maybe intuition library must be opened?
2. Code of one from 5th LVO subroutine looks next:

lbC0017A0 MOVE.L A2,-(SP)
MOVEA.L (8,SP),A1
MOVEA.L A1,A2
MOVEA.L ($28,A1),A0
MOVE.L ($24,A1),D0
TST.L A0
BEQ.B lbC0017D4 ; bug here ???
MOVEQ #15,D1
CMP.L D0,D1
BCC.B lbC0017D4
CLR.L (A0)
MOVEQ #$10,D1
MOVE.L D1,(4,A0)
MOVE.W #7,(8,A0)
CLR.W (10,A0)
MOVE.L #lbW003CD4,(12,A0)
lbC0017D4 MOVE.L (4,A0),($20,A2)
; MOVE.L ($10,SP),-(SP)
; MOVE.L A1,-(SP)
BSR.W CallReplyMsg ; A1 is set
; ADDQ.W #8,SP
MOVEA.L (SP)+,A2
RTS

If A0 is null then MOVE.L (4,A0),($20,A2) command will be copy exec base here. For me this is incorrect and correct can be quit via RTS or CallReplyMsg. Which version is OK?
Don_Adan is offline  
 
Page generated in 0.04631 seconds with 9 queries