SET KEYBOARD 1

SetEval kiosk 1
#SetEval anib-buildimage 1
#SetEval anib-run 1

#   KIOSK LAUNCHER
Try rm run_src.obey
Try rm run_dest.obey
If kiosk Then launcher.bin
# launcher writes out run_src. When it's finished we copy it to run_dest and obey that in a "loop":
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey
Try rm run_dest.obey
If kiosk Then cp /run_src.obey /run_dest.obey
Try rm run_src.obey
If kiosk Then obey run_dest.obey

If anib-buildimage Then echo Syncthing Build: forth24.bin
If anib-buildimage Then cd forth
If anib-buildimage Then cd forth24
If anib-buildimage Then LoadFile forth24.bin
If anib-buildimage Then cd ..
If anib-buildimage Then cd ..
If anib-buildimage Then cd a-nib
#   NIBTOOLS
If anib-buildimage Then run &40000 nibtools.4th

If anib-run Then cd a-nib
If anib-run Then echo Syncthing Build: a-nib.bin
If anib-run Then LoadFile a-nib.bin
#   EMPTY
#If anib-run Then run &40000
#   PALEDIT
#If anib-run Then run &40000 paledit.4th
#   BMPEDIT
#If anib-run Then run &40000 bmpedit.4th
#   KBVECTOR
#If anib-run Then run &40000 kbvector.4th
#   CREATION
#If anib-run Then run &40000 creation.4th
#   LAUNCHER (BUILD)
If anib-run Then run &40000 launcher.4th

#   OLD DEMO: Tile editor
#cd first_friday-feb-2026
#LoadFile anib.bin
#run &40000 tileedit.4th
