I just realized that when wait I/O is all over the place using a RTOS is a feasible workaround. Even the 'C' library is wait I/O ARGH. Is it the average coders inability to make no_wait_I/O that is the reason that so many state "I need a RTOS" ?
Erik
Cross-posted at 8052.com
Shades of RTOS. A Co-operative, non-pre-emptive, round robin RTOS as defined by Erik.
Unless you have very few states, I believe that RTX-Tiny would use less code and run faster than your home built state machines.
RTX ran on the MIR in less than 600 bytes total program. The program controlled dynamic displays as a slave under control of a fantastic x386. Both display and communications ran under RTX if I remember correctly.
I did not write the code but someone that you know personally Erik wrote the code.
Oh! The MIR did fall eventually. May be a bad example, you think?
Bradford