ORCA/C 2.1.0 source from the Opus ][ CD

This commit is contained in:
mikew50
2017-10-01 17:47:47 -06:00
commit e72177985e
501 changed files with 529 additions and 0 deletions

1
Asm.pas Executable file

File diff suppressed because one or more lines are too long

1
CC.pas Executable file

File diff suppressed because one or more lines are too long

1
CC.rez Executable file
View File

@@ -0,0 +1 @@
#include "types.rez"

1
CC.rez2 Executable file
View File

@@ -0,0 +1 @@
#include "types.rez"

1
CCommon.asm Executable file
View File

@@ -0,0 +1 @@
mcopy ccommon.macros

1
CCommon.macros Executable file
View File

@@ -0,0 +1 @@
MACRO

1
CCommon.pas Executable file

File diff suppressed because one or more lines are too long

1
CGC.asm Executable file
View File

@@ -0,0 +1 @@
mcopy cgc.macros

1
CGC.macros Executable file
View File

@@ -0,0 +1 @@
macro

1
CGC.pas Executable file

File diff suppressed because one or more lines are too long

1
CGI.Comments Executable file

File diff suppressed because one or more lines are too long

1
CGI.Debug Executable file

File diff suppressed because one or more lines are too long

1
CGI.pas Executable file

File diff suppressed because one or more lines are too long

1
DAG.pas Executable file

File diff suppressed because one or more lines are too long

1
DAG2.pas Executable file

File diff suppressed because one or more lines are too long

1
Exp.macros Executable file
View File

@@ -0,0 +1 @@
MACRO

1
Expression.asm Executable file

File diff suppressed because one or more lines are too long

1
Expression.pas Executable file

File diff suppressed because one or more lines are too long

1
Gen.pas Executable file

File diff suppressed because one or more lines are too long

1
Header.pas Executable file

File diff suppressed because one or more lines are too long

1
Header2.pas Executable file
View File

@@ -0,0 +1 @@
{$optimize 7}

11
LICENSE Normal file
View File

@@ -0,0 +1,11 @@
ORCA/C is released by the copyright holder under the terms of the original copyright.
The Byte Works, Inc. grants you the right to use this source code privately, fork it, and change it.
You may not redistribute the code in any form other than submission to this repository without the written permission of the copyright holder.
The copyright holder decided to do things this way for two reasons:
1. Reserve commercial distribution rights.
2. Ensure that any contributions and updates are available from a centralized source (this GitHib repository, for now).

1
MM.asm Executable file
View File

@@ -0,0 +1 @@
mcopy mm.macros

1
MM.macros Executable file
View File

@@ -0,0 +1 @@
MACRO

1
MM.pas Executable file

File diff suppressed because one or more lines are too long

1
Native.asm Executable file

File diff suppressed because one or more lines are too long

1
Native.macros Executable file
View File

@@ -0,0 +1 @@
MACRO

1
Native.pas Executable file

File diff suppressed because one or more lines are too long

1
Native2.pas Executable file

File diff suppressed because one or more lines are too long

1
ObjOut.asm Executable file

File diff suppressed because one or more lines are too long

1
ObjOut.macros Executable file
View File

@@ -0,0 +1 @@
MACRO

1
ObjOut.pas Executable file

File diff suppressed because one or more lines are too long

1
ObjOut2.asm Executable file

File diff suppressed because one or more lines are too long

1
ObjOut2.pas Executable file

File diff suppressed because one or more lines are too long

1
Parser.pas Executable file

File diff suppressed because one or more lines are too long

18
README.md Normal file
View File

@@ -0,0 +1,18 @@
# ORCA-C
Apple IIGS ORCA/C Compiler, an ANSI C compiler for the 65816 with libraries for the Apple IIGS
If you would like to make changes to this compiler and distribute them to others, feel free to submit them here. If the changes apply to compilation on and for an Apple IIGS, they will generally be approved for distribution on the master branch unless the changes deviate significantly from the ANSI C standard. For changes that deviate form ANSI C or changes that retarget the compiler to run on a different platform or generate code for a different platform, the project will either be forked or a new repository will be created, as appropriate.
The general conditions that must be met before a change is released on master are:
1. The modified compiler must compile under the currently released version of ORCA/M and ORCA/Pascal.
2. All samples from the original ORCA/C distribution must compile and execute under the modified compiler, or the sample must be updated, too.
3. The compiler must pass the ORCA/C tset suite, or the test suite must be suitably modified, too.
4. The compiler must work with the current ORCA/C libraries, or the libraries must be modified, too.
Contact support@byteworks.us if you need contributor access.
A complete distribution of the ORCA languages, including installers and documentation, is available from the Juiced GS store at https://juiced.gs/store/category/software/. It is distributed as part of the Opus ][ package.

1
Scanner.asm Executable file

File diff suppressed because one or more lines are too long

1
Scanner.debug Executable file
View File

@@ -0,0 +1 @@
procedure PrintTokenList (tp: tokenListRecordPtr); {debug}

1
Scanner.macros Executable file

File diff suppressed because one or more lines are too long

1
Scanner.pas Executable file

File diff suppressed because one or more lines are too long

1
Symbol.Print Executable file
View File

@@ -0,0 +1 @@
procedure PrintOneSymbol {ip: identPtr};

1
Symbol.asm Executable file
View File

@@ -0,0 +1 @@
mcopy symbol.macros

1
Symbol.macros Executable file
View File

@@ -0,0 +1 @@
MACRO

1
Symbol.pas Executable file

File diff suppressed because one or more lines are too long

1
Table.asm Executable file

File diff suppressed because one or more lines are too long

1
Table.macros Executable file
View File

@@ -0,0 +1 @@
MACRO

1
Table.pas Executable file
View File

@@ -0,0 +1 @@
{$optimize 7}

1
Tests/Conformance/C11.4.2.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 11.4.2.1: Type qualifiers should be allowed both in */

1
Tests/Conformance/C13.1.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 13.1.0.1: Verification of standard library types and */

1
Tests/Conformance/C14.1.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 14.1.0.1: Verification of isalnum, isalpha, isascii, */

1
Tests/Conformance/C14.2.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 14.2.0.1: Verification of iscsym, iscymf */

1
Tests/Conformance/C14.3.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 14.3.0.1: Verification of isdigit, isodigit, isxdigit */

1
Tests/Conformance/C14.5.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 14.5.0.1: Verification of islower, isupper */

1
Tests/Conformance/C14.6.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 14.6.0.1: Verification of isspace function */

1
Tests/Conformance/C14.7.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 14.7.0.1: Verification of toascii function */

1
Tests/Conformance/C14.8.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 14.8.0.1: Verification of toint function */

1
Tests/Conformance/C14.9.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 14.9.0.1: Verification of tolower, _tolower, toupper, */

1
Tests/Conformance/C15.1.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 15.1.0.1: Verification of strcat, strncat functions */

1
Tests/Conformance/C15.2.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 15.2.0.1: Verification of strcmp, strncmp functions */

1
Tests/Conformance/C15.3.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 15.3.0.1: Verification of strcpy, strncpy functions */

1
Tests/Conformance/C15.5.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 15.5.0.1: Verification of strchr, strpos, strrchr, and */

1
Tests/Conformance/C15.6.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 15.6.0.1: Verification of strspn, strcspn, strpbrk, and */

1
Tests/Conformance/C15.7.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 15.7.0.1: Verification of strstr function */

1
Tests/Conformance/C15.7.0.2.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 15.7.0.2: Verification of strtok function */

1
Tests/Conformance/C15.8.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 15.8.0.1: Verification of strtod library function */

1
Tests/Conformance/C15.8.0.2.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 15.8.0.2: Verification of strtol, strtoul functions */

1
Tests/Conformance/C15.9.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 15.9.0.1: Verification of atof, atoi, atol functions */

1
Tests/Conformance/C16.1.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 16.1.0.1: Verification of memchr, memcmp, memcpy, memmove */

1
Tests/Conformance/C16.4.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 16.4.0.1: Verification of memset library function */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.10.0.1: Verification of fputs and puts */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.11.0.1: Verification of fprintf, printf, sprintf: */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.11.0.10: Verification of fprintf, printf, sprintf: */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.11.0.11: Verification of fprintf, printf, sprintf: */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.11.0.2: Verification of fprintf, sprintf, printf: */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.11.0.3: Verification of fprintf, printf, sprintf: */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.11.0.4: Verification of fprintf, printf, sprintf: */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.11.0.5: Verification of fprintf, printf, sprintf: */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.11.0.6: Verification of fprintf, printf, sprintf: */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.11.0.7: Verification of fprintf, printf, sprintf: */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.11.0.8: Verification of fprintf, printf, sprintf: */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.11.0.9: Verification of fprintf, printf, sprintf: */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.13.0.1: Verification of fread and fwrite */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.14.0.1: Verification of ferror and clearerr */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.15.0.1: Verification of remove and rename */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.16.0.1: Verification of tmpfile function */

1
Tests/Conformance/C17.5.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 17.5.0.1: Verification of fseek function */

1
Tests/Conformance/C17.5.0.2.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 17.5.0.2: Verification of fseek, rewind, and ftell */

1
Tests/Conformance/C17.6.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 17.6.0.1: Verification of fgetc, getc, and ungetc with */

1
Tests/Conformance/C17.6.0.2.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 17.6.0.2: Verification of fgetc, getc, and ungetc with */

1
Tests/Conformance/C17.7.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 17.7.0.1: Verification of fgets function, text stream */

1
Tests/Conformance/C17.7.0.2.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 17.7.0.2: Verification of fgets function, binary stream */

1
Tests/Conformance/C17.8.0.1.CC Executable file
View File

@@ -0,0 +1 @@
/* Conformance Test 17.8.0.1: Verification of fscanf, d format code */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.8.0.10: Verification of sscanf, u format code */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.8.0.11: Verification of sscanf, o format code */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.8.0.12: Verification of sscanf, x,X format codes */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.8.0.13: Verification of sscanf, c format code */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.8.0.14: Verification of sscanf, s format code */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.8.0.15: Verification of fscanf, f e E g G format codes */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.8.0.16: Verification of sscanf, % and [ format codes */

View File

@@ -0,0 +1 @@
/* Conformance Test 17.8.0.17: Verification of scanf, d format code */

Some files were not shown because too many files have changed in this diff Show More