home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / PROGRAM / BASIC / POWBASIC / LIBRARY3 / WHACPU.ZIP / WHACPU.BAS < prev   
BASIC Source File  |  1990-09-23  |  646b  |  21 lines

  1. $IF 0
  2.  This is a very short demo program that shows how to use
  3.  the Object code program, "GETCPU.OBJ" to use its Function
  4.  GETCOU.OBJ.
  5.  
  6.  Written using TASM 2.0 and PowerBASIC 2.10 , 9/1990 by
  7.    Barry Erick. Object code modified by Barry Erick from code
  8.    by  cliff Brown, Jeff Prosise, and Ethan Winer
  9.  
  10.  Note that this code works on 386 using QEMM-386 Memory manager
  11.  from Quarterdeck Office Systems and other code, such as PC Magazines
  12.  WhatCpu will not.
  13.  
  14. $ENDIF
  15.  
  16.  
  17. $LINK "getcpu.obj"        'Link in the object code
  18. DECLARE FUNCTION getcpu2%()    'Let the program know what's in there
  19. PRINT "The cpu is a";getcpu2%    'And print it.
  20.  
  21.