home *** CD-ROM | disk | FTP | other *** search
/ Kosovo Orphans' Appeal Charity CD / KosovoOrphansAppeal.iso / archimedesworld_cd2 / utilities / _cmosprobe / _help < prev    next >
Text File  |  1997-04-11  |  21KB  |  480 lines

  1. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  2. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Q
  3. @@                                                                   @@
  4. @@   CCCCC MM   MM  OOOO   SSSSS PPPPP                               @@
  5. @@  CC     MMM MMM OO  OO SS     PP  PP                              @@
  6. @@  CC     MMMMMMM OO  OO SS     PP  PP  rrrr   oooo  bb      eeee   @@
  7. @@  CC     MM M MM OO  OO  SSSS  PPPPP  rr  rr oo  oo bb     ee      @@
  8. @@  CC     MM M MM OO  OO     SS PP     rr     oo  oo bbbbb  eeeee   @@
  9. @@  CC     MM   MM OO  OO     SS PP     rr     oo  oo bb  bb ee  ee  @@
  10. @@   CCCCC MM   MM  OOOO  SSSSS  PP     rr      oooo   bbbb   eeee   @@
  11. @@                                                                   @@
  12. @@                               by                                  @@
  13. @@                                                                   @@
  14. @@                          Mike Whiteman                            @@
  15. @@                                                                   @@
  16. @@                 Version 1╖06 (7th April 1997)                     @@
  17. @@                                                                   @@
  18. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  19.  
  20. CMOS RAM
  21. --------
  22.  
  23. There are 240 bytes of memory allocated to what is known as CMOS RAM.  This
  24. RAM is also known as non-volatile memory because, unlike normal RAM, its
  25. contents are not lost when the computer is switched off.  A small battery
  26. exists within the computer which also keeps the internal clock running while
  27. the computer is turned off.
  28.  
  29. Most of the CMOS RAM bytes are either reserved or used by Acorn.  Some are
  30. reserved for expansion card use whilst others are to be used by third-party
  31. developers.  You must contact Acorn for an allocation. 16 bytes (30 through
  32. to 45) are reserved for the user.  These can be used for any reason but not
  33. in any program that is to be distributed.
  34.  
  35. Warning
  36. -------
  37.  
  38. Although altering the contents of any CMOS RAM location cannot damage your
  39. computer it could cause some serious side effects which can be difficult to
  40. resolve.  E.g. If you change the MonitorType you will not be able to see a
  41. display in order to change it back again.  For this reason, you should make
  42. a backup of your current CMOS RAM state by using CMOSProbeæs Save dialogue
  43. box.  This way, if you do get into trouble, you can perform a Delete power
  44. on which resets the computer to its factory defaults.  To reinstate the CMOS
  45. RAM settings; if you saved the data as ÉConfigæ (file type (&ff2) then just
  46. double click on it, if you saved the data as ÉCMOSáRAMæ (&14d) then load it
  47. into CMOSProbe and use the ÉWrite CMOSæ option from the main menu.
  48.  
  49.  
  50. Program Notes
  51. ~~~~~~~~~~~~~
  52.  
  53. Risc OS
  54. ------- 
  55.  
  56. CMOSProbe requires RISC OS 3.10 or later and is fully compatible with the
  57. Risc PC running RISC OS 3.5, 3.6 & 3.7.  CMOSProbe is also StrongARM
  58. compatible.
  59.  
  60. Should a problem arise then please contact me at the address on page 10
  61. stating the operating system CMOSProbe was running on.
  62.  
  63. Hard Disc Installation
  64. ----------------------
  65.  
  66. CMOSProbe can be installed onto a hard disc simply by dragging its icon in
  67. the directory viewer to a directory of your choice.
  68.  
  69. About CMOSProbe
  70. ---------------
  71. CMOSProbe is a versatile utility for viewing, editing and saving CMOS RAM.  
  72.  
  73. Features
  74. --------
  75.  
  76. CMOSProbe has many features including;
  77.  
  78. Å Full multi-tasking.
  79. Å Interactive help fully supported.
  80. Å Pinboard Iconizing fully supported.
  81. Å Desktop boot saving implemented.
  82. Å Suitable for 1 Megabyte machines
  83. Å 2 or 3D templates depending on setting of the 3D CMOS RAM bit
  84. Å Supports file saving as either Configure (&ff2), Text (&fff) or
  85.   CMOSProbeæs own file format (&14d).
  86. Å Loads Configure files as well as CMOSProbeæs own file format.
  87. Å Hexadecimal or decimal display of CMOS RAM locations.
  88. Å Easy editing.
  89. Å Search facility
  90.  
  91. Using the manual
  92. ----------------
  93.  
  94. Certain conventions are used throughout this manual.
  95.  
  96. Å Specific keys that should be pressed are shown as Return, Escape, etc.
  97.  
  98. Å Mouse button clicks are shown as SELECT, MENU and ADJUST.
  99.  
  100. There are 240 bytes allocated to CMOS RAM and they are referred to as
  101. Élocationsæ throughout this manual.  Each location contains eight bits each
  102. of which may be set or unset.  Some locations use all eight bits to set one
  103. specific configuration, e.g.  Printer ignore character.  Others may have
  104. each bit used for different configurations, e.g.  Screen info. Getting To
  105. Know CMOSProbe
  106.  
  107. Running CMOSProbe
  108. ~~~~~~~~~~~~~~~~~
  109.  
  110. CMOSProbe is run in the usual way by double clicking on its icon in the
  111. directory viewer.  Itæs icon will appear on the right-hand side of the icon
  112. bar.
  113.  
  114. Icon Bar Menu
  115. -------------
  116.  
  117. Clicking MENU over the icon bar icon displays a menu with two options;
  118.  
  119. Info
  120.       Move the pointer over the arrow to display the ÉAbout this programæ
  121.       info box.  This window reveals the usual information about CMOSProbe.
  122.  
  123. Quit
  124.       Click SELECT or ADJUST to quit CMOSProbe and remove its icon from the
  125.       icon bar.  If any location has been edited but not yet saved to disc
  126.       or written back to CMOS RAM you will be asked to confirm that you
  127.       really want to quit CMOSProbe.  This gives you the opportunity to
  128.       save/write the data.
  129.  
  130. CMOSProbe Main Window
  131. ---------------------
  132.  
  133. Clicking SELECT over the icon bar icon opens up CMOSProbeæs main window.
  134. Rather than display all 240 locations in one window which causes it to look
  135. cluttered CMOSProbe displays the locations in four groups of 60 (viz. 0-59,
  136. 60-119, 120-179 and 180-239).  Each of these groups can be selected by
  137. clicking on one of the four Érangeæ icons at the bottom left of the window.
  138.  
  139. Each of the 60 locations are laid out so that the location value
  140. (ÉContentsæ) is displayed just above the location number.  The locationæs
  141. contents may be displayed as either a decimal or hexadecimal number by
  142. selecting one of the two buttons, marked öContents valuesò,  at the bottom
  143. right of the window.
  144.  
  145. Please note that the contents for location zero are displayed with a dark
  146. background and in blue text while location 239 is displayed with the same
  147. background but in red text.  This is to signify that, as stated in the PRM,
  148. neither of these to locations (Econet station number & Checksum
  149. respectively) should be written too directly.  To this effect CMOSProbe does
  150. not allow the user to edit the values in these two locations although you
  151. may still view them.
  152.  
  153. The Checksum value is automatically re-calculated when the data is written
  154. back to CMOS RAM using the main menu option (ÉUpdate CMOSæ) described below. 
  155. If the Checksum value has changed then the relevant display is updated.
  156.  
  157. Main Window Menu
  158. ----------------
  159.  
  160. Clicking MENU anywhere over the main window opens up a menu with the
  161. following items;
  162.  
  163. Info
  164.       Move the pointer over the arrow to display the ÉAbout this programæ
  165.       dialogue box.  This window reveals the usual information about
  166.       CMOSProbe. Find Move the pointer over the arrow to display the Find
  167.       dialogue box.  You can use this window to search for the location (and
  168.       relative bit) for a known CMOS setting (e.g. 3D).  Pressing F4 when
  169.       CMOSProbe has the input focus also opens up the find window.  See Find
  170.       Window below.
  171.  
  172. Save as
  173.       This option leads to a submenu containing the three different file
  174.       types supported for saving.  Move the pointer over the relevant arrow
  175.       to open the correct save box for the type of file you wish to save See
  176.       Saving data below.
  177.  
  178. Read CMOS
  179.       Selecting this item forces CMOSProbe to read the current state of CMOS
  180.       RAM and update the display.  The data will then be marked as
  181.       unaltered.
  182.  
  183. Write CMOS
  184.       Selecting this item writes any changes made back to CMOS RAM.  The
  185.       data is consequently marked as unaltered.  See Updating CMOS RAM
  186.       below.
  187.  
  188. Find dialogue box
  189. -----------------
  190.  
  191. The find dialogue box offers the user the opportunity to find the correct
  192. location for any CMOS RAM setting he/she wishes to set/unset.
  193.  
  194. Figure 1 shows the find dialogue box.  Each icon and its use is described
  195. below;
  196.  
  197. Find
  198.       This is the default action button and is used to start a search. 
  199.       Pressing Return has the same effect.  If no search string has been
  200.       entered CMOS Probe will prompt you to enter suitable text.
  201.  
  202. Last/Next
  203.       These icons are greyed-out until a search has started and at least one
  204.       match has been found (e.g. there are many locations for unplugged ROM
  205.       Modules).  This allows you to search through all occurrences of the
  206.       matches stepping backwards and forwards as you wish till you find the
  207.       right one.  Using this facility in conjunction with ÉAuto-open
  208.       Location windowæ offers more versatility. Cancel Clicking on this
  209.       button cancels the search and closes the window.  Pressing Escape or
  210.       clicking anywhere else with the desktop also cancels the search.
  211.  
  212. Search for
  213.       Enter a search string here.  The search is not case sensitive (e.g.
  214.       Dragging, DRAGGING & draGGing will all find the same locations).  Also
  215.       öMoò will match with öModeò, öModuleò, etc.
  216.  
  217. Can be found at
  218.       This icon displays the Location number (and bit number) of CMOS RAM if
  219.       there is a match.  If no match is found then either öNot found!ò or
  220.       öNo more found!ò will be displayed.
  221.  
  222. Auto open location window
  223.       With this option on (ticked), when a match is found CMOSPRobe will
  224.       automatically open the Location window (see below) for viewing &
  225.       editing the setting.  The ÉBitæ description window will also be open. 
  226.       If all eight bits are used together to set the location then the
  227.       information for bit zero is displayed otherwise the relevant bit will
  228.       be displayed.
  229.  
  230. A brief description with example of how to use the Find facility follows;
  231.  
  232. Lets assume, for arguments sake. that you wish to view/alter the location
  233. and bit used to set the ÉWimp Modeæ but do not know which location is used.
  234.  
  235. Open the dialogue box as described above and enter the string öModeò.  Now
  236. click on ÉFindæ or press Return.  The ÉCan be found atæ icon will display
  237. öLocation 198 Bit 0ò.  If ÉAuto-open location windowæ is ticked then the
  238. Location window will be opened displaying location 198 (assuming you are
  239. running RISC OS 3.10) and the bit display will be opened displaying bit
  240. zero.
  241.  
  242. This bit actually sets the æFiler display modeæ.  Now you can click on the
  243. ÉNextæ button and Location 198 Bit 1 will be displayed (this is also used
  244. for the ÉFiler display modeæ).  Continue clicking on ÉNextæ until the
  245. required location is displayed.
  246.  
  247. The above actions can be repeated for any search string.  Note that the
  248. ÉLastæ and ÉNextæ buttons are greyed-out if there are no further/previous
  249. matches to be found respectively.
  250.  
  251. Goto location dialogue box
  252. --------------------------
  253.  
  254. The Goto location dialogue box enables you to enter the value of any
  255. location (0-239) which you would like to view without the need for the main
  256. window to be open.  The Goto location dialogue box may be opened in one of
  257. two ways;
  258.  
  259. Firstly by clicking Menu while the pointer is over the Location window and
  260. following the arrow to the right of the singe menu item that is displayed.
  261.  
  262. Secondly by pressing F5 when the Location window has the input focus (i.e.
  263. the caret is contained within one of the four writable icons at the bottom
  264. of the window.
  265.  
  266. Once opened the Goto dialogue displays the current location number.  Below
  267. this is a writable icon where any value between 0 & 239 may be entered. 
  268. Pressing Return or clicking Select then automatically displays the
  269. information for the chosen location.  Clicking adjust will leave the Goto
  270. location dialogue box open, although it may get partially obscured.
  271.  
  272. If the writable icon is left blank then the information for on will be
  273. displayed.
  274.  
  275. Saving Data
  276. -----------
  277.  
  278. The CMOS RAM data held by CMOSProbe can be saved in three different formats
  279. either to file on a disc or direct to an editor such as Edit.
  280.  
  281. The ÉSave asæ menu (described above) leads to a submenu (File types) which,
  282. in turn, leads to one of three dialogue boxes to save the data with the
  283. following file types;
  284.  
  285. 1 Configure (&ff9)
  286.       This is the file type as used by Acornæs !Configure application.  Data
  287.       saved in this format can be loaded directly into the !Configure
  288.       application.
  289.  
  290. 2 Cmosáram (&14d)
  291.       This is CMOSProbeæs own file type which includes a descriptive header. 
  292.       Data saved in this format cannot be read by !Configure but can be
  293.       viewed in a text editor or, better still, loaded back into CMOSProbe. 
  294.       If the header becomes corrupt CMOSProbe cannot read the file.  The
  295.       data is laid out in an easier to read format than for Configure files.
  296.  
  297. 3 Text (&fff)
  298.       This option allows the user to save the data in a textual format.  The
  299.       data is laid out in an easy-to-read way with a description of each
  300.       CMOS RAM location followed by the current value of the location.
  301.  
  302.       Each of the eight bits that can be set for a location may have
  303.       different meanings.  When this is the case each individual bit is
  304.       described and indicated as set or not.
  305.  
  306. Normal filer actions apply within the Save dialogue box.  You can enter a
  307. full pathname and click ÉOKæ or press Return.  Alternatively, drag the icon
  308. to a directory viewer of your choice.  The data is marked as unaltered (no
  309. asterisk in the Main window title bar) once saved.
  310.  
  311. Note  The data saved is not necessarily the current CMOS RAM state but will
  312.       always be the data as held within CMOSProbe.  This allows the user to
  313.       alter many of the locations in CMOSáProbe then save as a text file
  314.       directly to Edit to see what has actually been set/unset before
  315.       writing back to CMOS RAM.  It also allows the user to have several
  316.       different settings for different uses.
  317.  
  318. Updating CMOS RAM
  319. -----------------
  320.  
  321. When ÉWrite CMOSæ from the main windowæs menu is selected CMOSProbe writes
  322. the contents of location 1 through 238 to CMOS RAM.  Location zero is not
  323. written and location 239 (Checksum) automatically gets recalculated and any
  324. change is reflected in the main window.  (Use the correct range setting to
  325. view this.)
  326.  
  327. Viewing/Editing a CMOS RAM Location
  328. -----------------------------------
  329.  
  330. The ÉLocation windowæ is where the contents of each CMOS RAM location can be
  331. edited.  This window is opened by clicking SELECT on the location number
  332. within the main window.  Remember to select the correct number range first
  333. by clicking on the relevant icons at the bottom left hand side of the main
  334. window.  Clicking with ADJUST closes the main window while, conversely,
  335. closing the Location window with ADJUST re-opens the main window or brings
  336. it to the front if it is already open.  The selected location number is
  337. highlighted in red in the main window.
  338.  
  339. The ÉLocation windowæsæ title bar contains the number of the
  340. Écurrently selectedæ location.
  341.  
  342. The cream area at the top of the window contains a description of the
  343. currently selected location (i.e. in the illustration CMOS RAM Location 10
  344. has been selected and the description öScreen infoò is displayed).  This
  345. description is an overview for the location and, in same cases, each of the
  346. individual bits that make up the location value may have different meanings. 
  347. These can  be viewed as described below.
  348.  
  349. The value for each location may be edited in one of two ways; by either
  350. setting/unsetting each bit individually or by entering a number for the
  351. entire location.
  352.  
  353. Under the heading öBits (4 = Set)ò there are eight icons numbered 0 to 7. 
  354. These represent the eight bits that can be set for each location.  A tick
  355. indicates that that bit is set, no tick indicates that the bit is unset.  To
  356. edit these click on the button marked ÉEditæ to the right.
  357.  
  358. Click on each of the Ébitæ icons you wish to alter the state of to toggle it
  359. on/off.
  360.  
  361. Next to these icons are eight É?æ buttons.  Clicking on one of these will
  362. open the ÉBitsæ window which gives a more detailed description of the
  363. meaning of that particular bit.  You can use this information to make sure
  364. that the correct bits are set as required.
  365.  
  366. The main window display is not altered until the öOKò button to the right of
  367. the ÉEditæ button is clicked.  The öOKò is invisible until the ÉEditæ button
  368. is selected.
  369.  
  370. At this point the four greyed-out icons at the bottom (òDec, Binary, Hex and
  371. Charò) will change to reflect the new setting, (please see below for
  372. description of these).
  373.  
  374. Clicking ÉOKæ only updates the main window.  To update the CMOS RAM with the
  375. new setting you must select ÉUpdate CMOSæ from the main menu as described
  376. above.
  377.  
  378. The second way of editing the contents of a location is to enter the correct
  379. number for the entire location directly.  This can be done by clicking on
  380. the ÉEditæ icon to the right of the heading öLocation valueò.
  381.  
  382. The four greyed-out icons now become writable and a value can be entered as
  383. either a Decimal, Binary or Hexadecimal number.  Alternatively a character
  384. can be entered instead using the fourth icon, this is particularly helpful
  385. if you are editing a password in the useræs area.  All four writable icons
  386. are updated at the same time to reflect the value/character entered.
  387.  
  388. Once again you may click on any of the eight É?æ icons above for a more
  389. detailed description of each of the eight bits making up the location.
  390.  
  391. The main window is only updated when the öOKò button to the right of the
  392. ÉEditæ button is clicked.
  393.  
  394. At this point the state of the eight ÉBitsæ buttons mentioned above are set
  395. to reflect the new value entered.
  396.  
  397. Clicking öOKò only updates the main window.  To update the CMOS RAM with the
  398. new setting you must select ÉUpdate CMOSæ from the main menu as described
  399. above.
  400.  
  401. Note  Some bits are used in conjunction with others to enable values greater
  402.       than 1 to be set.  These bits will be displayed in the öBitò window
  403.       with the message similar to öand bits 2 & 3ò as a heading.  In this
  404.       case, for example, bits 2 and 3 along with the currently displayed bit
  405.       would be used enabling a combined value of up to 7 to be entered.
  406.  
  407. If you make a mistake in editing and wish to re-display the original
  408. settings then you can either use the main window to select another location
  409. then reselect the original one or click MENU over the main window and select
  410. ÉRead CMOSæ.
  411.  
  412. Loading a file
  413. --------------
  414.  
  415. CMOSProbe recognises two file types which it can load; ÉConfigæ (&ff2) as
  416. saved from Acornæs own !Configure application and ÉCMOSáRAMæ (&14d)
  417. CMOSProbeæs own file format.
  418.  
  419. To load a file of type &ff2 (Config) you must drag its icon in the directory
  420. viewer to either CMOSProbeæs icon bar icon or its main window. 
  421. Double-clicking on files of type &ff2 will cause !Configure to run. 
  422. CMOSProbe purposely does not intercept these files.
  423.  
  424. To load a file of type &14d (CMOSáRAM) simply double-click on its icon in
  425. the directory viewer.  If CMOSProbe has not yet been loaded then it will be
  426. run and the file loaded (as long as it has previously been seen by the filer
  427. - see the User Guide for further help).  Alternatively, drag the fileæs icon
  428. to CMOSProbeæs icon bar icon or main window.
  429.  
  430. When the file is loaded CMOSProbeæs main window will be opened (if it isnæt
  431. already) and the display updated to reflect the values held in the file. 
  432. The data is also marked as un-altered (no asterisk).
  433.  
  434. Note  CMOSProbe does not remember where a file has been loaded from and,
  435.       therefore, if saving back to disc follow the instruction for saving
  436.       the data detailed above.
  437.  
  438. Configuration
  439. -------------
  440.  
  441. There is one aspect of CMOSProbe that can be configured;
  442.  
  443. The Style Guide indicates that the user should be able to click on the text
  444. next to any option button in order to set/unset that option (e.g. selecting
  445. the correct location range in the main window).
  446.  
  447. Some users find this annoying as, especially with a desktop font on the RISC
  448. PC, it can be possible to click on an area outside of the text & still set
  449. the option and, conversely, to click within the text to no effect.
  450.  
  451. Initially CMOSProbe is set to comply with the Style Guide.  To alter this
  452. setting open up CMOSProbeæs directory by Shift-double-clicking with SELECT. 
  453. Then load the file öConfigureò into a suitable editor.  The option is titled
  454. öKick the wall & turn on the lightò.  Alter the text after the hash (#)
  455. symbol from On to Off.  No resave the file.
  456.  
  457. This option will not take effect until CMOSProbe is next run.
  458.  
  459. Thanks
  460. ~~~~~~
  461.  
  462. To Malcolm Knight for his help in solving many programming problems and for
  463. allowing me to alpha & beta test CMOSProbe on his RISC PC.
  464.  
  465. If you have any comments or suggestion then please write to me at the
  466. address below;
  467.  
  468. Mr Mike Whiteman
  469. 127 Sewell Road
  470. Abbey Wood
  471. London
  472. SE2 9DH
  473.  
  474. Tel/Fax: (0181) 310 2238
  475.  
  476. Email: MikeW@werewlf.demon.co.uk
  477.  
  478. CMOSProbe is dedicated to Ashley.
  479.  
  480.