Replace HI-TECH C with latest version from https://github.com/agn453/HI-TECH-Z80-C

This commit is contained in:
Rob Prouse
2023-06-15 13:16:52 -04:00
parent 5227bb68b5
commit 0e1a0afa2c
37 changed files with 47 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
===== HI-TECH Z80 CP/M C compiler V3.09 =====
===== HI-TECH Z80 CP/M C compiler V3.09-17 =====
The HI-TECH C Compiler is a set of software which
translates programs written in the C language to executable
@@ -7,6 +7,9 @@ programs for operation under the host operating system, or
which produce programs for execution in embedded systems
without an operating system.
This is the Mar 21, 2023 update 17 released by Tory Nicholson who currently
maintains HI-TECH C at https://github.com/agn453/HI-TECH-Z80-C
The manual is available in the Docs directory,
HI-TECH Z80 C Compiler Manual.txt

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,22 @@
HI-TECH Z80 CP/M C compiler options:
-A Generate a self-relocating .COM program.
-C Generate object code only; don't link.
-CR Produce a cross-reference listing e.g. -CRfile.crf
-D Define a symbol, e.g. -DDEBUG=1
-E Specify executable output filename, e.g. -Efile.com
-Ffile Generate a symbol file for debug.com or overlay build (default L.SYM)
-H Output help (the OPTIONS file) and exit.
-I Specify an include directory, e.g. -I1:B:
-L Scan a library, e.g. -LF scans the floating point library.
-M Generate a map file, e.g. -Mfile.map
-N Use the NRTCPM.OBJ start-up with minimal _getargs().
-O Invoke the peephole optimizer (reduced code-size)
-OF Invoke the optimizer for speed (Fast)
-S Generate assembler code in a .AS file; don't assemble or link.
-U Undefine a predefined symbol, e.g. -UDEBUG
-V Be verbose during compilation.
-W Set warning level, e.g. -w5 or -w-2
-X Suppress local symbols in symbol tables.
-Y Generate an overlay output file (.OVR file-type)


View File

@@ -0,0 +1,6 @@
#ifndef _HTC_OVERLAY_H
#define _HTC_OVERLAY_H
#include <stdint.h>
intptr_t ovrload(char *ovr_name,intptr_t args);
#endif

View File

@@ -1,18 +0,0 @@
The HI-TECH Z80 CP/M C compiler V3.09 is provided free of charge for any
use, private or commercial, strictly as-is. No warranty or product
support is offered or implied.
You may use this software for whatever you like, providing you acknowledge
that the copyright to this software remains with HI-TECH Software.
The software is distributed in two archive files:
Z80V309.EXE is a self-extracting lharc'ed archive containing the
entire compiler except for the library source code.
LIBSRC.EXE is a self-extracting lharc'ed archive containg the library
source code.
To de-archive these files you will need to either run them on a DOS
system, in which case they will self-extract, or use the LHARC program
to extract. LHARC is available for unix as well as DOS.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,15 @@
#ifndef _HTC_STDINT_H
#define _HTC_STDINT_H
#if z80||i8086||i8096||m68k
typedef unsigned char uint8_t;
typedef char int8_t;
typedef unsigned short uint16_t;
typedef short int16_t;
typedef unsigned long uint32_t;
typedef long int32_t;
typedef unsigned short intptr_t;
#endif
#endif


Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.