Hello all,
It has been a while, but my lab is set up again after several hiatuses.
I have abandoned my MacBook approach for an Integrated Development Environment base. There are not as any offerings compared to those found for PCs. Ditto for HAM Radio tools.
It has been a long time since I had a PC. I was planning, sometime ago, to use a DOS machine, but I no longer have one.
Right now I have a desktop Windows 10 machine. I also have Steve Cousins' Covid CPM kit.
Ideally, I would like to have a C compiler with a macro-assembler. I want to be able to edit code easily. I suspect a Z80 emulator would be useful, too. I did see a High-Tec C video on YouTube which looked good, but who knows. Is there any tool set commonly used among group members? What do y'all recommend?
The floor is open for comment.
=Steve.
A few issues about z88DK I see.
o There is no documentation for the C language supported. I mean the language itself, not how to use it.
o There are two C compilers, dunno know why.
o One needs to build the IDE using GitHub tools I am unfamiliar with.
o The only assembler documentation I found was a Zilog Z180 reference.
o Here is the Z88dk toolset.
zcc is the toolchain's front end. zcc can generate an output binary out of any set of input source files.
This is too complicated for my needs.
There does not seem to be any documented multi-dimensional array support in C for z88dk.
This is what I read on Wikipedia and found in the C90 documentation.
There's a number of how to instructions you can see here.I wrote one for the RC2014, but it is also valid for RomWBW HBOS, and for native CP/M targets.
But regarding "when actual documentation sources are available", I see no C language reference manual for either of the z80dk C compilers.
This is what worries me about home-brew / hobby compilers.
I am worried about finding something that doesn't compile which may possibly be a bug in the compiler. What can I check to see if my syntax is correct? What can I check to see if the compiler supports what I am trying to do? There are always solutions to problems I encounter and there are always other ways to do things. But I don't want to debug a compiler, I want documented tools to write programs. In the worse scenario, I may have to abandon the tool set or abandon a design. I will have enough to do debug with my own code.
Here is an example of what I mean. You said . . .You could try with the sccz80 compiler like this.zcc +cpm samegame.c -o samegame --list -create-appOr with the sdcc compiler like this.zcc +cpm -compiler=sdcc samegame.c -o samegame --list -create-appHow am I to know which compiler to use? Why is there a choice?
Basically, I don't want to have to bother with or get inside these things.
Hmmm..... not too good trying this.There is no "samegame" anywhere in the downloaded z88dk toolset.
Tried Pacmac, but . . .There is no packman.c in the downloaded examples, but there is a Makefile.
I tried the Makefile which requires Xcode which is not available for macOS Mohave.