"Frank Shearar" frank@angband.za.org writes:
Is it then not feasible to write a mouse simulator that wraps the direction pad? I've only done a couple hours' work with the Symbian SDK, so I'm pretty much clueless as to its workings, unfortunately.
Yes that's possible. It's the approach I'd take first if I was doing it. There is an 'epoc' port floating around that could perhaps be used as the basis for a Symbian port.
I did some quick experimentation and the base Squeak spource code compiles fine under the Symbian SDK. It's just a matter of implementing the various platform defined functions and hopefully getting it to work in less than 3MB.
Would one then be able to craft a VM that didn't use a mouse? I'm thinking here of being able to write applications in Squeak to run on the phone, much as one writes Java ME apps...
It's certainly possible. I've got Io [1] working on the phone for example which allows me to code in that language. The next release of Io will include my Symbian support hopefully.
[1] http://www.dekorte.com/Software/C/Io/
Chris.
Chris Double chris@double.co.nz is claimed by the authorities to have written:
Yes that's possible. It's the approach I'd take first if I was doing it. There is an 'epoc' port floating around that could perhaps be used as the basis for a Symbian port.
The chunk of code that Pablo Rodruigez sent me some time ago is available on http://sumeru.stanford.edu/tim/pooters/SqFiles/deltas/EPOCsources.ZIP for possible useful perusal. It apparently produces a vm that kind of runs on a Psion 5, but it doesn't work on my netBook. Lots of stuff is hardcoded and chopped away to get a basic vm. One of the things that was/is a problem with the EPOC port is the apparent need for the globals to be gathered into a struct of some some sort and initialised. As it happens John McI has recently done some code to do (at least most of) this, so things may be in much better state. Then again, I heard that some hack could avoid the whole problem, though I can't remember what the hack actually was.
I still can't make much progres myeslf since I still don't have a usable windows capability on which to run the SDK.
tim
squeak-dev@lists.squeakfoundation.org