[comp.os.cpm] Z-80 DAA instruction & CP/M-on-unix

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

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?).

I am stuck on the DAA instruction. Does anyone have an algorithm
that will do this? I have two books that tell me WHAT DAA does,
but not HOW it does it. Sigh.

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)     !