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
ROS used in secure gadget network research
Uni boffins' lab includes A9home and Iyonix
3 comments, latest by knutson on 19/11/06 4:30AM. Published: 17 Nov 2006
ROL flogs RISC OS 4 for all emulators
Download a RISC OS 4.02 ROM image for a fiver from RISCOS Ltd's website from Monday and use it with your favourite machine emulator, such as RPCEmu. The package is set to include the !Boot and application and utilities files too. ROL boss Paul Middleton said: "We have been looking at ways of making a low cost, or 'virtually free' version of RISC OS available for some time." Keep an eye on ROL's new sales website. The ROM image, which contains the operating system code usually found on the ROS ROM chips, will be available on CD too.
17 comments, latest by Calculon on 13/12/08 9:34PM. Published: 6 Dec 2008
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 •