RePalm – Hardware Emulation of PalmOS
dmitry.gr
dmitry.gr
there's still a lot to do until I'm ready to produce hardware, but a lot already works. The plan is to update the article as I go along, and eventually open source everything once I'm convinced it works at least well enough to be used.
Is it likely that there would ever be alternative inputs than Graffiti? While I loved Graffiti at the time, a ios/android virtual keyboard with a decent capacitive touch screen would be nicer today.
I would really enjoy having a workable way to emulate PalmOS on top of Linux/Android.
StyleTap is just too pricey and almost abandoned at this point (it tends to give a black screen on modern Android), and PHEM/xpilot/POSE, while open source, just emulates m68k meaning you're stuck with OS4 ROMs, no PNOlets, no high-density, difficulty integrating with host services, millions of bugs, ...
Styletap implements a higher level API (boot-level ish) so it is less compatible.
As to not being fast enough, smartphones now have multiple >1GHz cores, and emulating an ARM with an ARM naturally leads to virtualisation-ish approaches. It doesn't seem a mid-90s/early 2000s PDA would need that much computing power.
Good luck emulating that realtime on your phone with good battery life (or at all). :)
e.g. PalmOS's own "Simulator" was a reimplentation of PalmOS on Windows. It would contain a x86 ROM that would "thunk out" for some ROM libraries (including the DAL) into separate .dlls that would do the equivalent Windows calls. I always though that if I ever wanted to start my own PalmOS clone I would start by looking at those.
Garnet VM by ACCESS was exactly the same thing except for Linux and Gtk+, and compiled for ARM. Namely, an original PalmOS ROM blob with some libraries implemented as external .so that would perform Gtk+ and Cairo (!!) calls.
Most probably, this was actually developed as part of the entire "PalmOS on top of Linux" project that PalmSource actually still had when they were bought by ACCESS.
StyleTap was a 3rd party commercial reimplementation. You can see it still has some drawing glitches and differences versus an actual PalmOS. It is available for both Windows (CE) and Linux (Android).
So I think Linux does make for an excellent host operating system, after all.
Also, the Palm devices were great little machines, with some interesting technical tradeoffs for developers to push the very modest limits of the early hardware, which made sense. I did an app for an early one, and also put the API docs in more usable formats. I looked at the later Palm hardware again recently, when I was deciding where to go for Linux handheld hardware after Replicant, before I decided on PostmarketOS devices. https://www.neilvandyke.org/t-map/ https://www.neilvandyke.org/padr/ https://www.neilvandyke.org/postmarketos/
I had a US Robotics Palm Pilot III. I did two exceptional things with it:
1. Wrote the content for my second web site (sold for six figures) on the roof of my apartment building after work using a Palm Pilot with the foldable keyboard.
2. Used the sync cradle to connect to the RS-232 port of an early GPS (around 1999-2000, I think) ripped out of a friend's Honda minivan. There was a program for the Palm that could take B&W bitmap images of maps, then scroll the map in sync with the incoming NMEA data. The hard part was that you had to tell the program the coordinates of the northwest and southeast edges of the bitmap so that it could scroll the correct amount.
- The maps couldn't be too big because of the memory limitation of the Palm.
- This was before Google maps. I think the only online map service was Terraserver, and you couldn't download images, so I took screenshots of the city overview, converted them to B&W and used those.
- You could only have one map. No stitching.
- No zooming.
Also, it took forever to lock into the GPS signal, though I think this was a problem with early GPS receivers and not a Palm issue.
If you want a more powerful handheld from that era, see the iPaq that came a little later. I'd kill for a good Linux handheld like that today (hopefully more people will pitch in on making PostmarketOS that handheld).
Tell more!
> forever to lock into the GPS signal
The semi-modern GPS would do estimates of where the satellites moved while “off”. Today, wifi and cellular base stations help seed the location precision.
This will be a godsend to that community if it works.
The secret is three-prong: I absolutely love doing this (despite this project having no practical purpose), I have a FAANG job, and I have no family of my own.
https://twitter.com/xardox/status/997939444660523009
(Incidentally, there's already an item on the front page currently discussing this: https://news.ycombinator.com/item?id=19762907 )
My Pet Rock Remote Control for the PocketPC never got off the ground, either. ;(
It has been indespensible beyond words.
When I go to pick up my iPhone to take a note, I end up seeing my notifications, scroll through Instagram for 5 minutes, until I get up and make myself a coffee and forget not only to write the note but what the original idea even was.
With my palm, I just pick up and write. These things are golden.