cs148 brickOS QuickStart

This guide is designed to getting you up and running with brickOS on a Windows 98/NT/2000/XP machine as quickly as possible. Few concepts or important topics are explained here.  For a more in-depth explanation, see the HOWTO

Files needed:
note: use the default directory / directories named in all cases (the Makefile expects certain pathnames). It is expected that you have a program capable of decompressing .ZIP files

note: Part of these instructions have been taken from the brickOS Windows installation guide by Paolo Masetti.

preliminary setup:

Installation:

1.  Install cygwin - Install cygwin 1.3.x or newer version from their website here.

2. Unzip the pre-built h8300-gcc-cross-compiler into C:\cygwin\usr\local It is crucial that you get the path correct, otherwise nothing will compile correctly. If asked to overwrite any files/folders, click yes.  

3.  Unzip brickOS_cs148_1.2.zip into C:\ This will create a directory C:\brickOS It is crucial that you get the path correct, otherwise it will break the makefile.

4. Compile and run brickOS.


glossary
brickOS An Operating System for the Lego Mindstorms RCX brick. We have made modifications for the class, so our version is different from the official version
Cygwin a program that simulates a UNIX-like environment on Windows machines. Makes life at home just like the Sun Lab
H8/300 the assembly language that the RCX uses. To create programs for the H8/300 instruction set, you need the h8300-hitachi-hms gcc-cross compiler. A cross compiler is just a compiler that compiles code for a machine other than the one you're running the compiler on
make a utility that helps you compile programs. You will be using this a lot, but not expected to know what you're doing with it.

Resetting the firmware of an RCX brick

Other operating systems currently unsupported