Date : Sat, 21 Apr 1990 15:33:38 GMT
From : cucstud!tfd!kent@uunet.uu.net (Kent Hauser)
Subject: Z-80 DAA instruction & CP/M-on-unix
In article <5248@quack.UUCP>, mrapple@quack.UUCP (Nick Sayer) writes:
>
> I am writing a Z-80 emulator in C as part of a CP/M-on-unix package.
> It will be PD if/when I finish it (except for the parts still
> copyrighted by Digital Research, if any. Confirmation anyone?).
>
...
> Is anyone interested in this package if/when I finish it? It's
> fairly straightforward. The way it'll work is you make a file
> of a certain size (or more than one, if you want), then specify
> that file on the command line. That file will then be a CP/M
> disk. You can also connect files to CP/M's devices, like
> PTR:/PTP:, etc. The tough part will be getting BDOS/CCP installed.
> I'm fairly sure BIOS won't present any major problems.
> --
> 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) !
I'm the one who started this thread a while back & I can tell
you that I would want it.
What I need to do is to be able to run an old CP/M c-compiler under unix.
I'm sure that the only "bdos" calls the compiler makes is for
sequential disk reads/writes, and console writes.
None of the "raw" termio, printer, etc, stuff is needed. In fact,
none of the "ccp" & "bdos" & etc is needed, just a way to handle the
dozen or so common system calls & to get the program running. No
reason to use the digital research bdos -- just translate the
"read sequential" into a unix read, etc.
Besides, who would want to use the "ccp" commands anyway? All it
does is parse the command line (let /bin/sh do that), setup the
base page (no big deal), implement "era" & friends (who would
want them) & print "BAD LOAD" (extra credit for knowing why!).
I think that a z80 emulator would be a long way to getting a working emulator.
Kent
--
Kent Hauser UUCP: {uunet, sun!sundc}!tfd!kent
Twenty-First Designs INET: kent@tfd.uu.net
(202) 408-0841