Browse Source

Add HI-TECH C Compiler Messages and update docs

Per @PeterOGB, added a copy of the HI-TECH C Compiler Messages document.  The space-optimized version of the compiler from @Laci1953 omits these messages.
pull/573/head
Wayne Warthen 7 months ago
parent
commit
134518ea52
No known key found for this signature in database GPG Key ID: 8B34ED29C07EEB0A
  1. 101
      Doc/Language/HI-TECH Z80 C Compiler Messages.txt
  2. 22
      Doc/Language/ReadMe.txt
  3. BIN
      Doc/RomWBW Applications.pdf
  4. BIN
      Doc/RomWBW Disk Catalog.pdf
  5. BIN
      Doc/RomWBW Hardware.pdf
  6. BIN
      Doc/RomWBW Introduction.pdf
  7. BIN
      Doc/RomWBW System Guide.pdf
  8. BIN
      Doc/RomWBW User Guide.pdf
  9. 7
      ReadMe.md
  10. 7
      ReadMe.txt
  11. 6
      Source/Doc/Catalog.md
  12. 5
      Source/Doc/Introduction.md
  13. 8
      Source/Images/d_hitechc/Readme.txt
  14. BIN
      Tools/cpm/bin80/LOAD.COM

101
Doc/Language/HI-TECH Z80 C Compiler Messages.txt

@ -0,0 +1,101 @@
1 "dimension required"
2 "functions can't return arrays"
3 "functions can't return functions"
4 "can't have array of functions"
5 "argument redeclared: %s"
6 "not an argument: %s"
7 "undefined struct/union: %s"
8 "can't have array of functions"
9 "only functions may be void"
10 "functions can't return arrays"
11 "declarator too complex"
12 "no identifier in declaration"
13 "can't initialize arg"
14 "argument redeclared: %s"
15 "bad storage class"
16 "can't mix proto and non-proto args"
17 "type specifier reqd. for proto arg"
18 "can't initialise auto aggregates"
19 "integer expression required"
20 "undefined enum tag: %s"
21 "integer constant expected"
22 "bad bitfield type"
23 "members cannot be functions"
24 "struct/union redefined: %s"
25 "can't be unsigned"
26 "can't be short"
27 "can't be long"
28 "can't be register"
29 "inconsistent type"
30 "bad storage class"
31 "storage class illegal"
32 "inconsistent storage class"
33 "illegal initialisation"
34 "only register storage class allowed"
35 "too much indirection"
36 "argument list conflicts with prototype"
37 "identifier redefined: %s"
38 "not a label identifier: %s"
39 "'case' not in switch"
40 "'default' not in switch"
41 "default case redefined"
42 "inappropriate break/continue"
43 "illegal type for switch expression"
44 "inappropriate 'else'"
45 "illegal initialisation"
46 "initialisation syntax"
47 "illegal initialisation"
48 "%s expected"
49 "close error (disk space?)"
50 "digit out of range"
51 "hex digit expected"
52 "exponent expected"
53 "'.' expected after '..'"
54 "char const too long"
55 "illegal character (0%o)"
56 "illegal conversion"
57 "logical type required"
58 "type conflict"
59 "simple type required for %.3s"
60 "integral type required"
61 "illegal use of void expression"
62 "void function cannot return value"
63 "pointer required"
64 "only lvalues may be assigned to or modified"
65 "can't take this address"
66 "can't take address of register variable"
67 "undefined struct/union: %s"
68 "struct/union member expected"
69 "struct/union required"
70 "illegal type for index expression"
71 "not a variable identifier: %s"
72 "undefined identifier: %s"
73 "expression syntax"
74 "illegal type for array dimension"
75 "constant expression required"
76 "too few arguments"
77 "too many arguments"
78 "function does not take arguments"
79 "float param coerced to double"
80 "non-void function returns no value"
81 "Unreachable code"
82 "implicit return at end of non-void function"
83 "Can't create xref file %s"
84 "implicit conversion of float to integer"
85 "illegal conversion between pointer types"
86 "illegal conversion of pointer to integer"
87 "illegal conversion of integer to pointer"
88 "%s() declared implicit int"
89 "operands of %.3s not same type"
90 "operands of %.3s not same pointer type"
91 "function or function pointer required"
92 "Can't create xref file %s"
93 "close error (disk space?)"
94 "Can't reopen %s"
95 "can't open %s"
96 "illegal '#' directive"
97 "EOF in #asm"
98 "Too many cases in switch"
99 "unexpected EOF"

22
Doc/Language/ReadMe.txt

