maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   TI 92 83 89 emulator? (https://talk.maemo.org/showthread.php?t=16052)

Noonker 2008-02-02 05:08

TI 92 83 89 emulator?
 
Is there a working emulator for any of the above calculators? it would be so nice to have for class.

OSEmuTech 2008-02-02 05:45

Re: TI 92 83 89 emulator?
 
I wish there was. The only semi-complete calculator I could find for my N800 is Free42, a HP-42S calculator emulator. I have a TI-89 Titanium calc whose ROM I'd love to use. ;)

I'm not a developer, but I'm setting up a scratchbox environment now (using VMware) to see what I can do. Maybe I can do a simple ./configure & make for some open source TI calc emulator.

http://www.ticalc.org/programming/em.../software.html

GeneralAntilles 2008-02-02 06:19

Re: TI 92 83 89 emulator?
 
Quote:

Originally Posted by OSEmuTech (Post 137007)
I have a TI-89 Titanium calc whose ROM I'd love to use. ;)

Same here, love that thing.

The real question: is there anything desktop-side that can be ported?

OSEmuTech 2008-02-02 06:28

Re: TI 92 83 89 emulator?
 
I like Virtual TI for Windows the best, but maybe the OSS TiEmu linux source can be ported?

http://lpg.ticalc.org/prj_tiemu/

adsum ignotus 2008-02-02 06:58

Re: TI 92 83 89 emulator?
 
This would be awsome, I use the TI-83 all the time, one more device my n800 can take the place of !!:)

CyberCat 2008-02-02 07:29

Re: TI 92 83 89 emulator?
 
Quote:

Originally Posted by adsum ignotus (Post 137035)
This would be awsome, I use the TI-83 all the time, one more device my n800 can take the place of !!:)

Yeah, I concur. A good TI emulator on the ITs would be pretty sweet.

lardman 2008-02-02 10:55

Re: TI 92 83 89 emulator?
 
I've already ported this, it was far too slow and wanted to use lots and lots of memory iirc. I did think I'd talked about this on ITT a long time ago (when the N800 first came out), but perhaps not.

I used http://lpg.ticalc.org/prj_tiemu/, there are even Debian source packages (i.e. in the main Debian repos) these days for you to build from. Should be pretty easy.

I imagine it will still be awfully slow though. Using the wayback machine you may be able to get some notes about building it (for the Zaurus) from this page: http://zaurus.maxg.info

Noonker 2008-02-03 01:29

Re: TI 92 83 89 emulator?
 
I am not very good with linux yet. I don't know how to compile my own stuff. But just out of curiosity, why would it be slow?

lardman 2008-02-03 10:08

Re: TI 92 83 89 emulator?
 
It's an emulator, very processor intensive. Other than that, perhaps the code needs optimisation work as it's probably designed, and good enough, for desktop machines rather than our significantly slower ITTs

Yann Benigot 2008-02-03 12:10

Re: TI 92 83 89 emulator?
 
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...

fms 2008-02-03 12:44

Re: TI 92 83 89 emulator?
 
Quote:

Originally Posted by Yann Benigot (Post 137570)
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.

st5150 2008-03-19 22:29

Re: TI 92 83 89 emulator?
 
Quote:

Originally Posted by Yann Benigot (Post 137570)
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.

Yann Benigot 2008-03-19 22:36

Re: TI 92 83 89 emulator?
 
You can watch this video to see how slow it was : http://yannbng.free.fr/Maemo/x48.ogg

Benson 2008-03-19 22:40

Re: TI 92 83 89 emulator?
 
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+.

OSEmuTech 2008-03-19 23:53

Re: TI 92 83 89 emulator?
 
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? ;)

st5150 2008-03-20 00:52

Re: TI 92 83 89 emulator?
 
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 :eek: Can't wait to hear what kind of numbers the Nokia gets.

cool_guy 2008-03-25 00:53

Re: TI 92 83 89 emulator?
 
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?

st5150 2008-08-26 10:04

Re: TI 92 83 89 emulator?
 
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.

Anunakin 2008-08-26 11:32

Re: TI 92 83 89 emulator?
 
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...

st5150 2008-08-27 11:06

Re: TI 92 83 89 emulator?
 
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.

jaem 2008-10-02 06:56

Re: TI 92 83 89 emulator?
 
