~rabbits/orca-toy

c27115073595826c3eb965194d62eca82fbbfbba — neauoire 1 year, 1 month ago eab3182
Fixed issue with RAND operator
1 files changed, 1 insertions(+), 1 deletions(-)

M src/opcodes.tal
M src/opcodes.tal => src/opcodes.tal +1 -1
@@ 304,7 304,7 @@ RTN
	( b-max ) STH2kr INC2 ;get-port-right-raw JSR2
		( get case ) DUP IS-UC ,&case STR
		( to value ) GET-VALUE 1MIN
	( mod ) OVR - ;prng JSR2 + SWP MOD +
	( mod ) OVR - ;prng JSR2 + SWP 1MIN MOD +
	( set case ) GET-CHAR DUP #60 > [ LIT &case $1 ] AND 20* -
	( output ) STH2r BELOW ;set-port-output JSR2