[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua running on PalmOS!
- From: "Terence Martin" <odat@...>
- Date: Sat, 3 Mar 2001 22:58:07 -0800
Hey this sounds awesome. I just got myself a Prism a couple of days ago and
have been meaning to try something like this (course, I got Sudden Strike at
the same time, so free time seems a bit limited ;).
Do you have what you've done so far available for download anywhere? I'd
love to give it a try.
----- Original Message -----
From: "Lenny Palozzi" <firstname.lastname@example.org>
To: "Multiple recipients of list" <email@example.com>
Sent: Saturday, March 03, 2001 10:46 PM
Subject: Lua running on PalmOS!
> I hacked a version of Lua to run on PalmOS.
> In short
> * used latest gcc tools
> * compiled with PalmOS v2 SDK
> * running on PalmOS 3.1 (that's all I have), should run on PalmOS 2!
> * followed LTN 2 for a minimal version
> * rewrote Lua's generic memory allocator
> - used memory handles so memory is not allocated in the limited dynamic
> - memory allocation is the most difficult issue of this port. Different
> versions of PalmOS have different limitations.
> - different strategies could be used to support each version
> * commented a few calls to unsupported functions (fgetc, etc...)
> * test app(very limited) and Lua compiled as single executable.
> ~33K prc.
> * am able to register a C function and call it from lua, manipulate global
> variables (and opening and closing of Lua states of course)
> Not sure where I will go with this, a stable port maybe? Comments?