A2osX/INC/GFX.I.txt

96 lines
2.8 KiB
Plaintext
Raw Normal View History

NEW
2019-04-10 15:51:47 +00:00
AUTO 3,1
*--------------------------------------
* GFX Devices
*--------------------------------------
2018-12-20 16:23:43 +00:00
S.DCB.GFX.DEVID .EQ 1
2018-12-19 07:12:58 +00:00
S.DCB.GFX.S .EQ 2
2018-12-20 16:23:43 +00:00
S.DCB.GFX.F .EQ 3
2018-12-19 07:12:58 +00:00
S.DCB.GFX.W .EQ 4
S.DCB.GFX.H .EQ 6
*
S.DCB.GFX .EQ 8
*--------------------------------------
2019-01-11 16:06:05 +00:00
* Resource Headers
*--------------------------------------
S.BM.F .EQ 0
S.BM.F.BBP1 .EQ %00000001
S.BM.F.BBP2 .EQ %00000010
S.BM.F.BBP4 .EQ %00000100
S.BM.F.BBP8 .EQ %00001000
S.BM.RowBytes .EQ 1
S.BM.W .EQ 2
S.BM.H .EQ 4
S.BM.MASK.OFS .EQ 6
*
S.BM .EQ 8
*--------------------------------------
S.FON.F .EQ 0
S.FON.Ascent .EQ 1
S.FON.PixW .EQ 2 if 0, variable W
S.FON.PixH .EQ 3
S.FON.First .EQ 4
S.FON.Last .EQ 5
S.FON.Default .EQ 6
S.FON.Break .EQ 7
*
S.FON .EQ 8
*--------------------------------------
* Command Block
*--------------------------------------
S.CB.CMD .EQ 0
2020-09-02 15:47:23 +00:00
S.CB.CMD.SETPIXEL .EQ 2
S.CB.CMD.GETPIXEL .EQ 4
S.CB.CMD.HLINE .EQ 6
S.CB.CMD.VLINE .EQ 8
S.CB.CMD.FILLRECT .EQ 10
S.CB.CMD.BITBLT .EQ 12
S.CB.CMD.GETRECTBUFSIZE .EQ 14
S.CB.CMD.DRAWTEXT .EQ 16
S.CB.CMD.GETTEXTSIZE .EQ 18
S.CB.CMD.DRAWLINE .EQ 20
2020-09-03 15:19:25 +00:00
S.CB.CMD.DRAWTEXT2 .EQ 22
2020-07-02 06:11:15 +00:00
S.CB.CMD.OSD .EQ 128
2019-01-11 16:06:05 +00:00
S.CB.OP .EQ 1
2020-10-12 06:04:19 +00:00
S.CB.OP.XOR .EQ 2 screen EOR bitmap -> Screen
S.CB.OP.SET .EQ 4 replace screen with bitmap
S.CB.OP.ORA .EQ 6 combine screen & bitmap -> Screen
2019-01-11 16:06:05 +00:00
S.CB.OP.MASK .EQ %00001000 Apply BitMap mask before painting
S.CB.OP.SAVE .EQ %00010000 Save Screen to DstPtr before painting
S.CB.OP.RESTORE .EQ %00100000 Restore Screen From DstPtr
S.CB.OP.COLOR .EQ %01000000 Assume BitMap is COLOR
2019-08-06 15:58:01 +00:00
S.CB.OP.INVERSE .EQ %10000000 General Inverse Flag
S.CB.OP.F.B .EQ %00000001 BOLD
S.CB.OP.F.I .EQ %00000010 ITALIC
S.CB.OP.F.U .EQ %00000100 UNDERLINED
S.CB.OP.F.G .EQ %00001000 GREYED
2019-01-11 16:06:05 +00:00
S.CB.M .EQ 2
S.CB.M.MONO .EQ %00000001 b/w (1 bit/pixel)
*S.CB.M.C4 .EQ %00000010
*S.CB.M.C8 .EQ %00000100
S.CB.M.C16 .EQ %00001000 16 colors (4 bits/pixel)
*S.CB.M.C256 .EQ %00010000 256 colors (8 bits/pixel)
S.CB.COLOR .EQ 3 xPIXEL,xLINE,FILLRECT
2020-09-04 15:21:15 +00:00
S.CB.hFont .EQ 3 DRAWTEXT,GETTEXTSIZE
2020-07-04 19:00:47 +00:00
2019-01-11 16:06:05 +00:00
S.CB.X1 .EQ 4 xPIXEL,xLINE,FILLRECT,BITBLT,GETRECTBUFSIZE,DRAWLINE
S.CB.Y1 .EQ 6 xPIXEL,xLINE,FILLRECT,BITBLT,GETRECTBUFSIZE,DRAWLINE
2020-09-08 15:31:41 +00:00
S.CB.X2 .EQ 8 HLINE,FILLRECT,GETRECTBUFSIZE,DRAWLINE
S.CB.Y2 .EQ 10 VLINE,FILLRECT,GETRECTBUFSIZE,DRAWLINE
2019-07-30 15:35:42 +00:00
2020-09-04 15:21:15 +00:00
S.CB.SrcX .EQ 12 BITBLT,DRAWTEXT,GETTEXTSIZE
S.CB.SrcY .EQ 14 BITBLT,DRAWTEXT,GETTEXTSIZE
S.CB.SrcW .EQ 16 BITBLT
S.CB.SrcH .EQ 18 BITBLT
2019-07-30 15:35:42 +00:00
2020-09-04 15:21:15 +00:00
S.CB.SrcPtr .EQ 20 BITBLT
S.CB.DstPtr .EQ 22 BITBLT,GETRECTBUFSIZE
S.CB.TxtPtr .EQ 24 DRAWTEXT,GETTEXTSIZE
2019-01-11 16:06:05 +00:00
*
2020-09-04 15:21:15 +00:00
S.CB .EQ 26
2019-01-11 16:06:05 +00:00
*--------------------------------------
MAN
2020-08-23 19:46:37 +00:00
SAVE inc/gfx.i