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

Confirm comment report request

In reply to Jess: "ROL are now in the position that they can produce 26 bit and 32 bit systems from the same sources."

This distinction is going to be meaningless on the x86. The only advantage I can see is that if Castle and ROL have macros for saving processor state etc, then these can be easily adapted for the X86.

"Could these sources not be fed into a cross-assembler as Druck suggested? (or the correct compiler, as relevant)."

You'd have to write the cross-assembler first, unless Druck has something in mind that already exists. Even then, I don't think it's as easy as putting all the RISC OS source through a magic program and then suddenly beaing able to boot it on an X86 motherboard...

It seems clear to me that quite a lot of stuff would have to be hand-written natively. Certainly any self-modifying code. Also probably everything to do with the MMU, cache flushing, timers, interrupts, trap handlers, etc. Hopefully some of these things are abstracted and exist entirely in RISC OS 5's HAL (eg: probably timers, but probably not the MMU).

Would a cross-assembler know how to translate SWI handlers? How about the way in which SharedClibrary calls are made by branching to a negative address? Maybe some of this could be automated once the corresponding APIs are dreamt up for the X86.

Hardware drivers would need to be written - or obtained and then adapted to "CISC OS". Castle has an advantage here in that they have more experience of RISC OS on commodity hardware (graphics cards, UDMA, etc). It won't be a good proof of concept without being able to access the hard disc!

"I also said proof of concept - ie running but not salable (eighty twenty rules and all that), but enough to generate interest."

If "proof of concept" just means running one or two command-line programs on x86, it's already been done with riscose. If it means a full OS not running on top of Linux or anything and getting as far as displaying a desktop without using any emulation, then, cross-assembler or not, it's going to be a lot of work for some poor bastard.

I think, once a cross-assembler exists, porting apps etc would be easier than the core OS.

Incidentally, is cross-assembler the right term? I thought a cross-assembler just generates for the same target as the source is intended, but just the assembler itself runs on another architecture.

 is a RISC OS UserCogs on 03/09/06 2:38PM
[ Reply | Permalink | Report ]

Click on the button below to confirm you wish to flag up this comment to the website's administrators. Abuse of this service will be frowned upon and it should only be used to notify us of comments that are extremely distasteful, indecent or otherwise unlawful. If you disagree with an opinion expressed or fact stated in a comment, please take part in the debate rather than expect it to be removed.

Return to the drobe.co.uk front page

Details

Reporting user / IP: / 52.23.192.92
Comment GID: 26001
Timestamp: Tue, 19 Feb 2019 23:53:48 +0000

Search the archives

Today's featured article

  • An introduction to IP networks
    Part one of masking the 'net
     10 comments, latest by Umair on 9/9/04 10:11PM. Published: 4 Sep 2004

  • Random article

  • RISC OS Christmas roadshow details finalised
    Exhibitors to be confirmed [Updated]
     39 comments, latest by flypig on 22/11/05 1:34PM. Published: 16 Nov 2005

  • 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
    "Perhaps drobe should just redirect people to riscos.org, so people get the real news"
    Page generated in 0.0644 seconds.