IOP.FLIM

This trap returns the allowable limits of a window.

Call ParametersReturn Parameters
D0 = $6C D0 = Error return
D2 = 0 D2 preserved
D3.W = timeout D3 preserved
A0 = window ID A0 preserved
A1 = pointer to result area A1 preserved

Errors

ICHN channel not open
IPAR invalid parameter (D2 <> 0)

Note

A1 points to a four-word area of memory into which the limits are returned in the usual X-size, Y-size, X-origin, Y-origin format. These are absolute co-ordinates.

Example

It is assumed that A0 contains the ID of the window channel.

 lea   block(a6),a1
 moveq #$6C,d0
 moveq #0,d2
 moveq #-1,d3
 trap  #3
 tst.l d0
 bne   oops ---->
  • qdosmsq/pe/traps/flim.txt
  • Last modified: 2009/01/30 09:47
  • by norman