The Motorola Development Community


Go Back   MotorolaFans.com Forums > Developments > Development
Notices

Development Hacking, development, scripts etc

Reply

MotoFans NWBE

Join Date: Jul 2008
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
Location: Brazil

Send a message via MSN to joselauro
Quote  
#1
07-13-2008
Default Please port Free42 or another RPN

Hi!
I think this is my first post in this forum.
I would like to have a RPN calculator for motoming a1200. There are some java ones but all of them don't have touch screen.
There is a very nice calculator called Free42.
Free42
There are versions of it for Linux and Zaurus X/Qt, etc.
I think it would be possible to port it for ezx...

Last edited by joselauro; 07-13-2008 at 02:12 AM.
Reply With Quote


User Information
Current Phone: a1200i
Firmware: R532L4_G_11.40.1AR
Location: Brazil

joselauro is offlineReport Post
MotoFans MODR

sabrod's Avatar

Join Date: Mar 2008
Posts: 223
Thanks: 34
Thanked 8 Times in 8 Posts
Location: France

Quote  
#2
07-13-2008
Default

Hi!
I like the RPN calcs too !

Why don't you try to build it and tell us what happened?
You can find toolchains in this forum.

You should try to search for "Hello world" programs here, then try your compilator, then test the source code of Free42.

You should also search for others opensource RPN calculators, as I know some javascript web-based, really simples and in resumed in a few lines...
So translate from javascript to c ...
then you just miss the beautifull EZX Buttons...

I think in fact, that last thing should be the bigger part of the job...
I thinks you'll find some help in doing such a port, because... the idea is good!

Such a software should have a lot of success.
__________________
A910 IGEEKMOD FW
Reply With Quote


User Information
Current Phone: A910, A1200
Firmware: mine .....
Location: France

sabrod is online nowReport Post
MotoFans NWBE

Join Date: Jul 2008
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
Location: Brazil

Send a message via MSN to joselauro
Quote  
#3
07-13-2008
Default

Hi Sabrod.
Yes! I will try to port myself.
Since cygwin is not working for me I have just installed Linux again in order to try to do this.
By the way, there are some javascript calculators, and one (this one
rpnjcalc a javascript RPN Calculator)
have worked (very badly) in the Mini Opera browser, but is there a way to convert a javascript program into a j2me one?
Thank you very much.

Last edited by joselauro; 07-13-2008 at 06:01 PM.
Reply With Quote


User Information
Current Phone: a1200i
Firmware: R532L4_G_11.40.1AR
Location: Brazil

joselauro is offlineReport Post
MotoFans MODR

sabrod's Avatar

Join Date: Mar 2008
Posts: 223
Thanks: 34
Thanked 8 Times in 8 Posts
Location: France

Quote  
#4
07-14-2008
Default

Yeah, so you can chnge the title of the trade to something like a project waiting for some advises...

I don't think Midlet should be used for beginning a calculator, I was just talking about some javascripts calculators, because they are generally simple...

I was more thinking of some basic ones like Virtual calc or This one, very well organized / coded.
Rpnjcalc is one of the "advanced" rpn javascript calculators.

Gwcalc and Cp 16c are some others C projects I've heard about.
I think it's possible to port easily Gwcalc as it's already optimized for Zaurus.
I found free42 very interesting too... it seem to add some ploting features too...
I'll try to compile it, but I don't know anything about Qt, so ...

At the end, take a look at the CLU calc:


If one can begin helping here, just by explaining a little gui bases, how to handle touchscreen's events, should be better and very nice.
__________________
A910 IGEEKMOD FW
Reply With Quote


User Information
Current Phone: A910, A1200
Firmware: mine .....
Location: France

sabrod is online nowReport Post
MotoFans MODR

sabrod's Avatar

Join Date: Mar 2008
Posts: 223
Thanks: 34
Thanked 8 Times in 8 Posts
Location: France

Quote  
#5
07-14-2008
Default

The reason for beginning the writing of new calc (or the gui only) "from scratch" is that our touchscreens are very little and to optimize for the buttons of the phones.

an RPN calc, also take a big benefit IMHO of multiple lines, for the user to visualize the stack, that should be impossible if we use the HP 16 c keys design, or so.

