This Trap writes a line of blobs to a window.
Call Parameters | Return Parameters | ||
---|---|---|---|
D0.B | $74 | D0.L | Error return |
D1.L | x,y start coordinates | D1.L | Preserved |
D2.L | x,y end coordinates | D2.L | Preserved |
D3.W | Timeout | D3.L | Preserved |
A0.L | Window ID | A0.L | Preserved |
A1.L | Pointer to blob | A1.L | Preserved |
A2.L | Pointer to pattern | A2.L | Preserved |
Code | Meaning |
---|---|
ERR.NO | Channel not open |
ERR.BP | Bad data structure |
It is assumed here that A0.L contains the ID of the window.
lea blo,a1 ; Address of blob lea pat,a2 ; Address of pattern moveq #0,d1 ; Start at top left move.l #$C000C,d2 ; End position moveq #-1,d3 ; Tineout moveq #$74,d0 ; IOP.LBLB trap #3 tst.l d0 bne OOPS ---->