"CP/M compatible" vs. "MS-DOS Compatible" machines?
Roy J. Tellason
rtellason at verizon.net
Tue Feb 5 14:46:14 CST 2008
On Tuesday 05 February 2008 04:08, Chuck Guzis wrote:
> > Date: Tue, 05 Feb 2008 02:20:29 -0500
> > From: "Roy J. Tellason"
> >
> > > I'd already done it for DX-85M
> >
> > What's that?
>
> Proprietary multitasking operating system, based on the 8085;
> basically the other end of the spectrum from CP/M. Included built-in-
> interrupt-driven I/O (including 4 channels of async), file types
> (i.e. differentiated between executable, data, index, etc.), built-in
> ISAM files and a bunch of other stuff. One of these days I'll chat
> about it if anyone's curious.
Yup! Count me in...
(Snip)
> Re: passing arguments on the stack. It's an interesting exercise on
> the 8085 using the "undocumented" instructions. For example, opcode
> 38H, which is a two-byte instruction would take SP, add the second
> instruction byte and stick the result in DE. Opcode 28H would do the
> same, but use HL instead of SP.
>
> Another 8085 16-bit operation, opcode D9H, would store HL in the
> address pointed to by DE. Opcode EDh would load HL from the address
> pointed to by DE.
>
> There were a couple of other 16-bit operations in 8085 not
> documented. 08H would subtract BC from HL, 10H shifted HL right one
> place with sign extension. 18H rotated DE left one place through the
> carry flag (i.e. 17 bit rotate).
>
> There were a few other instructions of less interest: a couple of
> jumps that tested for unsigned overflow and a conditional restart to
> location 40H (RST 8) if the overflow flag was set.
Interesting stuff. I've run across the occasional info on undocumented ops
for different chips, but don't remember seeing any for the 8085 before.
> It was kind of unfortunate that Intel simply didn't leave blanks in
> the 8080 documentation for the "do nothing" moves; (e.g. MOV A,A; MOV
> B,B, etc.). It might have freed up a few more spare opcodes for
> later exploitation.
I suspect that a lot of the reasons for them laying things out the way they
did had to do with convenience in the manufacturing process, mask layout or
somesuch stuff, rather than intent.
--
Member of the toughest, meanest, deadliest, most unrelenting -- and
ablest -- form of life in this section of space, a critter that can
be killed but can't be tamed. --Robert A. Heinlein, "The Puppet Masters"
-
Information is more dangerous than cannon to a society ruled by lies. --James
M Dakin
More information about the cctalk
mailing list