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

Saving CMOS in RPC

13 views
Skip to first unread message

freddy

unread,
Nov 15, 2009, 7:33:09 AM11/15/09
to
Hi,

I've come across this site http://www.bapfish.org.uk/acorn/cmos.html which
show you how to replace the onboard battery with a NiCd. I just want to
relocate the current onboard battery so there is no chance of leaking acid
on th motherboard for now, however before I do this how can I save my
current CMOS settings so they can be restored afterwards ?. I've looked on
the web can can not find a programme that can do this or instructions.

The RPC is running 4.39 on a SA at 233Mhz if that helps.

All guidance much appreciated :-)

Steve Fryatt

unread,
Nov 15, 2009, 7:49:35 AM11/15/09
to
On 15 Nov, freddy wrote in message
<9ySLm.12551$cv5....@newsfe27.ams2>:

Start Configure (double-click on !Boot, or choose the option from the Task
Manager's iconbar menu if that's present in 4.39), click Menu over the
window and select the appropriate option. Restore is a similar process.

However, if there's any doubt about being able to get to the desktop or run
Configure afterwards, you may be best off doing it the command-line way.
Press Ctrl-F12, then type

*Spool CMOSFile
*Status
*Spool

to save the *Status output into a file called CMOSFile in the root directory
of your disc (you can use a full filename if you prefer). Set the type of
this file to Obey, then load it into an editor and strip off to top and
bottom to leave just the status report lines. Then edit each line to start
with

Configure

which will give you an obey file that sets the CMOS using *Configure. You
can then run this to reset things roughly as they were (it may require a
little fine-tuning, as IIRC some of the Status lines don't exactly map to
*Configure options).

The belt and braces option may be to print this file out, too. That way you
can do it all by hand if it really does go wrong.

--
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/

freddy

unread,
Nov 15, 2009, 11:36:38 AM11/15/09
to
Steve,

Great explanation. I'm surprised there is not a small programme to do this
for you, nevertheless I'll give it a go.

Thanks :-)

"Steve Fryatt" <ne...@stevefryatt.org.uk> wrote in message
news:mpro.kt5iam02...@stevefryatt.org.uk...

Eric Rucker

unread,
Nov 15, 2009, 11:55:21 AM11/15/09
to
On Nov 15, 11:36 am, "freddy" <dsd....@hehg.com> wrote:
> Great explanation. I'm surprised there is not a small programme to do this
> for you, nevertheless I'll give it a go.

There is !SaveCMOS... don't have a clean RISC OS 4.02 "install" handy
on my RPCEmu image, but 3.7 had it, so it's in this file:
http://acorn.riscos.com/riscos3/37/37DiscArchive/utilities.zip

Message has been deleted

Dave Higton

unread,
Nov 15, 2009, 4:40:41 PM11/15/09
to
In message <9ySLm.12551$cv5....@newsfe27.ams2>
"freddy" <dsd...@hehg.com> wrote:

> I just want to relocate the current onboard battery so there is no chance
> of leaking acid on th motherboard for now

Sorry to be pedantic, but NiCads leak alkali, not acid.

Dave

Jonathan Graham Harston

unread,
Nov 15, 2009, 7:20:57 PM11/15/09
to
dsd...@hehg.com wrote:
> Great explanation. I'm surprised there is not a small programme to do this
> for you, nevertheless I'll give it a go.

There is. *LoadCMOS and *SaveCMOS. Usually lives in
<Boot$Dir>.Library.

I'll also repeat my recommendation: when you have a stable, working
system, save the CMOS settings so you can reload them in future if
you lose them. I usually save them as <Boot$Dir>.Configure.

If the CMOS settings are lost, do R-PowerOn to reset the CMOS. You
may then need *Configure IDEDiscs 1 or similar, then Ctrl-Reset to
get your hard drive back. Then, Shift-Dble-Click on !Boot,
Dble-Click on Configure.

(or from the command line, *!Boot.Library.LoadCMOS !Boot.Configure)

Shutdown, Ctrl-Reset, all back. (Econet station number has to be
reset seperately with *SetStation).

--
J.G.Harston - j...@arcade.demon.co.uk - mdfs.net/User/JGH
Spectrum Emulators - http://mdfs.net/Apps/Emulators/Spectrum

