Post Reply 
Anyone use X48?
02-25-2017, 07:23 PM
Post: #1
Anyone use X48?
https://sourceforge.net/projects/x48/files/

I couldn't get it to build unless I commented out some code in timer.c. I'm wondering if its still maintained.
Find all posts by this user
Quote this message in a reply
03-01-2017, 07:35 PM
Post: #2
RE: Anyone use X48?
(02-25-2017 07:23 PM)EugeneNine Wrote:  https://sourceforge.net/projects/x48/files/

I couldn't get it to build unless I commented out some code in timer.c. I'm wondering if its still maintained.

Can you post the errors and lines of code producing said errors?

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
03-02-2017, 02:04 AM (This post was last modified: 03-02-2017 03:01 AM by Egan Ford.)
Post: #3
RE: Anyone use X48?
(02-25-2017 07:23 PM)EugeneNine Wrote:  https://sourceforge.net/projects/x48/files/

I couldn't get it to build unless I commented out some code in timer.c. I'm wondering if its still maintained.

Not for a while. I have various patches here including Makefile, timer.c, action.c:

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

[Image: x48.png]

Just tested the binary I built for OS/X XQuartz from 2009, still runs.
Find all posts by this user
Quote this message in a reply
03-02-2017, 03:05 AM
Post: #4
RE: Anyone use X48?
(02-25-2017 07:23 PM)EugeneNine Wrote:  https://sourceforge.net/projects/x48/files/

I couldn't get it to build unless I commented out some code in timer.c. I'm wondering if its still maintained.

Try this source:

https://sourceforge.net/projects/x48.berlios/files/

Looks a newer than the other link you posted.
Find all posts by this user
Quote this message in a reply
03-04-2017, 06:28 PM
Post: #5
RE: Anyone use X48?
I ended up finding a simple fix for the .4 version, they left out an include for time.h, but when ahead and updated to the .6.

Even though the rom is in the museum downloads I dumped mine just to see it work.
Find all posts by this user
Quote this message in a reply
09-21-2017, 01:29 AM
Post: #6
RE: Anyone use X48?
Anyone interested, to compile on a Raspberry Pi I had to apply this patch

https://github.com/vocho/qnxpkgsrcmirror..._emulate.c
Find all posts by this user
Quote this message in a reply
09-21-2017, 04:48 AM
Post: #7
RE: Anyone use X48?
Droid48, an HP 48GX emulator for Android, was developed off of x48. The author of Droid48 might also be able to give some advice.

https://play.google.com/store/apps/detai...org.ab.x48
Visit this user's website Find all posts by this user
Quote this message in a reply
09-21-2017, 11:01 AM
Post: #8
RE: Anyone use X48?
I was posting in case anyone else wanted to, that patch got it working on the Pi.

I use droid 48 in 48sx mode on my phone and tablet.
Find all posts by this user
Quote this message in a reply
09-23-2017, 02:50 AM
Post: #9
RE: Anyone use X48?
This is what I was messing with, the HPi 48.

Yes I could have taken a screen shot but I think taking an actual picture illustrated it better as you an see the whole thing. Its the RPi foundation 7" display.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
01-08-2022, 01:52 AM
Post: #10
RE: Anyone use X48?
I've just got x48 running under MacOS and it looks great :-).

I can't figure out how to get file transfer going though.

I've tried command line options, .Xdefaults etc and it never shows anything for "Wire".

Can anyone provide any tips or pointers for how to transfer between x48 and the Mac?

TIA, dmh

Calculator Clique on YouTube
Visit this user's website Find all posts by this user
Quote this message in a reply
01-08-2022, 04:49 PM
Post: #11
RE: Anyone use X48?
transfer to what? Are you trying to connect via a serial port to another HP? Or are you trying to connect the emulator to software on the mac like Kermit? The latter you'll need something to capture and redirect the serial device.
Find all posts by this user
Quote this message in a reply
01-09-2022, 09:45 PM
Post: #12
RE: Anyone use X48?
You can actually run an X11 application without the desktop, which might look good in this case (providing it will automatically centre itself on the screen).

To do this don't install (or disable) the session manager (you only actually need the xserver). Then create ']/etc/rc.local' and use the following script to start your application directly (replace ' /usr/local/bin/x48' with the path to your program). Don't forget to make ']/etc/rc.local' executable!

Note - You must pipe the result through 'true' exactly as shown otherwise X won't start.
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the
# execution bits.
#
# By default this script does nothing.

/usr/bin/startx /usr/local/bin/x48 || true &

exit 0

Mike T.

HP21, HP25, HP32E, HP33C, HP34C, HP10C, HP11C, HP12C, HP32S, HP22S
Find all posts by this user
Quote this message in a reply
01-09-2022, 11:17 PM (This post was last modified: 01-09-2022 11:30 PM by EugeneNine.)
Post: #13
RE: Anyone use X48?
OIC instead of running a desktop on the Pi, yeah I suppose I could, I was running other things on there too.

for dmh's question, when you specify a device for x48 to use its the actual hardware driver, i.e. its going to attempt to send data out a serial port like ttyUSB0 or whatever. If your trying to get x48 to task to software on the host you'll need something like socat to capture the hardware device and redirect it back so an internal device.

For anyone else interested the documentation isn't clear how to initialize it
you have to make a .hp48 directory in your home then copy in the rom and initialize from there

mkdir ~/.hp48
cp rom.dump ~/.hp48/
cd ~/.hp48 && x48 -initialize
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: