PiDP-8/I Software

All files named ”src/cc8/cross/main.c”
Log In

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for src/cc8/cross/main.c

2019-02-19
10:44
First pass at making CC8 emit octal in SABR output only, and to convert the decimal constants in the static SABR code within header.sb, libc.c, and init.h to octal. This also gets rid of all the DECIM directives, since SABR defaults to OCTAL mode. This is on a branch because the result doesn't yet run correctly, and I'm out of time trying to figure out why. file: [d9025e1414] check-in: [ce071e8713] user: tangent branch: cc8-octal-output, size: 14845
2019-01-30
20:30
Another cc8/cross update from Ian Schofield. Addresses bug a4123bb743, making the cross compiler at last allow typed function declarations. cc8 now builds silently with -Wall. Supporting struct in the pdp-8 target had a storage management bug that is now fixed. The void type is now added to cc8. The resulting native C compiler for OS/8 is unchanged -- bit for bit identical, because that code does not use any of the enhancements to the cc8 cross compiler. file: [c9d1a66b0e] check-in: [dc687b9f08] user: poetnerd branch: smc85-cc8, size: 14853
2018-12-30
05:59
New code base for cc8/cross: SmallC-85. SmallC-85 is a revived and updated port of SmallC that is much cleaner. This version compiles on the Mac using clang silently without warnings, and runs well enough to generate .sb files that are functionally the same as what was generated on the non-portable cross. (Accidentally checked in on trunk, moved to BOGUS for later cherry-pick to the smallc-85 branch.) file: [795332b9f2] check-in: [8ef9b5fae0] user: poetnerd branch: BOGUS, size: 14784
2018-12-29
05:37
Snapshot: Fix for globals: We needed to quit allocating storage for functions. Debugging fetch of globals. They seem swapped with locals somehow. file: [85b2fe5986] check-in: [50ae87a7e9] user: poetnerd branch: smallc-85, size: 14576
2018-12-28
05:15
Looks like it's working! Deltas: GBLS and GLOBAL POOL output values are different, and I think that's because they used to be wrong. TODO: get n8.c and p8.c to compile on the Pi without errors for testing purposes! file: [979c9cd2da] check-in: [bd0ffae19c] user: poetnerd branch: smallc-85, size: 14601
2018-12-24
16:55
Snapshot: More stuff is working. TODO: get the numeric values to work correctly. Further fix to global symbol table output. Add the license file now canon upstream in SmallC-85. LATER: Merge the updates from trunk that predate the cc8-64-bit branch. (I should havve ported trunk, not the branch, but oh well...) file: [65f6ae11b0] check-in: [a27c7fa2a1] user: poetnerd branch: smallc-85, size: 14498
06:18
Snapshot of refresh of cc8 cross compiler with smallc-85. This saves a copy of my work which merges enough of the old pdp8 targeting and the new cc8 platform to get through a build of src/cc8/os8/libc.c. The output code isn't quite correct yet, but it gets all the way through with mostly cosmetic errors, instead of crashing with illegal access or seg fault. file: [ee9b6de43e] check-in: [058d944b24] user: poetnerd branch: smallc-85, size: 13013
2018-01-20
17:27
Applied patch sent by Ian Schofield via private email to fix the "int foo()" difference between the CC8 cross- and OS/8 compilers. file: [cf3e806c30] check-in: [8a25ff0dad] user: tangent branch: trunk, size: 5024
2017-12-05
12:30
Whitespace fix file: [b8a19136df] check-in: [31fc8dd267] user: tangent branch: trunk, size: 4989
2017-11-30
15:23
Assorted fixes to allow the cc8 cross-compiler to build in Xcode: added "return 0" to functions without an explicit return value which don't end in a return statement in all code paths; renamed kill() to kill_line() to avoid conflicting with the POSIX syscall; and removed link(), which also conflicts with POSIX syscall set, but isn't actually used here. Also fixed line ending styles and re-removed the getchar() at the end of main(). file: [9a7b74108b] check-in: [27e81d863c] user: tangent branch: trunk, size: 4988
2017-11-14
06:54
Removed the getchar() call near the end of main() in the cc8 cross-compiler. It blocks cc8-tu56-update, and we don't want to add a "send CR" bit to the script just to placate it. file: [19aedeff11] check-in: [96b6cef0c3] user: tangent branch: trunk, size: 4997
2017-10-27
02:44
Renamed cc8/cross/main.c → src/cc8/cross/main.c. Moved cc8/* under src, as we recently did for palbart. file: [99f98eeca4] check-in: [2d6184c3c9] user: tangent branch: trunk, size: 5012