Re: A86: Re: new emulator


[Prev][Next][Index][Thread]

Re: A86: Re: new emulator




Haha, now I remember. TI's personal organizer (Avigo - never made it) is the
one that uses a Z80. Well anyway. You do know that there has already been
written a very optimized portable Z80 core in C, right? It is the basis of
many emulators...

However, since you are going on the 68k, you should definitely think about
writing the whole thing in ASM. You said you didn't need it to be totally
fast, but writing it in ASM is a good step toward that...

----- Original Message -----
From: Liyang Hu <liyang@liyang.freeserve.co.uk>
To: <assembly-86@lists.ticalc.org>
Sent: Wednesday, December 22, 1999 12:32 PM
Subject: RE: A86: Re: new emulator


>
> > Oi! That's different! =)
> >
> > Isn't the processor in the Palm III a Z80? (I thought it was.) If
> > it is, why
> > are you working on an emulator? All you would need to do is
> > handle the ports
> > (i.e., lcd, keyboard). Now of course I may be wrong, it may just be the
> > original Palm Pilot that had a Z80.
>
> Sorry to disappoint you all, but *all* the Palm's has m68k's. - I can run
> programs written for the PalmPilot (Palm I) or PalmPilot Pro (Palm II)
just
> as well on my Palm III.
> PalmV is exactly the same as a 2MB Palm III, just with a different (and
much
> nicer) case and biult-in LiIon batteries (my dad has one).
>
> The Palm VII I'm not too sure about, but I'm willing to bet it's a m68k as
> well.
>
> > In any case, how are you testing your
> > Z80 core on the computer when the computer has an x86? If Palm
> > III has x86,
> > I wrote a Z80 core in pure asm that you can look at (if nothing else,
for
> > comparison)...
> Well, the core's in C atm, but it can be translated to m68k assembler as
> soon as I figure out how to do inline assembler for gcc :) (anyone want to
> help me? email me at liyang at altavista dot net) The core's currently a
> win32 console app, I might do a gui for it with Allegro, get the keyboard
> and any other misc bits working, then start working on porting it over to
> the Palm.
>
> > ----- Original Message -----
> > From: Liyang Hu <liyang@liyang.freeserve.co.uk>
> > To: TI-Emu ML <ti-emulator@lists.ticalc.org>; TI-86 Asm ML
> > <assembly-86@lists.ticalc.org>
> > Sent: Tuesday, December 21, 1999 2:07 PM
> > Subject: RE: A86: Re: new emulator
> >
> >
> > > Oh well, I might as well tell you about it - I'm writing the emu for
my
> > Palm
> > > III.
> > > I think I have most of the core logic bits done (On the PC,
> > that is. It'll
> > > be ported over to the Palm as soon as I figure out how the keyboard
> > works),
> > > but I have problems implementing the keyboard handler - I'm
> > using TI86Emu
> > > (the one written in C++ builder) as my only debugging tool /
reference.
> > Note
> > > however that I do not want a cycle-perfect emulation of the core, I
want
> > it
> > > to be as fast as possible. My problem is this - my Z80 core
> > deviates from
> > > TI86Emu whenever I'm going through the keyboard code (although that's
> > kinda
> > > expected), but the keyboard handling stuff isnt quite working. I'm not
> > > really sure if it's my handler code or whether I'm misimplementing
some
> > > opcode somewhere... I was hoping for something that will test the Z80
> > core,
> > > not my keyboard handler :)
> > >
> > > nb: the emu works to the point where I have a flashing cursor sitting
> > there
> > > at the home screen... if only the keyboard works...
> > > --
> > >  /*\-------------------------.   .----------------------------.
> > > |    Liyang Hu aka DenseBoy   \ /   __pikachu ICQ # 39391385   \
> > > |     http://www.nerv.cx/      |    <denseboy@41t4v!5t4.n3t>    |
> > > +------------------------------+--------------------------------+
> > > |  The subspace W inherits the other 8 properties of V.         |
> > > |    And there aren't even any property taxes.                  |
> > > |      -- J. MacKay, Mathematics 134b                           |
> > > |   -----------------------------------------------------------/
> > >  \*/ /*  get my public key at http://www.nerv.cx/liyang.asc  */
> > >     /*   decode the l33t-speak in my address to email me!   */
> > >
> > >
> >
> >
>
>



Follow-Ups: References: