Auto skip to next track

This commit is contained in:
Devine Lu Linvega 2024-08-26 14:14:18 -07:00
parent 458228fb7b
commit 748d00a166
1 changed files with 6 additions and 2 deletions

View File

@ -208,8 +208,12 @@
POP2 POP2 !message/<new> POP2 POP2 !message/<new>
@handle-pause ( buf* char -- ) @handle-pause ( buf* char -- )
POP INC2 INC2 LDA [ LIT "1 ] SUB #01 EOR .paused STZ POP INC2 INC2 LDA
<draw-play> !message/<new> ( stop ) DUP [ LIT "0 ] NEQ ?{ }
( paused ) DUP [ LIT "1 ] NEQ ?{ #01 .paused STZ }
( playing ) DUP [ LIT "2 ] NEQ ?{ #00 .paused STZ }
( end ) DUP [ LIT "3 ] NEQ ?{ <skip-next> }
POP <draw-play> !message/<new>
( (
@|core ) @|core )