
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_pcmodel()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
L_PCMODEL()
Syntax: L_PCMODEL()
Purpose: To determine the current system model.
Arguments: None.
Returns: An integer value representing the PC model of the
current system
Usage: The model number returned by some non-IBM machines is
the same as the IBM model they are emulating.
Values returned are to be interpreted as follows.
255 = IBM PC
254 = IBM PC/XT or portable PC
253 = IBM PCjr
252 = IBM AT
252 = IBM PS/2 Model 50
252 = IBM PS/2 Model 60
252 = IBM PC/XT286
251 = IBM PC/XT
250 = IBM PS/2 Model 30
249 = IBM PC Convertible
248 = IBM PS/2 Model 80
Known non-IBM PC model numbers.
252 = Compaq DeskPro 386/20
254 = Compaq DeskPro
45 = Compaq Portable
145 = Compaq Portable Plus
Knowledge of the system PC Model may allow decisions to
be made regarding processing speed, storage space or
other known hardware specifications deficiencies!
Examples: * Determine PC model
model = L_PCMODEL() && Result: 248
Language: Assembler
See Also: L_MATHPRO()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson