diff --git a/gui/m291/src/m291.tal b/gui/m291/src/m291.tal index e319834..70108b6 100644 --- a/gui/m291/src/m291.tal +++ b/gui/m291/src/m291.tal @@ -116,7 +116,7 @@ POP2 BRK &scroll ( distance -> ) - .selection/scroll LDZ ADD DUP #ff NEQ ?{ POP BRK } + .selection/scroll LDZ ADD INCk ?{ POP BRK } .lines/folders LDZ .lines/tracks LDZ ADD #18 SUB ( needs scroll ) DUP #80 LTH ?{ POP2 BRK } ( max scroll ) LTHk [ JMP SWP POP ] .selection/scroll STZ @@ -215,10 +215,20 @@ @ ( mod -- ) .selection LDZ ADD + ( top ) INCk ?{ POP JMP2r } ( bottom ) DUP .lines/folders LDZ .lines/tracks LDZ ADD NEQ ?{ POP JMP2r } ( >> ) @