Omnimaga

Calculator Community => Major Community Projects => WabbitStudio Software Suite => Topic started by: Juju on January 14, 2012, 06:30:22 pm

Title: Wabbitemu on Android
Post by: Juju on January 14, 2012, 06:30:22 pm
We were a lot on IRC to request a port of Wabbitemu on Android, that might be cool to have one. So I'm working on it with Buckeye, he already made the core working on Android and I'm working on the bugs left and improvement of the UI. Test rom works, but can't turn a normal, 83+ v1.19 ROM on. Further news about that project shall be posted here.
Title: Re: Wabbitemu Android
Post by: BlakPilar on January 14, 2012, 06:32:11 pm
Yes, yes, a thousand times yes! I was actually thinking about this the other day and thought that it would be really cool and useful. My only question, though, is how will one acquire ROMs?
Title: Re: Wabbitemu on Android
Post by: Juju on January 14, 2012, 06:35:36 pm
Same way as usual. Wabbitemu for Windows makes it easy to acquire ROMs. Speaking of which, that might be fun to have this feature on Android as well. Also link with real calcs. But that isn't on the plans for now. Right now you have to put your roms on your SD card so it works.
Title: Re: Wabbitemu on Android
Post by: BlakPilar on January 14, 2012, 06:38:48 pm
Ahh, okay. Yeah, I was thinking that the option for creating a ROM from open-source software would be neat on the phone.
Title: Re: Wabbitemu on Android
Post by: Juju on January 14, 2012, 06:41:54 pm
Well yeah, that would be nice to match at least the features of Wabbitemu for Windows.
Title: Re: Wabbitemu on Android
Post by: DJ Omnimaga on January 14, 2012, 06:43:52 pm
Sad, no iOS version.

J/k this is awesome if this works out well. Good luck because I remember some people here requested an emu for their phone before. It can be handy when your calc is taken away or something and to test stuff at school without screwing your calc up before a test.
Title: Re: Wabbitemu on Android
Post by: Eeems on January 14, 2012, 08:43:20 pm
Yay, finally a replacement for andie graph which doesn't let me save anything in the archive on the rom :/
I'd be glad to help test for bugs if you want, I have a nexus s.
Title: Re: Wabbitemu on Android
Post by: TIfanx1999 on January 14, 2012, 08:58:42 pm
This is pretty cool! It'll be nice to see wabbitemu running on android. :D
Title: Re: Wabbitemu on Android
Post by: jsj795 on January 17, 2012, 08:17:30 am
I have galaxy player 5.0, I can help test out bugs too :)
Title: Re: Wabbitemu on Android
Post by: ExtendeD on January 17, 2012, 09:34:55 am
I was planning to try a port of nspire_emu to Android by the way.
Title: Re: Wabbitemu on Android
Post by: Juju on January 17, 2012, 12:24:54 pm
That might be cool :D
Title: Re: Wabbitemu on Android
Post by: BuckeyeDude on January 17, 2012, 12:36:51 pm
Fixed the major core bug so now all models boot. Source is up at: http://buckeyedude.zapto.org/Revsoft/Wabbitemu/Wabbitemu.tar.gz
APK is up http://buckeyedude.zapto.org/Revsoft/Wabbitemu/Wabbitemu.apk. To use it you must have your rom saved at /mnt/sdcard/ti84pse.rom. It can really be any rom, it just has to be named as such.

Juju: What needs to be done now is a couple things. First we need a way to select file. I'm sure there are file dialogs libs out there, but I havent looked yet. Probably easiest to hook one of those up and let the user select ROM or files to load. Second is optimization. The core for the 83p is pretty good on my Inspire 4G but the 84pse is still slow. I've also had to bump down the frame rate. My drawing code is current terrible. I'm guessing the core is still pretty slow, but I'm betting the drawing code is eating up my time. Profiling is a must. Third is Setup Wizard. Obviously this is huge for the dumbass user who is downloading it with no clue what a ROM is. If you can write the GUI, I can write the backend. Another minor thing is keypresses. Currently I don't handle multiple keypresses, which means fast keypresses or trying to press two keys at once fails. On the subject of keypresses, keys should be highlighted with a rectangle so its clear what the user just pressed. Not a priority but something to think about.

