Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Port of NetHack to the GP2X is available

9 views
Skip to first unread message

Michael Olson

unread,
Jul 18, 2006, 10:21:25 AM7/18/06
to
I have released a port of NetHack 3.4.3 to the GP2X[1] portable
entertainment device. The binary[2] and source code[3] are available.
The port uses an on-screen keyboard, and movement can be made using
the joystick of the GP2X device.

I have tried to keep the number of changes to the NetHack source code
minimal by adapting an SDL-based terminal emulator for use as a
front-end.

I noticed that some people have reported memory-related crashes when
trying to cross-compile NetHack for a portable device. I found that
adding the __packed__ attribute to some structs seemed to fix this
(see include/config.h and include/sp_lev.h for details).

Footnotes:
[1] http://gp2x.co.uk/aboutgp2x.html for details on the GP2X device

[2] http://mwolson.org/static/dist/gp2x/nethack-ascii-3.4.3port1.zip

[3] http://mwolson.org/static/dist/gp2x/nethack-ascii-source.zip

--
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
/` |\ | | | IRC: freenode.net/mwolson: #emacs, #hcoop, #muse, #PurdueLUG
|_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC

0 new messages