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

Reply to thread

martin: I'm afraid you're falling into a trap novice programmers sometimes make - that of generalising from a single program which you happen to have spent lots of time on. Most correctly written programs will work just fine from RISC OS 3.7 (perhaps the oldest worth caring about) to RISC OS 5 without even checking them on more than one machine. Naturally, there are always exceptions, but you're going to have testers anyway.

hzn: yes, the processor state can tell you this, and there's a very simple instruction sequence to detemine this, which has been recommended for at least 3 years. But problems arise if that check is used to assume RISC OS 5. For applications written before the A9 that need to check for RISC OS 5/XScale/Iyonix it's far from clear what might be the best course of action if it finds itself on an unknown machine, It might press ahead, and hope for the best, it might just fail to perform the action. So, there's a good chance these applications (which are a minority, however) would have to have some modifications no matter how much previously careful coding took place.

 is a RISC OS Usermrchocky on 8/6/05 7:41AM
[ 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

  • Java and RISC OS
    Nick Brown explores the state of play and future options
     47 comments, latest by em2ac on 28/09/07 12:34AM. Published: 19 Sep 2007

  • Random article

  • One-Step Compilation
    Automatic building in action for RISC OS
     4 comments, latest by mrchocky on 3/3/05 8:00PM. Published: 3 Mar 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
    "Your fellow contributor to Drobe seems to have a personal dislike of anything that does not come from Castle"
    Page generated in 0.0528 seconds.