mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-18 06:07:29 +00:00
33 lines
616 B
Plaintext
33 lines
616 B
Plaintext
NEW
|
||
AUTO 3,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
|
||
lda #7
|
||
sta 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
|