Hi Si,
Long time.... :)
On Thu, 14 Feb 2002 09:42:49 -0000 "Simon Owen" <[EMAIL PROTECTED]> wrote:
> Frode Tennebø wrote:
> > I was playing around with z88dk and my new and improved
> > graphics/stdio library for SAM
>
> Ooo, got any more tell us about that?
Well, it's the olympics and hence I got some time to spend in front
of the computer instead of in the sofa. :)
So I'm fiddeling with SAM support. Mode 1 GFX and stdio (no ansi)
is fairly complete.
And that the combination of ROM routines, paging of the screen and
SP on the SAM is PITA! :)
> > are the following missing from Z80ops.h:
> >
> > Z80ops.h:instr(0x67,4) { xl=a; } endinstr; // ld l,a
> > (or ixl/iyl ...)
> > (and the rest from 0x61,4)
>
> I think the existing version is ok, as the current definitions are:
>
> instr(0x67,4) { xh=a; } endinstr; // ld h,a
> and
> #define xh (((REGPAIR*)pHlIxIy)->B.h_)
>
> pHlIxIy defaults to pointing to HL, but an index prefix changes that to
> point to IX or IY. The xh macro just uses the high-byte of whatever
> register pair it's pointing to at the time. So, for 0x67 that would
> give one of LD H/IXh/IYh,A as appropriate, and similarly for the rest of
> the 0x60->0x67 block (except 0x66).
I couldn't find them in the copy I had back home - have to check
when I get back. It was 1 AM when I jumped to conclusions... :)
> > ...or am I missing somthing?
>
> Even if the above covers your query, I guess that still means you have a
> possible problem! Do you have any other details that might help track
> it down?
I can send you a disk image of the binary if it's not that I'm just
running an old SimCoupe. Actually, it runs perfectly (though slooowwwly)
in TurboMon. :) Excellent piece of software that! One of my favourites
that one.
-Frode