1987 Z80 C compiler '2500ad' documentation

Hello,

I just inherited a project running on a Z80, which is built with a compiler called 'c80.exe' :

2500 A.D. Z80 C Compiler Copyright (C) 1987 - Version 4.05c

Does anybody happen to have any documentation about this compiler at hand ? I am mainly looking for flags to change warning levels, and information about pref-defined preprocessor symbols.

Thanks a lot,

_Ico

--
:wq
^X^Cy^K^X^C^C^C^C
Reply to
Ico
Loading thread data ...

In article , Ico writes

I think at Computer Solutions may be able to help. They spam this NG frequently.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England     /\/\/\/\/
/\/\/ chris@phaedsys.org      www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Reply to
Chris Hills

You lucky sod.

I just happened to almost throw out the 6809 compiler (V4.03) the other day, so I know where it is. Here are the command line options:

-1 Skip phase 1 preoptimization.

-d Include source code in output

-D Allow definition of symbols in command line

-i Specify #include path

-I change to alternate library section names

-n Run linker after compilation

-ofilename Output fiulename

-p/path/ Output directory

-P Run preprocessor only

-S Create assembler output with source code as comments

And that's it. I like the way with only a handful of options they still managed to make case matter.

Paul Burke

Reply to
Paul Burke

Hehe; well it's not too bad actually: I setup a dos emulator environment on my main linux machine, and it actually runs quite well. Apart from some quirks (no enums, static variables are re-initialized, and probably more I didn't run into yet), it does the job.

The best part is that the inherited code was written so well, that it compiles and runs with gcc 4, with no modifications at all. That's what I call luck :)

Not much indeed, but the '-1' is one of the things I was looking for. Thanks for the info.

--
:wq
^X^Cy^K^X^C^C^C^C
Reply to
Ico

Well-written code on a small micro project?!? You should frame that - it might be worth something one day! ;)

Regards,

--
Mark McDougall, Engineer
Virtual Logic Pty Ltd, 
21-25 King St, Rockdale, 2216
Ph: +612-9599-3255 Fax: +612-9599-3266
Reply to
Mark McDougall

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.