Active Topics

 


Reply
Thread Tools
Posts: 188 | Thanked: 90 times | Joined on Sep 2006
#1
Seems like this should be easy, open source, code from here:
http://developer.berlios.de/projects/x48/

Plus, if it helps in any way, the droid48 port code is here:
https://github.com/shagr4th/droid48

So, is there any dev willing to go for this one? It is after all a classic!
__________________
If I said something useful, please hit the 'Thanks!' link related to that post.
 
www.rzr.online.fr's Avatar
Posts: 1,348 | Thanked: 1,863 times | Joined on Jan 2009 @ fr/35/rennes
#2
I did build x48 on harmattan :
apt-get install x48

Get:1 http://repo.pub.meego.com ./ x48 0.0.0-0~rzr1 [124kB]

DISPLAY=:0 x48
x48: using XShm extension.
can't open /home/user/.hp48/rom
can't open rom.dump


can you help were to get that rom ?
__________________
Current obsession:

https://purl.org/rzr/abandonware

Please help to list all maemo existing apps :

https://github.com/abandonware/aband...ment-578143760

https://wiki.maemo.org/Apps#

I am looking for " 4 inch TFT LCD display screen " for Nokia n950 HandSet

http://rzr.online.fr/q/lcd


Also, I need online storage to archive files :

http://db.tt/gn5Qffd6#

https://my.pcloud.com/#page=register...e=g8ikZmcfEJy#
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#3
Have you tried here?
http://developer.berlios.de/project/...?group_id=3335

There you have (supposedly) ROMs for S(X) and G(X), various revisions.

I remember many years ago when we had to extract the ROM ourselves. I think that since a couple of years the ROMs are freely distributable, but I've been off of the on-line HP48 world for a few years already. (I still use my - real - 48S regularly).
 
www.rzr.online.fr's Avatar
Posts: 1,348 | Thanked: 1,863 times | Joined on Jan 2009 @ fr/35/rennes
#4
yes but it looks that it is looking for a set of files ... I did not took more time to investigate ... i guess you will figure out once installed :

http://rzr.online.fr/q/harmattan
__________________
Current obsession:

https://purl.org/rzr/abandonware

Please help to list all maemo existing apps :

https://github.com/abandonware/aband...ment-578143760

https://wiki.maemo.org/Apps#

I am looking for " 4 inch TFT LCD display screen " for Nokia n950 HandSet

http://rzr.online.fr/q/lcd


Also, I need online storage to archive files :

http://db.tt/gn5Qffd6#

https://my.pcloud.com/#page=register...e=g8ikZmcfEJy#
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#5
AFAIK only a single file (ROM dump) is needed.

If you download one of the files linked above (and unpack it, obviously), just try:

$ ./x48 -rom /path/to/rom/file
 
www.rzr.online.fr's Avatar
Posts: 1,348 | Thanked: 1,863 times | Joined on Jan 2009 @ fr/35/rennes
#6
~/MyDocs/local/tmp $ DISPLAY=:0 x48 -rom gxrom-r
x48: using XShm extension.
x48: can't open /home/user/.hp48/hp48
x48: FATAL ERROR, exit.
- can't load font '-*-fixed-bold-r-normal-*-14-*-*-*-*-*-iso8859-1'
- Please change resource 'smallLabelFont'
__________________
Current obsession:

https://purl.org/rzr/abandonware

Please help to list all maemo existing apps :

https://github.com/abandonware/aband...ment-578143760

https://wiki.maemo.org/Apps#

I am looking for " 4 inch TFT LCD display screen " for Nokia n950 HandSet

http://rzr.online.fr/q/lcd


Also, I need online storage to archive files :

http://db.tt/gn5Qffd6#

https://my.pcloud.com/#page=register...e=g8ikZmcfEJy#
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#7
OK. The first problem is that you first need to initialize x48 for the ROM you want.

$ x48 -initialize -rom gxrom-r

