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

Text adventure classic Colossal Caves converted to BASIC

Published: 18th Apr 2009, 14:48:35 | Permalink | Printable

Gareth Lock has translated the C source code to Colossal Caves to BBC BASIC, documented it and now needs text adventure fans to play test it.

Click here to visit this news quickie

Previous: Back-up utility SafeStore updated to be network storage friendly
Next: RISC OS 6 in pictures

Discussion

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

Interesting. I'm working on a BBC BASIC compiler for .NET/Mono and have been hunting around for interesting BBC BASIC programs to feed it. Some of the early Acornsoft text adventures, like Sphinx Adventure, have pretty horrible code!

 is a RISC OS Userrobsmallshire on 19/4/09 6:50PM
[ Reply | Permalink | Report ]

Unfortunately, your aim is impossible, due to BBC Basic's dynamic and arbitrary nature. An interesting project, none the less; especially if you separate parser from code generator!

 is a RISC OS Userrjek on 20/4/09 12:14AM
[ Reply | Permalink | Report ]

Interesting. What makes you say it's 'dynamic and arbitrary'? Most previous attempts at compiling BBC BASIC have stopped short at translating EXEC call, and that seems to make the lanuage non-dynamic. And as for it being arbitrary, do you mean it has undefined behaviour? I can't think of any examples off the top of my head - though given it has so few implementations and they're mostly written by the same people the defacto behaviour is probably consistent. Don't get me wrong, BBC BASIC is a perverse language for many reasons but I've always considered it to be a simple subset of a more modern language (and an impressive feat for a 16k ROM).

But yes, a nice reusable BBC BASIC parser would be a good thing to have.

 is a RISC OS Userninja on 21/4/09 6:03PM
[ Reply | Permalink | Report ]

Nonsense. You just need a decent runtime system, containing enough of a compiler to deal with the dynamic features. The vast majority of BBC BASIC code in any program is eminently compilable. The small parts that aren't can be interpreted or jitted; I never claimed that all compilation could be done ahead of time...

 is a RISC OS Userrobsmallshire on 22/4/09 6:02PM
[ Reply | Permalink | Report ]

You'll need an entire compiler in the runtime. And the hoops to jump through some of the baroque control structures you can create will be flaming and radioactive.

 is a RISC OS Userrjek on 23/4/09 12:12AM
[ Reply | Permalink | Report ]

Or an entire interpreter; and we know one of those will fit into as little as 16 kB.

 is a RISC OS Userrobsmallshire on 23/4/09 2:10PM
[ Reply | Permalink | Report ]

Sorry you said something was impossible with BBC BASIC?

 is a RISC OS UserAW on 20/4/09 1:53PM
[ Reply | Permalink | Report ]

Sorry, you said something?

 is a RISC OS Userrjek on 20/4/09 3:45PM
[ 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

  • A9home DIY laptop: first pictures
    And other odds and sods from the Christmas 2007 show
     22 comments, latest by sa110 on 1/6/08 4:47PM. Published: 1 Dec 2007

  • Random article

  • New 800MHz XScale powered processor available
    IOP331 or IOP315 in Iyonix mark II?
     50 comments, latest by hubersn on 30/09/03 4:41PM. Published: 16 Sep 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
    "We accept Drobe likes to be [controversial], no problem there - but a sinister pattern has appeared over the past year or so"
    Page generated in 0.1329 seconds.