Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
Initial commit of legoshrink
Browse files Browse the repository at this point in the history
  • Loading branch information
mesheets committed Feb 26, 2020
1 parent 15a207a commit f6f7867
Show file tree
Hide file tree
Showing 6 changed files with 1,582 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile.linux
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

all: legoshrink

legoshrink: legoshrink.c rcx_comm.c
$(CC) $^ -o $@ -O2 -Wall

clean:
rm -f *.o *~ *.bak legoshrink

9 changes: 9 additions & 0 deletions Makefile.windows
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

all: legoshrink

legoshrink: legoshrink.c rcx_comm.c
$(CC) $^ -o $@ -O2 -Wall -D_WIN32

clean:
rm -f *.o *~ *.bak legoshrink

36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# legoshrink

[Archived Website](http://web.archive.org/web/20070825203927/http://tarpit.rmc.ca/lesauvage/eee243/labs/resources/legoshrink.html)

This archive contains the Windows binary for legoshrink, a program for
receiving integrity or addressed messages from a Lego Mindstorms RCX brick
using the brickOS LNP protocol.

This particular binary has been compiled with English output. You may
recompile for an French output by uncommenting the #define FRENCH 1
at the top of the file legoshrink.c.

The source code has been included as per the terms of the Mozilla Public
License. If you alter this code for your own purposes, then you are also
bound by the MPL. Check the header in legoshrink.c for more information.
If you only want to run the program under Windows, then the only file you need
from this archive is legoshrink.exe. Try legoshrink -h to see the available
options.

You may be able to compile this program to run under Linux, but that has not
been tested. Testing was only performed on Win 2000 and Win XP PCs with the
USB tower.

To compile under either platform, place the source in a subdirectory of your
Cygwin directory. Rename the appropriate windows or linux makefile to
Makefile and type make on the command line. Good luck!

Reports of success/failure for linux and/or the serial tower would be
appreciated.

Good luck and enjoy!


Mike LeSauvage
michael <dot> lesauvage <at> rmc <dot> ca //This hides me from spam!
14 Feb 2004.

0 comments on commit f6f7867

Please sign in to comment.