Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI 68K => Topic started by: Ancient Power on June 30, 2010, 07:08:00 pm

Title: z80 emulation on 68k
Post by: Ancient Power on June 30, 2010, 07:08:00 pm
I've come across this article on ticalc several times:

http://www.ticalc.org/community/articles/17.html

I myself had wondered before I saw it if it was possible. The article is dated 1998, and since then we've gotten two 68k calcs that are more powerful, three GB emulators, and many other things that can prove this possible. The 12MHz 68k processor is actually faster than the 15MHz z80(but we'd be emulating the 6MHz models anyways), and the z80 can emulate the weaker z80s(although slowly and on extremely similar hardware), but it wouldn't hurt to ask anyways, is it possible now? If it's possible, how well would it work? Is anyone willing to make an emulator to try it?
Title: Re: z80 emulation on 68k
Post by: apcalc on June 30, 2010, 08:08:17 pm
I am by no means an expert on programming (all I know is TI-BASIC and a little C) but I question if this would be possible.  I think calc84mainiac, who is writing a TI-89 emulator for the TI-Nspire, said that it would run slower than the actual calc despite the fact that the Nspire is (i think) 150 MHz.  Also, since TI is essentinally phasing out all 68k calcs in favor of the Nspire, I don't know how many 68k programmers are left. The number of new good programs for 68k calcs has dropped dramatically in the past few years.  I would love to try to do this, but I only know a little bit of C (I am in the process of learning) and I don't think a good emulator can be written in C; likewise, I would have no idea where to start when writing an emulator.
Title: Re: z80 emulation on 68k
Post by: bwang on June 30, 2010, 08:13:10 pm
Considering that the 89 can emulate a Gameboy at acceptable speed, I believe this is possible.
Title: Re: z80 emulation on 68k
Post by: Ancient Power on June 30, 2010, 08:30:23 pm
I think calc84mainiac, who is writing a TI-89 emulator for the TI-Nspire, said that it would run slower than the actual calc despite the fact that the Nspire is (i think) 150 MHz.
He updated it, and actually had to slow it down because it ran so fast.
Title: Re: z80 emulation on 68k
Post by: calc84maniac on June 30, 2010, 10:30:03 pm
I think calc84mainiac, who is writing a TI-89 emulator for the TI-Nspire, said that it would run slower than the actual calc despite the fact that the Nspire is (i think) 150 MHz.
He updated it, and actually had to slow it down because it ran so fast.
What? I never said anything like that.
Title: Re: z80 emulation on 68k
Post by: DJ Omnimaga on June 30, 2010, 11:12:09 pm
It was still much slower, if I recall. I guess it has to do with having to emulate a 15-16 MHz processor and a more complex processor than z80.

Also, there is already a z80 emulator for 68k calcs, altough it only runs ASM games, not emulate the entire calc. There's also a GB emu.

http://www.ticalc.org/archives/files/fileinfo/388/38820.html
http://www.ticalc.org/archives/files/fileinfo/369/36950.html
Title: Re: z80 emulation on 68k
Post by: Ancient Power on June 30, 2010, 11:32:38 pm
I think calc84mainiac, who is writing a TI-89 emulator for the TI-Nspire, said that it would run slower than the actual calc despite the fact that the Nspire is (i think) 150 MHz.
He updated it, and actually had to slow it down because it ran so fast.
What? I never said anything like that.
I looked back at it and realized that I misread the thread, several other people implied it would need to be slowed down :<

Also, I have the GB emulator and it is amazing considering what it's running on.
Title: Re: z80 emulation on 68k
Post by: DJ Omnimaga on June 30, 2010, 11:35:36 pm
It was probably some misconception about the processor speeds. Many people assume that a processor of a certain speed can emulate every single slower MHz processors, regardless of the hardware to emulate and the processor architecture.
Title: Re: z80 emulation on 68k
Post by: Lionel Debroux on July 01, 2010, 07:17:52 am
chronomex (Duncan Smith of ticalc) is currently working on a TI-Z80 emulator for TI-68k calculators, it's in a fairly early stage. See http://github.com/chronomex/680
Title: Re: z80 emulation on 68k
Post by: DJ Omnimaga on July 01, 2010, 07:31:45 am
That seems interesting, I would like to see this come out
Title: Re: z80 emulation on 68k
Post by: FinaleTI on July 01, 2010, 08:22:38 am
Me too. Maybe this is just what the 68k community needs...
Title: Re: z80 emulation on 68k
Post by: DJ Omnimaga on July 01, 2010, 06:35:25 pm
Me too. Maybe this is just what the 68k community needs...
It also need less trolling from a person I will not name (most people who have been in the community for a while knows who I am talking about). That person pretty much killed the entire 68k community, starting with the French one. Sadly, the issue cannot be solved unless the person is banned from the sites where other developers gather. :(