The second is that the font it needs doesn't exist. Probably xlsfonts does not exist for the N9, so just try with "fixed":

$ x48 -initialize -smallFont fixed -verbose -rom gxrom-r
(-verbose so that you can hopefully see what's going on).
 
www.rzr.online.fr's Avatar
Posts: 1,348 | Thanked: 1,863 times | Joined on Jan 2009 @ fr/35/rennes
#8
have you tried to install it too ?

now the screen appear in hz mode so it is half useful
I also tested the netbook layout which is a bit better


rm -rf ~/.hp48 ;

x48 -initialize \
-smallFont fixed -mediumFont fixed -largeFont fixed -connFont fixed \
-verbose -rom gxrom-r +netbook

x48: using XShm extension.
x48: read gxrom-r
x48: using XShm extension.
x48: wire connection on /dev/pts/4
x48: wrote /home/user/.hp48/hp48
x48: wrote /home/user/.hp48/rom
x48: wrote /home/user/.hp48/ram


x48 asks about "Try to recover memory?" "Yes/No" ?
how to answer now ?




note there is a geometry option ...


x48 Version 0.6.4, Copyright (c) 1994-2005 by Eddie C. Dost <ecd@dressler.de>.

usage:
x48 [-options ...]

where options include:
-help print out this message
-display <displayname> X server to contact
-name <string> set application name to <string>
-title <string> set window title to <string>
-geometry <geometry> position of window
-iconGeom <geometry> position of icon window
-iconic start iconic
-visual <visualname> use visual <visualname>
-mono force monochrome
-gray force grayscale
-monoIcon force monochrome icon
-smallFont <fontname> <fontname> to draw small labels (MTH - DEL)
-mediumFont <fontname> <fontname> to draw medium label (ENTER)
-largeFont <fontname> <fontname> to draw large labels (Numbers)
-connFont <fontname> <fontname> to display wire & IR connections
-/+xshm turn on/off XShm extension
-version print out version information
__________________
Current obsession:

https://purl.org/rzr/abandonware

Please help to list all maemo existing apps :

https://github.com/abandonware/aband...ment-578143760

https://wiki.maemo.org/Apps#

I am looking for " 4 inch TFT LCD display screen " for Nokia n950 HandSet

http://rzr.online.fr/q/lcd


Also, I need online storage to archive files :

http://db.tt/gn5Qffd6#

https://my.pcloud.com/#page=register...e=g8ikZmcfEJy#

Last edited by www.rzr.online.fr; 2012-02-19 at 14:16.
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#9
Nope. I don't have an N9. But I have x48 running under Linux (Ubuntu 11.04).

Try adding the -netbook option. With -netbook you disable the netbook (horizontal) layout, i.e. uses portrait. With +netbook you enable the netbook layout, i.e. landscape.

Good luck.
 
www.rzr.online.fr's Avatar
Posts: 1,348 | Thanked: 1,863 times | Joined on Jan 2009 @ fr/35/rennes
#10
+netbook is far better ...
but it shouldnt be that hard to create a layout that fit the mobile device
anyway since it's a native qt app there is a toolbar and it is in hz mode ...
this can be fixed but i dont remember if it require to change the source or not ...

btw you could test it on scratchbox if u want to get better support ...
Attached Images
 
__________________
Current obsession:

https://purl.org/rzr/abandonware

Please help to list all maemo existing apps :

https://github.com/abandonware/aband...ment-578143760

https://wiki.maemo.org/Apps#

I am looking for " 4 inch TFT LCD display screen " for Nokia n950 HandSet

http://rzr.online.fr/q/lcd


Also, I need online storage to archive files :

http://db.tt/gn5Qffd6#

https://my.pcloud.com/#page=register...e=g8ikZmcfEJy#

Last edited by www.rzr.online.fr; 2012-02-19 at 14:49.
 
Reply


 
Forum Jump


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