OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: datajerk on May 03, 2005, 01:17:29 pm
-
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/ (http://sense.net/zc/x48/)
Screen Shot:
http://sense.net/zc/x48/x48.gif (http://sense.net/zc/x48/x48.gif)
-
Damn. Get me all excited, why don't you
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...
-
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.
-
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.
-
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.
-
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.
-
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.
-
Too bad it doesn't run on opie/qtopia without xqt. It'd be great as a native app
Guylhem
-
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.
-
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
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78432\"][{POST_SNAPBACK}][/a][/div]
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
-
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.
-
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.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=78633\")
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: [a href=\"http://sense.net/zc/x48/Makefile]http://sense.net/zc/x48/Makefile[/url], 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.
-
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78588\"][{POST_SNAPBACK}][/a][/div]
I will try to work on it this summer.
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78633\"][{POST_SNAPBACK}][/a][/div]
Thanks, works now like a charm.
Stefan
-
Stefan, what ROM are you using?
-
Stefan, what ROM are you using?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78840\"][{POST_SNAPBACK}][/a][/div]
I'm using the Cacko 1.22 with X/QT. Sorry, no pdaXrom.
Stefan
-
I have build a x48 ipk for use with pdaXrom 1.10 beta1...
MISC Feed http://zaurus.vivaphp.net/pdaxrom/misc (http://zaurus.vivaphp.net/pdaxrom/misc)
IPK http://zaurus.vivaphp.net/pdaxrom/misc/x48....3_armv5tel.ipk (http://zaurus.vivaphp.net/pdaxrom/misc/x48_0.4.3_armv5tel.ipk)
-
Hello I have cacko 1.23 with X/Qt but it doesn't work.
error Message : x48-0.4.3 : can't open display.
Do you know why?
Thank's
-
I have build a x48 ipk for use with pdaXrom 1.10 beta1...
great I mirrored it there:
http://mail.pdaxrom.org/contrib/rc11+-armv5tel/ (http://mail.pdaxrom.org/contrib/rc11+-armv5tel/)
you should announce this in the pdaxrom forum also
-
Hello I have cacko 1.23 with X/Qt but it doesn't work.
error Message : x48-0.4.3 : can't open display.
Do you know why?
Thank's
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110154\"][{POST_SNAPBACK}][/a][/div]
From an xterm type echo $DISPLAY, should be :0, also type xhost + and try again.
-
[/quote]
From an xterm type echo $DISPLAY, should be :0, also type xhost + and try again.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110163\"][{POST_SNAPBACK}][/a][/div]
[/quote]
Oup's
It's not ok, When i type echo $DISPLAY, i have nothing on the screen;
-
I just updated the web site http://sense.net/zc/x48 (http://sense.net/zc/x48) to include:
1. kermit with instructions on how to xfer to x48 from Zaurus.
2. A benchmark with some results.
3. New x48 with SX support.
4. Complete set of patches and Makefile.
-
the 0.4.3 binary segfaults for my 6k. building x48 natively (dkpg-buildpackage -rfakeroot) inside X/Qt also segfault. I didn't change anything in the config.h file and dpkg-buildpackage uses the xmkmf.
x48: /home/root/.hp48/hp48 is a version 0.4.0 file, converting
Segmentation fault
-
the 0.4.3 binary segfaults for my 6k. building x48 natively (dkpg-buildpackage -rfakeroot) inside X/Qt also segfault. I didn't change anything in the config.h file and dpkg-buildpackage uses the xmkmf.
x48: /home/root/.hp48/hp48 is a version 0.4.0 file, converting
Segmentation fault
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120385\"][{POST_SNAPBACK}][/a][/div]
Do any of the binaries work?
If you build x48 without patches, do you get the seg fault?
-
Do any of the binaries work?
If you build x48 without patches, do you get the seg fault?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120475\"][{POST_SNAPBACK}][/a][/div]
0.4.2 seems to work (both binary 0.4.2-2 or my own build), although I haven't figured out how to alias the font.
0.4.3 seg fault. I grabbed 0.4.3 source without applying any patch (shouldn't be any patch in there, right?)
-
There was a mixup with some on the links on http://sense.net/zc/x48 (http://sense.net/zc/x48). Now corrected.
-
When you say it's really slow on the Nokia 770, how slow is this? Do you have the test loop data available for that machine?
I don't really understand what your base & turbo MHz figures mean in the table on the bottom of your page: http://sense.net/zc/x48/ (http://sense.net/zc/x48/)
Doesn't the xScale run at a single frequency (though it can be changed), or do you use some kind of cpufreq and these are the boundary speeds? Presumably the 770 should be as fast as the c860 @ ~220MHz, but from your comment about it being slow, I'm not so sure.
Thanks,
Simon
P.S. Are the binaries on your page optimised for the xscale?
-
When you say it's really slow on the Nokia 770, how slow is this? Do you have the test loop data available for that machine?
I don't really understand what your base & turbo MHz figures mean in the table on the bottom of your page: http://sense.net/zc/x48/ (http://sense.net/zc/x48/)
Doesn't the xScale run at a single frequency (though it can be changed), or do you use some kind of cpufreq and these are the boundary speeds? Presumably the 770 should be as fast as the c860 @ ~220MHz, but from your comment about it being slow, I'm not so sure.
Thanks,
Simon
P.S. Are the binaries on your page optimised for the xscale?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126389\"][{POST_SNAPBACK}][/a][/div]
It takes about 1000 sec. I built Free42 for Zaurus and Nokia and it does not have a performance problem. Looking at software as the issue.