Here you will find a small INTCODE interpreter written in C. The code not only compiles using CC65 (C64),
but also with GCC, Laser C (ATARI ST), Megamax C (ATARI ST), Pure C (ATARI ST) and Sozobon C (Atari ST).
Which means, it should compile on just about anything. Unlike other icint's, this one includes
all of ICLIB and BLIB inside the interpreter, so, you don't need to include extra INTCODE.
There are a lot of tasks that can be done to improve this system including:
1) Reducing the size of the BCPL compile by ripping out code.
2) Outputting OCODE as numbers which then are read back into cgi.
3) Using more of the native functions in BLIB.
4) Storing binary versions of trni, syni and cgi on disk, instead of loading INTCODE.
5) Joining trni and syni into one file.
6) Providing a console interface for compiling bcpl programs.
To compile icint.c using cc64 use:
cl65 -O icint.c
Features
- BCPL IC Interpreter
- Portable C