home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / sys_util / inter37b.zip / CMOS.LST next >
File List  |  1993-10-03  |  22KB  |  531 lines

  1.  
  2.            CMOS Memory Map v1.20    September, 1993
  3.  
  4. Compiled from multiple sources by Padgett Peterson
  5. Corrections/additions/comments to: padgett@tccslr.dnet.mmc.com
  6.  
  7. No guarantees of any kind.
  8.  
  9. Wanted: Algorithm used by IBM in calculating CRC checksums for PS/2
  10.         (see bytes 32h-33h).
  11.  
  12. Copyrights/Trademarks belong to whoever they may belong to.
  13.  
  14.             Background
  15.  
  16. The CMOS (complementary metal oxide semiconductor) memory is actually 
  17. a 64 or 128 byte battery-backed RAM memory module that is a part of the 
  18. system clock chip. Some IBM PS/2 models have the capability for a
  19. 2k (2048 byte) CMOS ROM Extension.
  20.  
  21. First used with clock-calender cards for the IBM PC-XT, when the PC/AT
  22. (Advanced Technology) was introduced in 1985, the Motorola MC146818 
  23. became a part of the motherboard. Since the clock only uses fourteen of 
  24. the RAM bytes, the rest are available for storing system configuration data.
  25.  
  26. Interestingly, the original IBM-PC/AT (Advanced Technology) standard for 
  27. the region 10h-3Fh is nearly universal with one notable exception: The 
  28. IBM PS/2 systems deviate considerably (Note: AMSTRAD 8086 machines were 
  29. among the first to actively use the CMOS memory available and since they 
  30. *predate* the AT, do not follow the AT standard).
  31.  
  32. This is just another example of how IBM created a standard, lost control 
  33. of it, tried to replace it, failed and lost market share in the process. 
  34.  
  35. Originally, the IBM PC/AT only made use of a small portion of CMOS memory
  36. and was defined in the IBM PC/AT Technical Reference Manual, specifically 
  37. bytes 10h, 12h, 14h-18h, 2Eh-33h. The balance was left undefined but was 
  38. quickly appropriated by various BIOS manufacturers for such user-selectable 
  39. options such as wait states, clock speeds, initial boot drive selection, and 
  40. password storage.
  41.  
  42. Later, as CMOS memory requirements grew, newer clock chips with 128
  43. bytes of RAM came into use. However the fact remains that once the AT 
  44. standard was established, only IBM has tried to change the definitions 
  45. of that first description.
  46.  
  47.             Accessing the CMOS
  48.  
  49. The CMOS memory exists outside of the normal address space and cannot
  50. contain directly executable code. It is reachable through IN and OUT
  51. commands at port number 70h (112d) and 71h (113d). To read a CMOS byte,
  52. an OUT to port 70h is executed with the address of the byte to be read and
  53. an IN from port 71h will then retrieve the requested information. The 
  54. following BASIC fragment will read 128 CMOS bytes and print them to the 
  55. screen in 8 rows of 16 values.
  56.  
  57. Note that if the CMOS only has 64 bytes available, addressing will 
  58. generally wrap and addresses from 40h-7Fh will mirror 00h-3Fh. Output will 
  59. be hexadecimal.
  60.  
  61. 10 CLS
  62. 20 FOR i = 0 TO &H7F 
  63. 30 OUT &H70, i
  64. 40 PRINT USING "\   \"; HEX$(INP(&H71));
  65. 50 NEXT i
  66. 60 PRINT " " 
  67.  
  68. Note: where not otherwise noted, all data points are expressed as BYTES
  69.       these are eight bit values and are read from MSB to LSB e.g.
  70.       0000 0000     0101 1010 binary would be written as 5Ah
  71.       7654 3210     where only some bits are used this is represented with
  72.                     Xs e.g bits 5-3 would be shown as 00xx x000
  73.  
  74.  
  75.         Organization of CMOS Memory - Clock
  76.  
  77. 00h-0Eh is defined by the clock hardware and all must follow it. Other 
  78. manufacturers generally follow the same format as specified for the
  79. region 10h - 2Fh. Some also follow the IBM format for 30h-33h but not all 
  80. (Zenith in particular is different).
  81.  
  82. The first fourteen bytes are dedicated to the MC146818 chip clock functions 
  83. and consist of ten read/write data registers and four status registers, two 
  84. of which are read/write and two of which are read only.
  85.  
  86. The format of the ten clock data registers (bytes 00h-09h) is:
  87.  
  88.  00h Seconds       (BCD 00-59, Hex 00-3B) Note: Bit 7 is read only      
  89.  01h Second Alarm  (BCD 00-59, Hex 00-3B)      
  90.  02h Minutes       (BCD 00-59, Hex 00-3B))         
  91.  03h Minute Alarm  (BCD 00-59, Hex 00-3B)       
  92.  04h Hours         (BCD 00-23, Hex 00-17 if 24 hr mode)
  93.                    (BCD 01-12, Hex 01-0C if 12 hr am)
  94.                    (BCD 81-92. Hex 81-8C if 12 hr pm)         
  95.  05h Hour Alarm    (same as hours)     
  96.  06h Day of Week   (01-07 Sunday=1)    
  97.  07h Date of Month (BCD 01-31, Hex 01-1F)    
  98.  08h Month         (BCD 01-12, Hex 01-0C)         
  99.  09h Year          (BCD 00-99, Hex 00-63)         
  100.  
  101. BCD/Hex selection depends on Bit 2 of register B (0Bh)
  102. 12/24 Hr selection depends on Bit 1 of register B (0Bh)
  103. Alarm will trigger when contents of all three Alarm byte registers
  104. match their companions.
  105.  
  106. The following is the on-chip status register information. 
  107.  
  108.  0Ah Status Register A (read/write) (usu 26h)
  109.   Bit 7     - (1) time update cycle in progress, data ouputs undefined 
  110.               (bit 7 is read only)
  111.   Bit 6,5,4 - 22 stage divider. 010b - 32.768 Khz time base (default)
  112.   Bit 3-0   - Rate selection bits for interrupt.
  113.               0000b - none
  114.               0011b - 122 microseconds (minimum)
  115.               1111b - 500 milliseconds  
  116.               0110b - 976.562 microseconds (default)
  117.  
  118.  0Bh Status Register B (read/write) 
  119.   Bit 7 - 1 enables cycle update, 0 disables
  120.   Bit 6 - 1 enables periodic interrupt
  121.   Bit 5 - 1 enables alarm interrupt
  122.   Bit 4 - 1 enables update-ended interrupt
  123.   Bit 3 - 1 enables square wave output
  124.   Bit 2 - Data Mode - 0: BCD, 1: Binary
  125.   Bit 1 - 24/12 hour selection - 1 enables 24 hour mode
  126.   Bit 0 - Daylight Savings Enable - 1 enables
  127.  
  128.  0Ch Status Register C (Read only)
  129.   Bit 7 - Interrupt request flag - 1 when any or all of bits 6-4 are
  130.           1 and appropriate enables (Register B) are set to 1. Generates
  131.           IRQ 8 when triggered.
  132.   Bit 6 - Periodic Interrupt flag
  133.   Bit 5 - Alarm Interrupt flag 
  134.   Bit 4 - Update-Ended Interrupt Flag
  135.   Bit 3-0 ???
  136.  
  137.  0Dh Status Register D (read only)
  138.   Bit 7 - Valid RAM - 1 indicates batery power good, 0 if dead or
  139.           disconnected.
  140.   Bit 6-0 ???
  141.  
  142.         Organization of CMOS Memory - non-Clock
  143.  
  144. The last two bytes in the first hexadecimal decade (hexade ?) were not 
  145. specified in the PC/AT but may have the following use on some systems:
  146.  
  147.  0Eh (PS/2) Diagnostic Status Byte 
  148.      Bit 7 - When set (1) indicates clock has lost power
  149.      Bit 6 - (1) indicates incorrect checksum
  150.      Bit 5 - (1) indicates that equipment configuration is incorrect
  151.                  power-on check requires that atleast one floppy be installed
  152.      Bit 4 - (1) indicates error in memory size
  153.      Bit 3 - (1) indicates that controller or disk drive failed initialization
  154.      Bit 2 - (1) indicates that time is invalid
  155.      Bit 1 - (1) indicates installed adaptors do not match configuration
  156.      Bit 0 - (1) indicates a time-out while reading adaptor ID
  157.  
  158.  0Eh (AMSTRAD) 6  BYTEs time and date machine last used
  159.  
  160.  0Fh Reset Code        
  161.      (IBM PS/2 "Shutdown Status Byte")
  162.  
  163. The second group of values extends from address 10h to 2Dh. The word at
  164. 2Eh-2Fh is a byte-wise summation of the values in these bytes. Most BIOSes
  165. will generate a CMOS Checksum error if this value is invalid however many 
  166. programs ignore the checksum and report the apparent value. The current
  167. version of MSD reports my XT as having 20+ MB of extended memory. 
  168.  
  169. Where a definiton appears universal, no identification is made. Where
  170. the definition is thought to be specific to a manufacturer/model (AMI, 
  171. AMSTRAD, IBM AT, IBM PS/2) the identification is enclosed in parens. The
  172. AMSTAD definitions appear to relate to 8088/8086 (PC and PC/XT class)
  173. mchines only. AT class machines appear to adhere to IBM PC/AT fornat.
  174.  
  175.  10h - Floppy Drive Type
  176.  
  177.   Bits 7-4 - First Floppy Disk Drive Type
  178.    0h      No Drive
  179.    1h      360 KB 5 1/4 Drive
  180.    2h      1.2 MB 5 1/4 Drive - note: not listed in PS/2 technical manual
  181.    3h      720 KB 3 1/2 Drive
  182.    4h     1.44 MB 3 1/2 Drive
  183.    5h-Fh  unused (??? 5h: 2.88 Mb 3 1/2 Drive ???)
  184.  
  185.    Bits 3-0 Second Floppy Disk Drive Type (bit settings same as A)
  186.  
  187.    Hence a PC having a 5 1/4 1.2 Mb A: drive and a 1.44 Mb B: drive will
  188.    have a value of 24h in byte 10h. With a single 1.44 drive: 40h.
  189.  
  190.  11h - (IBM-PS/2) First Fixed Disk Drive Type Byte (00-FFh) Note: if IBM
  191.    ESDI or SCSI drive controller is used, CMOS drive type will be zero (00 -
  192.    no drive) and Int 13h will be directed to controller ROM.
  193.  11h - (AMI) Keyboard Typematic Data 
  194.  
  195.   Bit 7 Enable Typematic (1 = On)
  196.  
  197.   Bits 6-5 Typematic Delay (wait before begin repeating)
  198.    00b 250 ms
  199.    01b 500 ms
  200.    10b 750 ms
  201.    11b 100 ms
  202.  
  203.   Bits 4-0 Typematic Rate char/sec e.g. 01010b = 12.0 cps
  204.    00000b - 300  01000b - 159  10000b - 75  11000b - 37
  205.    00001b - 267  01001b - 133  10001b - 67  11001b - 33
  206.    00010b - 240  01010b - 120  10010b - 60  11010b - 30
  207.    00011b - 218  01011b - 109  10011b - 55  11011b - 27
  208.    00100b - 200  01100b - 100  10100b - 50  11100b - 25
  209.    00101b - 185  01101b -  92  10101b - 46  11101b - 23
  210.    00110b - 171  01110b -  86  10110b - 43  11110b - 21
  211.    00111b - 160  01111b -  80  10111b - 40  11111b - 20
  212.  
  213.  12h - (IBM PS/2) Second Fixed Disk Drive Type (00-FFh) - see 11h
  214.  12h - Hard Disk Data
  215.   Bits 7-4 First Hard Disk Drive
  216.    00     No drive
  217.    01-0Eh Hard drive Type 1-14
  218.    0Fh    Hard Disk Type 16-255 (actual Hard Drive Type is in CMOS RAM 1Ah)
  219.   Bits 3-0 Second Hard Disk Drive Type (same as above except extrnded type
  220.           will be found in 1Bh).
  221.   A PC with a single type 2 (20 Mb ST-225) hard disk will have 20h in byte 12h
  222.   Note: some PCs utilizing external disk controller ROMs will use type 0 to
  223.    disable ROM BIOS (e.g. Zenith 248 with Plus HardCard).
  224.  
  225.  13h (AMI) Advanced Setup Options
  226.   Bit 7 Mouse Enabled (1 = On)
  227.   Bit 6 Test Memory above 1 MB (1 = On)
  228.   Bit 5 Memory Test Tick Sound (1 = On)
  229.   Bit 4 Memory Parity Error Check (1 = On)
  230.   Bit 3 Press <Esc> to Disable Memory Test (1 = On)
  231.   Bit 2 User-Defined Hard Disk (1 = Type 47 data area at address 0:300h)
  232.   Bit 1 Wait for <F1> Message if Error (1 = On)
  233.   Bit 0 Turn Num Lock On at boot (1 = On)
  234.  
  235.  14h - Equipment Byte 
  236.   Bits 7-6 Number of Floppy Drives (system must have at least one)
  237.    00b     1 Drive
  238.    01b     2 Drives
  239.    10b ??? 3 Drives
  240.    11b ??? 4 Drives
  241.   Bits 5-4 Monitor Type
  242.    00b Not CGA or MDA (observed for EGA & VGA)
  243.    01b 40x25 CGA
  244.    10b 80x25 CGA
  245.    11b MDA (Monochrome)
  246.   Bit 3 Display Enabled (1 = On)   (turned off to enable boot of rackmount)
  247.   Bit 2 Keyboard Enabled (1 = On)  (turned off to enable boot of rackmount)
  248.   Bit 1 Math coprocessor Installed (1 = On)
  249.   Bit 0 Floppy Drive Installed (1 = On) (turned off for rackmount boot)
  250.  
  251.  14h - (AMSTRAD)    BYTE user RAM checksum
  252.             LSB of sum of all user bytes should be AAh
  253.  
  254.  15h - Base Memory in K, Low Byte
  255.  15h - (AMSTRAD)    WORD Enter key scancode/ASCII code
  256.             default: 1C0Dh  - emulates Return key
  257.  
  258.  16h Base Memory in K, High Byte
  259.   The value in 15h-16h should be the same as in 0:413h and that returned by 
  260.   Int 12h. A PC having 640k (280h) of conventional memory will return 80h in 
  261.   byte 15h and 02h in byte 16h.
  262.  
  263.  17h - Extended Memory in K, Low Byte
  264.  17h - (AMSTRAD)    WORD Forward delete key scancode/ASCII code
  265.             default: 2207h  - emulates ^G (bell/beep)
  266.  
  267.  18h - Extended Memory in K, High Byte (some systems will only accommodate 
  268.   15 Mb extended or 16 Mb total) Format is the same as in 15h-16h
  269.  
  270.  19h - First Extended Hard Disk Drive Type (not in original AT
  271.   specification but now nearly universally used except for PS/2).
  272.   0-Fh unused (would not require extension. Note: this has the effect
  273.     making type 0Fh (15d) unavailable.
  274.   10h-FFh First Extended Hard Drive Type 16d-255d
  275.  
  276. For most manufacturers the last drive type (typically either 47d or 49d)
  277. is "user defined" and parameters are stored elsewhere in the CMOS.
  278.  
  279.  19h - (AMSTRAD)    WORD Joystick fire button 1 scancode/ASCII code
  280.             default: FFFFh  - (no translation)
  281.  
  282.  1Ah - Second Extended Hard Disk Drive Type (see 19h above)
  283.  
  284.  1Bh - (AMI) First Hard Disk (type 47) user defined: # of Cylinders, LSB
  285.  1Bh - (AMSTRAD)    WORD Joystick fire button 2 scancode/ASCII code
  286.             default: FFFFh  - (no translation)
  287.  1Bh - (PHOENIX) LSB of Word to 82335 RC1 roll compare register
  288.  
  289.  1Ch - (AMI) First Hard Disk user defined: # of Cylinders, High Byte
  290.  1Ch - (PHOENIX) MSB of Word to 82335 RC1 roll compare register
  291.  
  292.  1Dh - (AMI) First Hard Disk user defined: Number of Heads
  293.  1Dh - (AMSTRAD)    WORD mouse button 1 scancode/ASCII code
  294.             default: FFFFh  - (no translation)
  295.  1Dh - (Zenith Z-200 monitor) Boot Drive Selection
  296.        Bits 6-5 (0xx0 0000)
  297.        00 - MFM Monitor
  298.        01 - First floppy drive (A:)
  299.        10 - First fixed disk (C:)
  300.        11 - First floppy drive (A:). If not there then First fixed disk (C:)
  301.             (this is the default).
  302.  1Dh - (PHOENIX) LSB of Word to 82335 RC2 roll compare register
  303.  
  304.  1Eh - (AMI) First Hard Disk user defined: Write Precompensation Cylinder, 
  305.        Low Byte
  306.  1Eh - (PHOENIX) MSB of Word to 82335 RC2 roll compare register
  307.  
  308.  1Fh - (AMI) First Hard Disk user defined: Write Precompensation Cylinder, 
  309.        High Byte
  310.  1Fh - (AMSTRAD)    WORD mouse button 2 scancode/ASCII code
  311.             default: FFFFh  - (no translation)
  312.  
  313.  20h - (AMI) First Hard Disk user defined: Control Byte (80h if # of heads 
  314.        is equal or greater than 8)
  315.  20h - (PHOENIX) First user defined hard disk (type 48) Cylinders LSB
  316.  
  317.  21h - (AMI) First Hard Disk user defined: Landing Zone, Low Byte
  318.  21h - (AMSTRAD) BYTE mouse X scaling factor, default: 0Ah
  319.  21h - (PHOENIX) First user defined hard disk (type 48) Cylinders MSB
  320.  
  321.  
  322.  22h - (AMI) First Hard Disk user defined: Landing Zone, High Byte
  323.  22h - (AMSTRAD) BYTE mouse Y scaling factor default: 0Ah
  324.  22h - (PHOENIX) First user defined hard disk (type 48)  of Heads
  325.  
  326.  23h - (AMI) First Hard Disk user defined: # of Sectors per track
  327.  23h - (AMSTRAD) BYTE initial VDU mode and drive count  default: 20h
  328.     bit 7:  enables extended serial flow control
  329.             (NB this is buggy)
  330.     bit 6:  set if two floppy drives installed
  331.     bits 5 & 4: (from Amstrad 1640 tech ref)
  332.          0   0      Internal video adapter
  333.          0   1      CGA card added; 40 x 25 mode
  334.          1   0      CGA card added; 80 x 25 mode
  335.          1   1      mono card added; 80 x 25 mode
  336.  23h - (PHOENIX) First user defined hard disk (type 48) Write Precomp. LSB
  337.  
  338.  24h - (AMI) Second Hard Disk user defined: # of Cylinders, Low Byte
  339.  24h - (AMSTRAD)    BYTE initial VDU character attribute, default: 7h
  340.  24h - (PHOENIX) First user defined hard disk (type 48) Write Precomp. MSB
  341.  
  342.  
  343.  25h - (AMI) Second Hard Disk user defined: # of Cylinders, High Byte
  344.  25h - (AMSTRAD)    BYTE size of RAM disk in 2K blocks
  345.         default: 0  - only used by the RAMDISK software supplied.
  346.  25h - (PHOENIX) First user defined hard disk (type 48) Parking zone LSB
  347.  
  348.  
  349.  26h - (AMI) Second Hard Disk user defined: Number of Heads
  350.  26h - (AMSTRAD)    BYTE initial system UART setup byte
  351.             default: E3h - format as for Int 14h fn 0
  352.  26h - (PHOENIX) First user defined hard disk (type 48) Parking zone MSB
  353.  
  354.  27h - (AMI) Second Hard Disk user defined: Write Precompensation Cylinder, 
  355.        Low Byte
  356.  27h - (AMSTRAD)    BYTE initial external UART setup byte
  357.             default: E3h - format as for Int 14h fn 0
  358.  27h - (PHOENIX) First user defined hard disk (type 48) Sectors per track
  359.  
  360.  28h - (AMI) Second Hard Disk user defined: Write Precompensation Cylinder, 
  361.        High Byte
  362.  28h - (HP Vectra) checksum over words 29h-2Dh
  363.  
  364.  28h-3Fh (AMSTRAD) 24 BYTEs user applications default: zeroes
  365.  
  366.  
  367.  29h - (AMI) Second Hard Disk user defined: Control Byte (80h if # of heads 
  368.        is equal or greater than 8)
  369.  29h - (PHOENIX) LSB word to Intel 82335 CC0 compare register
  370.  
  371.  2Ah - (AMI) Second Hard Disk user defined: Landing Zone, Low Byte
  372.  2Ah - (PHOENIX) MSB word to Intel 82335 CC0 compare register
  373.  
  374.  2Bh - (AMI) Second Hard Disk user defined: Landing Zone, High Byte
  375.  2Bh - (PHOENIX) LSB word to Intel 82335 CC1 compare register
  376.  
  377.  2Ch - (AMI) Second Hard Disk user defined: # of Sectors per track
  378.  2Ch - (COMPAQ) bit 6:  0 - numlock OFF on boot, 1 - numlock ON at boot
  379.  29h - (PHOENIX) MSB word to Intel 82335 CC1 compare register
  380.  
  381.  2Dh - (AMI) Configuration Options 
  382.   Bit 7 Weitek Installed(1 = On)
  383.   Bit 6 Floppy Drive Seek - turn off for fast boot
  384.   Bit 5 Boot Order 0 - Drive C:, then A:
  385.                    1 - Drive A:, then C:
  386.   Bit 4 Boot Speed (0 - Low; 1 - High)
  387.   Bit 3 External Cache Enable (1 = On)
  388.   Bit 2 Internal Cache Enable (1 = On)
  389.   Bit 1 Use Fast Gate A20 after boot (1 = On)
  390.   Bit 0 Turbo Switch (1 = On)
  391.  2Dh - (PHOENIX) Checks for values AAh or CCh
  392.   
  393.  2Eh - Standard CMOS Checksum, High Byte
  394.  2Fh - Standard CMOS Checksum, Low Byte
  395.  
  396.  2Eh and 2Fh are as defined by the original IBM PC/AT specification and
  397.  represent a byte-wise additive sum of the values in locations 10h-2Dh only,
  398.  00h-0Fh and 30h-33h are not included. This definition is used by most
  399.  clone manufacturers including AMI, Compaq, Tandon, NEC, and Zenith. The 
  400.  IBM PS/2 line does not follow this standard with the range 19h-31h being 
  401.  undefined.
  402.  
  403.  30h - Extended Memory in K, Low Byte
  404.  
  405.  31h - Extended Memory in K, High Byte 
  406.  (??? this appears to mirror the value in bytes 17h-18h.) 
  407.  
  408.  32h - Century Byte (BCD value for the century - currently 19)
  409.  32h - (IBM-PS2) Configuration CRC low byte. CRC for range 10h-31h
  410.  
  411.  33h - Information Flag
  412.   Bit 7 128K (??? believe this indicates the presence of the special 128k
  413.               memory expansion board for the AT to boost the "stock" 512k
  414.               to 640k - all machines surveyed have this bit set)
  415.   Bits 6-0 ???
  416.  33h - (IBM PS/2) Configuration CRC high byte (see entry for 32h)
  417.  33h - (PHOENIX) Bit 4 (000x 0000) bit 4 from Intel CPU register CP0
  418.  
  419.  34h - (AMI) Shadowing & Boot Password
  420.   Bits 7-6 Password Selection
  421.    00b Disable 10b Reserved
  422.    01b Set     11b Boot
  423.   Bit 5 C8000h Shadow ROM (Bit 1 = On) 
  424.   Bit 4 CC000h Shadow ROM (Bit 1 = On)
  425.   Bit 3 D0000h Shadow ROM (Bit 1 = On)
  426.   Bit 2 D4000h Shadow ROM (Bit 1 = On)
  427.   Bit 1 D8000h Shadow ROM (Bit 1 = On)
  428.   Bit 0 DC000h Shadow ROM (Bit 1 = On)
  429.  
  430.  35h - (AMI) Shadowing
  431.   Bit 7 E0000h Shadow ROM (Bit 1 = On)
  432.   Bit 6 E4000h Shadow ROM (Bit 1 = On)
  433.   Bit 5 E8000h Shadow ROM (Bit 1 = On)
  434.   Bit 4 EC000h Shadow ROM (Bit 1 = On)
  435.   Bit 3 F0000h Shadow ROM (Bit 1 = On)
  436.   Bit 2 C0000h Shadow ROM (Bit 1 = On)
  437.   Bit 1 C4000h Shadow ROM (Bit 1 = On)
  438.   Bit 0 Reserved
  439.  35h - (PHOENIX) Second user defined hard disk (type 48) Cylinders LSB
  440.        NOTE: used only when PS/2 style password is NOT in effect.
  441.  
  442.  36h - (PHOENIX) Second user defined hard disk (type 48) Cylinders MSB
  443.        NOTE: used only when PS/2 style password is NOT in effect.
  444.  
  445.  37h - (IBM PS/2) Date Century Byte 
  446.  37h - (PHOENIX) Second user defined hard disk (type 48) # of heads
  447.        NOTE: used only when PS/2 style password is NOT in effect.
  448.  
  449.  38h-3Dh (AMI) Encrypted Password
  450.  
  451.  38h-3Fh ??? (IBM PS/2) Encrypted Password. Initialized to 00h in all
  452.      bytes. Will accept from 1-7 scan codes. 
  453.  
  454.  38h - (PHOENIX) Second user defined hard disk (type 48) Write Precomp. LSB
  455.        NOTE: used only when PS/2 style password is NOT in effect.
  456.  
  457.  39h - (PHOENIX) Second user defined hard disk (type 48) Write Precomp. MSB
  458.        NOTE: used only when PS/2 style password is NOT in effect.
  459.  
  460.  3Ah - (PHOENIX) Second user defined hard disk (type 48) Parking Zone LSB
  461.        NOTE: used only when PS/2 style password is NOT in effect.
  462.  
  463.  3Bh - (PHOENIX) Second user defined hard disk (type 48) Parking Zone MSB
  464.        NOTE: used only when PS/2 style password is NOT in effect.
  465.  
  466.  3Ch - (PHOENIX) Second user defined hard disk (type 48) Sectors per track
  467.        NOTE: used only when PS/2 style password is NOT in effect.
  468.  
  469.  3Eh - (AMI) Extended CMOS Checksum, High Byte (includes 34h - 3Dh)
  470.  
  471.  3Fh - (AMI) Extended CMOS Checksum, Low Byte (includes 34h - 3Dh)
  472.  
  473.  End of original 64 CMOS RAM bytes. Many modern chips now contain 128
  474.  bytes and the IBM PS/2 has provision for 2k of "Expansion CMOS". 
  475.  The AMI HI-FLEX description is below. If the chip does have only
  476.  64 bytes, addresses will wrap so that requests for bytes 40h-7Fh will 
  477.  return the same values as 00h-3Fh.
  478.  
  479.  40h ???
  480.  
  481.  41h - (AMI)
  482.   Bits 7-6 IOR/IOW Wait states
  483.   Bits 5-4 16-bit DMA Wait States
  484.   Bits 3-2  8-bit DMA Wait States
  485.   Bit 1    EMR bit
  486.   Bit 0    DMA Clock Source
  487.  
  488.  42h-43h ???
  489.  
  490.  44h - (AMI)
  491.   Bit 4 NMI Power Fail Warning
  492.   Bit 3 NMI Local Bus Timeout
  493.  
  494.  45h - (AMI) 
  495.   Bits 7-6 AT Bus 32-Bit Delay
  496.   Bits 5-4 AT Bus 16-Bit Delay
  497.   Bits 3-2 AT Bus 8-Bit Delay
  498.   Bits 1-0 AT Bus I/O Delay
  499.  
  500.  46h - (AMI)
  501.   Bits 7-6 AT Bus 32 Bit Wait States
  502.   Bits 5-4 AT Bus 16 Bit Wait States
  503.   Bits 3-2 AT Bus  8 Bit Wait States
  504.   Bits 1-0 AT Bus Clock Source
  505.  
  506.  47h - 50h ???
  507.  
  508.  51h - (AMI)
  509.   Bit 7    Bank 0/1 RAS Precharge
  510.   Bit 6    Bank 0/1 Access Wait States
  511.   Bits 3-2 Bank 0/1 Wait States
  512.  
  513.  52h ???
  514.  
  515.  53h - (AMI)
  516.   Bit 7    Bank 2/3 RAS Precharge
  517.   Bit 6    Bank 2/3 Access Wait States
  518.   Bits 3-2 Bank 2/3 Wait States
  519.  
  520.  54h-7Fh ???
  521.  
  522.  
  523. Revision History
  524.  
  525. v1.20    Sept, 1993      PHOENIX data from Wim Osterholt added
  526.                         additional AMI data from Howie (hjh@gwd.dst.gov.au)
  527. v1.15   June, 1993      AMSTRAD data updated
  528. v1.1     June, 1993    AMSTRAD & PS/2 data added 
  529. v1.0    June, 1993    First release: Motorola MC 146818,  PC-AT & AMI 
  530.                         "Hi-Flex" information baselined
  531.