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

Link to this comparison view

qdosmsq:pe:vectors:trap3 [2009/05/22 14:00] (current)
george.gwilt created
Line 1: Line 1:
 +====== WM.TRAP#3 - Vector $84 ======
 +This vector allows some trap#3 calls to be made with GD2 colours.
 +^Trap^Value in D0.L^Action^
 +|SD_BORDR/IOW_DEFB|$0C|Set border|
 +|SD_WDEF/IOW_DEFW|$0D|Set window definition|
 +|SD_SETPA/IOW_SPAP|$27|Paper colour|
 +|SD_SETST/IOW_SSTR|$28|Strip colour|
 +|SD_SETIN/IOW_SINK|$29|Ink colour|
 +^Call Parameters^^Return Parameters^^
 +|D0.L|See above|D0.L|Error return.|
 +|D1.W|Colour code|D1.L|Preserved.|
 +|A0.L|Channel ID|A0.L|Preserved.|
 +===== Errors =====
 +As for the original traps.
 +===== Notes =====
 +  * The registers usage is as for the original traps. The definition of these traps should be examined to determine what registers are involved and how they are used.
 +  * D1.W contains the WMAN colour code.
  • qdosmsq/pe/vectors/trap3.txt
  • Last modified: 2009/05/22 14:00
  • by george.gwilt