Subject: Re: RiscOS 2000 show report
To: None <port-arm32@netbsd.org>
From: Dave Daniels <dave_daniels@argonet.co.uk>
List: port-arm32
Date: 10/28/2000 11:19:25
In article <Pine.NEB.4.29.99999.0010262233510.9445-100000@localhost>,
   David Brownlee <abs@netbsd.org> wrote:
> 	Set something that is stored in the NVRAM, boot NetBSD, type
> 	reboot and check the setting is still there :)

Bytes 30 to 45 of the CMOS are reserved for use by the user so
you can stick anything you like there. Use OS_Byte 162 to
store something in a byte, for example, in Basic you could
type:

        SYS "OS_Byte", 162, 40, 123

You can then read it back with OS_Byte 161:

        SYS "OS_Byte", 161, 40 TO , , X%
        PRINT X%

So store a known value in the CMOS, boot NetBSD, use reboot and
then check that the value stored is what you expect.

Dave Daniels