Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Extending BBC BASIC V

0 views
Skip to first unread message

Kjetil T. Homme

unread,
May 29, 1990, 5:33:41 PM5/29/90
to
How should I do this to be certain that it'll work in all
future releases of BBC BASIC?

Are there any extensions to it in the public domain, or at all?

All pointers would be welcome, preferably also with
an address were I could order books/software... Such things
aren't readily available here in Norway.

adTHANKSvance

<*_*> // Kjetil T. Homme "I always read between the lies"
/|\ // kjet...@ifi.uio.no (Goodman Ace)
_|_ // Disclaimer: I am but a student, and will probably remain that way...

r...@mva.cs.liv.ac.uk

unread,
May 31, 1990, 5:08:49 AM5/31/90
to
In article <31...@ifi.uio.no>, kjet...@ifi.uio.no (Kjetil T. Homme) writes:
> How should I do this to be certain that it'll work in all
> future releases of BBC BASIC?

You can't ! There are only two ways of extending the BASIC V module that
I can think of:

1) Copy the module to disk, hack the keyword table to death, add your
own routines somewhere and save the module back out.

2) Trap 'Mistake' and 'Syntax error' error messages and do some clever
checks to jump in and out of the BASIC module.

Method 2 is how I implemented it on a BBC Micro - I wrote an extended
BASIC ROM for my honours project YEARS AGO (and just before companies
like Program Power etc. thought of it). At that time, only BASIC 1 and 2
were available, but even then I had to include two sets of addresses per
hack and check the BASIC version to decide which one to use.

In short, I'd forget it on the Archimedes - it's going to be even nastier.

Richard K. Lloyd, *** This is a MicroVAX II running VAX/VMS V5.3-1 ***
Computer Science Dept., * JANET : R...@UK.AC.LIV.CS.MVA or *
Liverpool University, * R...@000010500211.FTP.MAIL *
Merseyside, England, * Internet : RKL%mva.cs.l...@cunyvm.cuny.edu *
Great Britain. ****************************************************

0 new messages