qdosmsq:pe:vectors:start

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
qdosmsq:pe:vectors:start [2009/05/15 15:47]
george.gwilt Added 6 vectors $7C to $90
qdosmsq:pe:vectors:start [2010/07/18 10:54]
george.gwilt Point WM.ENAME to WM.RNAME
Line 1: Line 1:
 +====== WMAN Vectors ======
  
 +^Vector^Mnemonic^Description^
 +| $04 | WM.SETUP |[[qdosmsq:pe:vectors:SETUP|Set up from standard window definition]]|
 +| $08 | WM.SMENU |[[qdosmsq:pe:vectors::SMENU|Set up from standard menu definition]]|
 +| $0C | WM.PRPOS |[[qdosmsq:pe:vectors:PRPOS|Primary window position and clear]]|
 +| $10 | WM.PULLD |[[qdosmsq:pe:vectors:PRPOS|Pull-down window position and clear]]|
 +| $14 | WM.UNSET |[[qdosmsq:pe:vectors:PRPOS|Unset working definition]]|
 +| $18 | WM.WRSET |[[qdosmsq:pe:vectors:PRPOS|Reset working definition]]|
 +| $1C | WM.WDRAW |[[qdosmsq:pe:vectors:WDRAW|Draw window contents]]|
 +| $20 | WM.MDRAW |[[qdosmsq:pe:vectors:MDRAW|Draw menu sub-window contents]]|
 +| $24 | WM.INDEX |[[qdosmsq:pe:vectors:INDEX|Draw index items]]|
 +| $28 | WM.SWDEF |[[qdosmsq:pe:vectors:SWDEF|Set sub-window definition]]|
 +| $2C | WM.LDRAW |[[qdosmsq:pe:vectors:LDRAW|Draw loose items]]|
 +| $30 | WM.RPTR |[[qdosmsq:pe:vectors:RPTR|Read pointer]]|
 +| $34 | WM.MHIT |[[qdosmsq:pe:vectors:MHIT|Standard menu  sub-window hit routine]]|
 +| $38 | WM.PANSC |[[qdosmsq:pe:vectors:PANSC|Standard menu sub-window control routine]]|
 +| $3C | WM.IDRAW |[[qdosmsq:pe:vectors:IDRAW|Re-draw information window(s)]]|
 +| $40 | WM.CHWIN |[[qdosmsq:pe:vectors:CHWIN|Change window position or size]]|
 +| $44 | WM.DRBDR |[[qdosmsq:pe:vectors:DRBDR|Draw current item border]]|
 +| $48 | WM.MSECT |[[qdosmsq:pe:vectors:MSECT|Find menu section]]|
 +| $4C | WM.STLOB |[[qdosmsq:pe:vectors:STLOB|Set loose object]]|
 +| $50 | WM.STIOB |[[qdosmsq:pe:vectors:STIOB|Set information object]]|
 +| $54 | WM.FSIZE |[[qdosmsq:pe:vectors:FSIZE|Find layout size]]|
 +| $58 | WM.SWINF |[[qdosmsq:pe:vectors:SWINF|Set window to information sub-window]]|
 +| $5C | WM.SWLIT |[[qdosmsq:pe:vectors:SWLIT|Set window to loose item]]|
 +| $60 | WM.SWAPP |[[qdosmsq:pe:vectors:SWAPP|Set window to application sub-window]]|
 +| $64 | WM.SWSEC |[[qdosmsq:pe:vectors:SWSEC|Set window to section of sub-window]]|
 +| $68 | WM.RNAME |[[qdosmsq:pe:vectors:RNAME|Read name]]|
 +| $6C | WM.ENAME |[[qdosmsq:pe:vectors:RNAME|Edit name]]|
 +| $70 | WM.UPBAR |[[qdosmsq:pe:vectors:UPBAR|Update pan/scroll bars]]|
 +| $74 | WM.ERSTR |[[qdosmsq:pe:vectors:ERSTR|Get error string]]|
 +| $78 | WM.RPTRT |[[qdosmsq:pe:vectors:RPTR|Read pointer with timeout/event]]|
 +| $7C | WM.SETSP |[[qdosmsq:pe:vectors:SETSP|Set system palette]]|
 +| $80 | WM.GETSP |[[qdosmsq:pe:vectors:GETSP|Read system palette]]|
 +| $84 | WM.TRAP3 |[[qdosmsq:pe:vectors:TRAP3|Trap#3 with GD2 colours]]|
 +| $88 | WM.OPW |[[qdosmsq:pe:vectors:OPW|Window vectors with GD2 colours]]|
 +| $8C | WM.SSCLR|[[qdosmsq:pe:vectors:SSCLR|Set single colour pattern]]|
 +| $90 | WM.JBPAL|[[qdosmsq:pe:vectors:JBPAL|Set system palette of job]]|
 +
 +===== Pointer Interface Vectors =====
 +In addition to the WMAN vectors listed above there are some CON driver vectors which are listed below. These can be obtained by the following code:
 +<code>
 +sys_clnk  equ      $C4
 +pt_vecs   equ      $150
 +
 +          moveq    #mt_inf,d0      ; $00
 +          trap     #             ; A0 -> sys vars
 +          movea.l  sys_clnk(a0),a3 ; Pointer to CON linkage
 +          movea.l  pt_vecs(a3),a0  ; Vectors
 +          jsr      pv_pinf(a0)     ; Call the vector
 +</code>
 +
 +^Vector^Mnemonic^Description^
 +|$00|PV_PINF|[[qdosmsq:pe:vectors:PINF|Get pointer information (IOP.PINF equivalent)]]|
 +|$06|PV_FSPR|[[qdosmsq:pe:vectors:FSPR|Find correct sprite definition]]|
 +|$0C|PV_SSPR|[[qdosmsq:pe:vectors:SSPR|Set/Get system sprite]]|
 +|$12|PV_SIZE|[[qdosmsq:pe:vectors:SIZE|Get pixel rounding sizes]]|
 +|$18|PV_MBLK|[[qdosmsq:pe:vectors:MBLK|Move blocks]]|
 +|$1C|PV_CURSP|[[qdosmsq:pe:vectors:CURSP|Set/unset sprite cursor]]|
 +|$24|PV_BGCTL|[[qdosmsq:pe:vectors:BGCTL|Control background updating]]|
  • qdosmsq/pe/vectors/start.txt
  • Last modified: 2010/07/18 10:54
  • by george.gwilt