(m291) Progress
This commit is contained in:
parent
26c7323d92
commit
165229899c
|
@ -33,7 +33,9 @@
|
||||||
( exts ) 00
|
( exts ) 00
|
||||||
|
|
||||||
@on-mouse ( -> )
|
@on-mouse ( -> )
|
||||||
[ LIT2 00 -Mouse/state ] DEI NEQ #41 ADD ;cursor-icn <update-cursor>
|
#c1 ;touch-chr/down ;touch-chr .Mouse/state DEI ?{ SWP2 }
|
||||||
|
POP2 <update-cursor>
|
||||||
|
.Mouse/y DEI2 #0018 LTH2 ?&status-bar
|
||||||
.Mouse/y DEI2 <y-id>
|
.Mouse/y DEI2 <y-id>
|
||||||
.Mouse/state DEI DUP ?{ POP <select>
|
.Mouse/state DEI DUP ?{ POP <select>
|
||||||
BRK }
|
BRK }
|
||||||
|
@ -42,6 +44,9 @@
|
||||||
[ LIT2 00 -Mouse/state ] DEO
|
[ LIT2 00 -Mouse/state ] DEO
|
||||||
BRK
|
BRK
|
||||||
|
|
||||||
|
&status-bar ( -> )
|
||||||
|
BRK
|
||||||
|
|
||||||
@<y-id> ( y* -- id )
|
@<y-id> ( y* -- id )
|
||||||
#0003 SUB2
|
#0003 SUB2
|
||||||
( | above )
|
( | above )
|
||||||
|
@ -338,17 +343,18 @@
|
||||||
INC2 !&>w
|
INC2 !&>w
|
||||||
|
|
||||||
@<update-cursor> ( color addr* -- )
|
@<update-cursor> ( color addr* -- )
|
||||||
[ LIT2 00 -Screen/auto ] DEO
|
|
||||||
;fill-icn .Screen/addr DEO2
|
;fill-icn .Screen/addr DEO2
|
||||||
#40 <draw-cursor>
|
#40 <draw-cursor>
|
||||||
|
.Screen/addr DEO2
|
||||||
.Mouse/x DEI2 ,<draw-cursor>/x STR2
|
.Mouse/x DEI2 ,<draw-cursor>/x STR2
|
||||||
.Mouse/y DEI2 ,<draw-cursor>/y STR2
|
.Mouse/y DEI2 ,<draw-cursor>/y STR2
|
||||||
.Screen/addr DEO2
|
( >> )
|
||||||
|
|
||||||
@<draw-cursor> ( color -- )
|
@<draw-cursor> ( color -- )
|
||||||
|
[ LIT2 16 -Screen/auto ] DEO
|
||||||
[ LIT2 &x $2 ] .Screen/x DEO2
|
[ LIT2 &x $2 ] .Screen/x DEO2
|
||||||
[ LIT2 &y $2 ] .Screen/y DEO2
|
[ LIT2 &y $2 ] .Screen/y DEO2
|
||||||
.Screen/sprite DEO
|
.Screen/sprite DEOk DEO
|
||||||
JMP2r
|
JMP2r
|
||||||
|
|
||||||
(
|
(
|
||||||
|
@ -389,11 +395,19 @@
|
||||||
|
|
||||||
@<pstr> ( str* -- )
|
@<pstr> ( str* -- )
|
||||||
|
|
||||||
&w ( -- )
|
&>w ( -- )
|
||||||
LDAk #18 DEO
|
LDAk #18 DEO
|
||||||
INC2 & LDAk ?&w
|
INC2 & LDAk ?&>w
|
||||||
POP2 JMP2r
|
POP2 JMP2r
|
||||||
|
|
||||||
|
@<phex> ( short* -: )
|
||||||
|
SWP /b
|
||||||
|
&b ( byte -: )
|
||||||
|
DUP #04 SFT /c
|
||||||
|
&c ( byte -: )
|
||||||
|
#0f AND DUP #09 GTH #27 MUL ADD [ LIT "0 ] ADD #18 DEO
|
||||||
|
JMP2r
|
||||||
|
|
||||||
(
|
(
|
||||||
@|theme )
|
@|theme )
|
||||||
|
|
||||||
|
@ -415,7 +429,20 @@
|
||||||
|
|
||||||
@cursor-icn [ 80c0 e0f0 f8e0 1000 ]
|
@cursor-icn [ 80c0 e0f0 f8e0 1000 ]
|
||||||
|
|
||||||
@fill-icn [ ffff ffff ffff ffff ]
|
@touch-chr [
|
||||||
|
0000 0000 0814 1417 0000 0000 0008 0808
|
||||||
|
0000 0000 0000 00c0 0000 0000 0000 0000
|
||||||
|
1010 2010 1008 0700 0f0f 1f0f 0f07 0000
|
||||||
|
2010 1010 2020 c000 c0e0 e0e0 c0c0 0000 ]
|
||||||
|
&down [
|
||||||
|
0000 0000 0000 0817 0000 0000 0000 0008
|
||||||
|
0000 0000 0000 00c0 0000 0000 0000 0000
|
||||||
|
1010 2010 1008 0700 0f0f 1f0f 0f07 0000
|
||||||
|
2010 1010 2020 c000 c0e0 e0e0 c0c0 0000 ]
|
||||||
|
|
||||||
|
@fill-icn [
|
||||||
|
ffff ffff ffff ffff ffff ffff ffff ffff
|
||||||
|
ffff ffff ffff ffff ffff ffff ffff ffff ]
|
||||||
|
|
||||||
@dash-icn [ 0000 00aa 0000 0000 ]
|
@dash-icn [ 0000 00aa 0000 0000 ]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue