Drobe :: The archives
About Drobe | Contact | RSS | Twitter | Tech docs | Downloads | BBC Micro

ROS environment emulator in Java mulled

By Chris Williams. Published: 28th Apr 2005, 21:12:51 | Permalink | Printable

Thinking outside of the box

A Java programmer has embarked on a daring plan to produce a cross platform RISC OS environment emulator. The software, developed by Gareth Boden, includes an ARM processor emulator to execute RISC OS applications and fool them into think they're running on a real machine. Due to be licenced under the GPL, Gareth says his RISC OS Binary Environment implements a handful of RISC OS API calls, including SWIs to perform simple text, sprite and desktop icon operations.

So far, Gareth claims he has been running RISC OS software in his environment package, implementing SWIs used by the programs one by one. He is currently using simple open source command applications (as well as editor heavy weight StrongED) to test his project. Although RISC OS binary emulation has been attempted time and time again by developers, including riscose and recently Qemu, Gareth argues that since both riscose and his project are GPL licenced, he'll be able to reuse old code in some way. Despite developing a machine emulator, rather than a 'just-in-time' recompiler (as seen in Qemu and VirtualRiscPC) which offers significantly higher performance, Gareth added: "My eventual goal is for performance and to make applications usable, but at the moment I'd settle for them running at all."

Gareth stopped using native RISC OS machines soon after the cancellation of Phoebe, and realises that developing a complete environment emulator is going to be an uphill challenge.

"I wanted to build something which would allow the applications to exist as first class citizens on another platform. I mulled the idea around for a bit, thinking of ARM Linux originally, but then decided to just go for Java and get the widest range of platforms," Gareth told us.

"There has been a lot of design in the system to achieve speed optimisations, with scope for JIT compilation and, more interestingly, the ability to plug in native Java implementations of speed critical sections. Even the current 'interpreted' mode only performs the instruction decoding once to produce a Java object representation of the instruction, which can then be executed very quickly if it is used in a loop."

He added: "I really started this as a hobby project and it just gets whatever time I have available to it - noone else is currently contributing but with a Sourceforge release and a bit of publicity, I'd like to get a bit more help - particularly as the SWIs are so easily divvied up between multiple developers."

Links


RISC OS Binary Environment project site RISCOSE project site

Previous: Wakefield 2005 theatre details
Next: ROS 4 cheap as a few nights down the pub, says ROL

Discussion

Viewing threaded comments | View comments unthreaded, listed by date | Skip to the end

Sounds interesting - especially since due to JIT it's usable on different systems.

 is a RISC OS Userhzn on 29/4/05 11:09AM
[ Reply | Permalink | Report ]

StrongED on a PC, that would be a nice option.

 is a RISC OS Userjess on 30/4/05 9:51AM
[ Reply | Permalink | Report ]

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

  • Silence is golden
    Knowing how to tell your RiscPC to shut it
     22 comments, latest by Rien on 7/8/04 5:56PM. Published: 1 Dec 2003

  • Random article

  • GAG 2003 show news
    European gags
     7 comments, latest by Nodoid on 4/6/03 1:04PM. Published: 3 Jun 2003

  • Useful links

    News and media:
    IconbarMyRISCOSArcSiteRISCOScodeANSC.S.A.AnnounceArchiveQercusRiscWorldDrag'n'DropGAG-News

    Top developers:
    RISCOS LtdRISC OS OpenMW SoftwareR-CompAdvantage SixVirtualAcorn

    Dealers:
    CJE MicrosAPDLCastlea4X-AmpleLiquid SiliconWebmonster

    Usergroups:
    WROCCRONENKACCIRUGSASAUGROUGOLRONWUGMUGWAUGGAGRISCOS.be

    Useful:
    RISCOS.org.ukRISCOS.orgRISCOS.infoFilebaseChris Why's Acorn/RISC OS collectionNetSurf

    Non-RISC OS:
    The RegisterThe InquirerApple InsiderBBC NewsSky NewsGoogle Newsxkcddiodesign


    © 1999-2009 The Drobe Team. Some rights reserved, click here for more information
    Powered by MiniDrobeCMS, based on J4U | Statistics
    "Leaking tit bits creates rumours, confusion and often mangles facts"
    Page generated in 0.0823 seconds.