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

  • Prototype affordable Braille display in development
    A low-cost computer-controlled Braille board has been prototyped by a RISC OS-using university student. Undergraduate Edward Rogers hopes to sell his completed units for as little as 200 quid each to schools and families to allow more blind children to continue learning Braille. And he said he wanted to launch his venture using RISC OS-powered kit before offering a package for other platforms.
     10 comments, latest by epokh on 27/6/09 12:49PM. Published: 22 Nov 2008

  • Random article

  • How Arthur OS will save us all
    Especially RISC OS
     33 comments, latest by moss on 06/12/06 05:00AM. Published: 23 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
    "It gives a bad impression to anyone wondering who's going to be next to go when the web sites reporting the news have stopped reporting anything"
    Page generated in 0.0774 seconds.