A long list I know. Once those things are in place, the emulator should be very usable. There's still a bug in the core dealing with FP numbers. I'm working on tracking it down. I have a good idea what it is thanks to js795. After a file selector is up we can start testing external files. I figure throwing a couple calc84, thepenguin77, and jim e programs at it will find any remaining core issues.
Title: Re: Wabbitemu on Android
Post by: Juju on January 17, 2012, 01:43:20 pm
Yeah a file selector can easily be done I think. Also will you set up a SVN or something?
Title: Re: Wabbitemu on Android
Post by: Eeems on January 17, 2012, 01:55:42 pm
I can't access the apk, seems you haven't set up your permissions correctly?
Title: Re: Wabbitemu on Android
Post by: aeTIos on January 17, 2012, 01:57:23 pm
eeems, do you know you have 4444 posts? O_O
Title: Re: Wabbitemu on Android
Post by: Eeems on January 17, 2012, 02:03:57 pm
No I don't, I have 4445 posts ;)
Title: Re: Wabbitemu on Android
Post by: aeTIos on January 17, 2012, 02:04:20 pm
roarrrrr....
Title: Re: Wabbitemu on Android
Post by: BuckeyeDude on January 17, 2012, 02:04:54 pm
Uhh probably helps if I copy the file there.

Also for a file selector http://www.openintents.org/en/node/159 seems to be nice. I'll setup a git soon, its mostly a matter of me being lazy
Title: Re: Wabbitemu on Android
Post by: Eeems on January 17, 2012, 04:10:22 pm
(http://dl.dropbox.com/u/763272/android/screenshot-1326834588079.png)(http://dl.dropbox.com/u/763272/android/screenshot-1326834594815.png)
Just tried it out :)
I would have to say I'm happy with the emulation speed, I do have an issue with keypresses. Your idea to highlight the keys when they are pressed would be great, but I think that you should also add haptic feedback ( well as an optional thing ).
Can't wait to see where this goes :)
Title: Re: Wabbitemu on Android
Post by: helder7 on January 17, 2012, 04:52:50 pm
good.... :D
im testing it
Title: Re: Wabbitemu on Android
Post by: BuckeyeDude on January 18, 2012, 01:05:18 am
GG TIOS
Title: Re: Wabbitemu on Android
Post by: BuckeyeDude on January 18, 2012, 07:02:19 pm
More progress. Now have a file chooser, so you can choose what ROM file you want to load, and select files on your SD card to send to the calc. Also added haptic feedback for Eeems.

http://buckeyedude.zapto.org/Revsoft/Wabbitemu/Wabbitemu.apk
Title: Re: Wabbitemu on Android
Post by: Eeems on January 21, 2012, 09:47:06 pm
For some reason you have to long press on a file to select it in the file chooser. Thanks for the haptic feedback :)

For some reason I can't actually get keypresses to do what they are suppose to now though :/

Also, you should add auto updating :P
Title: Re: Wabbitemu on Android
Post by: BuckeyeDude on January 21, 2012, 10:49:33 pm
Yes this is how the file chooser code i stole does it. Why i have no clue. I'll fix it eventually once I get some of the more important stuff done. Auto updating is also todo, I need to figure out the best way to do it on android.
As for keys what's not working about them? I'm guessing it has to do with the skin changes I made, what size display do you have?
Title: Re: Wabbitemu on Android
Post by: Eeems on January 21, 2012, 11:34:15 pm
everything I can't get any keypresses to work.
Title: Re: Wabbitemu on Android
Post by: BuckeyeDude on January 22, 2012, 12:07:51 am
what size display do you have?
Title: Re: Wabbitemu on Android
Post by: Eeems on January 22, 2012, 12:37:25 am
Whatever the Nexus S has....I forget
Title: Re: Wabbitemu on Android
Post by: Juju on January 22, 2012, 12:45:15 am
480x800? You posted pics of that size in this thread, so I assume it's the Nexus S size.
Title: Re: Wabbitemu on Android
Post by: Eeems on January 22, 2012, 01:10:26 am
800x400 you mean though.
Title: Re: Wabbitemu on Android
Post by: DJ Omnimaga on January 22, 2012, 01:14:38 am
I'm glad this is seeing more progress. I wish I had an Android phone or tablet thing. I wonder if there are any Android emulators for Windows?
Title: Re: Wabbitemu on Android
Post by: Eeems on January 22, 2012, 01:33:13 am
I wonder if there are any Android emulators for Windows?
Yep :) just check out the android sdk
Title: Re: Wabbitemu on Android
Post by: DJ Omnimaga on January 22, 2012, 01:35:39 am
Ah ok I'll go check it out. I hope it's free, though. <_<

