Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>cputype() - get the type of cpu the machine has</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     cputype() - get the type of CPU the machine has
  Usage:    <integer> = cputype()
  Params:   none
  Returns:  an integer equal to the type of CPU running in the
            machine in the following formats:

                 Return    - Means
                 8086      - 8086 or 8088 processor
                 80186     - 80186 processor
                 80286     - 80286 processor
                 80386     - 80386 processor
                 -1        - don't know

 ---------------------------------- Example ---------------------------------

                 @ 10,0 say "This machine contains an "+;
                           str(cputype())+" Processor."


See Also: ndptype() systype() romdate()

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