On Sun, 1 Aug 2010, Jeffrey Lee wrote: > Since my code was a bit more broken then I was expecting, I think I'll > spend today tidying it up a bit, test it on Windows/Linux, and upload a > new archive with any fixes Chris produces.
Here's a new version, with the following fixes: http://www.phlamethrower.co.uk/misc2/arcem-fast-unix.zip * Applied Chris's Amiga/sound patch * Cleaned up some old code/debugging code of mine * Fixed SwapByte * Moved fastmap.c into the arch folder * Hopefully made it work on 64bit systems - see arch/armarc.h. It detects the presence of a 64bit system via the __LP64__ #define, which should be enough when GCC is in use. You can also manually #define FASTMAP_64. Although I don't have a 64bit system to test it on, it seemed to compile without warnings when I passed the -m64 flag to GCC on my Linux machine (disregarding the errors about me not having the 64bit system headers) * Hopefully made it work on big endian systems (see the HOST_BIGENDIAN checks in arch/fastmap.c) * Slowed down the host keyboard/mouse poll rate on all platforms, not just RISC OS. This doesn't seem to have caused any problems. * Fixed the builtin SWIs * Fixed Windows/Linux compile errors and checked that they worked. In particular the Windows version needed a hostfs fix (see line 1273 of hostfs.c), and is seriously in need of a framerate limiter, as it was almost impossible to double-click or type text on my machine! * HostFS/extension ROMs work * Fixed ARMul_PurgeFastMapPTIdx to correctly handle multiply-mapped pages * There's also now a 'debug' build available in the makefile (make DEBUG=yes SYSTEM=...), since I had to work out why the Linux version was crashing (null pointer dereference in some of the fastmap code, now fixed) If you run into any problems with this new version, let me know! Cheers, - Jeffrey ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ arcem-devel mailing list arcem-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/arcem-devel