home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer 7500
/
MAX_PROGRAMMERS.iso
/
INFO
/
BORLAND
/
JNFB88.ARC
/
GETCPU.ARC
/
WHATCPU.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1987-09-21
|
344 b
|
19 lines
PROGRAM WHATCPU;
VAR
CPUTYPE: integer;
{$L GETCPU}
FUNCTION GetCPU : integer; external;
BEGIN
CPUTYPE := GetCPU;
write('Processor is [80');
CASE CPUTYPE of
386: writeln('386]');
286: writeln('286]');
186: writeln('188/86]');
86 : writeln('88/86]');
END
END.