Details
|
|
BrickOS Programming
BrickOS
provides a preemptive multi-tasking multi-threaded execution
environment for the RCX. Source code is written in C and is
cross-compiled using a modified gcc toolset. The executable image is
downloaded into the RCX via the IR tower.
BrickOS provides many of the primitives and concepts that we associate
with a "real" operating system:
- Thread based execution, with thread priorities.
- Preemptive multi-threading with a kernel scheduler.
- Semaphores for mutual exclusion.
- Standard C development environment with gcc toolchain.
I have written some small programs that exploit the capabilities of
having a real C compiler, a pre-emptive multi-tasking OS and
interrupt capabilities. Hopefully you'll find them useful -
let me know.
|
|
|