Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfcpu()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfCpu()
INTEL CPU test
------------------------------------------------------------------------------
Syntax:

     dfCpu() --> nCpu

Parameters:

     NONE

Returns:

     <nCpu> Number which identifies the installed CPU
     
     +------------------+
     |#| CPU            |
     |-+----------------|
     |0| 8088           |
     |1| 8086           |
     |2| 80286          |
     |3| 80386          |
     |4| 80486          |
     |5| Pentium        |
     +------------------+

Description:

     Returns the installed CPU identifier.

Example:

     IF dfCpu() < 2
        dbMsgErr( "You need a 286 or higher" )
     ENDIF

See also:

     dfDskSer(), dfLed()

See Also: dfDskSer() dfLed()

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