[comp.sources.wanted] Need CP/M-80 Simulator for UNIX

aduncan@rhea.trl.oz.au (Allan Duncan) (04/09/90)

From article <1990Apr6.013638.27835@druid.uucp>, by darcy@druid.uucp (D'Arcy J.M. Cain):
> In article <1814@tfd.UUCP> kent@tfd.UUCP (Kent Hauser) writes:
>>I need to run a old CP/M-80 compiler under unix.  Does anyone have a
>>simulator + z80-interpreter suitable for use under SunOS 3.x
>>(MC68020 host)?
> 
> Funny you should ask.  I am writing one as we speak (type?).  I have just
> about finished the instuction decoding functions (8080 - Z80 will be an
> enhancement one day.)  The next step will be to emulate the CP/M OS.
> 
> If someone else has done this I sure would like to hear from them to see
> how they solved various problems.  Perhaps we can share notes.

There are a couple available for the Amiga, which has source provided.
I haven't looked at them in detail, but both also emulate a connected
terminal.  One has the source in assembler (68K), the other I'm not
sure, but it is probably also assembler (the author includes his assembler
and its source on the same disk).
The bulk of the code would be transportable, only the i/o would need to
be changed.

Allan Duncan	ACSnet	a.duncan@trl.oz
		ARPA	a.duncan%trl.oz.au@uunet.uu.net
		UUCP	{uunet,hplabs,ukc}!munnari!trl.oz.au!a.duncan
Telecom Research Labs, PO Box 249, Clayton, Victoria, 3168, Australia.

pete@mimsy.umd.edu (Pete Cottrell) (04/09/90)

In article <1990Apr6.140834.2811@pegasus.com> richard@pegasus.UUCP (Richard Foulk) writes:
>>In article <1814@tfd.UUCP> kent@tfd.UUCP (Kent Hauser) writes:
>>>I need to run a old CP/M-80 compiler under unix.  Does anyone have a
>>>simulator + z80-interpreter suitable for use under SunOS 3.x
>>>(MC68020 host)?
>
>Yes it's been done.  I think it came from the U. of Maryland.

You are probably referring to rzasm, (mostly) written by Randy Trigg.
It was written for VAXen running 4.2BSD and is available for anonymous
FTP from mimsy.umd.edu. It is in the file maryland_dist/4.2/rzasm.sc.
This software is no longer supported here, so we won't be able to provide
any help with it, but it might be a good starting point. Randy is also
long gone,so any addresses for him in the shar file should be ignored.
If you can't ftp it, I would probably be able to send it to you via
UUCP, given a decent path name.

	Pete
-- 
Spoken: Pete Cottrell 	UUCP: uunet!mimsy!pete      INTERNET: pete@cs.umd.edu  
Phone: 301-454-2025	USPS: U of Maryland, CS Dept., College Park, Md 20742

darcy@druid.uucp (D'Arcy J.M. Cain) (04/11/90)

[Heavily munged for space - hope the attributions are still correct]

In article <23618@mimsy.umd.edu> pete@mimsy.umd.edu (Pete Cottrell) writes:
>>In article <1814@tfd.UUCP> kent@tfd.UUCP (Kent Hauser) writes:
>>>I need to run a old CP/M-80 compiler under unix.  Does anyone have a
>>>simulator + z80-interpreter suitable for use under SunOS 3.x
>
>You are probably referring to rzasm, (mostly) written by Randy Trigg.
>It was written for VAXen running 4.2BSD and is available for anonymous
>FTP from mimsy.umd.edu. It is in the file maryland_dist/4.2/rzasm.sc.

That is the Z80 assembler.  I think he wants a Z80 emulator.  It is in
the same directory but it's name is maryland_dist/4.2/zrun.sc.

-- 
D'Arcy J.M. Cain (darcy@druid)     |   Government:
D'Arcy Cain Consulting             |   Organized crime with an attitude
West Hill, Ontario, Canada         |
(416) 281-6094                     |

mrapple@quack.UUCP (Nick Sayer) (04/11/90)

In article <1814@tfd.UUCP> kent@tfd.UUCP (Kent Hauser) writes:
>I need to run a old CP/M-80 compiler under unix.  Does anyone have a
>simulator + z80-interpreter suitable for use under SunOS 3.x
>(MC68020 host)?

I am writing such a beast now. I am about 75% finished with the Z-80
interpreter, and debugging suite. I fear I'll need some assistance
installing BDOS/CCP on my BIOS though. Getting it to boot looks like
it'll be a pain. I also intend to give it GOCCP, which is an
improved CCP (not as flexible, but a lot easier to deal with than
ZCP/R).

I've received lots of replies to my DAA article expressing interest,
but nobody's got the algorithm for DAA yet... please...

oh, yes. I run SunOS 4.0, but the interpreter could probably run on
anything. all it ever does is ands, ors and moving lots of unsigned
shorts around... :-)
-- 
Nick Sayer  -  The Duck Pond public unix  -  209-952-5347 (Telebit)
---------------------------------+---------------------------------
quack!mrapple@uop.edu            !
...pacbell!sactoh0!quack!mrapple ! And now, The Fish Slapping Dance
N6QQQ (145.75 - TCP/IP soon)     !