| .. | ||
| libc | ||
| map32k | ||
| map64k | ||
| map128k | ||
| map512k | ||
| mapconx | ||
| mapsim | ||
| roms | ||
| runtime | ||
| tst | ||
| glcc | ||
| glccver.py | ||
| glink | ||
| glink.py | ||
| install-sh | ||
| interface-dev.json | ||
| interface.json | ||
| mingw-install-sh | ||
| README.md | ||
| roms.json | ||
Gigatron specific files
This directory contains files that accompany the lcc proper to support the gigatron.
glcc: main compiler driver written in python. This code parses some options and calls the standard lcc compiler driver. What the standard compiler driver is also was customized ingigatron-lcc.cas is normal for lcc. Then changes were also made in the lcc compiler driver to support the assembler/linker combination. It would be nice to consolidate all the compiler driver business into a single python file.glink,glink.py: vCPU assembler and linker. This is one of the most important part in this whole project. The other one is the gigatron machine description for lcc,gigatron.md(not a markdown file).interface.json: the standard Gigatron interface file which is read byglinkto define well known symbols.roms.json: rom capability description file, which is read by bothglinkandglcc.libc: intended to contain an implementation of the ANSI C libary. The driverglccuses this library by default.runtime: assembly routines that support the compiler (multiplications, divisions, long support, fp support.)map32k,map64k, etc : directories that define linker maps. Useglcc -map=64k --infofor a description of each of them.mapsim: contains a gigatron emulatorgtsimthat redirects the gigatron program stdio to the simulator stdio. Useful for testing.tst: gigatron outputs of the standard lcc test suite.install-sh: a shell script that aids installation on unix machines.
Note that the gigatron include files are in include/gigatron and not gigatron/include.