home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / batutl / hdweelvl.arc / HDWEDEMO.BAT next >
DOS Batch File  |  1988-07-17  |  1KB  |  24 lines

  1. Echo off
  2. Rem -----------------------------------------------------------
  3. Rem HDWEDEMO.BAT 07-16-88 TEM Demonstrates program HDWEELVL.EXE
  4. Rem ------------------------- sets errorlevel to hardware byte.
  5. Rem -----------------------------------------------------------
  6.  
  7. Echo ROM BIOS hardware byte value and interpretation...
  8.  
  9. Hdweelvl
  10.  
  11. If errorlevel 255 Echo FF - Original 8088 PC CPU
  12. If errorlevel 255 Goto FINIS
  13.  
  14. If errorlevel 254 If Not Errorlevel 255 Echo FE - Portable, Early XT, 3270 PC
  15. If errorlevel 253 If Not Errorlevel 254 Echo FD - PC Junior
  16. If errorlevel 252 If Not Errorlevel 253 Echo FC - 80286: PC/AT or PS/2 50/60
  17. If errorlevel 251 If Not Errorlevel 252 Echo FB - XT Revision 1 or 2
  18. If errorlevel 250 If Not Errorlevel 251 Echo FA - 8086 CPU: PS/2 Model 30
  19. If errorlevel 249 If Not Errorlevel 250 Echo F9 - Uknown CPU
  20. If errorlevel 248 If Not Errorlevel 249 Echo F8 - 80386 CPU
  21.  
  22. Exit
  23. rrorlevel 249 If Not Errorlevel 250 Echo F9 - Uknown CPU
  24. If errorlevel 248 If Not Errorlevel 249 Echo F