home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 627a.lha / SysInfo_v2.60 / SysInfo.Doc.pp / SysInfo.Doc
Encoding:
Text File  |  1992-04-09  |  24.7 KB  |  486 lines

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