OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> New Hp48gx Emulator Port, New hp48gx emulator port
datajerk
post May 3 2005, 09:17 AM
Post #1





Group: Members
Posts: 219
Joined: 14-February 04
Member No.: 1,861



New hp48gx emulator port.

x48 0.4.2 compiled for Z with support for Clamshell VGA screens. i.e. I moved the buttons around.

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

Screen Shot:

http://sense.net/zc/x48/x48.gif
Go to the top of the page
 
+Quote Post
kahm
post May 3 2005, 09:37 AM
Post #2





Group: Members
Posts: 657
Joined: 29-September 04
Member No.: 4,809



Damn. Get me all excited, why don't you tongue.gif

I don't yet have a Z running pdaxrom, so I've been hoping someone would port an HP 48 emulator to Qtopia.

Ah well. I'll have to stick with my real 48s for the time being...
Go to the top of the page
 
+Quote Post
datajerk
post May 3 2005, 09:55 AM
Post #3





Group: Members
Posts: 219
Joined: 14-February 04
Member No.: 1,861



I also run Qtopia, but use X/qt to run X apps within Qtopia. This port was easy. Converting to QT may be possible in the future.
Go to the top of the page
 
+Quote Post
w14
post May 3 2005, 12:35 PM
Post #4





Group: Members
Posts: 180
Joined: 7-December 03
Member No.: 1,049



It seems to start on pdaxrom rc9, but just after the window displays, it bombs with a font error:

"can't load font '-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1'"

I don't know enough about X fonts to fix this. Anyone have any pointers?

Mike.
Go to the top of the page
 
+Quote Post
datajerk
post May 3 2005, 01:59 PM
Post #5





Group: Members
Posts: 219
Joined: 14-February 04
Member No.: 1,861



I do not use pdaxrom, but I would guess that you are short on fonts. Look at the pdaxrom feed for font ipks and install them all. If still missing, try to extract the fonts from the X/qt feed. x48 uses only standard X11R6 fonts. A complete X11R6 install should have them.
Go to the top of the page
 
+Quote Post
w14
post May 3 2005, 02:29 PM
Post #6





Group: Members
Posts: 180
Joined: 7-December 03
Member No.: 1,049



OK, after a bit of reading I added a line in the fonts.alias file to point the helvetica font at another standard font. So now the UI is displayed.

Sadly, this is where it all comes to a halt ...

As soon as I press a key on the UI or on the Zs keyboard, it bombs. The command line shows:

./x48: relocation error: ./x48: undefined symbol: __mods13

I guess that's a bit more terminal, and this will need to be recompiled using the pdaxrom sdk. This is another area I have no experience of, but maybe I can have a go at the weekend, if no-one beats me to it.

Cheers,

Mike.
Go to the top of the page
 
+Quote Post
datajerk
post May 3 2005, 02:36 PM
Post #7





Group: Members
Posts: 219
Joined: 14-February 04
Member No.: 1,861



Should be easy, the patch is not specific to the Zaurus or X/qt, just 640x480. I developed and tested on an x86 Linux box. Just apply the patch and compile. I can try to create a static binary if that helps. Let me know.
Go to the top of the page
 
+Quote Post
guylhem
post May 5 2005, 06:56 AM
Post #8





Group: Members
Posts: 577
Joined: 17-March 04
Member No.: 2,365



Too bad it doesn't run on opie/qtopia without xqt. It'd be great as a native app

Guylhem
Go to the top of the page
 
+Quote Post
datajerk
post May 5 2005, 01:23 PM
Post #9





Group: Members
Posts: 219
Joined: 14-February 04
Member No.: 1,861



I started a EMU48 port to QT but it was taking too long and I needed an emulator quick. This only took a few hours to hack out. I spend a lot of time in X/qt, so it made sense for me.

I shouldn't be too hard to replace the X11 parts with QT. I will look at it when I have more time.
Go to the top of the page
 
+Quote Post
Kedge
post May 6 2005, 01:26 AM
Post #10





Group: Members
Posts: 42
Joined: 29-June 04
Member No.: 3,857



QUOTE(w14 @ May 3 2005, 11:29 PM)
OK, after a bit of reading I added a line in the fonts.alias file to point the helvetica font at another standard font. So now the UI is displayed.


I have the same problem with the font, but didn't get right. Can you post the line you added?

kedge
Go to the top of the page
 
+Quote Post
guylhem
post May 6 2005, 11:05 AM
Post #11





Group: Members
Posts: 577
Joined: 17-March 04
Member No.: 2,365



QUOTE(datajerk @ May 5 2005, 01:23 PM)
I started a EMU48 port to QT but it was taking too long and I needed an emulator quick.  This only took a few hours to hack out.  I spend a lot of time in X/qt, so it made sense for me.

I shouldn't be too hard to replace the X11 parts with QT.  I will look at it when I have more time.
*


An EMU48 port to QT would be much better IMHO because emu48 emulation is more recent and refined than X48. I'd be very very interested in such an application - especially if it could support both portrait and landscape mode.

Guylhem
Go to the top of the page
 
+Quote Post
w14
post May 6 2005, 03:21 PM
Post #12





Group: Members
Posts: 180
Joined: 7-December 03
Member No.: 1,049



Kedge:

I added -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1 -misc-fixed-medium-r-semicondensed--12-90-100-100-c-60-iso8859-1 to the end of the file.

datajerk:

The pdaxrom cross compiler does not include xmkmf or imake as far as I can see. Can you give me any pointers? Did you have to manually edit the makefile? Excuse my ignorance with this stuff ...

Mike.
Go to the top of the page
 
+Quote Post
datajerk
post May 7 2005, 06:28 AM
Post #13





Group: Members
Posts: 219
Joined: 14-February 04
Member No.: 1,861



QUOTE(w14 @ May 6 2005, 05:21 PM)
The pdaxrom cross compiler does not include xmkmf or imake as far as I can see. Can you give me any pointers? Did you have to manually edit the makefile? Excuse my ignorance with this stuff ...

Mike.
*


Just run xmkmf;make on your Linux workstation to build and test it. Then cd src, make clean, edit the Makefile, replace gcc with arm-linux-gcc, you will also need to make changes for the X11R6 paths.

I posted my Makefile here: http://sense.net/zc/x48/Makefile, diff this with your generated Makefile to find what I changed.

After you have edited the Makefile, just type make. Then arm-linux-strip x48.
Go to the top of the page
 
+Quote Post
datajerk
post May 7 2005, 06:33 AM
Post #14





Group: Members
Posts: 219
Joined: 14-February 04
Member No.: 1,861



QUOTE(guylhem @ May 6 2005, 01:05 PM)
An EMU48 port to QT would be much better IMHO because emu48 emulation is more recent and refined than X48. I'd be very very interested in such an application - especially if it could support both portrait and landscape mode.

Guylhem
*


I will try to work on it this summer.
Go to the top of the page
 
+Quote Post
Kedge
post May 8 2005, 10:00 PM
Post #15





Group: Members
Posts: 42
Joined: 29-June 04
Member No.: 3,857



QUOTE(w14 @ May 7 2005, 12:21 AM)
Kedge:

I added -*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1 -misc-fixed-medium-r-semicondensed--12-90-100-100-c-60-iso8859-1 to the end of the file.

Mike.
*


Thanks, works now like a charm.

Stefan
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th June 2013 - 01:02 PM