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>systype() - get system id byte, identifies computer</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     systype() - get system id byte, identifies computer
  Usage:    <integer> = systype()
  Params:   none
  Returns:  an integer equal to the system ID byte found in upper
            ram. You can determine the type of IBM computer you're
            running on with the following table:

            ROM DATE  ID   SYSTEM
            04/24/81  255  first IBM PC
            10/19/81  255  IBM PC with bugs fixed
            08/16/82  254  IBM PC XT (first one)
            10/27/82  255  IBM PC handling hard disk
            11/08/82  254  IBM portable PC, XT
            06/01/83  253  IBM PCjr
            01/10/84  252  IBM PC AT
            06/10/85  252  IBM PC AT rev 1
            09/13/85  249  IBM PC convertible
            11/15/85  252  IBM PC AT with speed governor
            01/10/86  251  IBM PC XT (rev 1)
            04/21/86  252  IBM PC XT 286 (sub model 2)
            05/09/86  251  IBM PC XT (rev 2)
            09/02/86  250  IBM PS/2 model 30
            02/13/87  252  IBM PS/2 model 50 (submodel 4)
            02/13/87  252  IBM PS/2 model 60 (submodel 5)
            03/30/87  248  IBM PS/2 model 80 (16mhz)
            10/07/87  248  IBM PS/2 model 80 (20mhz)

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

                 if (systype() == 255)
                      ? "This is an IBM PC"
                 endif

  Note:     Some Clone manufacturers do not put ID bytes in the Rom Bios.
            Most do to keep close compatibility with IBM.


See Also: romdate() cputype() ndptype() peek() poke()

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