home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d6xx / d619 / sysinfo.lha / SysInfo / SysInfo.doc < prev    next >
Text File  |  1992-03-12  |  25KB  |  487 lines

  1.  
  2.                            SysInfo 
  3.                            -------
  4.                written in Assembler with Macro68 
  5.                ---------------------------------
  6.                 
  7. Written by      Nic Wilson                
  8.                 Nic Wilson Software
  9.                 138d South Street
  10.                 Toowoomba Queensland 4350
  11.                 
  12.                 Phone (076) 358539 A/H Voice only
  13.                       (076) 358384 W/H Fax or voice
  14.                       (076) 358522 W/H Voice only
  15.                       
  16.                 EMAIL   cbmvax!cbmaus!wilson!nic@uunet.uu.net 
  17.                   OR    cbmehq!cbmaus!wilson!nic@cbmvax.commodore.com     
  18.                       
  19.         This program was written due to the lack of such a program 
  20.         on the Amiga.  It has been written using HiSoft Devpac Assembler,
  21.         but since V2.55 is now being assembled with Macro68.
  22.         
  23.         I have placed this program on Shareware so that it can be
  24.         used by everyone.  All code, graphics and documents remain
  25.         copyright Nic Wilson Software.
  26.         
  27.         If you like this program, then help me to help you more by
  28.         sending a small donation. Any amount will be gratefully
  29.         appreciated and in return you will be sent the latest of
  30.         this and other programs.
  31.  
  32.                       *********************************            
  33.                       IMPORTANT FOR KICKSTART 1.2 - 1.3
  34.                       *********************************
  35.         Amigas that have a maths co-processor using kickstart 1.3 or 
  36.         earlier, MUST use SetPatch 1.34 or later otherwise this program
  37.         will crash.  This program uses 68881 & 68882 instructions and a 
  38.         bug in the kernal causes a guru.  SetPatch patches this bug.  
  39.         This is not required for OS V2.04 users but remember that you have 
  40.         a Setpatch also now, so use it.
  41.         
  42.         DISTRIBUTION CONDITIONS
  43.         -----------------------
  44.         
  45.         This program may be distributed freely on the condition that
  46.         no profit is gained from its distribution.  An amount of the
  47.         average retail price of a single 3.5 inch DSDD disk is allowed for
  48.         a copying fee. 
  49.         
  50.         THIS PROGRAM MAY NOT BE CRUNCHED IN AN EXECUTABLE FORM, DOING SO
  51.         IS CONSIDERED A VIOLATION OF THIS AGREEMENT.  THIS HAS BEEN DONE 
  52.         BECAUSE ALL CURRENT CRUNCHERS ON THE AMIGA FAIL ON THE 68040 
  53.         PROCESSOR.  IF YOU HAVE A 68040 AND ARE HAVING TROUBLE RUNNING 
  54.         SYSINFO OR OTHER PROGRAM, MAKE SURE THE PROGRAM IS NOT CRUNCHED.
  55.         
  56.         LHARC'ING IN AN ARCHIVAL FORM IS PERMITTED FOR DISTRIBUTION.
  57.         
  58.         Output results from the program may be reprinted without any
  59.         form of permission.  But please state the SysInfo Version number
  60.         used to obtain the results.
  61.         
  62.         This doc file and the icons must accompany the program unmodified.
  63.         
  64.         Additional document files of your own may accompany the program.
  65.  
  66.         Results from different Amiga configurations may be distributed
  67.         along with the SysInfo files.
  68.  
  69.         The executable is not modified in any way, except as specified.
  70.  
  71.         Further updated versions are distributed as available and as soon 
  72.         as possible.  You can always obtain an update by modem if you wish.
  73.         
  74.         COMMERCIAL COMPANIES 
  75.         --------------------
  76.         
  77.         I would appreciate being informed that you are distributing it 
  78.         although this is not a requirement.
  79.         
  80.         If a commercial company would like all their products listed by
  81.         name and manufacturer in the 'BOARDS' function, then send me your
  82.         manufacturer number and your product numbers for each board along
  83.         with a description of what each board is, and I will add them in
  84.         to the program.  We will then return you a copy of the program
  85.         with these changes, that you can distribute with your products.
  86.         See 'sysinfo.developer.doc' for more information.
  87.         
  88.         To have your hard disk recognised as a hard disk instead of an
  89.         'other drive', all I need is the name of your device driver.
  90.        
  91. INTRODUCTION
  92. ------------        
  93.         
  94.         Sysinfo is an Amiga Sytem Information program.  It interrogates
  95.         the Amiga and determines types of hardware, software, modes,
  96.         speed etc.  Users have found it very useful for determining
  97.         correct operation of an Amiga before purchase and that the
  98.         unit actually contains hardware that they are paying for, without
  99.         having to open it up.  It is under constant revision, and these
  100.         revisions are available from myself at any time.  My goal is to
  101.         make SysInfo the most informative and accurate information program
  102.         on the Amiga.  To do this I need your feedback and suggestions. 
  103.         
  104.         This program is tested with the program 'Enforcer'.
  105.         
  106.         Please be patient if you are running SysInfo on a standard
  107.         Amiga as it will take a while to perform its tests.  SysInfo
  108.         really interrogates your system and has to perform many timing
  109.         loops to test ram speed, type etc.  Some other programs sacrifice
  110.         accuracy by speeding the tests up, SysInfo takes time but does
  111.         an intensive test.  At times it also disables multitasking and may
  112.         blank the mouse pointer.  It will return to multitasking when
  113.         finished and the mouse pointer will return.
  114.         
  115.         TIMINGS FROM ONE VERSION OF SYSINFO TO THE NEXT
  116.         -----------------------------------------------
  117.         
  118.         If you are wondering how come SysInfo may give different results
  119.         from one version to the next, this is because it is under 
  120.         constant revision and accuracy is improved with each version as
  121.         YOU THE USER gives me feedback on varying models and 
  122.         configurations.  This feedback is very important, as it allows
  123.         SysInfo to grow into the most powerful and accurate System
  124.         information program and an invaluable tool for the Amiga.
  125.                 
  126.  
  127. USAGE   
  128. -----
  129.      FROM CLI
  130.      --------
  131.         run SysInfo <switch>
  132.                 
  133. <switch>        -p    Print info to standard redirection output
  134.                       instead of custom screen.
  135.                       EG.  SysInfo >prt: -p     (for printer)
  136.                            SysInfo -p           (for CLI window)
  137.                            SysInfo >filename -p (for a file)
  138.                                 
  139.                 -t    Mainly for internal, time testing use. 
  140.                       See 'NOTE ON SPEED COMPARISONS' below.    
  141.                       The custom screen will still open to keep
  142.                       the timing accurate, but no information will
  143.                       be printed to it.  On completion the screen
  144.                       will close and the information printed on the
  145.                       CLI window or redirected output.
  146.                       
  147.      FROM WORKBENCH
  148.      --------------
  149.         Double click the SysInfo icon.  After launch and various information
  150.         has been printed to the window you will be able to access one of five
  151.         gadgets in the bottom right of the window.  These are QUIT, MEMORY,
  152.         BOARDS, DRIVES, SPEED and PRINT.
  153.         
  154. QUIT    Does just that, exits the program completely. 
  155.  
  156. MEMORY  Is explained below
  157.  
  158. BOARDS  Is explained below. 
  159.  
  160. DRIVES  Is explained below. 
  161.  
  162. SPEED   Runs the speed comparisons and displays the result accordingly. 
  163.         This can be selected as many times as you wish so the results
  164.         can be averaged.  This now works differently than older versions
  165.         of SysInfo.  Users of standard speed Amiga's had to wait quite
  166.         a long time before the other gadgets could be accessed.  This was
  167.         a nuisance if you only required certain info.  This change has
  168.         not affected the -p function in anyway.
  169.         
  170. PRINT   Will open a window and prompt for a filename and an optional
  171.         heading string,  This heading string will be printed at the
  172.         top of the page and can have a maximum of 100 characters.
  173.         
  174.         Enter a path and filename to save to, or to choose the default 
  175.         'PRT:' for output to a printer by clicking the 'OK' gadget.
  176.         
  177. DRIVES GADGET
  178. -------------
  179.         When this gadget is clicked another window will open and display
  180.         a gadget for each floppy, hard or rad drive you have connected
  181.         to your Amiga.  In the middle of the window you will see Information
  182.         on the paticular drive that has its gadget highlighted.  To select
  183.         a particular drive, just click on its gadget.  To re-read the same
  184.         drive, click in its gadget again (useful for rereading a floppy
  185.         when the disk has been changed).
  186.     
  187.     SCSI GADGET
  188.     -----------
  189.                 NOTE This function may not work on some brands device
  190.                 ---- drivers as they may not support the required 
  191.                      commands.  If this happens you may just see an 
  192.                      error message in the window for each device it 
  193.                      found that failed to respond to the direct scsi 
  194.                      command. Each device's unit number will still be
  195.                      displayed at the start of each error string under
  196.                      the 'ID' heading.  In this case contact the  
  197.                      manufacturer of your hard disk controller and 
  198.                      enquire if they have an update that supports CBM's 
  199.                      'HD_SCSICMD' command and RigidDiskBlock structure.
  200.                      
  201.  
  202.         This gadget will be ghosted for drives that are obviously not
  203.         SCSI drives.  The SCSI function will display info on all drives
  204.         that are operated through a single device driver, there is 
  205.         no need to click the SCSI gadget for all drives, unless some
  206.         use a different device driver name as shown in the 'drives window'.
  207.         Select one of the drives and click the SCSI gadget.  A new window
  208.         will open an attempt to read all SCSI drives on LUN (Logical Unit
  209.         Number) zero.  If valid drive is found, various information will be
  210.         displayed.  This information consists of the drive 'ID', its 'TYPE',
  211.         the 'MANUFACTURER', 'MODEL', and 'VERSION'.  Also displayed is the
  212.         number of blocks the drive has.  The drive's ACTUAL size is displayed
  213.         and if the drive supports CBM's RigidDiskBlock, the formatted size
  214.         is also displayed beside the actual size.  This allows you to see
  215.         if a larger drive than you thought you had is in the computer.  I
  216.         have seen some A2500's with a formatted size of 40MB that actually
  217.         had QUANTUM 52 Meg hard drive.  If your drive's supplier has
  218.         not followed CBM's RigidDiskBlock then the formatted size will not
  219.         be displayed, but most user already know the size they beleive is
  220.         in the system.  If these sizes are different then your hard drive
  221.         will require reformatting correctly.  If the 'ACTUAL' size is smaller
  222.         than your formatted size then you will eventually have problems so
  223.         your drive will still need formatting correctly.  
  224.           
  225.  
  226. BOARDS GADGET
  227. -------------
  228.         When this gadget is clicked another window will open and display
  229.         various information on any AutoConfig  boards found in the
  230.         system.  This information consists of the memory address of where
  231.         the board was configured, its size, and the type of board.  The
  232.         types to date, can be ZORRO II or ZORRO III, any others are
  233.         not yet defined by Commodore and will be displayed as UNDEFINED.
  234.         The boards Product number, manufactures ID and the serial
  235.         number will also be displayed.  If SysInfo recognises the 
  236.         manufacturer of the card and or the product itself it will display 
  237.         the names instead of the numbers.  Note that a standard A3000 has 
  238.         no AutoConfigure  boards as such,  its extra hardware is known 
  239.         by the special Kickstart files and its memory and hard drive are 
  240.         added to the system by this kickstart.  A2000 users using zkick to 
  241.         load V2.0 will also notice that their memory boards will not show 
  242.         in the AutoConfig list, as they were actually configured by 1.3 and 
  243.         zkick patches them in to the memory list. 
  244.         
  245. MEMORY GADGET
  246. -------------
  247.         When this gadget is clicked another window will open and display
  248.         various information on any memory in the system.  The first section
  249.         displayed will be the first memory section that was configured by
  250.         the system.  At the bottom left of the display are two gadgets,
  251.         'NEXT' and 'EXIT'.  The next gadget changes the display to show the
  252.         next memory section, until no more sections are found.  At that time
  253.         the window will close and return to the main window.  The exit gadget
  254.         exits immediately to the main window.
  255.         
  256.  
  257. SPEED COMPARISONS
  258. -----------------
  259.         THE SPEED COMPARISON CODE HAS BEEN WRITTEN TO GIVE A FAIR INDICATION
  260.         OF THE SPEED OF A PARTICULAR AMIGA.  IT USES A COMBINATION OF ALL
  261.         MOTOROLA INSTRUCTIONS TO BOTH REGISTERS AND MEMORY IN A PERCENTAGE
  262.         THAT POPULAR AMIGA PROGRAMS AND COMPILERS HAVE USED. 
  263.  
  264.         The A500 STANDARD comparison is against a PAL A500 totally 
  265.         unexpanded (ie. no Fast Ram), or expanded to 1 Meg chip only.  
  266.  
  267.         The B2000 EXTRA RAM comparison is against a PAL B2000 Rev 4.4 with
  268.         a Microbotics 8-UP Fast Ram board fitted with 80ns DRAMS. 
  269.         
  270.         The GVP A3001 comparison is against a B2000 Rev 4.4 with a GVP A3001
  271.         acellerator card, using a clock speed of 28.33 MHZ.  All caches and 
  272.         bursts on.  The board also contained 4 megs of 32 bit wide, 80ns
  273.         nibble mode DRAM.
  274.         
  275.         The A2620 comparison is against a standard A2500 with a A2620
  276.         card running at 14.3 MHZ.  All caches and bursts on.
  277.         
  278.         The A3000 25 MHZ comparison is against a standard PAL A3000/25 MHZ
  279.         with 4 Megs of 1MX4 SCRAMS 80ns 32 bit wide, and 2 Megs of CHIP. 
  280.         Caches and Bursts on except Data Burst (default under V2.04 V37+).   
  281.         Ramsey mode was set at default, BURST ON and STATIC COLUMN OFF.
  282.         
  283.         The A3000 with the 68040 25 MHZ board from Progressive Peripherals
  284.         & Software.  This comparison is now exact.  I have one of these 
  285.         boards in my A3000 (Thank-you to Progressive for your generosity),
  286.         It reflects the 68040 running with ICACHE, DCACHE and COPYBACK
  287.         modes selected, running under A3000 Kickstart ROMS V37.175 with
  288.         68040.library installed.
  289.         
  290.         IBM PC/XT compares your Amiga to a standard old IBM PC, such
  291.         as Norton Utilities did.  Because the IBM world still use
  292.         this in their adverts, it allows you to compare your system
  293.         to the ones being advertised.  The test results are comparable
  294.         to the 'Norton SI' speed tests. 
  295.         
  296.         CPU MIPS (Million Instructions per Second) This test calculation
  297.         has been coded from all information I have been able to find
  298.         to date.  It seems quite debatable how this is supposed to be
  299.         coded and I received different information from people.  It does 
  300.         a very large loop performing a total of 4.25 million instructions
  301.         ranging from general instructions, divide, multiply, logic shifts,
  302.         rotations etc.  I CANNOT AND DO NOT GUARANTEE ITS ACCURACY, except
  303.         to say it is accurate to the point, it did do the number of 
  304.         instructions per second that it stated.  Comments on this approach 
  305.         or a better one are most welcome.
  306.         
  307.         FPU MFLOPS (Million Floating Operations per Second)  This test
  308.         calculation was similar to the above one, in that information
  309.         on the recognised way was very sketchy.  If an Amiga does not
  310.         have an FPU, N/A will be shown in this field as any performance
  311.         test would be meaningless.  The final code shows known boards
  312.         to be at or around thier advertised speeds.  It does a very large
  313.         loop performing instructions that take an average number of 
  314.         clock cycles, times the loop then displays the result.  I CANNOT 
  315.         AND DO NOT GUARANTEE ITS ACCURACY.  If anyone has a better 
  316.         routine for this I would be very interested.  This routine is
  317.         not compatible with a 68881 on a 68000 system such as the Phoenix
  318.         board and will show N/A.
  319.  
  320.  
  321. CIA TIMER TEST
  322. --------------
  323.         This is a test of the speed accuracy of the CIA (A) timer 
  324.         in the Amiga.  I have recently had enquiries by users that
  325.         their Amigas were showing very slow or very fast speeds on
  326.         SysInfo.  Investigation showed that their CIA's were very 
  327.         inaccurate for various reasons.  On normal use you may not 
  328.         even notice that there is anything wrong.  Symptoms can show
  329.         system clock running fast or slow, SysInfo type programs show
  330.         wrong results.  
  331.         A correctly working system will show 'PASSED' beside the
  332.         CIA ACCURACY string and '0' beside the TICKS PER SECOND string
  333.         else if there is a problem it will show the number of ticks per
  334.         second the inaccuracy is.  
  335.  
  336.         The most common cause I have seen for inaccuracy on a B2000 is a
  337.         noisy power supply.  This can be corrected by changing J300 jumper
  338.         (toward the rear right of the mother board (under the power supply))
  339.         to connect to the right set of the three pins.  This will change
  340.         the system tick to the VBLANK connection and correct the inaccuracy.    
  341.         
  342.         NOTE  Changing J300 to VBLANK can cause problems on GVP 68030
  343.         cards.  I do not know why, but GVP owners should not change this
  344.         jumper.  If you know why this is I would like to know.
  345.  
  346. FREE MEMORY
  347. -----------
  348.         This shows the amount of free memory as if the program is not
  349.         running so may not be accurate to the byte, but is a very close 
  350.         indication of the free pool.
  351.         
  352.         The TOTAL MEMORY is the total amount of memory that the Exec
  353.         memory list reports.  Tests have showed that this figure is
  354.         around 800 odd bytes short of actual under Kickstart 1.3.  This 
  355.         seems to be the amount of memory that exec takes itself, and never
  356.         gets added to this list.
  357.         
  358.         RAM SPEED vs CHIP is a calculated performance test of your
  359.         CHIP RAM vs your PUBLIC RAM.  The result is shown as a
  360.         percentage increase in the speed of the PUBLIC RAM.  If no
  361.         FAST or SLOW ram is available then the result will be around
  362.         0%, and this figure can change depending on CHIP ram usage at
  363.         the time.  This figure cannot be used as a speed comparison
  364.         between machines.  For example the A3000 Chip ram is around
  365.         3.5 times the speed of an A2000's CHIP with a 68030 board 
  366.         installed.  Therefore the A3000's Fast ram will not show a
  367.         comparable increase to the A2000.  It was mainly designed
  368.         to test the difference between fast ram cards or chips on
  369.         the same unit.
  370.  
  371.         HARDWARE CLOCK only looks for the standard 2000, 500 or 3000
  372.         Hardware clock.  It does not look for the multitude of different
  373.         clocks that were available for the 1000.
  374.  
  375. INTERNAL HARDWARE
  376. -----------------
  377.         This shows internal harware as the program has found it.
  378.         ECS stands for ENHANCED CHIP SET.  If Agnus or Denise show
  379.         this then they are the lastest custom chips.  The number that
  380.         is shown in brackets is the actual chip number, this helps in 
  381.         physical identification of the chips.  The program is also
  382.         able to tell the difference between the 1MB & 2MB versions
  383.         of Super Agnus.  Many users have queried the possibility of
  384.         doing this and beleive I check the memory amount.  The 1MB and
  385.         the 2MB Agnus chips do not have any different signature registers
  386.         so in order to tell them apart I used a quirk of the way the 
  387.         Amiga is designed.  The 1MB Agnus only decodes the first meg
  388.         space and so the second meg space has a 'ghost' image of the 
  389.         first.  A 2MB agnus does decode the second meg space so no
  390.         ghost image is present.  SysInfo checks for this a reports
  391.         the difference.  This theory I beleive is quite sound, and was
  392.         tested on as many 1MB and 2MB Amiga's as I could find.  
  393.         
  394.         CPU's  68000, 68010, 68020, 68030 and 68040 are supported
  395.         and will be displayed if found.  If Exec is incorrect then
  396.         a window will open, and ask you if you want exec to be updated
  397.         to reflect the correct hardware.  This is mainly for Kickstart
  398.         1.3, as it is not normally aware of later processors.
  399.         
  400.         FPU's or Floating Point Units 68881 and 68882 and internal 68040
  401.         are supported and will be displayed if found.  These chips are 
  402.         also often referred to as maths co-processors.  Wether or not you 
  403.         have one is tested by the program, and if Exec is incorrect a 
  404.         window will open and ask you if you want Exec corrected. 
  405.         If a 68040 is found and a CORRECTLY working 68882 emulation then
  406.         the FPU string will show '68040+68882'.  If yours does not show
  407.         this then contact your board manufacturer and ask for a copy
  408.         of Commodore's V37.2 (or greater) 68040 software. 
  409.  
  410.         MMU's or Memory Management Units 68851 or the internal 68030 and
  411.         68040 are supported.  These are actually tested for as Exec does not 
  412.         carry this info.  The 68451 never became very popular so is not 
  413.         supported.
  414.  
  415.         SPEED IN MHZ is a rough indication of the clock speed.  This is
  416.         not totally accurate but is a good indication.  It at least allows
  417.         you to know wether your system is 7MHZ, 16MHZ or 25MHZ etc.
  418.         All caches, bursts and copyback modes are temporarily enabled during
  419.         the test for greater stability, but this should be transparent to
  420.         the user and they will be returned to their original state after the
  421.         tests.  Clock Speed is normally difficult to find out unless you 
  422.         take the unit apart and even then is difficult.  Fast ram must be 
  423.         available for this to be anywhere near accurate, as the timing loops 
  424.         were all based on machines with some Fast ram available.  For a 68000
  425.         based Amiga, the program will take into account if no fast ram is 
  426.         available and calculate the correct speed accordingly. 
  427.         
  428.         WR.ALLOC or Write through is only applicable to 68030 and 68040
  429.         processors.  This shows if it is currently enabled or disabled.
  430.         When enabled (always in an 68030/A3000) the processor updates the data
  431.         cache on cachable writes.
  432.          
  433.         COPYBACK is only applicable to the 68040.  This shows if it is
  434.         currently enabled or disabled.  This is rather a difficult mode,
  435.         because with the MMU it is possible that it may be enabled somewhere
  436.         within the memory map and not others.  The test here only looks if
  437.         it is enabled within either of the data transparent translation
  438.         registers.  It looks at both so it can be compatible with various
  439.         MMU configurations.  When enabled, the processor only updates the 
  440.         cache on writes and memory is only updated when absolutely necessary 
  441.         or it is forced to do so.
  442.         
  443.         INS. CACHE or Instruction Cache is applicable to 68020, 68030 and
  444.         68040 processors.  This shows if it is currently enabled or
  445.         disabled.  
  446.         
  447.         INS. BURST or Instruction Burst is applicable to 68030 processor.  
  448.         This shows if it is currently enabled or disabled.
  449.         
  450.         DAT. CACHE or Data Cache is only applicable to 68030 and 68040
  451.         processors.  This shows if it is currently enabled or disabled.  
  452.         
  453.         DAT. BURST or Data Burst is only applicable to 68030 processor.  
  454.         This shows if it is currently enabled or disabled.  
  455.  
  456.         THINGS I WOULD LIKE TO ADD
  457.         --------------------------
  458.         
  459.         1. Ability to check Amiga model (A1000, A500, A2000)  is it possible?
  460.            It is on the A3000 because of its specific hardware.
  461.         
  462.         2. I think I have split the XT and AT bridgeboard, although it is
  463.            untested.  Could someone try it and let me know please.  
  464.  
  465.         3. Your ideas!
  466.         
  467.         Any suggestions preferably in assembler but I can translate
  468.         C if I have to.  Yuk!! :-)
  469.                       
  470.                 
  471. NOTE ON SPEED COMPARISONS
  472. -------------------------
  473. If you have any of the machines listed above, or even a totally 
  474. different configuration, run the program with -t option (eg. sysinfo -t )
  475. then phone or email with the resulting numbers that will be printed to the 
  476. screen.  My phone number, email address or fax is at the top of this file.              
  477.                       
  478. Happy Computing
  479.  
  480. Nic Wilson
  481.  
  482. Amiga, AutoConfig, AutoConfigure and Intuition are TradeMarks of 
  483. Commodore Amiga Inc.
  484.  
  485.  
  486.  
  487.