@ -11,45 +11,49 @@ distribution archive. It contains documentation for Programming
Languages provided with the system. Languages provided with the system.
Aztec C Compiler User Manual (Aztec_C_1.06_User_Manual_Mar84.pdf)
Aztec C Compiler User Manual ("Aztec_C_1.06_User_Manual_Mar84.pdf")
----------------------------------------------------------------- -----------------------------------------------------------------
Official user manual for the Aztec C Compiler included in the aztecc disk image. Official user manual for the Aztec C Compiler included in the aztecc disk image.
Borland TurboPascal User Manual (Turbo_Pascal_Version_3.0_Reference_Manual_1986.pdf)
Borland TurboPascal User Manual ("Turbo_Pascal_Version_3.0_Reference_Manual_1986.pdf")
------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------
Official user manual Borland TurboPascal included in the pascal disk image. Official user manual Borland TurboPascal included in the pascal disk image.
Cowgol Lanaguage (Cowgol Language.pdf)
Cowgol Lanaguage ("Cowgol Language.pdf")
-------------------------------------- --------------------------------------
Documentation for Cowgol Language included in the cowgol disk image Documentation for Cowgol Language included in the cowgol disk image
HI-TECH C Compiler User Manual (HI-TECH Z80 C Compiler Manual.txt)
HI-TECH C Compiler User Manual ("HI-TECH Z80 C Compiler Manual.txt")
HI-TECH C Compiler Messages ("HI-TECH Z80 C Compiler Messages.txt")
------------------------------------------------------------------ ------------------------------------------------------------------
Official user manual for the HI-TECH C Compiler included in the Official user manual for the HI-TECH C Compiler included in the
hitechc disk image.
hitechc disk image. The Compiler Messages file provides textual
descriptions of all compiler error and warning codes. These textual
messages have been omitted from the size optimized version of
HI-TECH C found in User Area 1 of the disk image. See the ReadMe.txt
file in the hitechc disk image for more information.
Microsoft Basic-80 Reference Manual v5.0 (Microsoft Basic-80 Reference Manual v5.0.pdf)
Microsoft Basic-80 Reference Manual v5.0 ("Microsoft Basic-80 Reference Manual v5.0.pdf")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
Official manual for Microsoft BASIC as included in RomWBW. Official manual for Microsoft BASIC as included in RomWBW.
Microsoft FORTRAN-80 User Manual (Microsoft_FORTRAN-80_Users_Manual_1977.pdf)
Microsoft FORTRAN-80 User Manual ("Microsoft_FORTRAN-80_Users_Manual_1977.pdf")
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Official user manual for Microsoft's FORTRAN-80 compiler included in the fortran Official user manual for Microsoft's FORTRAN-80 compiler included in the fortran
disk image. disk image.
Z80 Assembler User Manual (z80asm (SLR Systems).pdf)
Z80 Assembler User Manual ("z80asm (SLR Systems).pdf")
---------------------------------------------------- ----------------------------------------------------
Official user manual for the Z80 Macro Assembler by SLR Systems Official user manual for the Z80 Macro Assembler by SLR Systems

BIN
Doc/RomWBW Applications.pdf

Binary file not shown.

BIN
Doc/RomWBW Disk Catalog.pdf

Binary file not shown.

BIN
Doc/RomWBW Hardware.pdf

Binary file not shown.

BIN
Doc/RomWBW Introduction.pdf

Binary file not shown.

BIN
Doc/RomWBW System Guide.pdf

Binary file not shown.

BIN
Doc/RomWBW User Guide.pdf

Binary file not shown.

7
ReadMe.md

@ -7,12 +7,12 @@
**RomWBW Introduction** \ **RomWBW Introduction** \
Version 3.6 \ Version 3.6 \
Wayne Warthen ([wwarthen@gmail.com](mailto:wwarthen@gmail.com)) \ Wayne Warthen ([wwarthen@gmail.com](mailto:wwarthen@gmail.com)) \
16 Jun 2025
19 Jun 2025
# Overview # Overview
RomWBW software provides a complete, commercial quality implementation RomWBW software provides a complete, commercial quality implementation
of CP/M (and workalike) operating systems and applications for modern
of CP/M (and work-alike) operating systems and applications for modern
Z80/180/280 retro-computing hardware systems. Z80/180/280 retro-computing hardware systems.
A wide variety of platforms are supported including those produced by A wide variety of platforms are supported including those produced by
@ -191,6 +191,9 @@ documentation:
discusses much of the internal design and construction of RomWBW. It discusses much of the internal design and construction of RomWBW. It
includes a reference for the RomWBW HBIOS API functions. includes a reference for the RomWBW HBIOS API functions.
An online HTML version of this documentation is hosted at
<https://wwarthen.github.io/RomWBW>.
Each of the operating systems and ROM applications included with RomWBW Each of the operating systems and ROM applications included with RomWBW
are sophisticated tools in their own right. It is not reasonable to are sophisticated tools in their own right. It is not reasonable to
fully document their usage. However, you will find complete manuals in fully document their usage. However, you will find complete manuals in

7
ReadMe.txt

