2015-03-23 07:28:03 +00:00
|
|
|
|
PR#3
|
2017-03-29 15:48:15 +00:00
|
|
|
|
PREFIX /A2OSX.BUILD
|
2015-03-23 07:28:03 +00:00
|
|
|
|
NEW
|
|
|
|
|
INC 1
|
|
|
|
|
AUTO 6
|
2016-06-15 06:21:42 +00:00
|
|
|
|
.LIST OFF
|
|
|
|
|
.OP 65C02
|
2015-03-23 07:28:03 +00:00
|
|
|
|
*--------------------------------------
|
2017-11-15 16:29:23 +00:00
|
|
|
|
S.CB.CMD .EQ 0
|
|
|
|
|
S.CB.CMD.SETPIXEL .EQ 0
|
|
|
|
|
S.CB.CMD.GETPIXEL .EQ 2
|
|
|
|
|
S.CB.CMD.HLINE .EQ 4
|
|
|
|
|
S.CB.CMD.VLINE .EQ 6
|
|
|
|
|
S.CB.CMD.FILLRECT .EQ 8
|
|
|
|
|
S.CB.CMD.BITBLT .EQ 10
|
|
|
|
|
S.CB.CMD.DRAWLINE .EQ 12
|
2017-06-09 15:36:05 +00:00
|
|
|
|
S.CB.OP .EQ 1
|
|
|
|
|
S.CB.OP.SAVE .EQ %00000001
|
|
|
|
|
S.CB.OP.REPLACE .EQ %00000010
|
|
|
|
|
S.CB.OP.AND .EQ %00000100
|
|
|
|
|
S.CB.OP.ORA .EQ %00001000
|
|
|
|
|
S.CB.OP.XOR .EQ %00010000
|
|
|
|
|
S.CB.MODE .EQ 2
|
|
|
|
|
S.CB.MODE.MONO .EQ %00000001 b/w (1 bit/pixel)
|
|
|
|
|
*S.CB.MODE.C4 .EQ %00000010
|
|
|
|
|
*S.CB.MODE.C8 .EQ %00000100
|
|
|
|
|
S.CB.MODE.C16 .EQ %00001000 16 colors (4 bits/pixel)
|
|
|
|
|
S.CB.MODE.C256 .EQ %00010000 256 colors (8 bits/pixel)
|
|
|
|
|
S.CB.COLOR .EQ 3
|
|
|
|
|
S.CB.X1 .EQ 4
|
|
|
|
|
S.CB.Y1 .EQ 6
|
|
|
|
|
S.CB.X2 .EQ 8
|
|
|
|
|
S.CB.Y2 .EQ 10
|
|
|
|
|
S.CB.DestX .EQ 12
|
|
|
|
|
S.CB.DestY .EQ 14
|
|
|
|
|
S.CB.SrcPtr .EQ 16
|
|
|
|
|
S.CB.DstPtr .EQ 18
|
|
|
|
|
*
|
|
|
|
|
S.CB .EQ 20
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.DC.hDev .EQ 0
|
|
|
|
|
S.DC.hMem .EQ 1
|
|
|
|
|
S.DC.Parent .EQ 2
|
|
|
|
|
S.DC.X .EQ 4
|
|
|
|
|
S.DC.Y .EQ 6
|
|
|
|
|
S.DC.W .EQ 8
|
|
|
|
|
S.DC.H .EQ 10
|
|
|
|
|
*
|
|
|
|
|
S.DC .EQ 12
|
|
|
|
|
*--------------------------------------
|
2017-11-15 16:29:23 +00:00
|
|
|
|
CUR.T.ARROW .EQ 0
|
|
|
|
|
CUR.T.PLUS .EQ 2
|
|
|
|
|
CUR.T.WAIT .EQ 4
|
|
|
|
|
CUR.T.RESIZEX .EQ 6
|
|
|
|
|
CUR.T.RESIZEY .EQ 8
|
|
|
|
|
CUR.T.RESIZEXY .EQ 10
|
|
|
|
|
*--------------------------------------
|
2016-06-15 15:58:45 +00:00
|
|
|
|
S.CUR.HotPointX .EQ 0
|
|
|
|
|
S.CUR.HotPointY .EQ 1
|
|
|
|
|
S.CUR.DATA .EQ 2 16x16 bits = 32 bytes
|
|
|
|
|
S.CUR.MASK .EQ 34
|
|
|
|
|
S.CUR .EQ 66
|
2016-06-15 06:21:42 +00:00
|
|
|
|
*--------------------------------------
|
2016-06-15 15:58:45 +00:00
|
|
|
|
S.BM.F .EQ 0
|
|
|
|
|
S.BM.F.BBP1 .EQ %00000001
|
|
|
|
|
S.BM.F.BBP2 .EQ %00000010
|
2017-06-09 15:36:05 +00:00
|
|
|
|
S.BM.F.BBP4 .EQ %00001000
|
|
|
|
|
S.BM.F.BBP8 .EQ %00010000
|
2016-06-15 15:58:45 +00:00
|
|
|
|
S.BM.RowBytes .EQ 1
|
|
|
|
|
S.BM.W .EQ 2
|
|
|
|
|
S.BM.H .EQ 4
|
|
|
|
|
S.BM.MASK.OFFSET .EQ 6
|
|
|
|
|
S.BM.DATA .EQ 8
|
|
|
|
|
*--------------------------------------
|
2017-11-15 16:29:23 +00:00
|
|
|
|
LIBGUI.InitGUI.A .EQ 4
|
|
|
|
|
LIBGUI.CloseGUI .EQ 6
|
|
|
|
|
LIBGUI.Draw .EQ 8
|
|
|
|
|
LIBGUI.SetCursor.A .EQ 10
|
|
|
|
|
LIBGUI.SetCursorPos .EQ 12
|
|
|
|
|
LIBGUI.HideCursor .EQ 14
|
|
|
|
|
LIBGUI.ShowCursor .EQ 16
|
|
|
|
|
LIBGUI.DrawLine .EQ 18
|
2015-03-23 07:28:03 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
MAN
|
2017-11-14 16:57:34 +00:00
|
|
|
|
SAVE /A2OSX.BUILD/INC/LIBGUI.I
|