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:preliminary setup:
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
It is crucial that you get the path correct, otherwise
nothing will compile correctly. If asked to overwrite any files/folders, click
yes.
C:\cygwin\usr\local\h8300-hms
3. Unzip brickOS_cs148_1.2.zip into
This will create a
directory
It is crucial that you get the path correct,
otherwise it will break the makefile.
4. Compile and run brickOS.
bkng@LEGO ~
$
cd c:\brickOS
make realclean
make depend
make
cd util
make strip
cd ../projects
make brick
make install
C:\brickOS\projects\Makefile
to see how you would edit it to compile and
install your own programs onto the RCX.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. |
Prgrm
button and the On-Off
button at the same
time.