Notices


Reply
Thread Tools
Posts: 1,418 | Thanked: 1,541 times | Joined on Feb 2008
#11
Originally Posted by Yann Benigot View Post
I tried to port x48 (an HP48 emulator) on maemo, but on a tablet it is really really slow. With a Ti-89 and TiEmu, it would be the same I think.
A lot of these things do not work very well on ARM devices without heavy optimization. As far as TI-89 emulation is concerned, you will probably need to start by replacing its 68000 emulation core with the Cyclone core written in pure ARM assembly. Here is a link to Cyclone if you are interested:

http://notaz.gp2x.de/cyclone.php

Older TI calculators (i.e. TI-84) used Z80, so they will be easier to emulate on Nokia tablets.
 
Posts: 384 | Thanked: 90 times | Joined on Mar 2008
#12
Originally Posted by Yann Benigot View Post
I tried to port x48 (an HP48 emulator) on maemo, but on a tablet it is really really slow. With a Ti-89 and TiEmu, it would be the same I think. I tried to port TiEmu too ; it worked on scratchbox, but I haven't tried on my tablet because the emulator can't show the calculator buttons on the little screen...
How slow is really really slow? The 48 itself is very very slow.... even by 1990's standards. Is it even usable? I'm a huge fan of Emu48 and have been using it since you had to pay for a copy.
 
Posts: 32 | Thanked: 59 times | Joined on Dec 2007
#13
You can watch this video to see how slow it was : http://yannbng.free.fr/Maemo/x48.ogg
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#14
Not sure why anyone would want to emulate a TI anyhow. (HP partisan here!)

I know the HP48GII, 49G+ and 50G are all 200 MHz ARM chips (factory clocked at 33, 75, and ?75? MHz for battery life) emulating the old Saturn processor of the HP48S(X), 48G(X+), and 49G. And all outperforming the native one, of course. So a 48 emulator should certainly be possible, though x48 is probably nowhere near as good an emulator as the one in 49g+ rom.

Are all late-model TIs run on 68K cpus?

Also, you said it wouldn't show the buttons; would it work using xrandr for portrait mode?

EDIT: Just got back from watching the video; that's no more than a factor of 2 slower. Not bad, I'd consider it useful, especially if I could get an HP49 ROM in, but metakernel would probably run nicely.

EDIT: http://www.hpcalc.org/details.php?id=3689 is a 48 emulator benchmark utility; if you've still got x48 around, results would be nice. And emu48 for Mac OSX exists; the port to a different OS hopefully indicates proper separation of platform-specific stuff, so it should be possible to port to Linux/GTK+.

Last edited by Benson; 2008-03-19 at 22:56.
 
OSEmuTech's Avatar
Posts: 466 | Thanked: 142 times | Joined on Jan 2008 @ Temple Terrorist, FL
#15
I have spent many hours trying to compile tiemu and it's required libraries in Scratchbox unsuccessfully.

An advanced TI (or HP) calculator emulator would be a killer app for Maemo IMO.

The video of the HP emulator didn't seem too slow Yann (and was pretty awesome!). At least it worked. Ever think of releasing a binary?
__________________
16-Bit x86 DOS: DOSBox
Amiga 68k: UAE
Apple II: Winapple
Apple 68k Mac: Basilisk II
Commodore 64: Frodo
Palm OS: Access GarnetVM
TI-89 Calculator: TiEmu 2
 
Posts: 384 | Thanked: 90 times | Joined on Mar 2008
#16
I agree, a solid HP48GX emulator would be a killer app for many of us.

Benson, thanks for posting the benchmark link. I dug up this old archive of benchmark results for it incase you guys want to use it as reference.

http://web.archive.org/web/200112151...mu48/speed.htm

Times have chagned a lot, because on my PC running the latest Emu48 version I get scores of 0.25 Can't wait to hear what kind of numbers the Nokia gets.
 
Posts: 35 | Thanked: 10 times | Joined on Oct 2007
#17
I've installed the tiemu2 that appeared in maemo downloads. One thing I noticed immidiately is that it runs cpu cycles when idle. This drains the batteries real quick.
Could it potencially be related to performance issues?

Is there anyone here who could answer this question:
Why arm devices emulation on llinux cannot use n800 cpu like kqemu on PC?
Emulators (like 4-8MHz gameboy) run on mobilephones at full speed but not here?
 
Posts: 384 | Thanked: 90 times | Joined on Mar 2008
#18
I haven't used x48 in a while ( http://yannbng.free.fr/Maemo/x48_0.4.3_armel.deb).... not since I went from chinook to diablo to diablo2...... I just tried to run x48 and it crashes as soon as I press any button on the calculator. Anyone else have this problem under diablo ?


On another somewhat related topic, I thought it would be fun to try and get Emu48 for DOS running under DOSBOX http://www.hpcalc.org/hp48/pc/emulators/emu48dos.zip I'll let you guys know how it turns out.
EDIT: It instantly crashes on dosbox under maemo. It runs under dosbox under XP and running it from a normal XP command prompt gives me this:
Code:
\hp48>Emu48
Stack Fault at eip=21fe
eax=00000301 ebx=000063b4 ecx=00000000 edx=0000ffff esi=0000054d edi=0000ae6a
ebp=0000ffa0 esp=000519d4 cs=19f ds=17f es=17f fs=0 gs=0 ss=1b7 cr2=00001fd8
Call frame traceback EIPs:
  0x000021fe
  0xffc00001
Oh well, it wasn't going to be practical anyways. I'd still like to get x48 running under diablo though.

Last edited by st5150; 2008-08-26 at 10:30.
 
Anunakin's Avatar
Posts: 100 | Thanked: 102 times | Joined on Apr 2008 @ Amazon-Belém
#19
Hum mean some function removed from maemo dosbox...

By the way, I dont understand why x48 runs so fast at Zaurus (AMRv5tel 400MHz) and so slow on N810 (ARMv6j) ... I think this cold be something on kernel...
 
Posts: 384 | Thanked: 90 times | Joined on Mar 2008
#20
Yeah, I don't know why v.72 of dosbox runs the hp48 emulator fine on windoze, but not on maemo. Are you able to get x48 running under diablo?

How fast does x48 run on Zaurus? It would be huge if someone takes up this project to optimize x48 under maemo and convert it to a 'normal' caculator view we can use with screen rotate, much like the ti89 emulator.


Somewhat related x48 topic: Zaurus has a version of kermit available for it which allows transfering files to and from x48. Is there kermit out for maemo? I really need to set aside some time to install scratchbox and try to get some of this done myself.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:53.