[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
cmosSet()
Sets a CMOS position
Syntax:
cmosSet( nAddress, nValue ) -> Nil
nAddress : The relative address into the CMOS. The address
table is given below.
nValue : The new value for the indicated position of the CMOS
Description:
DANGER!!
This function allows low level access to system. It should be used
with extreme care and requires a thorough knowledge of computer
Architecture.
Actualize the value of a cell of the CMOS memory. It could be very
useful to modify, quickly, the system's setup. Remember that the
input and output parameters must be specified in decimal, even when
the next table is given in hexadecimal base.
00h Seconds
01h Alarm seconds
02h Minutes
03h Alarm minutes
04h Hours
05h Alarm Hours
06h Day of week
07h Day of month
08h Month
09h Year
0Ah Status register A
0Bh Status register B
0Ch Status register C
0Dh Status register D
0Eh Diagnostic Byte
OFh Shutdown status byte
10h Diskette drive type byte - disk A and B
11h Reserved
12h Fixed disk type byte - disk C and D
13h Reserved
14h Equipment Byte
15h Low base memory byte
16h High base memory byte
17h Low expansion memory byte
18h High expansion memory byte
19-2Dh Reserved
2Eh Checksum byte 1
2Fh Checksum byte 2
30h Low expansion memory byte
31h High expansion memory byte
32h Date century byte
33h Flags Information byte
34-3Fh Reserved
Return:
Nothing.
Example:
? cmosSet( 0, 30 ) // Put the system seconds to 30
See Also:
cmosGet()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson