M a r k   C r o s b i e

You are in: BrickOS Programming  Home  Resume  Linux  LEGO  Electronics  Movies  Mac OS X 

BrickOS Overview Stall detector Tachometer Motor control BrickOS Links Someday soon
Contact Mark at mark@mastincrosbie.com

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.

© 2002-2004 Mark Crosbie   shareright © 2002 Phlash