WM.TRAP#3 - Vector $84

This vector allows some trap#3 calls to be made with GD2 colours.

TrapValue in D0.LAction
SD_WDEF/IOW_DEFW$0DSet window definition
SD_SETPA/IOW_SPAP$27Paper colour
SD_SETST/IOW_SSTR$28Strip colour
SD_SETIN/IOW_SINK$29Ink colour
Call ParametersReturn Parameters
D0.LSee aboveD0.LError return.
D1.WColour codeD1.LPreserved.
A0.LChannel IDA0.LPreserved.

As for the original traps.

  • 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