Now to see how my Intel core i7 with 8 GB of RAM will handle it, however...
Title: Re: Wabbitemu on Android
Post by: Eeems on January 22, 2012, 01:36:06 am
Lol, you should be able to handle it easy :P
The SDK is free :)
Title: Re: Wabbitemu on Android
Post by: Juju on January 22, 2012, 01:41:09 am
I think it'll run without any problems on your config.

You can download the SDK there: http://developer.android.com/sdk/index.html
Title: Re: Wabbitemu on Android
Post by: DJ Omnimaga on January 22, 2012, 01:42:57 am
That's good to hear. :) Thanks.
Title: Re: Wabbitemu on Android
Post by: Spyro543 on January 22, 2012, 08:09:23 am
There's a program called Bluestacks which can run Android apps on a computer.
Title: Re: Wabbitemu on Android
Post by: helder7 on January 22, 2012, 08:37:04 am
I'm glad this is seeing more progress. I wish I had an Android phone or tablet thing. I wonder if there are any Android emulators for Windows?
you can run full android os in a normal computer, or in a vmware virtual machine

check the project homepage -> https://sites.google.com/a/android-x86.org/web/home

download iso -> http://www.android-x86.org/download
Title: Re: Wabbitemu on Android
Post by: BuckeyeDude on January 23, 2012, 03:38:22 pm
Android emulator has terrible performance unfortunately. I can't get even close to the kind of performance I do on real hardware.

Eeems: when you try to press keys do they vibrate? If they do then the keys is actually being pressed, but the emulator may not receive it if you tap fast. Try holding down the key for a sec and see if it actually gets it. You have the same size display as me so the sizing shouldnt be an issue, at least I haven't noticed any issues with key locations. Also grab the latest build just to see if it helps at all
Title: Re: Wabbitemu on Android
Post by: C0deH4cker on January 23, 2012, 05:22:01 pm
How possible is an iOS build of this?
Title: Re: Wabbitemu on Android
Post by: BuckeyeDude on January 23, 2012, 05:47:36 pm
Very, the code for the mac version already exists, just need to fix that. But without the ability to release in the app store and no iDevice myself I dont have motivation to pursue it
Title: Re: Wabbitemu on Android
Post by: DJ Omnimaga on January 23, 2012, 05:50:49 pm
I'm glad this is seeing more progress. I wish I had an Android phone or tablet thing. I wonder if there are any Android emulators for Windows?
you can run full android os in a normal computer, or in a vmware virtual machine

check the project homepage -> https://sites.google.com/a/android-x86.org/web/home

download iso -> http://www.android-x86.org/download
Cool thanks.
How possible is an iOS build of this?
Yeah it would be nice actually, although I think we have to pay to release stuff on Appstore
Title: Re: Wabbitemu on Android
Post by: BuckeyeDude on January 23, 2012, 06:01:59 pm
You have to pay to release it on the app store, but thats not the issue. Its 25 bucks a year, which is pretty cheap. However it violates Apples TOS and so you can't release it in the app store because it contains another programming language on the device. You would need to modify TIOS so that it was impossible to access TI BASIC and even then you're iffy because you can load user programs that allow programming
Title: Re: Wabbitemu on Android
Post by: DJ Omnimaga on January 23, 2012, 06:03:54 pm
Yeah the issue though is if someone eventually runs into extreme financial issues or has no more money to pay after a few years, then he's pretty much screwed D:. And yeah that sucks about TI-BASIC.

