Doom Hack

June 12, 2009

Doom hack. I’ve gotten PRDoom running on the device. PRDoom is an open source doom clone that uses SDL for its rendering backend. The Palm Pre’s GUI, Luna, utilizes a framebuffer. The SDL backend we used was directfb.

The Palm Pre’s rootfs, based on openembedded, had directfb, but the openembedded repositories did not have any versions of SDL which linked against the directfb provided by palm. The other option was to use fbdev, but I couldn’t get it working, so I moved on quickly. In order to control the rootfs, and libraries, I built a debian rootfs using debootstrap, and was able to install many components not available via ipkg.

Getting directfb working was actually fairly trivial, because palm uses it for their testing. The /etc/event.d/LunaSysMgr file, it had the line: exec /var/mft/usr/bin/ted -m –dfb:no-vt –dfb:no-cursor –dfb:bg-color=00000000 –dfb:pixelformat=ARGB. I was able to dervice the directfb options from there.


New Blog

June 12, 2009

So, I’m starting a new blog. This will primarily be tied to Pre Hacking. I’m with the WebOS Internals team (A bunch of Pre hackers). We have gained root access to the device, as well as been able to manipulate, and modify the OS.

Dev team:
Channel #webos-internals

Me personally:

Old website:
Phone: +1.925.235.1105
Location: San Francisco Bay Area, CA
Name: Sargun Dhillon