fb956b0ddf
Fixed bug preventing compilation of many core C library functions. |
12 years ago | |
---|---|---|
bin | 12 years ago | |
include | 12 years ago | |
lib | 12 years ago | |
script | 12 years ago | |
test | 12 years ago | |
.gitignore | 12 years ago | |
Makefile | 12 years ago | |
README.md | 12 years ago | |
disk | 12 years ago |
README.md
rpc8ecc
... is a cc65 C compiler fitted to target redpower's rpc8e computer in Minecraft.
Installation
The compiler binaries for OS X 10.7 are in the bin/
directory but You will probably need to compile the cc65 itself for your system.
- Grab CC65 V2.13.3 for your system here: ftp://ftp.musoftware.de/pub/uz/cc65/
- Compile the compiler with the usual
./configure && make
stuff - Link or copy the compiler binaries to the
bin/
folder of this project - Done
Usage
To compile example test_rb.c
use:
make test
in the project's main directory.
You should get test_rb.img
file that is an usable floppy image for rpc8e (both ingame or emulated).
Read the Makefiles to learn more.
For now there is no good way to use the compiler for other projects than simple C programs... as always: pull requests are welcome.
Features
- Compiles C
- Has some sort of "hardware drivers" (check
include/
)
Future
- Including stuff like
stdlib.h
orstring.h
into the distribution - Finding a nice way to package this toy and make it easier to use
- Custom libraries for stuff like networking, console etc.
- Ideas? Fork & pull & have fun
Author(s)
nooga is just the guy who put this stuff together for rpc8e.
The CC65 compiler itself is a great work by Ullrich von Bassewitz and CC65 developers.
Also, many thanks to Jarek Pelczar and folks at #redpower.
Questions?
You can find me (nooga) on #redpower at espernet IRC.