Maybe Cydia?
Title: Re: Wabbitemu on Android
Post by: C0deH4cker on January 23, 2012, 06:22:36 pm
It does violate their TOS, and even if you could strip the TI-BASIC from the OS, it also violates it because it is an emulator, which is prohibited. I am thinking more along the lines of a Cydia app for jailbroken devices. A port of Wabbit would be awesome. It would get so many downloads even if it costs money. I know that I would buy it, as i have a cydia account with a prepaid credit card hooked up to an amazon account for payment.
Title: Re: Wabbitemu on Android
Post by: BuckeyeDude on January 23, 2012, 06:32:43 pm
The emulator is fine AFAIK, their are emulators on the store currently. I believe the way to get around it is to include a ROM image with your app. Again a problem
As for cydia, if anyone wants to work on it I'm always happy to help, but again I have nothing to test it on and therefore no motivation to do it myself
Title: Re: Wabbitemu on Android
Post by: BlakPilar on February 15, 2012, 09:09:43 pm
Woot, finally got this on my phone and it's working great so far! The keypressing is surprisingly accurate despite the buttons being so small (unless there's some kind of zoom function that I'm unaware of). Also, preferences aren't implemented yet, are they?

I have a Droid Incredible 2, btw.
Title: Re: Wabbitemu on Android
Post by: Eeems on February 15, 2012, 09:38:57 pm
Android emulator has terrible performance unfortunately. I can't get even close to the kind of performance I do on real hardware.

Eeems: when you try to press keys do they vibrate? If they do then the keys is actually being pressed, but the emulator may not receive it if you tap fast. Try holding down the key for a sec and see if it actually gets it. You have the same size display as me so the sizing shouldnt be an issue, at least I haven't noticed any issues with key locations. Also grab the latest build just to see if it helps at all
Hmm, I just tried again and yes, as long as I hold down long enough it seems to work. Before no matter how long I held it down it was giving the wrong keypress, not just one off, but something entirely on the opposite side of the keypad. Fixed now though, somehow.
Title: Re: Wabbitemu on Android
Post by: DJ Omnimaga on February 15, 2012, 11:13:31 pm
The emulator is fine AFAIK, their are emulators on the store currently. I believe the way to get around it is to include a ROM image with your app. Again a problem
As for cydia, if anyone wants to work on it I'm always happy to help, but again I have nothing to test it on and therefore no motivation to do it myself
Isn't it illegal to include a ROM with the app, though? ???
Title: Re: Wabbitemu on Android
Post by: BuckeyeDude on February 16, 2012, 02:02:05 am
Excellent to hear. I haven't had a lot of time to play with this more (except to break it of course). Next up on the todo list is getting a nice interface for getting you a ROM, and then starting to add in some of the options that regular wabbit has. There won't be a debugger, there's no real point for mobile devices. Once i get a decent interface i'll put it up on all the markets that exist
Title: Re: Wabbitemu on Android
Post by: Juju on February 16, 2012, 02:48:57 am
The emulator is fine AFAIK, their are emulators on the store currently. I believe the way to get around it is to include a ROM image with your app. Again a problem
As for cydia, if anyone wants to work on it I'm always happy to help, but again I have nothing to test it on and therefore no motivation to do it myself
Isn't it illegal to include a ROM with the app, though? ???
Yes it is, the problem here is that you can't really put the stuff you want on an iDevice and you can't access the filesystem unless you jailbreak it, so you can't make any file selector that would work under Apple's guidelines. You could use a remote computer to upload your ROM via WiFi though, that would be the only way that would work I guess.
Title: Re: Wabbitemu on Android
Post by: C0deH4cker on March 05, 2012, 07:23:23 pm
In cydia there are gameboy emulators, nes/snes emulators, old macintosh emulators, and bochs (x86 emulator; will run windows 3.1, 95, 97, 2000, more?).
Title: Re: Wabbitemu on Android
Post by: Spenceboy98 on March 26, 2012, 09:24:33 pm
Where do I find this app?
Title: Re: Wabbitemu on Android
Post by: Juju on March 26, 2012, 09:27:59 pm
On page 2 of this thread.

