Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Complete, wonderfully annotated disassembly of major CP/M programs

543 views
Skip to first unread message

Tom Burnett

unread,
Dec 20, 2011, 5:10:23 PM12/20/11
to
Hello everyone,

I've been a lurker in this newsgroup for a long time, but never posted
anything until now.

I have ran across (on a unrelated search) some really outstanding
disassembly work
by Werner.Cirsovius. Not only of the original programs, but most have
been extended
in meaningful ways e.g. M80 now has help screens, defaults to Z-80
mnemonics,
has time and date functions for inclusion in *.prn files, etc. Most
new versions
require a Z-80 and CP/M 3, but that shouldn't be much of a problem for
programmers in this news group.
Some of the programs are:
M80 - Microsoft assembler
LINK - DRI linker
SLRASM and SLRLINK
ZSID
Turbo Pascal - In addition to original source code, he's also
converted it into a command line compiler
DASM = the public domain disassembler he's greatly expanded and
produced everything else
DRI LIB - librarian
and a few others.

I've assembled the new M80 with the original M80 and several thousand
lines of source builds
without so much as a warning.

Who says the original DRI source code of RMAC, MAC and LINK were
lost? I wonder if he could be
talked into tackling RMAC and MAC? Or even MBASIC? ;-)
I will add this; He doesn't make them easy to find. To find them go
to http://www.cirsovius.de/index_js.html#
and click on CP/M in the middle of the page. At the top of the page,
click on English (assuming that's what
you want). Navigate to main English CP/M page and click on "Own CP/M
Projects" and then on
"Disassembling". In that page, there will be a small link in the
upper right (ish...) area of the screen named
"DASM". Under that link is where all the good stuff is. You will get
close by searching on "m80kern" in
Google.

I hope this is useful to somebody, for study of how it's done if
nothing else. If you use these tools, you'll
want these updated programs.

I sure wish I was this good...

Tom

A2CPM

unread,
Jan 15, 2012, 5:58:19 PM1/15/12
to
Hi!

On Dec. 20, 2011, 5:10 pm, Tom wrote:
> Hello everyone,
> I've been a lurker in this newsgroup for a long time, but never posted
> anything until now.
> I have ran across (on a unrelated search) some really outstanding
> disassembly work by Werner.Cirsovius.
<--- snip --->
> Turbo Pascal - In addition to original source code, he's also
> converted it into a command line compiler
<--- snip --->

Tom, a BIG "thank you" for posting this. I've been a big fan of
Turbo Pascal for a LONG time. I still write programs using version
3.01A via the 'Command Prompt' in Windows XP.

A couple of years ago I ran across a dis-assembly of the PC/DOS
version of Turbo Pascal by Pascal Dornier. It can be found at:
>http://www.pcengines.ch/tp3.htm
IMHO, the dis-assembly by Dornier is better because he used labels
that attempt to convey meaning instead the lxxxx labels supplied by
Cirsovius. However, Cirsovius does some things better such as
supplying a set of mnemonics for error codes.

I'm in the process of copying the labels from the dis-assembly by
Dornier to the one by Cirsovius. If you're interested in this effort,
please contact me privately.

Willi

A2CPM

unread,
Jan 17, 2012, 8:59:48 AM1/17/12
to
Hi, y'all!

Below my signature is a message from someone who is currently
unable to post to this group.

Willi

Forwarded message:
Way back into time, I also disassembled several CP/M programs. One of
them
is Turbo Pascal. I just dug out the sources and placed them there:
http://www.memotech.franken.de/CPM80/

As time permits, I will add more CP/M Z80 Turbo Pascal stuff there.

Comments are welcome.
Herbert Oppmann, he...@memotech.franken.de

Steven Hirsch

unread,
Jan 17, 2012, 1:34:50 PM1/17/12
to
Hi, Herbert! I'm still using your nice modification to Microsoft M80
(generates 64180 opcodes).

Tom Burnett

unread,
Jan 18, 2012, 2:04:27 AM1/18/12
to
He has added quite a bit of stuff at my request.
Mbasic, Bascom, Prolink, other programs both big and small.

Not all of it is 100% complete, but it's still very useful as a
starting
point for modification, etc. I'll be in touch about the Turbo Pascal
effort.

Thanks,
Tom
0 new messages