Date : Sun, 11 Sep 2005 12:01:11 +0100
From : "Ian Wolstenholme" <BBCMailingList@...>
Subject: Re: checking ROMS.
The purpose of *HELP is to give you a list of keywords which you
can use to find out more about installed ROMs. *HELP won't show you
what banks are ROM, or sideways RAM, or show you in what ROM slot
a particular ROM is installed, unlike *ROMS and similar routines which
will give you this information.
The additional problem with *HELP is that if a particular ROM doesn't
respond to service call 9, then nothing will come up. BASIC is a case in
point, it has a language entry point but no service entry point. BASIC
wasn't given recognition in *HELP until the Master MOS 3.50 version.
Best wishes,
Ian
----- Original Message -----
From: Tim Matthews
To: <bbc-micro@...>
Sent: Sun, 11 Sep 2005 11:35:00 +0100
Subject: RE: [BBC-Micro] Re: checking ROMS.
*dumb question*
what do all these fancy routines do that *help doesn't...?
'cuse my ignorance :-)
tim.
> -----Original Message-----
> From: Majordomo List Manager [mailto:majordomo@...]
> On Behalf Of Jonathan Graham Harston
> Sent: 10 September 2005 23:30
> To: bbc-micro@...
> Subject: [BBC-Micro] Re: checking ROMS.
>
>
> > Message-ID: <2Yg+SDJLtsIDFwQ5@...>
>
> Mike Tomlinson <mike@...> wrote:
> > In article <1126349255.6331.0.camel@...>,
> Tom Drage
> > <drage@...> writes
> >
> > >Just wondering what the command for the BBC B is to list the
> > >installed ROMs, I couldn't find it in the manual?
> >
> > There isn't one. You can use this little program:
>
> Why the assembled machine code? You may as well just call OSRDRM
> direct:
>
> > FOR Y% TO 0 STEP -1
> Y$=RIGHT$("0"+STR$~Y%,2)
> > PRINT Y$"> ";
> > PRINT FNrom
> > NEXT
> > END
> > DEF FNrom
> > IF Y%?&2A1=0 := "(vacant)"
> > A%=&8009
> > a$=""
> > REPEAT
> !&F6=A%:B%=(USR&FFB9)AND&FF
> IF B%>31 AND B%<127:a$=a$+CHR$B%
> > A%=A%+1
> UNTIL B%=0
> > :=a$
>
> --
> J.G.Harston - jgh@... - mdfs.net/User/JGH
> BBC BASIC for Windows and Internationalisation
> See http://mdfs.net/Software/BBCBasic/Windows/ProgTips
>
>
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received.
Further communication will signify your consent to this.