http://ourl.ca/14867/279519
Title: Re: Wabbitemu on Android
Post by: DJ Omnimaga on March 26, 2012, 09:35:59 pm
Is that the latest build?
/me is curious if there got more work on that emu lately...
Title: Re: Wabbitemu on Android
Post by: Juju on March 26, 2012, 09:37:51 pm
AFAIK, yes. Buckeye, any updates?
Title: Re: Wabbitemu on Android
Post by: Spenceboy98 on March 26, 2012, 09:37:55 pm
It says when I click on it, "404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable."
Title: Re: Wabbitemu on Android
Post by: DJ Omnimaga on March 26, 2012, 09:39:46 pm
Darn he probably removed it. :(

He should put it back or attach it to the forums
Title: Re: Wabbitemu on Android
Post by: Juju on March 26, 2012, 09:56:05 pm
http://files.julosoft.net/Wabbitemu.apk

Yay mirrors :D
Title: Re: Wabbitemu on Android
Post by: DJ Omnimaga on March 26, 2012, 09:58:41 pm
Ah thanks. Buckeye was claiming it didn,t work at all so that's why he removed it, but I don't know if he knows which version I was talking about. <_<
Title: Re: Wabbitemu on Android
Post by: BlakPilar on March 27, 2012, 04:25:19 pm
I have that version on my phone right now and it works perfectly.
Title: Re: Wabbitemu on Android
Post by: annoyingcalc on March 28, 2012, 09:48:47 pm
Where is a download?
Title: Re: Wabbitemu on Android
Post by: Freyaday on March 28, 2012, 10:59:57 pm
On my Nexus S, I turned it sideways and the file menu came up. Then I couldn't get out of the file menu, and now she don't work no more.
Title: Re: Wabbitemu on Android
Post by: Eeems on March 29, 2012, 02:08:13 am
On my Nexus S, I turned it sideways and the file menu came up. Then I couldn't get out of the file menu, and now she don't work no more.
Try to reinstall the apk?
Title: Re: Wabbitemu on Android
Post by: DJ Omnimaga on March 29, 2012, 04:03:43 am
Where is a download?
New link http://ourl.ca/14867/293836
Title: Re: Wabbitemu on Android
Post by: stevon8ter on May 19, 2012, 05:00:17 pm
Ok guys, so is there an app in cydia?

If there isn't one, i beg you, make one, it's one off the only ways i can go on scripting much more. And could it be possible to make a coder and assembler app?

Just asking :p
Title: Re: Wabbitemu on Android
Post by: Eeems on May 19, 2012, 07:14:45 pm
Ok guys, so is there an app in cydia?

If there isn't one, i beg you, make one, it's one off the only ways i can go on scripting much more. And could it be possible to make a coder and assembler app?

Just asking :p
Cydia is not android it's iOS. This is for android. So no there is no app for this in cydia.
Title: Re: Wabbitemu on Android
Post by: stevon8ter on May 19, 2012, 07:30:14 pm
Hmm, damned, could it be possible to create it for my ipod? Money is no problem, i can pay you trough paypal
Title: Re: Wabbitemu on Android
Post by: Juju on May 19, 2012, 07:36:11 pm
Well, we have to find someone who have an iPod, can develop for Cydia and is interested in the project and there we go. Sadly, people on the forums who meets those requirements are next to nonexistant.
Title: Re: Wabbitemu on Android
Post by: stevon8ter on May 19, 2012, 07:40:35 pm
Ok, i have an ipod, gonna jailbreak it, learn cydia stuff, am interested in te project

All i need now is people who're wanting to assist me with all the codes and problems, cause all i can script now is html, css, php (not much, but i'm only 15 (almost 16))

Maybe someone out here with knowledge of objective-c who wants to help?

But first i'm gonna sleep, it's 2:08am
Title: Re: Wabbitemu on Android
Post by: mob-i-l on May 27, 2012, 08:10:04 am
I downloaded and installed http://files.julosoft.net/Wabbitemu.apk today. I choose ROM and it loads the right calculator picture for the ROM but it doesn't start and when I press ON it vibrates but still doesn't start (I even tried long-pressing on ON). I've tried ROM:s that work with Wabbitemu for Windows and Andie Graph. I tried to reinstall Wabbitemu but it didn't help. I have closed all apps between tests. I use a ZTE V9/Light with Android 2.2 (Froyo).
Title: Re: Wabbitemu on Android
Post by: Matrefeytontias on June 10, 2012, 04:52:25 pm
Up !

I'm really interested in it, but the apk you posted doesn't work with my Sony Ericsson Xperia X8 (OS 2.1 update-1), have you any other version for it ? If you haven't pleaaaaase make one, I want this emu ;D
Title: Re: Wabbitemu on Android
Post by: Eeems on June 28, 2012, 01:18:06 pm
well the apk at this link works on my nexus s  give it a try http://db.tt/d4gJROcL