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

  • Iyonix Review Part Two
    In this final part we look at RISC OS 5 and the bundled software
     4 comments, latest by hzn on 22/8/03 5:47AM. Published: 9 May 2003

  • Random article

  • UniPod speed tested
    IDE and ethernet with a need for speed
     28 comments, latest by micken on 17/8/04 3:53PM. Published: 2 Jun 2004

  • 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
    "'Only the truly memorable stunts are worth a write up'. So, what sort of memorable 'stunt' might be worth a write up?"
    Page generated in 0.0675 seconds.