mirror of
https://github.com/A2osX/A2osX.git
synced 2024-08-14 13:29:02 +00:00
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
PR#3
|
||
PREFIX /A2OSX.BUILD
|
||
NEW
|
||
INC 1
|
||
AUTO 6
|
||
.LIST OFF
|
||
*--------------------------------------
|
||
* //c Mouse Port, IIe Mouse Card
|
||
*--------------------------------------
|
||
SETMOUSE .EQ $12 Sets mouse mode
|
||
SERVEMOUSE .EQ $13 Services mouse interrupt
|
||
READMOUSE .EQ $14 Reads mouse position
|
||
CLEARMOUSE .EQ $15 Clears mouse position to 0 (for delta mode)
|
||
POSMOUSE .EQ $16 Sets mouse position to a user-defined pos
|
||
CLAMPMOUSE .EQ $17 Sets mouse bounds in a window
|
||
HOMEMOUSE .EQ $18 Sets mouse to upper-left corner of clamp win
|
||
INITMOUSE .EQ $19 Resets mouse clamps to default values,sets mouse position to 0,0
|
||
LOCLAMPLO .EQ $0478 low byte of low clamp.
|
||
HICLAMPLO .EQ $04F8 low byte of high clamp.
|
||
LOCLAMPHI .EQ $0578 high byte of low clamp.
|
||
HICLAMPHI .EQ $05F8 high byte of high clamp.
|
||
MOUSEXLOx .EQ $0478
|
||
MOUSEYLOx .EQ $04F8
|
||
MOUSEXHIx .EQ $0578
|
||
MOUSEYHIx .EQ $05F8
|
||
* .EQ $0678
|
||
* .EQ $06F8
|
||
MOUSESTSx .EQ $0778
|
||
MOUSESTSx.DOWN .EQ %10000000
|
||
MOUSESTSx.LDOWN .EQ %01000000
|
||
MOUSESTSx.MOVED .EQ %00100000
|
||
MOUSESTSx.INTVBL .EQ %00001000
|
||
MOUSESTSx.INTBUT .EQ %00000100
|
||
MOUSESTSx.INTMOVE .EQ %00000010
|
||
MOUSEMODx .EQ $07F8
|
||
MOUSEMODx.INTVBL .EQ %00001000
|
||
MOUSEMODx.INTBUT .EQ %00000100
|
||
MOUSEMODx.INTMOVE .EQ %00000010
|
||
MOUSEMODx.ACTIVE .EQ %00000001
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE /A2OSX.BUILD/INC/XY.MOUSE.I
|