2015-03-23 07:28:03 +00:00
|
|
|
|
PR#3
|
2015-06-03 18:30:57 +00:00
|
|
|
|
PREFIX /A2OSX.SRC
|
2015-03-23 07:28:03 +00:00
|
|
|
|
NEW
|
|
|
|
|
INC 1
|
|
|
|
|
AUTO 6
|
|
|
|
|
.LIST OFF
|
|
|
|
|
.OP 65C02
|
|
|
|
|
.OR $2000
|
2016-03-13 22:07:37 +00:00
|
|
|
|
.TF /A2OSX.BOOT/LIB/LIBGFX.O
|
2015-03-23 07:28:03 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
.INB INC/MACROS.I
|
|
|
|
|
.INB INC/A2OSX.I
|
|
|
|
|
.INB INC/LIBGFX.I
|
|
|
|
|
*--------------------------------------
|
2016-06-15 06:21:42 +00:00
|
|
|
|
ZPPtr1 .EQ ZPLIB
|
|
|
|
|
*--------------------------------------
|
2015-08-05 20:38:05 +00:00
|
|
|
|
* File Header (16 Bytes)
|
2015-03-23 07:28:03 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.START cld
|
|
|
|
|
jmp (.1,x)
|
2015-08-05 20:38:05 +00:00
|
|
|
|
.DA #$61 6502,Level 1 (65c02)
|
|
|
|
|
.DA #1 BIN Layout Version 1
|
2015-03-23 07:28:03 +00:00
|
|
|
|
.DA 0
|
|
|
|
|
.DA CS.END-CS.START
|
|
|
|
|
.DA 0
|
2015-08-05 20:38:05 +00:00
|
|
|
|
.DA 0
|
|
|
|
|
.DA 0
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
* Relocation Table
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
.1 .DA LIB.LOAD
|
|
|
|
|
.DA LIB.UNLOAD
|
2016-06-15 15:58:45 +00:00
|
|
|
|
.DA InitGFXA
|
|
|
|
|
.DA InitCursor
|
|
|
|
|
.DA SetCursorYA
|
|
|
|
|
.DA HideCursor
|
|
|
|
|
.DA ShowCursor
|
2015-11-29 22:19:10 +00:00
|
|
|
|
.DA 0
|
2015-03-23 07:28:03 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
LIB.LOAD
|
|
|
|
|
LIB.UNLOAD clc
|
|
|
|
|
rts
|
2016-06-15 06:21:42 +00:00
|
|
|
|
|
|
|
|
|
*--------------------------------------
|
2016-06-15 15:58:45 +00:00
|
|
|
|
InitGFXA sta hDev
|
2016-06-15 06:21:42 +00:00
|
|
|
|
>SYSCALL SYS.GetDevInfoA
|
|
|
|
|
bcs .9
|
|
|
|
|
>STYA ZPPtr1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clc
|
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
.9 stz hDev
|
|
|
|
|
sec
|
|
|
|
|
rts
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
.INB LIB/LIBGFX.S.CUR
|
2015-08-05 20:38:05 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.END
|
2016-06-15 06:21:42 +00:00
|
|
|
|
hDev .BS 1
|
|
|
|
|
*--------------------------------------
|
2016-06-15 15:58:45 +00:00
|
|
|
|
CUR.Arrow .DA #0
|
|
|
|
|
.DA #0
|
|
|
|
|
CUR.Arrow.DATA .DA %00000001.000000000
|
|
|
|
|
.DA %00000011.000000000
|
|
|
|
|
.DA %00000101.000000000
|
|
|
|
|
.DA %00001001.000000000
|
|
|
|
|
.DA %00010001.000000000
|
|
|
|
|
.DA %00100011.000000000
|
|
|
|
|
.DA %01110101.000000000
|
|
|
|
|
.DA %00011000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
CUR.Arrow.MASK .DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000010.000000000
|
|
|
|
|
.DA %00000110.000000000
|
|
|
|
|
.DA %00001110.000000000
|
|
|
|
|
.DA %00011100.000000000
|
|
|
|
|
.DA %00001000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
|
|
|
|
.DA %00000000.000000000
|
2016-06-15 06:21:42 +00:00
|
|
|
|
*--------------------------------------
|
2016-06-15 15:58:45 +00:00
|
|
|
|
PAT.Arrow .DA #S.BITMAP.F.BBP1
|
|
|
|
|
.DA #1 RowBytes
|
|
|
|
|
.DA 7 W
|
|
|
|
|
.DA 8 H
|
|
|
|
|
.DA 0
|
2016-06-15 06:21:42 +00:00
|
|
|
|
*--------------------------------------
|
2015-03-23 07:28:03 +00:00
|
|
|
|
MAN
|
|
|
|
|
SAVE LIB/LIBGFX.S
|
|
|
|
|
ASM
|