qdosmsq:traps:trap_3:dot

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
qdosmsq:traps:trap_3:dot [2009/05/14 11:47]
george.gwilt Completed definition of the graphical traps
qdosmsq:traps:trap_3:dot [2011/02/12 09:59] (current)
george.gwilt State that A1 is not relative to A6
Line 29: Line 29:
 ===== Notes ===== ===== Notes =====
   * All registers not shown above are not used on entry and are preserved on exit.   * All registers not shown above are not used on entry and are preserved on exit.
-  * A1.L points to a stack relative to A6. At entry to each trap this stack must contain various floating point parameters as detailed below. Also there must be at least 240 bytes available on the stack.+  * A1.L points to a stack. Note that this is an absolute address and not relative to A6. At entry to each trap this stack must contain various floating point parameters as detailed below. Also there must be at least 240 bytes available on the stack.
   * Parameters which are angles must be in radians.   * Parameters which are angles must be in radians.
   * The Trap SD_GCUR/​IOG_SGCR sets the cursor in the window at a position relative to a point in graphical coordinates. The parameters required are those of the graphical point (X,Y) and the offset from that in pixels. This allows text to be added to graphical figures.  ​   * The Trap SD_GCUR/​IOG_SGCR sets the cursor in the window at a position relative to a point in graphical coordinates. The parameters required are those of the graphical point (X,Y) and the offset from that in pixels. This allows text to be added to graphical figures.  ​
  • qdosmsq/traps/trap_3/dot.txt
  • Last modified: 2011/02/12 09:59
  • by george.gwilt