qdosmsq:pe:lblb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
qdosmsq:pe:lblb [2010/05/13 13:57]
george.gwilt
qdosmsq:pe:lblb [2010/05/13 14:10] (current)
george.gwilt First viable version
Line 1: Line 1:
 +====== IOP.LBLB ======
 +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|
 +==== Errors ====
 +^Code^Meaning^
 +|ERR.NO|Channel not open|
 +|ERR.BP|Bad data structure|
 +==== Notes ====
 +  *All registers not mentioned above are preserved on return.
 +  *Blobs are written continuously from the start address in D1 to the end address in D2.
 +  *Blobs wholly or partially outside the window are ignored and no error is signalled.
 +==== Example ====
 +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 ---->
  
  • qdosmsq/pe/lblb.txt
  • Last modified: 2010/05/13 14:10
  • by george.gwilt