home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
clarion
/
chips.zip
/
CHIPS.COM
/
CHIP_TST.DOC
< prev
next >
Wrap
Text File
|
1989-09-28
|
1KB
|
42 lines
CHIP_TST is a small program that displays the processor and co-processor (if
any) for a particular computer. The CHIPS() function within the CHIPS.BIN LEM
makes this easy. CHIPS is derived from Pat Shea's assembly langauge program
of the same name (Copyright 1987 by Pat Shea - Psi!) which is, in turn, derived
from uncopyrighted published logic by Clif Purkiser and work adopted from Ted
Fogeron August 1987 PC Tech Journal article. If any other residual rights
could be conceivably be ascribed to me (Louis Berman) then I cede those rights
(with regaurds to the CHIPS.BIN LEM) to the public domain.
The CHIPS() function returns the following values as an integer:
8x if an 8088/8086
18x if an 80186/80188
28x if an 80286
38x if an 80386
20x for a NEC V20/V30
and
xx0 if NO NDP is found
xx1 if an 8087
xx2 if an 80287
xx3 for an 80387
A return of 280 means you got an 80286 machine with no NDP, 383 means you
have an 80386/80387 rig to work with, and a return of 81 sez that you have
8088/8086 CPU with an 8087. A 200 tells you that you got an NEC V20/V30
without a NDP. Ad-nauseum.
I hope you find this LEM, and the test program accompanying it, both useful
and interesting!
Louis S. Berman
President
BrainTree Consulting Ltd.
42-05 204th Street
Bayside, NY 11361
212-979-7032/718-279-2100