2023-10-15 02:22:50 +00:00
|
|
|
: 2drop drop drop ;
|
2023-10-04 00:59:18 +00:00
|
|
|
: !+ ( v p -- ) dup @ <rot + swap ! ;
|
|
|
|
: b!+ ( v p -- ) dup b@ <rot + swap b! ;
|
|
|
|
: b!| ( f p -- ) dup b@ <rot | swap b! ;
|
|
|
|
: b!^ ( f p -- ) dup b@ <rot ^ swap b! ;
|
|
|
|
: ~ 0xffff ^ ;
|
|
|
|
|
2023-09-29 02:07:10 +00:00
|
|
|
import text.jrt
|
|
|
|
import keys.jrt
|
|
|
|
import random.jrt
|
2023-09-29 19:25:28 +00:00
|
|
|
import file.jrt
|
2023-10-02 01:54:58 +00:00
|
|
|
import task.jrt
|
2023-10-04 00:59:18 +00:00
|
|
|
import iter.jrt
|
2023-09-29 19:25:28 +00:00
|
|
|
import timer.jrt
|
|
|
|
import beep.jrt
|
2024-04-06 02:19:00 +00:00
|
|
|
import tandy.jrt
|
2023-09-29 02:07:10 +00:00
|
|
|
|
2023-09-29 19:25:28 +00:00
|
|
|
: !save ( v p -- ) openself >r dup >rot !
|
|
|
|
r@ if dup 0x100 - r@ seekto cell swap r@ fwrite <r close
|
|
|
|
else rdrop drop then ;
|