INFOPLUS Version 1.47 Released to the public domain. By Andrew Rossmann, 8/2/91 Originally based on Steve Grant's Public Domain SYSID 4.44. Usage: [d:][path]INFOPLUS A system description for DOS-based PC/XT/AT- and PS/2-class machines. INFOPLUS generates 18 screens of information about the host system and runs under DOS versions 3.0 and later. My primary sources of ideas in INFOPLUS were Ray Duncans "Advanced MS-DOS" and Terry Dettman's "DOS Programmer's Reference." The ideas of Prakash Chandra,Terje Mathisen,Bob Smith, and others appear in various places. Also James Howard, John Levine, Mark Aitchison, Jay Caplan, David Tay, Heribert Eisele. Some of the techniques INFOPLUS uses are not documented or officially supported by either IBM or Microsoft. Where possible I have followed the undocumented routine with a comment describing my source for the technique. The following files are included with the runtime program: INFOPLUS.EXE - The main program INFOPLUS.HIS - Changes in each version INFOPLUS.DOC - This file INFOPLUS.PIF - Windows 3 Program Information File IP-PIF.DVP - Desqview Program Information File INFOPLUS.ICO - Icon for Windows 3 Program Manager PAGE_xx.INF - Text files describing what's on each page PRINTINF.EXE - Program to print all the information pages The following files are included with the source code: INFOPLUS.PAS - Main file IFPGLOBL.PAS - Global variables, constants, and types IFPCOMON.PAS - Routines common to many of the pages IFPRUN.PAS - General runtime manager IFPINIT.PAS - Initialization routines PAGE_xx.PAS - Each of the pages IFPEXTRN.PAS - Unit for external routines IFPSCRPT.PAS - Unit for screen printing INFOPLUS.ASM - assembly language procedures INFOPLUS.OBJ - Assembly routines for linking PRINTINF.PAS - For printing out the information pages Using INFOPLUS is easy. Just use the PGUP and PGDN keys to move from page to page. HOME and END will move to the first and last pages, respectively. If you hit ENTER, you can then type in the page you want to go to. If you hit ENTER without typing a new page number, it will re-run the current page. Hit ESC to end the program. Some pages won't fit all on one screen, for that you hit the DOWN ARROW key to get more information. Some pages let you hit UP ARROW to review already displayed information. If you want to save a copy of the information on a screen, hit ALT-P. A window will pop up. You can send your output to a File or the Printer. If a File already exists, you can Overwrite it, or Append to it. If your printer does not support the IBM 'graphics' characters (such as line drawing), then choose Normal ASCII. Lastly, you can optionally add an extra header line to the output. You can put anything you want there (up to 255 characters.) The most logical is to put a little information on what computer your using. ie: Betty's Office If you have trouble with bad colors on the screen, try setting your computer to MODE MONO or MODE BW80 before starting INFOPLUS. INFOPLUS will use a black and white palette if either of these modes are detected. If you are in a 40 column mode, INFOPLUS will run in 80 column, but return you back to 40 columns upon completion. 132 column modes are not supported because Turbo Pascal's CRT unit only works with standard modes, and I don't want to give up all the nice features. INFOPLUS does support more than 25 lines, although most of the pages are set up to look best at 25 lines. Some display modes do not properly return the correct number of lines. INFOPLUS comes with several files that end with the .INF extention. These files correspond with a matching page number. You can view or print out these file for explanations of what you see on each screen. For ease of use, a utility named PRINTINF comes with INFOPLUS. When you run it, you can have all of the .INF pages sent to your printer (or any DOS device or file.) Each information page will be paginated any way you like. Each new page will have a small header giving the Infoplus version it refers to, the page number, and what is on the page. WINDOWS 3.0 NOTES!!! You can add INFOPLUS to the Program Manager. Open the group that you want to put INFOPLUS in. Select File, New, Program item. Use whatever you want for the Description. For Command line, enter INFOPLUS.EXE, preceed with a drive and directory if not on your PATH. If you hit ENTER, and end up at the screen, select File, Properties. Hit Change Icon, and for the file name, use INFOPLUS.ICO. Then OK everything. Note that when you minimize Infoplus, you will see a standard DOS icon. This can't be changed. Desqview NOTES: Infoplus runs safely under Desqview, and is 'Desqview Aware.' If DV is detected, Infoplus will write to the screen using BIOS calls. This allows windowed screens even on non-386/486's. IP-PIF.DVP is a sample setup for Infoplus. The settings should be: Change a Program Program Name............: Infoplus Keys to Use on Open Menu: IP Memory Size (in K): 150 ------------------------------------------------------------------------------ Program...: C:\UTIL\INFOPLUS.EXE <---Change this for your own setup Parameters: Directory.: ------------------------------------------------------------------------------ Options: Writes text directly to screen.......: [N] Displays graphics information........: [N] Virtualize text/graphics (Y,N,T).....: [N] Uses serial ports (Y,N,1,2)..........: [Y] Requires floppy diskette.............: [N] Change a Program Advanced Options System Memory (in K).......: 0 Maximum Program Memory Size (in K)..: 150 Script Buffer Size.......: 1000 Maximum Expanded Memory Size (in K): 16 Text Pages: 2 Graphics Pages: 0 Initial Mode: Interrupts: 00 to FF ------------------------------------------------------------------------------ Window Position: Maximum Height: 25 Starting Height: 25 Starting Row...: 0 Maximum Width.: 80 Starting Width.: 80 Starting Column: 0 ------------------------------------------------------------------------------ Shared Program Pathname..: Data......: ------------------------------------------------------------------------------ Close on exit (Y,N,blank)......: [ ] Uses its own colors..............: [Y] Allow Close Window command.....: [N] Runs in background (Y,N,blank)...: [N] Uses math coprocessor..........: [Y] Keyboard conflict (0-F)..........: [0] Share CPU when foreground......: [Y] Share EGA when foreground/zoomed.: [Y] Can be swapped out (Y,N,blank).: [Y] Protection level (0-3)...........: [0] The Maximum Expanded Memory setting of 16 allows the VCPI detection to work. You can set this to 0 if you need to, or 9999 if you want Infoplus to detect it all (Infoplus does not actually use EMS at present.) The Maximum Program Size can also be varied if you wish. Personal information: My computer is a Gateway 2000 386/25 running MS-DOS 5.00, a 110M MicroScience ESDI drive w/ Ultrastor 12(F) controller, and an ATI VGA Wonder card. Compiled under Turbo Pascal 6.0 and Turbo Assembler 2.00. I use QEMM 5.11, Windows 3.0, and Desqview 2.31. Much of the additional info came from Ray Duncan's "Advanced MSDOS Programming" second edition (a must get book for anyone interested in low-level stuff.) Also, additional information on the DOS 4 boot sector format came from "The Norton Troubleshooter." A book that comes with The Norton Utilities 4.5. Even more information comes from Ralf Brown's interrupt list, which lists hundreds of goodies. It's available via BBS's, and resides on SIMTEL20 and many other public access UNIX sites. It's also available on the Infoplus BBS. The name is INTERxxy.ZIP, where xx is the version, and y is the part l. (This version of Infoplus used INTER26.) Additional information on XMS and DPMI came from the book 'Extending DOS' by Ray Duncan (and others.) Information on additional partition values came from numerous people of which I never wrote down their names!! Information on detecting VGA chipsets came from "Advanced Programmer's Guide to Super VGAs" by George Sutty and Steve Blair. Published by Brady. (NOTE! Beware of bugs in the detection routines in the above book!!) Information on reading the CMOS came from a program posted by Mark Aitchison on USENET. Information on detecting UART types came from David Tay and David Nugent (david@csource.oz.au) More information on VGA chipsets came from "Programmer's Guide to the EGA and VGA Cards, Second Edition" by Richard F. Ferraro. Published by Addison-Wesley. Information about how dangerous it is to pass too many flags, and some information about OS/2 came from Heribert Eisele (heribert@caen.engin.umich.edu) Andrew Rossmann Wheeling, IL I can be reached on one of the following boards: Infoplus 1-708-537-0247 (1200/2400) (my own board) RCS Defender 1-708-390-6603 (1200/2400, 2 lines) Beacon 1-708-615-0845 (1200/2400) DDSW1 1-312-248-0900 (1200/2400), 1-312-248-xxxx (Telebit PEP) Unix Mail: andyross@infopls.chi.il.us or uunet!infopls!andyross andyross@ddsw1.MCS.COM Compuserve: >INTERNET:andyross@infopls.chi.il.us From Steve Grant: Both the source and object code of SYSID are hereby released into the public domain. Neither version carries any warranty, expressed or implied, of merchantability or fitness for a particular purpose. Comments, suggestions, and questions may be addressed to: BIXMail: sjgrant CompuServe: 71101,706 Steve Grant Long Beach, CA January 13, 1989