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
|
|
|
|
|
.LIST OFF
|
|
|
|
|
.OP 65C02
|
|
|
|
|
.OR $2000
|
2017-03-29 15:48:15 +00:00
|
|
|
|
.TF /A2OSX.BUILD/LIB/LIBGFX.O
|
2015-03-23 07:28:03 +00:00
|
|
|
|
*--------------------------------------
|
2017-03-29 15:48:15 +00:00
|
|
|
|
.INB /A2OSX.BUILD/INC/MACROS.I
|
|
|
|
|
.INB /A2OSX.BUILD/INC/A2OSX.I
|
|
|
|
|
.INB /A2OSX.BUILD/INC/LIBGFX.I
|
2015-03-23 07:28:03 +00:00
|
|
|
|
*--------------------------------------
|
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-10-24 15:54:43 +00:00
|
|
|
|
>SYSCALL GetDevInfoA
|
2016-06-15 06:21:42 +00:00
|
|
|
|
bcs .9
|
|
|
|
|
>STYA ZPPtr1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clc
|
|
|
|
|
rts
|
|
|
|
|
|
|
|
|
|
.9 stz hDev
|
|
|
|
|
sec
|
|
|
|
|
rts
|
2016-10-07 06:09:25 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
InitCursor
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
SetCursorYA
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
HideCursor
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
ShowCursor
|
|
|
|
|
|
|
|
|
|
clc
|
|
|
|
|
rts
|
2016-06-15 06:21:42 +00:00
|
|
|
|
*--------------------------------------
|
2017-03-29 15:48:15 +00:00
|
|
|
|
* .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-10-07 06:09:25 +00:00
|
|
|
|
PAT.Arrow .DA #S.BM.F.BBP1
|
2016-06-15 15:58:45 +00:00
|
|
|
|
.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
|