Hey all,
(I'm new)
I found this post while searching for a TI-83+ emulator, and saw that not much had been done in that regard, so I gave it a try myself. For those of you who want an 83+ emulator - I have a deb for TilEm.
However, there are plenty of
Caveats:
- This works for me; I have no idea if it will work for anyone else
- No attempt (as of yet) has been made to make this play nicely with Hildon, so don't complain
- Don't expect much, because this was a quick-and-dirty hack I pulled together during a break from exam studies
- (I hope I don't need to say this, but) PLEASE don't ask me for a ROM image... you know I can't give you one

Essentially, I did this because I wanted to see if it would work, and I'm posting it here because nobody else has, and a half-working app is better than no app at all :P Once exams are done (Friday), I will see about fixing it up as a nice Maemo app.

EDIT: you will need rotation support to reasonably use this app
EDIT2: oh yeah... and there's no menu item for the app yet - just run tilem from xterm. (gah! exams are eating my brain! ><)

Cheers,
Jeffery

st5150 2008-10-02 07:35

Re: TI 92 83 89 emulator?
 
Tried to install your deb via app manager and get an "Incompatible application package" error while running the latest diablo SSU.

jaem 2008-10-02 07:58

Re: TI 92 83 89 emulator?
 
huh... it worked fine for me with the same maemo version. As I said - it was a quick-and-dirty hack. I'll look into it tomorrow at a more sane hour. I probably did something stupid, so please excuse me.
-Jeffery

jaem 2008-10-02 23:42

Re: TI 92 83 89 emulator?
 
ST5150: can you run it through dpkg, and give me the (more verbose) output? I am fairly new to building Debian packages, but my N810 didn't complain, so I assumed it was fine.

TrueJournals 2008-10-03 00:10

Re: TI 92 83 89 emulator?
 
jaem: You must have your n810 in red pill mode ;-)
Change your package's control file to read user/math instead of just math. This will make it play nicely with the application manager.

jaem 2008-10-03 00:38

Re: TI 92 83 89 emulator?
 
Quote:

Originally Posted by TrueJournals (Post 229935)
jaem: You must have your n810 in red pill mode ;-)
Change your package's control file to read user/math instead of just math. This will make it play nicely with the application manager.

Thanks! I had been wondering if that might be the cause, but hadn't checked into it yet. I'm no noob to Linux, but I haven't done much development on it yet, so I have much to learn. I'll repackage it in a few minutes.
-Jeffery
EDIT: repackaged and uploaded again

Thesandlord 2008-10-03 01:00

Re: TI 92 83 89 emulator?
 
Hey jaem, nice port! It works very nice, better than TiEmu, almost faster than my 83+. If only you can add full screen support, so its not so small, that would be nice! And a .desktop file would be nice as well!

jaem 2008-10-03 01:11

Re: TI 92 83 89 emulator?
 
@ThesandLord
Thanks, although aside from a few minor adjustments, it's a "port" of the ./configure; make kind. I should be able to work on the actual porting tonight or tomorrow afternoon. I'll keep you all posted. If anyone runs into any weird issues (aside from the obvious, like lack of hildon integration), please let me know. Thanks.

-Jeffery

Benson 2008-10-03 02:03

Re: TI 92 83 89 emulator?
 
Quote:

Originally Posted by jaem (Post 229940)
Thanks! I had been wondering if that might be the cause, but hadn't checked into it yet. I'm no noob to Linux, but I haven't done much development on it yet, so I have much to learn.

That's not a Linux thing, it's a Maemo thing. ;)

st5150 2008-10-04 07:40

Re: TI 92 83 89 emulator?
 
Good working emulator, maybe instead of using slide rotate, the keypad can be put next to the screen like the x48 port: http://yannbng.free.fr/Maemo/x48_0.4.3_armel.deb

http://www.sense.net/zc/x48/x48.gif

I've grown weary of sliderotate, I have had bad luck with it and SSU updates, and it doesn't uninstall cleanly :-\

jaem 2008-10-06 02:58

Re: TI 92 83 89 emulator?
 
sounds like a good idea - I'll look into it. Not much happened this weekend, but I will make it as much of a priority as school allows - after all, I need it too :P

LinXitoW 2008-11-08 14:02

Re: TI 92 83 89 emulator?
 
Heres one more person that apreciates your work and that would love getting updates.

jaem 2009-02-05 04:28

Re: TI 92 83 89 emulator?
 
I forgot all about this for a while...
I took a look at the source a few months ago, and it was largely-uncommented C, which I wasn't willing to dig into at the time. I may take another look at it when I get my N810 back from repair.

jaem 2009-02-10 07:12

Re: TI 92 83 89 emulator?
 
Consider this permanently shelved, due to the splendid(-looking (my tablet isn't back, so I can't actually try it)) work done by fms and wazd, over yonder


All times are GMT. The time now is 09:10.

vBulletin® Version 3.8.8