sms: implement button C and Start in Pad
This commit is contained in:
parent
ebc70be8e8
commit
fdea069544
2
blk/635
2
blk/635
@ -7,7 +7,7 @@
|
|||||||
0x08 ( RIGHT ) OVER AND NOT IF 5 _sel +! THEN
|
0x08 ( RIGHT ) OVER AND NOT IF 5 _sel +! THEN
|
||||||
0x10 ( BUTB ) OVER AND NOT IF _nxtcls THEN
|
0x10 ( BUTB ) OVER AND NOT IF _nxtcls THEN
|
||||||
( update sel in VDP )
|
( update sel in VDP )
|
||||||
_sel C@ (emit) -1 XYPOS +!
|
_chk _sel C@ (emit) -1 XYPOS +!
|
||||||
( return whether any of the high 3 bits is low )
|
( return whether any of the high 3 bits is low )
|
||||||
0xe0 AND 0xe0 <
|
0xe0 AND 0xe0 <
|
||||||
;
|
;
|
||||||
|
7
blk/636
7
blk/636
@ -1,8 +1,9 @@
|
|||||||
: (key)
|
: (key)
|
||||||
|
_next C@ IF _next C@ 0 _next C! EXIT THEN
|
||||||
BEGIN _updsel UNTIL
|
BEGIN _updsel UNTIL
|
||||||
_prevstat C@
|
_prevstat C@
|
||||||
0x20 ( BUTC ) OVER AND NOT IF THEN
|
0x20 ( BUTC ) OVER AND NOT IF DROP _sel C@ EXIT THEN
|
||||||
0x40 ( BUTA ) AND NOT IF THEN
|
0x40 ( BUTA ) AND NOT IF EXIT THEN
|
||||||
( If not BUTC or BUTA, it has to be START )
|
( If not BUTC or BUTA, it has to be START )
|
||||||
_sel C@
|
0xd _next C! _sel C@
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user