home *** CD-ROM | disk | FTP | other *** search
- $IF 0
- This is a very short demo program that shows how to use
- the Object code program, "GETCPU.OBJ" to use its Function
- GETCOU.OBJ.
-
- Written using TASM 2.0 and PowerBASIC 2.10 , 9/1990 by
- Barry Erick. Object code modified by Barry Erick from code
- by cliff Brown, Jeff Prosise, and Ethan Winer
-
- Note that this code works on 386 using QEMM-386 Memory manager
- from Quarterdeck Office Systems and other code, such as PC Magazines
- WhatCpu will not.
-
- $ENDIF
-
-
- $LINK "getcpu.obj" 'Link in the object code
- DECLARE FUNCTION getcpu2%() 'Let the program know what's in there
- PRINT "The cpu is a";getcpu2% 'And print it.
-