I dissasembled xsurf100.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?
