mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-22 16:31:07 +00:00
33 lines
608 B
Plaintext
33 lines
608 B
Plaintext
NEW
|
||
PREFIX
|
||
AUTO 4,1
|
||
*--------------------------------------
|
||
FON.Init >PUSHWZ Aux type
|
||
>PUSHBI $CC Type
|
||
>PUSHBI O.RDONLY
|
||
>LDYA L.SYSX7
|
||
>SYSCALL2 LoadStkObj
|
||
bcs .9
|
||
sta hSYSFON
|
||
|
||
ldy #S.FON.PixH
|
||
>SYSCALL2 GetStkObjProp
|
||
sty SYSFON.H
|
||
|
||
>PUSHWZ Aux type
|
||
>PUSHBI $CC Type
|
||
>PUSHBI O.RDONLY
|
||
>LDYA L.SYSX7B
|
||
>SYSCALL2 LoadStkObj
|
||
bcs .9
|
||
sta hSYSFONB
|
||
|
||
.9 rts
|
||
*--------------------------------------
|
||
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE USR/SRC/LIB/LIBGUI.S.FON
|
||
LOAD USR/SRC/LIB/LIBGUI.S
|
||
ASM
|