Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>cmosget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    cmosGet()

         Gets a CMOS position

    Syntax:

         cmosGet( nAddress ) -> nValue

         nAddress : The relative address into the CMOS. The address
                    table is given below.

    Description:

         Returns the value of a memory cell of the CMOS. It could be useful
         to determine various aspects about the system's setup. Remember that
         the input and output parameters must be specified in decimal code,
         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:

         A numeric value with the CMOS position.

    Example:

         ? cmosGet( 6 )           // returns the day of the week

See Also: cmosSet()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson