Gets pointer information.
Call Parameters | Return Parameters |
---|---|
D0 = $70 | D0 = Error return |
D1 = pointer version (n.nn) | |
D3.W = timeout | D3 is preserved |
A0 = channel ID | A0 is preserved |
A1 = window manager vector |
No other registers are used.
ICHN | channel not open |
IPAR | PTR_GEN not there |
This shows how to check the presence of PE and also to store the WMAN vector.
moveq #$70,d0 IOP.PINF moveq #-1,d3 timeout movea.l id(a6),a0 channel ID trap #3 tst.l d0 bne oops ----> no PTR_GEN move.l a1,d0 is WMAN there? . . beq oops ----> . . no! move.l a1,wmvec(a6)