tms34010: Morton's 1994 GCC 2.5.8 cc1, and the hosts TI shipped the tools for #15

Merged
arti merged 3 commits from opencode.energia.arti.ee/vt1200:docs/tms34010-hosts-and-morton-gcc into master 2026-11-17 05:04:51 +02:00
Collaborator

Two additions from the r5.01/2ine work, plus one ignore rule.

tools/tms34010-gcc-akpm/ — the compiler half of Andrew Morton's
Unix-hosted TMS34010 toolchain: GCC 2.5.8 with the 34010 port, recovered from
zip.com.au/~akpm/gsptools.html through the Wayback Machine (snapshot
20080210052433), the fixes needed to build cc1 with a modern 32-bit host
GCC, and build/test scripts. It is not TI's compiler and it is cc1 only
(no driver, no preprocessor); its runtime and an example are in the gsp
tarball that tools/as34/build.sh already fetches, and as34/ld34/dis34
are ported in tools/as34/.

reference/tms340-hosts/ — a research note on the non-DOS hosts TI sold
the TMS34010/TMS34020 tools for (VAX/VMS, VAX/Ultrix, VAX System V, Apollo
Domain/IX + AEGIS, Sun-3, Sun-4/SunOS, Macintosh/MPW), with the 1986 and 1988
C compiler manuals, the SPVS002C datasheet and the 1990 Third-Party Guide,
plus OCR text so the manuals are searchable from the checkout. No public dump
of those host builds is known; the note records what the installation
chapters and the 1990 guide say and what a surviving tape would look like.

Verification:

  • every file listed in both SHA256SUMS verifies;
  • build-cc1.sh was run on Debian 12 / GCC 14.2.0 with the 32-bit host
    compiler: the result is a 32-bit gcc34 reporting GNU C version 2.5.8 (TMS34010);
  • test-cc1.sh runs cc1 -> as34 -> ld34 -> raw -> dis34 and checks the
    generated TMS34010 code shape (register-argument ABI, recursive callr +
    mpys).

The third commit ignores MAME's snap/ screenshot directory (a 1024x864
VR150 frame of the level-0 menu -- scratch, not evidence).

Two additions from the r5.01/2ine work, plus one ignore rule. **`tools/tms34010-gcc-akpm/`** — the compiler half of Andrew Morton's Unix-hosted TMS34010 toolchain: GCC 2.5.8 with the 34010 port, recovered from `zip.com.au/~akpm/gsptools.html` through the Wayback Machine (snapshot `20080210052433`), the fixes needed to build `cc1` with a modern 32-bit host GCC, and build/test scripts. It is **not** TI's compiler and it is `cc1` only (no driver, no preprocessor); its runtime and an example are in the gsp tarball that `tools/as34/build.sh` already fetches, and `as34`/`ld34`/`dis34` are ported in `tools/as34/`. **`reference/tms340-hosts/`** — a research note on the non-DOS hosts TI sold the TMS34010/TMS34020 tools for (VAX/VMS, VAX/Ultrix, VAX System V, Apollo Domain/IX + AEGIS, Sun-3, Sun-4/SunOS, Macintosh/MPW), with the 1986 and 1988 C compiler manuals, the SPVS002C datasheet and the 1990 Third-Party Guide, plus OCR text so the manuals are searchable from the checkout. No public dump of those host builds is known; the note records what the installation chapters and the 1990 guide say and what a surviving tape would look like. Verification: * every file listed in both `SHA256SUMS` verifies; * `build-cc1.sh` was run on Debian 12 / GCC 14.2.0 with the 32-bit host compiler: the result is a 32-bit `gcc34` reporting `GNU C version 2.5.8 (TMS34010)`; * `test-cc1.sh` runs `cc1 -> as34 -> ld34 -> raw -> dis34` and checks the generated TMS34010 code shape (register-argument ABI, recursive `callr` + `mpys`). The third commit ignores MAME's `snap/` screenshot directory (a 1024x864 VR150 frame of the level-0 menu -- scratch, not evidence).
opencode.energia.arti.ee added 3 commits 2026-11-17 04:43:29 +02:00
The compiler half of Andrew Morton's Unix-hosted TMS34010 toolchain,
recovered from zip.com.au/~akpm/gsptools.html through the Wayback Machine
(snapshot 20080210052433): the 2.5.8 source with the 34010 port, the fixes
needed to build cc1 with a modern 32-bit host GCC (cc1-port.patch), and
build/test scripts.

This is not TI's compiler, and it is cc1 only: no driver and no
preprocessor.  Its runtime, libc and an example live in the gsp tarball
that tools/as34/build.sh already fetches; as34/ld34/dis34 are ported
there.

build-cc1.sh was verified on Debian 12 / GCC 14.2.0; test-cc1.sh runs
cc1 -> as34 -> ld34 -> raw -> dis34 and checks the generated TMS34010 code
shape (register-argument ABI, recursive callr + mpys).
Research note plus the two manuals and the Third-Party Guide that document
them: TI sold the TMS34010/34020 C compiler and code generation tools for
VAX/VMS, VAX/Ultrix, VAX System V, Apollo Domain/IX and AEGIS, Sun-3,
Sun-4/SunOS and Macintosh/MPW, not just MS-DOS and OS/2.

No public dump of those host builds is known: the archives hold the DOS/OS2
binaries and the manuals, not the 1600 bpi tapes and 800K diskettes.  So
this records what the installation chapters and the 1990 Third-Party Guide
say, and where to keep looking, rather than pretending we have the tools.

PDFs and extracted text come from the same mirror as the tool packages;
SHA256SUMS pins every file.
MAME writes -snapshot to snap/<romname>/ when it is run from the repo root.
The one file there is a 1024x864 VR150 frame of the level-0 diagnostics menu
-- scratch, not evidence.
arti merged commit 9d704defd0 into master 2026-11-17 05:04:51 +02:00
arti deleted branch docs/tms34010-hosts-and-morton-gcc 2026-11-17 05:04:53 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arti/vt1200#15