Button Operating System (BOS)
- main program loop allowing use of buttons and display to manage
- display indicates state (using "running man"?)
- also allows termination of a program and return to console interaction
- calls existing user word "init" then loops, repeatedly calling "scan"
- use lowercase for user words, uppercase for built-in words
- include code for a "yield" word for other loops that may need to be interrupted
- typing "main" at the console starts program
- "View" and "Prgm" buttons together stops program and enters interactive mode
- "Run" toggles execution of the program (but keeps system running), reinitialising each time.
- "on/off" button toggles sleeping the RCX (POWER_OFF)
- this file should be used as a template. Fill in the "init" and "scan" words for program functionality.