freddy

unread,
Nov 16, 2009, 3:30:18 PM11/16/09
to
Thanks all for the great advice

Brian N McQuillan

unread,
Nov 16, 2009, 11:40:27 PM11/16/09
to
In article <091116...@arcade.demon.co.uk>, Jonathan Graham Harston

<URL:mailto:j...@arcade.demon.co.uk> wrote:
> dsd...@hehg.com wrote:
> > Great explanation. I'm surprised there is not a small programme to do this
> > for you, nevertheless I'll give it a go.
>
> There is. *LoadCMOS and *SaveCMOS. Usually lives in
> <Boot$Dir>.Library.
>
> I'll also repeat my recommendation: when you have a stable, working
> system, save the CMOS settings so you can reload them in future if
> you lose them. I usually save them as <Boot$Dir>.Configure.
>
> If the CMOS settings are lost, do R-PowerOn to reset the CMOS. You
> may then need *Configure IDEDiscs 1 or similar, then Ctrl-Reset to
> get your hard drive back. Then, Shift-Dble-Click on !Boot,
> Dble-Click on Configure.
>
> (or from the command line, *!Boot.Library.LoadCMOS !Boot.Configure)
>
> Shutdown, Ctrl-Reset, all back. (Econet station number has to be
> reset seperately with *SetStation).
>
Can I ask; By Ctrl-Reset do you mean Ctrl-Break or hit the Reset button at the rear
of the machine while holding down the Ctrl key? Sorry for the lack of knowledge. I've
been doing a lot of rebooting/cntrl-break(ing) over the past week. I just wish I had
a stable machine at the moment (several earlier posts); no quite there yet; Netscape
startup with Unicode library problems have surfaced.

--
Brian N. McQuillan
WINMALEE NSW 2777
AUSTRALIA.

Brian N McQuillan

unread,
Nov 17, 2009, 8:02:19 PM11/17/09
to
In article <ant17042...@riscy.nom>, Brian N McQuillan

<URL:mailto:bmcq...@pnc.com.au> wrote:
> In article <091116...@arcade.demon.co.uk>, Jonathan Graham Harston
> <URL:mailto:j...@arcade.demon.co.uk> wrote:

<snip>

> > If the CMOS settings are lost, do R-PowerOn to reset the CMOS. You may then
> > need *Configure IDEDiscs 1 or similar, then Ctrl-Reset to get your hard drive
> > back. Then, Shift-Dble-Click on !Boot, Dble-Click on Configure.
> >
> > (or from the command line, *!Boot.Library.LoadCMOS !Boot.Configure)
> >
> > Shutdown, Ctrl-Reset, all back. (Econet station number has to be
> > reset seperately with *SetStation).
> >
> Can I ask; By Ctrl-Reset do you mean Ctrl-Break or hit the Reset button at the rear
> of the machine while holding down the Ctrl key? Sorry for the lack of knowledge. I've
> been doing a lot of rebooting/cntrl-break(ing) over the past week. I just wish I had
> a stable machine at the moment (several earlier posts); no quite there yet;
> Netscape startup with Unicode library problems have surfaced.
>

> .

"Netscape startup with Unicode library problems have surfaced."

Sorry, that should read NetSurf.

Jonathan Graham Harston

unread,
Nov 17, 2009, 6:25:14 PM11/17/09
to
bmcquill wrote:
> Can I ask; By Ctrl-Reset do you mean Ctrl-Break or hit the Reset
> button at the rear of the machine while holding down the Ctrl

On later versions of RISC OS Ctrl-Break performs the same action as
Ctrl-Reset, but, when doing something as drastic as wiping and
reloading CMOS settings, I always go for the Reset button. It
physically toggles the hardware Reset line which resets all the
hardware and will get anything that has got so messed up by a
corrupt-CMOS startup that the software Reset won't fix.


> > Shutdown, Ctrl-Reset, all back. (Econet station number has to be
> > reset seperately with *SetStation).

I've just checked my *LoadCMOS command, and if it has access to the
*SetStation command it sets the station number as well.The most perfect world is an imperfect world as the imperfections
give people a reason to strive to change it.
0 new messages