开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: using SDCC and stdio to Z80MC w/ CP/M 2.2....


 

For native CP/M I have a shopping list of compliers to
compare to.? For raw code development speed and
ease BDS-C is my goto.? For editors I have VEDIT and as
screen oriented editor its very good with real terminals
(most PC terminal emulators fail hard for keyboards
that do not? match real terminals).
?
Haven't played with Z88DK, just no reason to have a SmallC
on pc when I have it on native Z80.? So I skipped it.? Actually
I have two versions one for 8080/8085 and the Z80 with
peephole optization and matching libraries for both.
?
Generally C is nice with complex data structures and
other projects where some level of portability is nice.
However C on z80 has a tendancy to eat ram.
?
I can think in 8085/z80, habit and years of doing it.? ?
That and I have a nearly 5 decades of code including
a macro library for both that is optimized.? Both take
advantage of undocumented instructions that are
different for 8085 and z80.? The 10 "hidden"
instructions that all 8085 have and actually can
improve code.? For Z80 there are special cases
where the undocumented by Zilog but documented
by everyone else that makes z80s do help code
size and speed.
?
That is the difference between CP/M systems which
have resources memory, io, and storage.? Also CP/M
had basic tools supplied so it had a useful starting point.
That and I've had hard disks on CP/M since mid 1980
so the archive is larger never mind the WC-CDROM
for shear volume.??
?
On one of my Kaypros has Handyman a secondary rom
that piggybacked the z80 and added handy stuff like a
calculator, note pad editor, and calendar plus other items.
IT also operated independant of CP/M and could copy
results to CP/m applications.
?
Years back I used a flavor of Tiny basic married to the CCP
to make a scripting command line.? I was spoiled by
VAX/VMS DCL (Digital Command Line) which was a
interpreted language in itself? with explicit and implied
scripts and very powerfull.? ?This is back early 80s where
I was trying to get big iron features on a Z80 CP/M machine
and largely succeeding.? Then again I had PDP-8 and PDP11
hardware and OSs to incite and inspire.
?
As a to a calc for CP/M most assumed VT52/vt100/vt220?
all having keypad.? Many other terminals did as well as
most emulated Vt100.
?
" I wish I had now what I was used to then."
?
Allison

Join [email protected] to automatically receive all group messages.