On Wed, 17 Jan 2007 [EMAIL PROTECTED] wrote:

> I suppose the question is how much Zaurus specific code is in the QT
> code? keymappings? Any hardware specific things? Is it endian neutral 
> and 64 bit safe?

The keymapping is rather zaurus specific, and the mouse emulation would 
need changing for non-stylus input, but apart from that it's straight Qt. 
As far as I can tell it's endian neutrla and 64bit safe.

> It might be worth seperating out the QT parts from the Zaurus parts, and
> laying the code out something like this. So it's easier for us to add
> other qt ports in future?

That's possible, yes. As stated above I think the only bits that would 
need changing would be the keymap and the mouse emulation - which can 
easily be seperated out into another source file.

> Did you have to alter any of the core code to make it work? That might be
> a sticking point if it can't be made optional, but other than that there's
> no reason why it can't be checked it.

In Qt, once you've called QPEApplication.exec() the only time your program
will be given control is in response to Qt events - so I had to modify 
ARMul_Emulate26 and ARMul_DoProg so that I can call the emulator from 
idle events and have control return to Qt a short time later. It was 
only a simple change, and it's surrounded by #defines, so can easily 
be enabled/disabled as needed. It would be useful in a RISC OS WIMP port, 
for example :)

> If you could chuck an archive of the source up somewhere so we could
> have a check through it first that'd be most handy. Once I've had a
> check to make sure you're not a completely deranged coder ;)

http://www.phlamethrower.co.uk/misc2/arcem-src.zip

As far as I know extension roms/hostfs should work with the port, but I 
haven't tested them due to the crippling slowness :)

> There's still quite a lot of code duplicated across different platforms
> that really should be refactored into core code. Which should hopefully
> reduce the effort of porting further.

It wasn't too bad - I managed to piece most of it together just by looking 
at/copying the X11/RISC OS ports.

Cheers,

- Jeffrey

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
arcem-devel mailing list
arcem-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/arcem-devel

Reply via email to