2018-05-04 14:55:29 +00:00
|
|
|
|
NEW
|
2019-07-30 08:57:25 +00:00
|
|
|
|
AUTO 3,1
|
2018-05-04 14:55:29 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
BUT.New >STYA ZPPtr1
|
|
|
|
|
|
2019-01-10 16:26:58 +00:00
|
|
|
|
ldy #S.OBJ.W
|
2018-05-07 14:59:51 +00:00
|
|
|
|
lda (ZPPtr1),y
|
|
|
|
|
iny
|
|
|
|
|
ora (ZPPtr1),y
|
2019-01-08 16:29:26 +00:00
|
|
|
|
bne .1 W in !NULL, static size
|
2018-05-07 14:59:51 +00:00
|
|
|
|
|
2018-05-04 14:55:29 +00:00
|
|
|
|
ldy #S.BUT.hBM
|
|
|
|
|
lda (ZPPtr1),y
|
2018-05-07 14:59:51 +00:00
|
|
|
|
beq .1
|
2018-05-04 14:55:29 +00:00
|
|
|
|
|
2018-05-07 14:59:51 +00:00
|
|
|
|
ldy #S.BM.W
|
2019-07-30 15:35:42 +00:00
|
|
|
|
* >SYSCALL2 GetStkObjProp
|
2018-05-07 14:59:51 +00:00
|
|
|
|
|
|
|
|
|
phy
|
2019-01-10 16:26:58 +00:00
|
|
|
|
ldy #S.OBJ.W+1
|
2018-05-07 14:59:51 +00:00
|
|
|
|
sta (ZPPtr1),y
|
|
|
|
|
dey
|
|
|
|
|
pla
|
|
|
|
|
sta (ZPPtr1),y
|
2019-01-08 16:29:26 +00:00
|
|
|
|
|
|
|
|
|
.1
|
|
|
|
|
|
|
|
|
|
clc
|
|
|
|
|
rts
|
2018-05-04 14:55:29 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
BUT.Draw
|
|
|
|
|
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
MAN
|
2018-11-17 17:17:13 +00:00
|
|
|
|
SAVE USR/SRC/LIB/LIBGUI.S.BUT
|
|
|
|
|
LOAD USR/SRC/LIB/LIBGUI.S
|
2018-05-04 14:55:29 +00:00
|
|
|
|
ASM
|