I've not went to see the sources of all the programs I've told you about, but Free42 seem to have a "skinable" interface, perhaps a good way too...

I don't know.
__________________
A910 IGEEKMOD FW
Reply With Quote


User Information
Current Phone: A910, A1200
Firmware: mine .....
Location: France

sabrod is online nowReport Post
MotoFans MODR

sabrod's Avatar

Join Date: Mar 2008
Posts: 223
Thanks: 34
Thanked 8 Times in 8 Posts
Location: France

Quote  
#6
07-15-2008
Default

It's a fact :
After using a little bit all thoses RPN calcs (on my PC, haha), and even more, only a few HP emulators gave me satisfaction...
I liked very much Free42 and cp16-c, GWcalc is acceptable too.

Putting them on a phone should be difficult because of the display, but a great thing in my opinion.
__________________
A910 IGEEKMOD FW
Reply With Quote


User Information
Current Phone: A910, A1200
Firmware: mine .....
Location: France

sabrod is online nowReport Post
MotoFans NWBE

Join Date: Jul 2008
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
Location: Brazil

Send a message via MSN to joselauro
Quote  
#7
07-16-2008
Default

Well, I am trying to install MkExz on my Linux but it is not working. I have download Free42 source code but I was unable to compile it even for PC Linux... Download blackhawk SDK but not used yet. Is there any tutorial step by step to cross compilation under Linux? Is there debian binaries for MkEzx?

Last edited by joselauro; 07-16-2008 at 09:57 PM.
Reply With Quote


User Information
Current Phone: a1200i
Firmware: R532L4_G_11.40.1AR
Location: Brazil

joselauro is offlineReport Post
MotoFans MODR

sabrod's Avatar

Join Date: Mar 2008
Posts: 223
Thanks: 34
Thanked 8 Times in 8 Posts
Location: France

Quote  
#8
07-16-2008
Default

Hi
I'm a begginer here too...
I only used openezx ARM toolchains at the moment...

But I can point you to :
EZX - CourvilleWiki
or
https://svn.jerryweb.org/wsvn/public...ile&rev=0&sc=0

Good luck !
__________________
A910 IGEEKMOD FW
Reply With Quote


User Information
Current Phone: A910, A1200
Firmware: mine .....
Location: France

sabrod is online nowReport Post
MotoFans MODR

sabrod's Avatar

Join Date: Mar 2008
Posts: 223
Thanks: 34
Thanked 8 Times in 8 Posts
Location: France

Quote  
#9
07-25-2008
Default

Hi joselauro!
Did you get some fun?

I found an rpn calculator especially designed for opie, so technically you can use it just now with the A1200.

Check out GELHAUS.NET: SlideRuleZ
Aleady writen for qtopia, seems modular and pretty configurable, the code lacks only some comments.

Bt as the author say, a calculator is a good starting point for any beginner programmer.

Have fun, Sabrod.
__________________
A910 IGEEKMOD FW
Reply With Quote


User Information
Current Phone: A910, A1200
Firmware: mine .....
Location: France

sabrod is online nowReport Post
MotoFans NWBE

Join Date: Jul 2008
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
Location: Brazil

Send a message via MSN to joselauro
Quote  
#10
07-26-2008
Default

Hi Sabrod.
Well, I have installed a linux distribution that did not need partitions in the disk but I have removed it since I realized that it was too bad. Now I am trying to make a partition to install Debian and then I will try to port Free42 and other programs.
(Once I have talked by email with Free42 author and I have made a manual for it, perhaps he could help us in porting it)
And I am working in a small "Nine Men's Morris" program in Java, made with MidletPascal, soon I will post it here, so there is no much time for calculators thing.
Well, I will try this one.
If I just change the "ipk" extension to "pkg" will this work?

P.S. No, didn't work... Must port it too, but at least now I am interested in Slide Rules
Virtual Slide Rule:
http://www.taswegian.com/SRTP/JavaSlide/javaslide.html

Last edited by joselauro; 07-26-2008 at 01:01 AM.
Reply With Quote


User Information
Current Phone: a1200i
Firmware: R532L4_G_11.40.1AR
Location: Brazil

joselauro is offlineReport Post
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:32 PM. Search Engine Friendly URLs by vBSEO 3.2.0 Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. VBulletin Skin by ForumMonkeys.