Firefox 2 patched for the A9homePublished: 3rd Dec 2006, 17:20:50 | Permalink | Printable
Cunning coder cheats check for XScale [Updated]A cheeky programmer has produced an unofficial patch to allow the previously Iyonix-only Firefox 2 port to run on A9home computers. The hack intercepts low level ARMv5 instructions that the Iyonix's IOP321 XScale can execute, and converts them into instructions suitable for the ARMv4 Samsung ARM920T processor in the A9home. The patch, which runs as a module, was written overnight by NetSurf GTK developer Rob Kendrick.
Joking that he was after a grand in donations for his patch work, Rob said: "I wanted to see how well Firefox 2 performed on the A9home, but Peter had decided for some reason to intentionally nobble it to run only on the Iyonix."
Rob added that some ARMv5 instructions are not properly emulated, which will lead to images being displayed incorrectly - although these bugs are expected to be fixed in later releases of the module.
He said: "I may well be incorrectly implementing SMUL, and that it's used in image decoding, which is why they're corrupted. But the performance of it is acceptable - it certainly feels just as quick, if not quicker than it did on David Ruck's Iyonix at the Midlands 2006 show, amusingly."
Click on a thumbnail for a larger picture
A9home users must download both a patched Firefox executable and the ARMv5 emulator - the Firefox application checks to make sure it is running on an XScale, which Rob also removed. The ARMv5 emulator works by hooking into the undefined instruction processor vector, catching the ARMv5 instructions before RISC OS 4.42 on the A9home traps it.
Firefox 2 port developer Peter Naulls said he would consider an official A9home version if there was sufficient financial interest. It's understood the Firefox 2 port was built with ARMv5 instructions to squeeze extra performance out of the mammoth web browser on the Iyonix.
Update at 22:26 6/12/2006
Version 0.03 of the ARMv5 emulator has been released with various big fixes and enhancements. Rob has also noted that the ARMv5 instructions in Firefox 2 afford a mere thousandth of a second speed increase in a simple test with the BBC News website.
Patched Firefox 2 A9home binary
ARMv5 emulator module - source included
Previous: Iyonix-only Firefox 2 port released online
Next: RPCEmu updated to run RISC OS 6
DiscussionViewing threaded comments | View comments unthreaded, listed by date | Skip to the end
Please login before posting a comment. Use the form on the right to do so or create a free account.
Search the archives
Today's featured article
RISC OS 5 pictured running on ARM Cortex-A8 kit
Picture exclusive - This grainy photograph shows a port of RISC OS 5, sourced from the RISC OS Open project, running on a Beagleboard - a device powered by a 600MHz ARM Cortex-A8 processor with a built-in graphics chip. The port, developed by Jeffrey Lee with help from Uwe Kall and ROOL staff, is seen as a major breakthrough for the shared-source project as it proves the OS can be ported to new hardware without the need for a large team of engineers.
75 comments, latest by rjek on 30/4/09 3:15PM. Published: 25 Apr 2009
Cooper classic 2067 BC turns up on download website
Game appears on Acorn history site
Discuss this. Published: 27 Nov 2007
News and media:
RISCOS Ltd •
RISC OS Open •
MW Software •
Advantage Six •
CJE Micros •
Liquid Silicon •
Chris Why's Acorn/RISC OS collection •
The Register •
The Inquirer •
Apple Insider •
BBC News •
Sky News •
Google News •