Discussion:
SWI equivalent of *Status
(too old to reply)
phorefaux
2025-01-03 22:02:41 UTC
Permalink
Hi all,

Is there an SWI equivalent to *status ?

Thanks
Paul

--
Jean-Michel
2025-01-04 10:26:28 UTC
Permalink
Post by phorefaux
Hi all,
Is there an SWI equivalent to *status ?
Thanks
Paul
From BASIC
OSCLI "status"
from C
system("status")
or
OS_CLI("status")
....
This executes a string passed to it as if it has been typed in the CLI.


Happy new year everybody.
--
Jean-Michel
Matthew Phillips
2025-01-04 12:56:13 UTC
Permalink
Post by phorefaux
Is there an SWI equivalent to *status ?
Perhaps what you are looking for are OS_Byte 161 (&A1) and 162 (&A2) which
allow you to read and write the non-volatile CMOS memory. This is where
the settings shown by *Status are stored.
--
Matthew Phillips
Durham
phorefaux
2025-01-07 21:27:49 UTC
Permalink
Post by Matthew Phillips
Post by phorefaux
Is there an SWI equivalent to *status ?
Perhaps what you are looking for are OS_Byte 161 (&A1) and 162 (&A2) which
allow you to read and write the non-volatile CMOS memory. This is where
the settings shown by *Status are stored.
Thanks. This looks to be what I'm looking for.

Regards
Paul

--
druck
2025-01-08 20:35:20 UTC
Permalink
Post by Matthew Phillips
Post by phorefaux
Is there an SWI equivalent to *status ?
Perhaps what you are looking for are OS_Byte 161 (&A1) and 162 (&A2) which
allow you to read and write the non-volatile CMOS memory.  This is where
the settings shown by *Status are stored.
Thanks.  This looks to be what I'm looking for.
Note that the interpretation of the CMOS bytes does vary with each
Loading...