mirror of
https://github.com/A2osX/A2osX.git
synced 2024-09-10 07:54:37 +00:00
37 lines
620 B
Plaintext
37 lines
620 B
Plaintext
NEW
|
||
AUTO 3,1
|
||
*--------------------------------------
|
||
FON.Init >LDYA L.SYSX7
|
||
jsr FON.Load
|
||
bcs .9
|
||
|
||
stx hSYSFON
|
||
|
||
>LDYA L.SYSX7B
|
||
jsr FON.Load
|
||
bcs .9
|
||
|
||
stx hSYSFONB
|
||
|
||
* ldy #S.FON.PixH
|
||
* >SYSCALL2 GetStkObjProp
|
||
lda #7
|
||
sta SYSFON.H
|
||
inc
|
||
inc
|
||
sta SYSFON.H2
|
||
|
||
.9 rts
|
||
*--------------------------------------
|
||
FON.Load >PUSHYA
|
||
>PUSHBI O.RDONLY
|
||
>PUSHBI $CC Type
|
||
>PUSHWZ Aux type
|
||
>SYSCALL2 LoadStkObj
|
||
rts
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE usr/src/lib/libgui.s.fon
|
||
LOAD usr/src/lib/libgui.s
|
||
ASM
|