@ -1,6 +1,6 @@
RomWBW Introduction RomWBW Introduction
Wayne Warthen (wwarthen@gmail.com) Wayne Warthen (wwarthen@gmail.com)
16 Jun 2025
19 Jun 2025
@ -11,7 +11,7 @@ OVERVIEW
RomWBW software provides a complete, commercial quality implementation RomWBW software provides a complete, commercial quality implementation
of CP/M (and workalike) operating systems and applications for modern
of CP/M (and work-alike) operating systems and applications for modern
Z80/180/280 retro-computing hardware systems. Z80/180/280 retro-computing hardware systems.
A wide variety of platforms are supported including those produced by A wide variety of platforms are supported including those produced by
@ -193,6 +193,9 @@ documentation:
construction of RomWBW. It includes a reference for the RomWBW HBIOS construction of RomWBW. It includes a reference for the RomWBW HBIOS
API functions. API functions.
An online HTML version of this documentation is hosted at
https://wwarthen.github.io/RomWBW.
Each of the operating systems and ROM applications included with RomWBW Each of the operating systems and ROM applications included with RomWBW
are sophisticated tools in their own right. It is not reasonable to are sophisticated tools in their own right. It is not reasonable to
fully document their usage. However, you will find complete manuals in fully document their usage. However, you will find complete manuals in

6
Source/Doc/Catalog.md

@ -1054,7 +1054,7 @@ from his GitHub repository at <https://github.com/Laci1953/Cowgol_on_CP_M>.
The primary distribution site for Cowgol 2.0 is at The primary distribution site for Cowgol 2.0 is at
<https://github.com/davidgiven/cowgol>. <https://github.com/davidgiven/cowgol>.
The user manual is available in the Doc/Language directory The user manual is available in the Doc/Language directory
Cowgol Language.pdf
Cowgol Language.pdf.
The following files are found in The following files are found in
@ -1190,7 +1190,9 @@ currently maintains HI-TECH C at
<https://github.com/agn453/HI-TECH-Z80-C>. <https://github.com/agn453/HI-TECH-Z80-C>.
The manual is available in the Doc/Language directory, The manual is available in the Doc/Language directory,
HI-TECH Z80 C Compiler Manual.txt
HI-TECH Z80 C Compiler Manual.txt. A textual description of all error
and warning messages is found in the same directory, HI-TECH Z80 C
Compiler Messages.txt.
A good blog post about the HI-TECH C Compiler is available at A good blog post about the HI-TECH C Compiler is available at
<https://techtinkering.com/2008/10/22/installing-the-hi-tech-z80-c-compiler-for-cpm>. <https://techtinkering.com/2008/10/22/installing-the-hi-tech-z80-c-compiler-for-cpm>.

5
Source/Doc/Introduction.md

@ -4,7 +4,7 @@ $include{"Book.h"}$
# Overview # Overview
RomWBW software provides a complete, commercial quality RomWBW software provides a complete, commercial quality
implementation of CP/M (and workalike) operating systems and
implementation of CP/M (and work-alike) operating systems and
applications for modern Z80/180/280 retro-computing hardware systems. applications for modern Z80/180/280 retro-computing hardware systems.
A wide variety of platforms are supported including those A wide variety of platforms are supported including those
@ -175,6 +175,9 @@ There are several documents that form the core of the RomWBW documentation:
of RomWBW. It includes a reference for the RomWBW HBIOS API of RomWBW. It includes a reference for the RomWBW HBIOS API
functions. functions.
An online HTML version of this documentation is hosted at
<https://wwarthen.github.io/RomWBW>.
Each of the operating systems and ROM applications included with RomWBW Each of the operating systems and ROM applications included with RomWBW
are sophisticated tools in their own right. It is not reasonable to are sophisticated tools in their own right. It is not reasonable to
fully document their usage. However, you will find complete manuals fully document their usage. However, you will find complete manuals

8
Source/Images/d_hitechc/Readme.txt

@ -11,7 +11,7 @@ This is the Jun 2, 2025 update 19 released by Tony Nicholson who currently
maintains HI-TECH C at https://github.com/agn453/HI-TECH-Z80-C. maintains HI-TECH C at https://github.com/agn453/HI-TECH-Z80-C.
The manual is available in the Doc/Language directory, The manual is available in the Doc/Language directory,
HI-TECH Z80 C Compiler Manual.txt
HI-TECH Z80 C Compiler Manual.txt.
A good blog post about the HI-TECH C Compiler is available at A good blog post about the HI-TECH C Compiler is available at
https://techtinkering.com/2008/10/22/installing-the-hi-tech-z80-c-compiler-for-cpm/. https://techtinkering.com/2008/10/22/installing-the-hi-tech-z80-c-compiler-for-cpm/.
@ -45,3 +45,9 @@ The enhanced files are:
A thread discussing this enhanced version of HI-TECH C is found at A thread discussing this enhanced version of HI-TECH C is found at
https://groups.google.com/g/rc2014-z80/c/sBCCIpOnnGg. https://groups.google.com/g/rc2014-z80/c/sBCCIpOnnGg.
One of the size optimizations of P1.COM is the removal of the textual
warning and error messages. The code number for each of these
messages will still be printed. The textual description for all of
these warnings/errors can be found in the Doc/Language directory,
HI-TECH Z80 C Compiler Messages.txt.

BIN
Tools/cpm/bin80/LOAD.COM

Binary file not shown.
Loading…
Cancel
Save