home *** CD-ROM | disk | FTP | other *** search
/ PC Press 1997 July / Sezamfile97_1.iso / msdos / infoprog / helppc21.a01 / HARDWARE.TXT next >
Text File  |  1991-04-15  |  71KB  |  1,838 lines

  1.  unidirectional mode for one line
  2.     27 64         ESC @      Initialize printer
  3.     27 85 48     ESC U 0      Cancel unidirectional mode
  4.     27 85 49     ESC U 1      Select unidirectional mode
  5.     27 115 48    ESC s 0      Turn half speed mode off
  6.     27 115 49    ESC s 1      Turn half speed mode on
  7.  
  8. %    Vertical/Horizontal Motion:
  9. %    Decimal      ASCII            Description
  10.      8         BS       Backspace
  11.      9         HT       Horizontal tab
  12.     10         LF       Line Feed
  13.     11         VT       Vertical Tab
  14.     12         FF       Form Feed
  15.     27 47 c      ESC / c      Select vertical tab channel (c=0..7)
  16.     27 48         ESC 0      Select 8 lines per inch
  17.     27 49         ESC 1      Select 7/72 inch line spacing
  18.     27 50         ESC 2      Select 6 lines per inch
  19.     27 51 n      ESC 3 n      Select n/216 inch line spacing (n=0..255)
  20.     27 65 n      ESC A n      Select n/72 inch line spacing (n=0..85)
  21.     27 66 0      ESC B NUL      Clear Vertical tabs
  22.     27 66 tabs   ESC B tabs   Select up to 16 vertical tabs where tabs are
  23.                   ascending values from 1..255 ending with NUL
  24.     27 67 n      ESC C n      Select page length in lines (n=1..127)
  25.     27 67 48 n   ESC C 0 n      Select page length in inches (n=1..22)
  26.     27 68 0      ESC D NUL      Clears all horizontal tables
  27.     27 68 tabs 0 ESC D tabs NUL  Sets up to 32 horizontal tabs with
  28.                   ascending values 1-137.  NUL or a value
  29.                   less than previous tab ends command.
  30.     27 74 n      ESC J n      Immediate n/216 inch line feed (n=0..255)
  31.     27 78 n      ESC N n      Select skip over perforation (n=1..127)
  32.     27 79         ESC O      Cancel skip over perforation
  33.     27 81 n      ESC Q n      Set right margin (n=column)
  34.     27 98 b c 0  ESC b c NUL  Clear vertical tabs in channel (c=0..7)
  35.     27 98 c tabs ESC b c tabs Select up to 16 vertical tabs in channels
  36.                   (c=0..7) where tabs are ascending values
  37.                   from 1..255 ending with NUL
  38.     27 101 48 s  ESC e 0 s      Set horizontal tab to increments of 's'
  39.     27 101 49 s  ESC e 1 s      Set vertical tab to increments of 's'
  40.     27 102 48 s  ESC f 0 s      Set horizontal skip to increments of 's'
  41.     27 102 49 s  ESC f 1 s      Set vertical skip to increments of 's'
  42.     27 106 n     ESC j n      Reverse linefeed (n/216 inch after buffer)
  43.     27 108 n     ESC l n      Set left margin (n=column)
  44.  
  45. %    Printing Style:
  46. %    Decimal      ASCII            Description
  47.     27 33 n      ESC ! n      Master select where n is a combination of:
  48.                     0  Pica         16  Double Strike
  49.                     1  Elite         32  Double Wide
  50.                     4  Condensed     64  Italic
  51.                     8  Emphasized    128  Underline
  52.                   Pica & Elite and Condensed/Emphasized are
  53.                   mutually exclusive
  54.     27 107 48    ESC k 0      Select NLQ Roman font
  55.     27 107 49    ESC k 1      Select NLQ Sans Serif font
  56.     27 120 48    ESC x 0      Select draft mode
  57.     27 120 49    ESC x 1      Select NLQ mode
  58.  
  59. %    Print Size and Character Width:
  60. %    Decimal     ASCII           Description
  61.     14        SO          Select double width for one line
  62.     15        SI          Select condensed mode
  63.     18        DC2       Cancel condensed mode
  64.     20        DC4       Cancel one line double width mode
  65.     27 14        ESC SO      Double width for one line (duplicate)
  66.     27 15        ESC SI      Select condensed mode (duplicate)
  67.     27 77        ESC M      Select elite width (12 cpi)
  68.     27 80        ESC P      Select pica width (10 cpi)
  69.     27 87 48    ESC W 0      Cancel double width mode
  70.     27 87 49    ESC W 1      Select double width mode
  71.  
  72. %    Print Enhancement:
  73. %    Decimal     ASCII           Description
  74.     27 45 48    ESC - 0      Cancel underlining
  75.     27 45 49    ESC - 1      Select underlining
  76.     27 69        ESC E      Select emphasized mode
  77.     27 70        ESC F      Cancel emphasized mode
  78.     27 71        ESC G      Select double strike mode
  79.     27 72        ESC H      Cancel double strike mode
  80.     27 83 48    ESC S 0      Select superscript
  81.     27 83 49    ESC S 1      Select subscript
  82.     27 84        ESC T      Cancel superscript/subscript
  83.  
  84. %    Character Sets:
  85. %    Decimal     ASCII           Description
  86.     27 52        ESC 4      Select italic mode
  87.     27 53        ESC 5      Cancel italic mode
  88.     27 54        ESC 6      Enable printing of characters (128-159,255)
  89.     27 55        ESC 7      Cancel [ESC 6] command
  90.     27 82 n     ESC R n      Select International character set where
  91.                   numeric 'n' is:
  92.                     0  USA          7  Spain I
  93.                     1  France          8  Japan
  94.                     2  Germany          9  Norway
  95.                     3  United Kingdom     10  Denmark II
  96.                     4  Denmark I     11  Spain II
  97.                     5  Sweden         12  Latin America
  98.                     6  Italy
  99.     27 116 0    ESC t NUL     Select italic character set
  100.     27 116 1    ESC t SOH     Select Epson character set
  101.     
  102. %    User Defined Characters:
  103. %    Decimal        ASCII            Description
  104.     27 37 0      ESC % NUL        Selects normal character set
  105.     27 37 1      ESC % SOH        Selects user defined set
  106.     27 38 0      ESC & NUL ?    Select user defined chars (see manual)
  107.     27 58 0 0 0  ESC : NUL NUL NUL    Copy ROM into RAM
  108.  
  109. %    Graphics Character Sets:
  110. %    Decimal        ASCII            Description
  111.     27 42 0 n1 n2  ESC * NUL n1 n2    Select single density graphics
  112.     27 42 1 n1 n2  ESC * SOH n1 n2    Select double density graphics
  113.     27 63 s n      ESC ? s n    Reassign graphics mode
  114.                     's'=(K,L,Y or Z) to mode 'n'=(0..6)
  115.     27 75 n1 n2    ESC K n1 n2    Single density graphics (60 dpi)
  116.     27 76 n1 n2    ESC L n1 n2    Double density graphics (120 dpi)
  117.     27 89 n1 n2    ESC Y n1 n2    Hi-speed double den graphics (120 dpi)
  118.     27 90 n1 n2    ESC Z n1 n2    Quad density graphics (240 dpi)
  119.     27 94 m n1 n2  ESC ^ m n1 n2    Select 9 pin graphics mode
  120.  
  121.     number of columns = n1 + (n2 * 256)
  122.  
  123. %    Other:
  124. %    Decimal      ASCII            Description
  125.      13         CR       Carriage Return
  126.      24         CAN      Cancel text in line (but not control codes)
  127.     127         DEL      Delete character (but not control codes)
  128.      27 32 n     ESC SP n      Space in n/72 inch following each NLQ char
  129.      27 35         ESC #      MSB control sequence cancel
  130.      27 36         ESC $      Select absolute dot position
  131.      27 61         ESC =      MSB = 0
  132.      27 62         ESC >      MSB = 1
  133.      27 73 48    ESC I 0      Cancel above [ESC I 1]
  134.      27 73 49    ESC I 1      Printable codes expansion (0-31,128-159)
  135.      27 92         ESC \      Select relative dot position
  136.      27 97    n    ESC a n      NLQ justification where numeric 'n' is:
  137.                     0  left justification  (default)
  138.                     1  center
  139.                     2  right justification
  140.                     3  full justification
  141.      27 112      ESC p      Select/cancel proportional mode
  142.  
  143.  
  144.     - the codes listed are relative to the Epson LX 800
  145.     - in several situations where a numeric value of zero or one is
  146.       required, the ASCII value of the number can be substituted
  147. :hard disks drives:drive specifications:disk drives:hard drives
  148. ^Hard Drive Specifications
  149.  
  150. %                        Avg          Miscellaneous
  151. %   Manufacturer        MB    Cyl  Hds Access      Information
  152.  
  153.     Alloy ID-160       125             30
  154.     Atasi AT3020          635   3      Wedge servo
  155.     Atasi AT3033          635   5      Wedge servo
  156.     Atasi AT3046          635   7
  157.     Atasi AT3051          703   7
  158.     Atasi AT3085         1024   8
  159.     Bull D530                  987   3
  160.     Bull D550                  987   5
  161.     Bull D570                  987   7
  162.     Bull D585                  987   7
  163.     Bull D530                1166   3
  164.     CDC Wren I 9415-21              697   3      STnn, MFM, Voice coil
  165.     CDC Wren I 9415-36              697   5      STnn, MFM, Voice coil
  166.     CDC Wren II 9415-25              615   4      STnn, MFM, Voice coil
  167.     CDC Wren II 9415-30              989   3      STnn, MFM, Voice coil
  168.     CDC Wren II 9415-38              733   5      STnn, MFM, Voice coil
  169.     CDC Wren II 9415-48              925   5      STnn, MFM, Voice coil
  170.     CDC Wren II 9415-51     42    989   5    28      STnn, MFM, Voice coil
  171.     CDC Wren II 9415-67              925   7      STnn, MFM, Voice coil
  172.     CDC Wren II 9415-86     69    925   9      STnn, MFM, Voice coil
  173.     CDC Wren II 9416-182   144    969   9      STnn, MFM, Voice coil
  174.     CDC Wren V                   380  15    16   ESDI/SCSI, FH
  175.     CDC Wren V                   702  15    16   ESDI/SCSI, FH
  176.     CDC Wren VI                   766  15   16.5  ESDI/SCSI, FH
  177.     CDC Wren VII      1.2G           15   16.5  SCSI, FH
  178.     CMI CM3426                  612   4
  179.     CMI CM5205                  256   4
  180.     CMI CM5410                  256   4
  181.     CMI CM5616                  256   4
  182.     CMI CM6426                  615   4
  183.     CMI CM6426S                  640   4
  184.     CMI CM6640                   640   4
  185.     CMS F40-K                  42   1024   5    22      STnn, MFM, Voice coil
  186.     CMS F60-K                  42   1024   7      STnn, MFM, Voice coil
  187.     CMS F70-K                  42   1024   8      STnn, MFM, Voice coil
  188.     CMS F80-K                  42   1024   9      STnn, MFM, Voice coil
  189.     Columbia SCSI        42    834   3    19   SCSI, RLL, Band stepper
  190.     Core AT40F                  40    564   4    10   ESDI, MFM, Voice coil
  191.     Core AT43                  43    988   5    20   STnn, MFM, Voice coil
  192.     Core HC150                150   1024+       18   ESDI
  193.     Emerald DOS 150-3000   150   1024+              ESDI
  194.     Emulex ATS-170       142   1022               SCSI & ESDI
  195.     Emulex ATS-380       310   1222               SCSI & ESDI
  196.     FlashCard 49        49    615   6    28   STnn, RLL, Voice coil
  197.     Fuji 302-13                  10    612   2
  198.     Fuji 302-26                  20    612   4
  199.     Fujitsu M2230AS           320   2
  200.     Fujitsu M2233AS         10    320   4
  201.     Fujitsu M2234AS           320   6
  202.     Fujitsu M2235AS         21    320   8    56
  203.     Fujitsu M2241AS               754   4
  204.     Fujitsu M2242AS         43    754   7    33   STnn, MFM, Voice coil
  205.     Fujitsu M2243AS         72    754  11    33   STnn, MFM, Voice coil
  206.     Fujitsu M2263       778u           14    16   ESDI/SCSI, FH
  207.     Hitachi DK511-5        699            7
  208.     Hitachi DK511-8        823         10
  209.     Hitachi DK515C-78      780u            8    16   SCSI, FH
  210.     Hitachi DK515-78       780u            8    16   ESDI, FH
  211.     IMI 5006H                 306   2
  212.     IMI 5012H                 306   4
  213.     IMI 5018H              306   6
  214.     Imprimis (see CDC)
  215.     Irwin 416                 819   2
  216.     Irwin 510                 628   2      HD/tape
  217.     Irwin 516                 819   2      HD/tape
  218.     Irwin 561              180   4
  219.     Kalok KL320                  26u   615   4    40   STnn, MFM, Band stepper
  220.     Kalok KL330                  38u   615   4    40   STnn, RLL, Band stepper
  221.     Maxtor XT1065        52    918   7    28   STnn, Voice coil
  222.     Maxtor XT1085        68   1024   8    28   STnn, Voice coil
  223.     Maxtor XT1105        83    918  11    28   STnn, Voice coil
  224.     Maxtor XT1140       112    918  15    28   STnn, Voice coil
  225.     Maxtor XT1190       150   1224        28   STnn, Voice coil
  226.     Maxtor XT2085         1224   7    28   STnn, Voice coil
  227.     Maxtor XT2140         1224  11      STnn, Voice coil
  228.     Maxtor XT2190       160   1224  15      STnn, Voice coil
  229.     Maxtor XT4170E       179u  1224   7    14   ESDI, MFM, FH Voice coil
  230.     Maxtor XT4230E       231u  1224   9    16   ESDI, MFM, FH Voice coil
  231.     Maxtor XT4380E       384u  1224  15    16   ESDI, MFM, FH Voice coil
  232.     Maxtor XT4380S       384u  1224        16   SCSI, MFM, FH Voice coil
  233.     Maxtor XT8380E       410u                14.5  ESDI, FH
  234.     Maxtor XT8380S       410u                14.5  SCSI, FH
  235.     Maxtor XT8760E       768u                16.5  ESDI, FH
  236.     Maxtor XT8760S       768u                16.5  SCSI, FH
  237.     Micropolis 1302              830   3
  238.     Micropolis 1303              830   5
  239.     Micropolis 1304              830   6
  240.     Micropolis 1323            1024   4
  241.     Micropolis 1323A           1024   5
  242.     Micropolis 1324            1024   6
  243.     Micropolis 1324A           1024   7
  244.     Micropolis 1325            1024   8
  245.     Micropolis 1333A        44   1024   5    28   STnn, MFM, Voice coil
  246.     Micropolis 1335         71   1024   8    30
  247.     Micropolis 1355        142   1022
  248.     Micropolis 1518       1.2Gu        15    14   ESDI, FH
  249.     Micropolis 1558        382u           15    18   ESDI, FH
  250.     Micropolis 1568        765u           15    16   ESDI, FH
  251.     Micropolis 1578        382u           15    18   SCSI, FH
  252.     Micropolis 1588        765u           15    16   SCSI, FH
  253.     Micropolis 1598       1.2Gu           15    14   SCSI, FH
  254.     Microscience HH312      10    306   4
  255.     Microscience HH325      20    612   4
  256.     Microscience HH612      10    306   4
  257.     Microscience HH725      21    612   4      Band stepper
  258.     Microscience HH1050     44   1024   5    28   STnn, MFM, Voice coil
  259.     Miniscribe 1006               306   2
  260.     Miniscribe 1012              306   4
  261.     Miniscribe 2006               306   2
  262.     Miniscribe 3012         10    612   4
  263.     Miniscribe 3053         44   1024   6    25   STnn, MFM, Voice coil
  264.     Miniscribe 3212         10    612   4
  265.     Miniscribe 3412           306   4
  266.     Miniscribe 3425         20    615   4
  267.     Miniscribe 3438       31.2    615   4
  268.     Miniscribe 3650         50u   809   6    61   STnn, MFM, linear drive
  269.     Miniscribe 3650F        50u   809   6    46   STnn, MFM, linear drive
  270.     Miniscribe 3675         75u   809   6    61   STnn, MFM, linear drive
  271.     Miniscribe 4010               480   2
  272.     Miniscribe 4020               480   4
  273.     Miniscribe 6032         26   1024   3
  274.     Miniscribe 6053         43   1024   5    28   STnn, MFM, FH Voice coil
  275.     Miniscribe 6085         71   1024   8
  276.     Miniscribe 6128        104   1024   8
  277.     Miniscribe 8051A        51u   745   4    28   STnn, MFM, Voice coil
  278.     Miniscribe 8212           615   2
  279.     Miniscribe 8425         20    615   4      STnn, MFM, 3½
  280.     Miniscribe 8438       31.2    615   4
  281.     Miniscribe 9380E       382u  1224  15    16   ESDI, RLL, FH Voice coil
  282.     Miniscribe 9380S       382u  1224  15    16   SCSI, RLL, FH Voice coil
  283.     Miniscribe 9780E       781u           15    17   ESDI, FH Voice coil
  284.     Mitsubisi MR535         42    981   6      STnn, MFM, 5¼ Voice coil
  285.     NEC D5662                385u                 18   ESDI, FH
  286.     NEC D5682               765u           18    16   ESDI, FH
  287.     NEC D5862               385u                 18   SCSI, FH
  288.     NEC D5882               765u           18    16   SCSI, FH
  289.     NEC 5124              310   4
  290.     NEC 5126              612   4
  291.     NEC 5146              615   8
  292.     Newberry Penny 340             615   8
  293.     Northgate Turbo         42    809   6    36   STnn, RLL, Voice coil
  294.     Plus Hardcard 40        42    612   4    40   STnn, RLL, Voice coil
  295.     Priam ID45ATD2        42   1166   5    20   STnn, MFM, Voice coil
  296.     Priam ID130                130   1224            STnn
  297.     Priam ID40                 987   5
  298.     Priam ID60              987   7
  299.     Priam V130               987   3      STnn
  300.     Priam V185               1166   7
  301.     Priam 638                382u           15    18   ESDI, 5¼
  302.     Priam 676                765u           15    14   ESDI, 5¼
  303.     Priam 738                382u           15    18   SCSI, 5¼
  304.     Priam 776                765u           15    14   SCSI, 5¼
  305.     Quadram Q520          512   4
  306.     Quadram Q530          512   6
  307.     Quadram Q540          512   8
  308.     Rodime RO101          192   2
  309.     Rodime RO102          192   4
  310.     Rodime RO103          192   6
  311.     Rodime RO104          192   8
  312.     Rodime RO201          320   2
  313.     Rodime RO202          320   4
  314.     Rodime RO203          320   6
  315.     Rodime RO204          320   8
  316.     Rodime RO201E          640   2
  317.     Rodime RO202E          640   4
  318.     Rodime RO203E        33    640   6
  319.     Rodime RO204E          640   8
  320.     Rodime RO252        10    306   4
  321.     Rodime RO352        10    306   4
  322.     Rodime RO3055        45    872   7      STnn, MFM, Voice coil
  323.     RMS 503                  153   2
  324.     RMS 506               153   4
  325.     RMS 512               153   8
  326.     Seagate ST125        21    615   4    28   STnn, MFM, Band stepper
  327.     Seagate ST125N        22    407   4           SCSI, RLL, Band stepper
  328.     Seagate ST138        32    615   6    28   STnn, MFM, 3½ Band stepper
  329.     Seagate ST138N        31    615   4    28   SCSI, RLL, Band stepper
  330.     Seagate ST138R        33    615   4    28   STnn, RLL, Band stepper
  331.     Seagate ST151        43    977   5      STnn, MFM, Voice Coil
  332.     Seagate ST157A        49    560   6    28   IDE, 3½
  333.     Seagate ST157N        49    615   6    28   SCSI, 3½ RLL, Band stepper
  334.     Seagate ST157R        49    615   6    28   STnn, 3½ RLL, Voice Coil
  335.     Seagate ST177N        61    921   5      SCSI, RLL, Voice Coil
  336.     Seagate ST206              306   2      STnn, MFM, Band stepper
  337.     Seagate ST213        11    615   2      STnn, MFM, Band stepper
  338.     Seagate ST225        21    615   4    65   STnn, MFM, 5¼ Band stepper
  339.     Seagate ST225N        21    615   4    65   SCSI, MFM, 5¼ Band stepper
  340.     Seagate ST225R        21    667   2      STnn, RLL, 5¼ Band stepper
  341.     Seagate ST238R        31    615   4    65   STnn, RLL, Band Stepper
  342.     Seagate ST250R        42    667   4      STnn, RLL, Band stepper
  343.     Seagate ST251        42    820   6    40   STnn, MFM, 5¼ Band stepper
  344.     Seagate ST251-1         43    820   6    28   STnn, MFM, 5¼ Band stepper
  345.     Seagate ST251N0         43    820   4    40   SCSI, RLL, 5¼ Band stepper
  346.     Seagate ST251N1         43    630   4      SCSI, RLL, 5¼ Band stepper
  347.     Seagate ST251R        43    820   6    40   STnn, RLL, 5¼ Band stepper
  348.     Seagate ST277        66    820   6      STnn, MFM, 5¼ Band stepper
  349.     Seagate ST277N0         65    820   6    40   SCSI, RLL, 5¼ Band stepper
  350.     Seagate ST277N1         65    628   6      SCSI, RLL, 5¼ Band stepper
  351.     Seagate ST277R        65    820   6    40   STnn, RLL, 5¼ Band stepper
  352.     Seagate ST280A        72                 29   IDE, 5¼
  353.     Seagate ST296N        85    820   6    28   SCSI, RLL, 5¼ Band stepper
  354.     Seagate ST406         5    306   2      STnn, MFM, Band stepper
  355.     Seagate ST412        10    306   4      STnn, MFM, FH Band stepper
  356.     Seagate ST419        15    306   6      STnn, MFM, Band stepper
  357.     Seagate ST425        20    306   8      STnn, MFM, Band stepper
  358.     Seagate ST506         5    153   4      STnn, MFM, FH Band stepper
  359.     Seagate ST1096N         84    906   7      SCSI, RLL, Voice coil
  360.     Seagate ST1102A         89                 29   IDE, 3½
  361.     Seagate ST1144       125                 19   IDE, 3½
  362.     Seagate ST1239       211                 15   IDE, 3½
  363.     Seagate ST4026        21    615   4      STnn, MFM, Voice coil
  364.     Seagate ST4038        32    733   5    40   STnn, MFM, FH Voice coil
  365.     Seagate ST4051        43    977   5    40   STnn, MFM, Voice coil
  366.     Seagate ST4053        44   1024   5    28   STnn, MFM, Voice coil
  367.     Seagate ST4077R         65   1024   5    28   STnn, MFM, Voice coil
  368.     Seagate ST4096        80   1024   9    28   STnn, MFM, FH Voice coil
  369.     Seagate ST4144R        122   1024   9    28   STnn, RLL, FH Voice coil
  370.     Shugart SA 604              160   4
  371.     Shugart SA 606          160   6
  372.     Shugart SA 612          306   4
  373.     Shugart SA 712          320   4
  374.     SPC Scorecard 44        44    753   7      STnn, MFM, Voice coil
  375.     Syquest SQ306RD              306   2
  376.     Syquest SQ312RD              615   2
  377.     Syquest SQ325F          612   4
  378.     Syquest SQ338F          612   6
  379.     Tandon TM252        10    306   4
  380.     Tandon TM262        20    615   4
  381.     Tandon TAN501          306   2
  382.     Tandon TAN502          306   4
  383.     Tandon TAN503          306   6
  384.     Tandon TM602S          153   4
  385.     Tandon TM603S          153   6
  386.     Tandon TM603SE          230   6
  387.     Tandon TM702AT          615   4
  388.     Tandon TM703          695   5
  389.     Tandon TM703AT          733   5
  390.     Tandon TM755          981   5
  391.     Tandy SCSI                  80    823   6    28   SCSI, RLL, Band stepper
  392.     Toshiba MK53F          830   5
  393.     Toshiba MK54F        49    830   7    25   STnn, MFM, 3½ Voice coil
  394.     Toshiba MK56F        72    830  10    25
  395.     Toshiba MK134FA               733   7    25   STnn
  396.     Toshiba MK358FA        765u           15    16   ESDI, FH
  397.     Toshiba MK358FB        765u           15    16   SCSI, FH
  398.     Tulin 226                 640   4
  399.     Tulin 240                  640   6
  400.     Tulin 326                  20    640   4
  401.     Tulin 340                  30    640   6
  402.     WD93024A              21.6                 28   STnn, MFM, 3½ Band stepper
  403.     WD93024X               21.6                 39   STnn, MFM, 3½ Band stepper
  404.     WD93028A               21.6                 69   STnn, MFM, 3½ Band stepper
  405.     WD93028X               21.6                 70   STnn, MFM, 3½ Band stepper
  406.     WD93034X               32.4                 39   STnn, MFM, 3½ Band stepper
  407.     WD93038X                 32.4                 70   STnn, MFM, 3½ Band stepper
  408.     WD93044A               43.2                 28   STnn, MFM, 3½ Band stepper
  409.     WD93044X               43.2                 39   STnn, MFM, 3½ Band stepper
  410.     WD93048A               43.2                 69   STnn, MFM, 3½ Band stepper
  411.     WD93048X               43.2                 70   STnn, MFM, 3½ Band stepper
  412.     WD95024A                 20                  28   STnn, MFM, 5¼ Band stepper      
  413.     WD95028AD                 20                  69   STnn, MFM, 5¼ Band stepper      
  414.     WD95028X                 20                  70   STnn, MFM, 5¼ Band stepper      
  415.     WD95038X                 30                  70   STnn, MFM, 5¼ Band stepper      
  416.     WD95044A                 40                  28   STnn, MFM, 5¼ Band stepper      
  417.     WD95048AD                 40                  69   STnn, MFM, 5¼ Band stepper      
  418.     WD95048X                 40                  70   STnn, MFM, 5¼ Band stepper
  419.     WDAC140                42.5                 19   STnn, MFM, 3½ Voice coil
  420.     WDAC280                85.1                 19   STnn, MFM, 3½ Voice coil
  421.     WDSC320                 320                       SCSI, 3½
  422.     WDSC8320                320                       SCSI, 3½
  423.  
  424.  
  425.     - STnn indicates Seagate ST412/ST506 compatible
  426.     - 3½ indicates 3.5 inch half height drive
  427.     - 5¼ indicates 5.25 inch half height drive
  428.     - FH indicates Full Height 5.25 inch drive
  429.     - 'u' in filesize indicates unformatted spec
  430.     - formatted capacity is related to BIOS and may vary with different
  431.       BIOS and OEM versions
  432.     - read/write heads should normally never touch hard disk media
  433.     - standard AT hard disk controllers do not use DMA for disk I/O due
  434.       to the slow speed of the 8 Bit DMA chips used;  Port I/O is used
  435.       instead for an actual increase in performance
  436.     - with some XT and ESDI systems it is necessary to use debug to
  437.       execute the ROM disk format code;  The usual method is to set
  438.       AH=Drive, AL=Interleave and jump to the code at C800:5 via the
  439.       G =C800:5 command (some systems locate this code at C600:5, CA00:5
  440.       and CC00:5)
  441.     - DOS version and disk size determine cluster size;   DOS 2.x always
  442.       has cluster size of 8K, while DOS 3.x+ has variable cluster sizes:
  443.  
  444.             2 - 16  Mb partitions have a cluster size of 8K
  445.            16 - 128 Mb partitions have a cluster size of 2K
  446.           128 - 256 Mb partitions have a cluster size of 4K
  447.           256 - 512 Mb partitions have a cluster size of 8K
  448.  
  449. :Hayes modem info:modem commands
  450. ^Hayes Command Set / Register Formats
  451.  
  452.     +++    standard escape sequence (see S2 below)
  453.     Comma  standard pause character (see S8 below)
  454.     AT     standard attention sequence
  455.  
  456.     ATA    force immediate answer
  457.     ATC0   transmitter off
  458.     ATC1   transmitter on
  459.  
  460.     ATD    dial (ATD number)
  461.     ATDP   pulse dial (ATDP number)
  462.     ATDT   tone dial (ATDT number)
  463.  
  464.     ATE0   disable local character echo
  465.     ATE1   enable local character echo
  466.     ATF0   Half Duplex (modem echoes characters)
  467.     ATF1   Full Duplex (modem does not echo characters)
  468.  
  469.     ATH0   force line on hook
  470.     ATH1   force line off hook
  471.     ATH2   force line special off hook (used for HAM radio)
  472.  
  473.     ATI0   request product code, formatted PPR, PP=prod., R=rev.
  474.     ATI1   request ROM check sum
  475.  
  476.     ATL1   speaker volume low  (modem specific)
  477.     ATL2   speaker volume medium  (modem specific)
  478.     ATL3   speaker volume high  (modem specific)
  479.     ATM0   speaker always off
  480.     ATM1   speaker on except while carrier present
  481.     ATM2   speaker always on
  482.     ATM3   speaker on except while dialing and carrier present
  483.  
  484.     ATO    force modem into on-line state
  485.     ATP    sets modem to default pulse dial
  486.  
  487.     ATQ0   modem returns result codes
  488.     ATQ1   modem does not return result codes
  489.  
  490.     ATR    sets modem to answer mode after dialing out
  491.     ATSn   where Sn is S register number 'n' (see registers below)
  492.     ATT    sets modem to default tone dial
  493.  
  494.     ATV0   send numeric codes
  495.     ATV1   send word result codes
  496.  
  497.     ATX0   basic result code set "CONNECT", no dial tone detect
  498.     ATX1   extended result code set "CONNECT 1200", no dialtone detect
  499.     ATX2   wait for dial tone, extended result codes
  500.     ATX3   detect busy signal, extended result codes
  501.     ATX4   wait for dial tone, detect busy, extended result codes
  502.  
  503.     ATZ    reset to power up condition
  504.  
  505. ^Hayes 2400 Compatible Modem Commands
  506.  
  507.     ATB0    CCITT V.22 at 1200 bps
  508.     ATB1    BELL 212A at 1200 bps
  509.  
  510.     AT&C    DCD always on
  511.     AT&C1    DCD on while carrier present
  512.  
  513.     AT&D    DTR ignored
  514.     AT&D1    DTR fail disconnect enabled
  515.     AT&D2    DTR fail disconnect enabled (auto answer off)
  516.     AT&D3    DTR fail disconnect enabled (reset modem)
  517.  
  518.     AT&F    restore to factory configuration
  519.  
  520.     AT&G    no guard tone
  521.     AT&G1    550 Hz guard tone
  522.     AT&G2    1800 Hz guard tone
  523.  
  524.     AT&J    RJ11/RJ41S/RJ45 jack
  525.     AT&J2    RJ12/RJ13 jack
  526.  
  527.     AT&L    regular phone line
  528.     AT&L1    leased line
  529.  
  530.     AT&M    async operation
  531.     AT&M1    async/sync operation
  532.     AT&M2    sync auto dial
  533.     AT&M3    sync manual dial
  534.  
  535.     AT&P    39/61 pulse make/break ratio
  536.     AT&P1    33/67 pulse make/break ratio
  537.  
  538.     AT&T4    grant RDL test request
  539.     AT&T5    deny RDL test request
  540.  
  541.     AT&W    write current registers to non-volatile memory
  542.  
  543.     AT&X    sync clock internal
  544.  
  545.     AT&X1    sync clock external
  546.     AT&X2    sync clock slaved
  547.  
  548.     AT&Z    store dial command line
  549.  
  550. ^Hayes Compatible Modem Registers
  551.  
  552.     Not all modems support all of these registers and some modems have
  553.     registers other than those listed here.  Also note, some are read only.
  554.  
  555.     to set a register use:        AT Sr=##  (cr)
  556.     to read the register:        AT Sr?     (cr)
  557.  
  558.     Where "r" is the register and (cr) is a carriage return
  559.  
  560.  
  561. %    The following represent conventions used in the tables below:
  562.  
  563.     () indicates defaults for Smartmodem 1200
  564.     ** indicates possible inconsistencies across modems
  565.  
  566.  
  567. %    Reg  Values       Register function
  568.  
  569.     S0   0-255    ring to answer on (0=don't answer)
  570.     S1   0-255    ring count (clear after 8 sec) (read only)
  571.     S2   0-255    escape char, normally "+", 128-255 disable escape
  572.     S3   0-127    end of line character (0x0D/CR)
  573.     S4   0-127    line feed character (0x0A/LF)
  574.     S5   0-32,127 backspace character (0x08/BS)
  575.     S6   2-255    pause before dialing in seconds (2)
  576.     S7   1-255    wait for carrier in seconds (30)
  577.     S8   0-255    pause for comma in dial string in seconds (2)
  578.     S9   1-255    carrier detect response time in 1/10 second (6)
  579.     S10  1-255    carrier loss delay in 1/10 second, 255=ignore CD (7)
  580.     S11 50-255    touch tone dial speed, in milliseconds (70)
  581.     S12 20-255    escape guard time, in 1/50 second,0=no delay (50)
  582.  
  583.     │7│6│5│4│3│2│1│0│  S13     power up async data format
  584.      │ │ │ │ │ │ │ └──── unused
  585.      │ │ │ │ │ │ └───── result code, 0=basic, 1=extended
  586.      │ │ │ │ │ └────── parity, 0=disabled, 1=enabled
  587.      │ │ │ │ └─────── parity, 0=odd ,1=even
  588.      │ │ │ └──────── data bits, 0=7 bits, 1=8 bits
  589.      │ │ └───────── undefined
  590.      │ └────────── buffer ovfw flag, 0=disabled,1=enabled
  591.      └─────────── 8th bit, 0=space,1=mark (8 bit only)
  592.  
  593.     │7│6│5│4│3│2│1│0│  S14     option register status data format
  594.      │ │ │ │ │ │ │ └──── unused **
  595.      │ │ │ │ │ │ └───── local echo, 0=disabled, 1=enabled
  596.      │ │ │ │ │ └────── result codes, 0=enabled,1=disabled
  597.      │ │ │ │ └─────── result codes, 0=numeric,1=word
  598.      │ │ │ └──────── command recognition, 0=enable,1=disable
  599.      │ │ └───────── dial method, 0=touch tone, 1=pulse
  600.      │ └────────── unused **
  601.      └─────────── 0=answer, 1=originate **
  602.  
  603.     S15          flag register **
  604.  
  605.     │7│6│5│4│3│2│1│0│  S16     test status
  606.      │ │ │ │ │ │ │ └──── analog loop, 0=inactive, 1=active
  607.      │ │ │ │ │ │ └───── unused
  608.      │ │ │ │ │ └────── digital loop, 0=inactive, 1=active
  609.      │ │ │ │ └─────── remote req digital loop,0=inact.,1=active
  610.      │ │ │ └──────── remote digital loop,0=inact.,1=active
  611.      │ │ └───────── self test RDL, 0=inactive, 1=active
  612.      │ └────────── self test analog loop,0=inactive,1=active
  613.      └─────────── unused
  614.  
  615.     S18 0-255     remote test timer in seconds
  616.  
  617.     │7│6│5│4│3│2│1│0│  S21     option status
  618.      │ │ │ │ │ │ │ └──── jack type, 0=RJ11,RJ41,RJ45,1=RJ12,RJ13
  619.      │ │ │ │ │ │ └───── unused
  620.      │ │ │ │ │ └────── CTS state,  0=follows RTS, 1=forced on
  621.      │ │ │ └─┴─────── DTR modem behavior (see below)
  622.      │ │ └────────── DCD, 0=forced on, 1=follows carrier
  623.      │ └─────────── DSR, 0=forced on, 1=behaves normally
  624.      └──────────── long space disconnect,0=disabled,1=enabled
  625.  
  626. %    Bits
  627. %     43  DTR Modem Behavior Bits
  628.      00  ignore DTR
  629.      01  assume command state when DTR drops
  630.      10  assume command state and disable auto-answer when DTR drops
  631.      11  reset when DTR drops
  632.  
  633.  
  634.     │7│6│5│4│3│2│1│0│  S22     option status
  635.      │ │ │ │ │ │ └─┴──── speaker volume, 01=low,10=med,11=high
  636.      │ │ │ │ └─┴─────── speaker setting (see below)
  637.      │ └─┴─┴────────── X command in effect
  638.      └─────────────── make/break ratio, 0=39/61, 1=33/67
  639.  
  640. %    Bits
  641. %     32  S22 Speaker Setting
  642.      00  speaker always off
  643.      01  speaker on until carrier detected
  644.      10  speaker always on
  645.      11  speaker off during dialing, then on until CD
  646.  
  647. %    Bits
  648. %    654  S22 X Command in Effect
  649.     100  X1 command in effect
  650.     101  X2 command in effect
  651.     110  X3 command in effect
  652.     111  X4 command in effect
  653.  
  654.  
  655.     │7│6│5│4│3│2│1│0│  S23     option status
  656.      │ │ │ │ │ │ │ └──── remote dig.loop request,0=denied,1=ok
  657.      │ │ │ │ │ └─┴───── baud rate (see table)
  658.      │ │ │ │ └──────── unused
  659.      │ │ └─┴───────── parity (see table)
  660.      └─┴──────────── guard tone setting
  661.  
  662. %    Bits
  663. %     21  S23 Baud Rate Table
  664.      00  0-300 bps
  665.      01  600 bps
  666.      10  1200 bps
  667.      11  2400 bps
  668.  
  669. %    Bits
  670. %     54  S23 Parity Setting
  671.      00  even parity
  672.      01  parity bit always 0
  673.      10  odd parity
  674.      11  parity bit always 1
  675.  
  676. %    Bits
  677. %     76  S23 Guard Tone Setting
  678.      00  no guard tones
  679.      01  550 hz guard tone
  680.      10  1800 hz guard tone
  681.  
  682.     S25 0-255     DTR detect delay in seconds (5)
  683.     S26 0-255     RTS to CTS delay in milliseconds (1)
  684.  
  685.     │7│6│5│4│3│2│1│0│  S27     option status
  686.      │ │ │ │ │ │ └─┴──── synch/async mode (see table)
  687.      │ │ │ │ │ └─────── phone line, 0= public, 1=leased
  688.      │ │ │ │ └──────── unused
  689.      │ │ └─┴───────── clock type (see table)
  690.      │ └──────────── protocol, 0=CCITT V.22, 1=Bell 212A
  691.      └───────────── unused
  692.  
  693. %    Bits
  694. %     10  S27 Sync/Async mode
  695.      00  asynchronous mode
  696.      01  async/sync mode
  697.      10  sync auto-dial
  698.      11  sync manual dial
  699.  
  700. %    Bits
  701. %     45  S27 Clock Type
  702.      00  internal clock used
  703.      01  external clock used
  704.      10  slaved clock used
  705. :game port:joystick
  706. ^Joystick / Game Port (201h)
  707.  
  708.     │7│6│5│4│3│2│1│0│  Port at 201h used with Joysticks
  709.      │ │ │ │ │ │ │ └──── joystick a, x coord (0 = timing active)
  710.      │ │ │ │ │ │ └───── joystick a, y coord (0 = timing active)
  711.      │ │ │ │ │ └────── joystick b, x coord (0 = timing active)
  712.      │ │ │ │ └─────── joystick b, y coord (0 = timing active)
  713.      │ │ │ └──────── joystick a, button 1 (0=pressed)
  714.      │ │ └───────── joystick a, button 2 (0=pressed)
  715.      │ └────────── joystick b, button 1 (0=pressed)
  716.      └─────────── joystick b, button 2 (0=pressed)
  717.  
  718.     │7│6│5│4│3│2│1│0│  Port at 201h used with Paddles
  719.      │ │ │ │ │ │ │ └──── paddle a coord (0 = timing active)
  720.      │ │ │ │ │ │ └───── paddle b coord (0 = timing active)
  721.      │ │ │ │ │ └────── paddle c coord (0 = timing active)
  722.      │ │ │ │ └─────── paddle d coord (0 = timing active)
  723.      │ │ │ └──────── paddle a, button (0=pressed)
  724.      │ │ └───────── paddle b, button (0=pressed)
  725.      │ └────────── paddle c, button (0=pressed)
  726.      └─────────── paddle d, button (0=pressed)
  727.  
  728.  
  729.     - accessed through port 201h
  730.     - bits 3-0 are resistive inputs with the length of the pulse
  731.       determined by 0-100K ohm resistive load.   Use this formula:
  732.  
  733. %    time = 24.2µ + ( 0.011µ * resistance )
  734.     or
  735. %    resistance = ( time - 24.2 ) / 0.011
  736.  
  737.  
  738.     - a read should be immediately preceded by a write (any data)
  739.       to start timing for the resistive values.
  740. :Laserjet:HP Laserjet
  741. ^Hewlett Packard Laserjet Printer Control Codes
  742.  
  743. %    Printer Control and Orientation
  744.     ESC E        Reset printer
  745.     ESC z        Self Test
  746.     ESC &l0O    Portrait orientation
  747.     ESC &l1O    Landscape orientation
  748.     ESC (s0P    Select fixed space font
  749.     ESC (s1P    Select proportional font
  750.     ESC (s0S    Set upright character orientation
  751.     ESC (s1S    Set Italic character orientation
  752.     ESC &l#X    Select '#' number of copies
  753.     ESC &l0H    Eject page
  754.     ESC &l1H    Feed paper from tray
  755.     ESC &l2H    Feed paper manually
  756.     ESC &l3H    Feed envelope
  757.     ESC &l0T    Default stacking position
  758.     ESC &l1T    Togglestacking position
  759.  
  760. %    8 Bit Symbol Set Selection
  761.     ESC (8U     Select Roman 8 symbol set
  762.     ESC (8K     Select Kana 8 symbol set
  763.     ESC (8M     Select Math 8 symbol set
  764.  
  765. %    7 Bit Symbol Set Selection
  766.     ESC (0U     Select USASCII symbol set
  767.     ESC (0B     Select Line Draw symbol set
  768.     ESC (0A     Select Math symbol set
  769.     ESC (0M     Select Math 7 symbol set
  770.     ESC (0Q     Select Math 8a symbol set
  771.     ESC (1Q     Select Math 8b symbol set
  772.     ESC (1U     Select US Legal symbol set
  773.     ESC (0E     Select Roman Extension symbol set
  774.     ESC (0D     Select ISO Denmark/Norway symbol set
  775.     ESC (1E     Select ISO United Kingdom symbol set
  776.     ESC (0F     Select ISO France symbol set
  777.     ESC (0G     Select ISO German symbol set
  778.     ESC (0I     Select ISO Italy symbol set
  779.     ESC (0S     Select ISO Sweden/Finland symbol set
  780.     ESC (1S     Select ISO Spain symbol set
  781.     ESC (15U    Select PiFont symbol set
  782.     ESC (2Q     Select PiFonta symbol set
  783.  
  784. %    Font Management
  785.     ESC (s3T     Select Courier font
  786.     ESC (s0T     Select Line Printer font
  787.     ESC (s1T     Select Pica font
  788.     ESC (s2T     Select Elite font
  789.     ESC (s4T     Select Helvetica font
  790.     ESC (s5T     Select Times Roman (TMS RMN) font
  791.     ESC (s6T     Select Gothic font
  792.     ESC (s7T     Select Script font
  793.     ESC (s8T     Select Prestige font
  794.     ESC *c#D     Specify font ID '#'
  795.     ESC *c#E     Specify character code '#'
  796.     ESC *c0F     Delete all fonts, including permanent
  797.     ESC *c1F     Delete all temporary fonts
  798.     ESC *c2F     Delete last font ID specified
  799.     ESC *c3F     Delete last character code and font ID specified
  800.     ESC *c4F     Make last font ID temporary
  801.     ESC *c5F     Make last font ID permanent
  802.     ESC *c6F     Copy or assign last font ID specified
  803.     ESC *c7F     Reestablish ROM
  804.     ESC *c8F     Set primary font
  805.     ESC *c9F     Set secondary font
  806.     ESC *c10F     Set primary and secondary font default
  807.     ESC )s#W <data>  Create font header
  808.     ESC (s#W <data>  Download character
  809.     ESC (#X <data>     Designate downloaded font as primary
  810.     ESC )#X <data>     Designate downloaded font as secondary
  811.     ESC (#@      Primary font default (see printer manual)
  812.     ESC )#@      Secondary font default(see printer manual)
  813.  
  814. %    Pitch and Point Selection
  815.     ESC (s10H    Set 10 pitch
  816.     ESC (s12H    Set 12 pitch
  817.     ESC (s16.6H    Set 16.66 pitch
  818.  
  819.     ESC (s7V    Set point size to 7
  820.     ESC (s8V    Set point size to 8
  821.     ESC (s8.5V    Set point size to 8.5
  822.     ESC (s10V    Set point size to 10
  823.     ESC (s12V    Set point size to 12
  824.     ESC (s14.4V    Set point size to 14.4
  825.  
  826. %    Page Dimensions
  827.     ESC &l#P    Set page length to '#' lines
  828.     ESC &l#E    Set top margin to '#' lines
  829.     ESC &l#F    Set text length to '#' lines
  830.     ESC 9        Clear margins
  831.     ESC &a#L    Set left margin to column '#'
  832.     ESC &a#M    Set right margin to column '#'
  833.     ESC &l#C    Set vertical motion index to '#' 1/48" increments
  834.     ESC &l#D    Set lines per inch to '#', valid values are:
  835.             1, 2, 3, 4, 6, 8, 12, 16 or 24
  836.     ESC &k#H    Set horizontal motion index where # is derived
  837.             using    # = (120.0 / cpi)     (1/10 precision)
  838.  
  839. %    Cursor Positioning
  840.     ESC &a#R    Move to row '#'
  841.     ESC &a#C    Move to col '#'
  842.     ESC &a#H    Move to horizontal position '#' in decipoints
  843.     ESC &a#V    Move to vertical position '#' in decipoints
  844.     ESC *p#X    Move to horizontal position '#' in dots
  845.     ESC *p#Y    Move to vertical position '#' in dots
  846.     ESC &f0S    Push cursor position
  847.     ESC &f1     Pop cursor position
  848.  
  849. %    Raster Graphics
  850.     ESC *t75R      Select 75 dots per inch graphics mode
  851.     ESC *t100R      Select 100 dots per inch graphics mode
  852.     ESC *t150R      Select 150 dots per inch graphics mode
  853.     ESC *t300R      Select 300 dots per inch graphics mode
  854.     ESC *r0A      Start graphics at left most position
  855.     ESC *r1A      Start graphics at current cursor
  856.     ESC *b#W <data>   Transfer '#' byte raster image as stream "<data>"
  857.     ESC *rB       End graphics
  858.  
  859. %    Advanced Graphics
  860.     ESC *c#A      Set horizontal rule/pattern size in dots
  861.     ESC *c#H      Set horizontal rule/pattern size in decipoints
  862.     ESC *c#B      Set vertical rule/pattern size in dots
  863.     ESC *c#V      Set vertical rule/pattern size in decipoints
  864.     ESC *c0P      Select black rule
  865.     ESC *c2P      Select gray scale pattern
  866.     ESC *c3P      Select HP-Defined pattern
  867.     ESC *c#G      Set grey scale pattern, where # is a value between
  868.               [0..6] for HP defined patterns and [0..100] to
  869.               specify percentage gray scaling.  The mode depends
  870.               on the rule/pattern selected using ESC *c?P
  871.     ESC *c1G      Vertical lines pattern
  872.     ESC *c2G      Horizontal lines pattern
  873.     ESC *c3G      Diagonal lines pattern (upward left to right)
  874.     ESC *c4G      Diagonal lines pattern (downward left to right)
  875.     ESC *c5G      Horizontal/vertical grid lines pattern
  876.     ESC *c6G      Diagonal grid pattern
  877.     ESC *c#G      Set gray scaling to '#' percent
  878.  
  879. %    Macro commands
  880.     ESC &f#Y      Identify macro as ID "#'
  881.     ESC &f0X      Start macro definition
  882.     ESC &f1X      Stop macro definition
  883.     ESC &f2X      Execute macro 
  884.     ESC &f3X      Call macro
  885.     ESC &f4X      Enable auto macro overlay
  886.     ESC &f5X      Disable auto macro overlay
  887.     ESC &f6X      Delete all macros
  888.     ESC &f7X      Delete all temporary macros
  889.     ESC &f8X      Delete macro ID
  890.     ESC &f9X      Make macro temporary
  891.     ESC &f10X      Make macro permanent
  892.  
  893. %    Miscellaneous
  894.     ESC (s#B      Set stroke weight '#'=(7..-7), 7=bold, -7=light
  895.     ESC &dD       Set underline on
  896.     ESC &d@       Set underline off
  897.     ESC =          Half line feed
  898.     ESC Y          Turn display functions mode on
  899.     ESC Z          Turn display functions mode off (default)
  900.     ESC &p#X <data>   Disable command interpretation for the '#' bytes
  901.               following this command
  902.     ESC &l0L      Disable perforation skip
  903.     ESC &l1L      Enable perforation skip
  904.     ESC &k0G      Set line terminators to CR=CR, LF=LF, FF=FF
  905.     ESC &k1G      Set line terminators to CR=CR+LF, LF=LF, FF=FF
  906.     ESC &k2G      Set line terminators to CR=CR, LF=CR+LF, FF=CR+FF
  907.     ESC &k3G      Set line terminators to CR=CR+LF, LF=CR+LF, FF=CR+FF
  908.     ESC &s0C      Enable end of line wrap
  909.     ESC &s1C      Disable end of line wrap
  910.  
  911.  
  912. %    Escape sequence combination rules:
  913.     
  914.      1. The first 2 characters following the ESC must be the same.
  915.      2. The final character in any sequence other than the last must be
  916.         changed to lower case.
  917.      3. The last character in the complete sequence must be changed to
  918.         upper case.
  919.      4. Escape sequences must be specified in the order in which they
  920.         should be performed.
  921.  
  922.  
  923.     - the space following ESC is not included in the string
  924. :keyboard commands
  925. ^Keyboard Commands & Responses
  926.  
  927. ^Commands System Issues to Keyboard (via 8042 port 60h)
  928.  
  929.     ED  Set/Reset Mode Indicators, keyboard responds with ACK then
  930.         waits for a following option byte.    When the option byte is
  931.         received the keyboard again ACK's and then sets the LED's
  932.         accordingly.  Scanning is resumed if scanning was enabled.
  933.         If another command is received instead of the option byte
  934.         (high bit set on) this command is terminated.  Hardware
  935.         defaults to these indicators turned off.
  936.  
  937.         │7-3│2│1│0│ Keyboard Status Indicator Option Byte
  938.           │  │ │ └─── Scroll-Lock indicator  (0=off, 1=on)
  939.           │  │ └──── Num-Lock indicator  (0=off, 1=on)
  940.           │  └───── Caps-Lock indicator  (0=off, 1=on)
  941.           └─────── reserved (must be zero)
  942.  
  943.     EE  Diagnostic Echo, keyboard echoes the EE byte back to the system
  944.         without an acknowledgement.
  945.     F0  PS/2 Select/Read Alternate Scan Code Sets, instructs keyboard
  946.         to use one of the three make/break scan code sets.     Keyboard
  947.         responds by clearing the output buffer/typematic key and then
  948.         transmits an ACK.  The system must follow up by sending an
  949.         option byte which will again be ACK'ed by the keyboard:
  950.  
  951.           00  return byte indicating scan code set in use
  952.           01  select scan code set 1  (used on PC & XT)
  953.           02  select scan code set 2
  954.           03  select scan code set 3
  955.  
  956.     F2  PS/2 Read Keyboard ID, keyboard responds with an ACK and a two
  957.         byte keyboard ID of 83AB.
  958.     F3  Set Typematic Rate/Delay, keyboard responds with ACK and waits
  959.         for rate/delay byte.   Upon receipt of the rate/delay byte the
  960.         keyboard responds with an ACK, then sets the new typematic
  961.         values and scanning continues if scanning was enabled.
  962.         
  963.         │7│6│5│4│3│2│1│0│  Typematic Rate/Delay Option Byte
  964.          │ │ │ ├─┼─┼─┼─┼──── typematic rate indicator (see ~INT 16,3~)
  965.          │ │ │ │ │ └─┴─┴─── A in period formula (see below)
  966.          │ │ │ └─┴──────── B is period formula (see below)
  967.          │ └─┴─────────── typematic delay
  968.          └────────────── always zero
  969.  
  970.         delay = (rate+1) * 250   (in milliseconds)
  971.         rate = (8+A) * (2**B) * 4.17  (in seconds, ± 20%)
  972.  
  973.         Defaults to 10.9 characters per second and a 500ms delay.  If a
  974.         command byte (byte with high bit set) is received instead of an
  975.         option byte this command is cancelled.
  976.     F4  Enable Keyboard, cause the keyboard to clear its output buffer
  977.         and last typematic key and then respond with an ACK.  The
  978.         keyboard then begins scanning.
  979.     F5  Default w/Disable, resets keyboard to power-on condition by
  980.         clearing the output buffer, resetting typematic rate/delay,
  981.         resetting last typematic key and setting default key types.
  982.         The keyboard responds with an ACK and waits for the next
  983.         instruction.
  984.     F6  Set Default, resets to power-on condition by clearing the output
  985.         buffer, resetting typematic rate/delay and last typematic key
  986.         and sets default key types.  The keyboard responds with an ACK
  987.         and continues scanning.
  988.     F7  PS/2 Set All Keys to Typematic, keyboard responds by sending an
  989.         ACK, clearing its output buffer and setting the key type to
  990.         Typematic.     Scanning continues if scanning was enabled.  This
  991.         command may be sent while using any Scan Code Set but only has
  992.         effect when Scan Code Set 3 is in use.
  993.     F8  PS/2 Set All Keys to Make/Break, keyboard responds by sending an
  994.         ACK, clearing its output buffer and setting the key type to
  995.         Make/Break.  Scanning continues if scanning was enabled.  This
  996.         command may be sent while using any Scan Code Set but only has
  997.         effect when Scan Code Set 3 is in use.
  998.     F9  PS/2 Set All Keys to Make, keyboard responds by sending an ACK,
  999.         clearing its output buffer and setting the key type to Make.
  1000.         Scanning continues if scanning was enabled.  This command may
  1001.         be sent while using any Scan Code Set but only has effect when
  1002.         Scan Code Set 3 is in use.
  1003.     FA  PS/2 Set All Keys to Typematic Make/Break, keyboard responds by
  1004.         sending an ACK, clearing its output buffer and setting the key
  1005.         type to Typematic Make/Break.  Scanning continues if scanning
  1006.         was enabled.  This command may be sent while using any Scan Code
  1007.         Set but only has effect when Scan Code Set 3 is in use.
  1008.     FB  PS/2 Set Key Type to Typematic, keyboard responds by sending an
  1009.         ACK, clearing its output buffer and then waiting for the key ID
  1010.         (make code from Scan Code Set 3).  The specified key type is then
  1011.         set to typematic.    This command may be sent while using any
  1012.         Scan Code Set but only has effect when Scan Code Set 3 is in use.
  1013.     FC  PS/2 Set Key Type to Make/Break, keyboard responds by sending an
  1014.         ACK, clearing its output buffer and then waiting for the key ID
  1015.         (make code from Scan Code Set 3).  The specified key type is then
  1016.         set to Make/Break.     This command may be sent while using any Scan
  1017.         Code Set but only has effect when Scan Code Set 3 is in use.
  1018.     FD  PS/2 Set Key Type to Make, keyboard responds by sending an ACK,
  1019.         clearing its output buffer and then waiting for the key ID (make
  1020.         code from Scan Code Set 3).  The specified key type is then set
  1021.         to Make.  This command may be sent while using any Scan Code Set
  1022.         but only has effect when Scan Code Set 3 is in use.
  1023.     FE  Resend, should be sent when a transmission error is detected
  1024.         from the keyboard
  1025.     FF  Reset, Keyboard sends ACK and waits for system to receive it
  1026.         then begins a program reset and Basic Assurance Test (BAT).
  1027.         Keyboard returns a one byte completion code then sets default
  1028.         Scan Code Set 2.
  1029.  
  1030.  
  1031. ^Keyboard Responses to System (via 8042 port 60h)
  1032.  
  1033.     00  Key Detection Error or Overrun Error for Scan Code Set 1,
  1034.         replaces last key in the keyboard buffer if the buffer is full. 
  1035.     AA  BAT Completion Code, keyboard sends this to indicate the keyboard
  1036.         test was successful.
  1037.     EE  Echo Response, response to the Echo command.
  1038.     F0  Break Code Prefix in Scan Code Sets 2 and 3.
  1039.     FA  Acknowledge, keyboard sends this whenever a valid command or
  1040.         data byte is received (except on Echo and Resend commands).
  1041.     FC  BAT Failure Code, keyboard sends this to indicate the keyboard
  1042.         test failed and stops scanning until a response or reset is sent.
  1043.     FE  Resend, keyboard request resend of data when data sent to it is
  1044.         invalid or arrives with invalid parity.
  1045.     FF  Key Detection Error or Overrun Error for Scan Code Set 2 or 3,
  1046.         replaces last key in the keyboard buffer if the buffer is full.
  1047.     id  Keyboard ID Response, keyboard sends a two byte ID after ACK'ing
  1048.         the Read ID command.  The byte stream contains 83AB in LSB, MSB
  1049.         order.  The keyboard then resumes scanning.
  1050.  
  1051.  
  1052.     - command F7 through FD are NOP's on the AT and are ACK'ed but not
  1053.       acted upon
  1054.     - see    ~8042~  ~MAKE CODES~  ~BREAK CODES~  ~INT 16,3~
  1055. :parallel port:printer port
  1056. ^Parallel Printer Port
  1057.  
  1058. %    Port 3BC printer data output  (readable)
  1059.  
  1060.      │7│6│5│4│3│2│1│0│  ports 278, 378, 3BC
  1061.       │ │ │ │ │ │ │ └──── data bit 0, hardware pin 2
  1062.       │ │ │ │ │ │ └───── data bit 1, hardware pin 3
  1063.       │ │ │ │ │ └────── data bit 2, hardware pin 4
  1064.       │ │ │ │ └─────── data bit 3, hardware pin 5
  1065.       │ │ │ └──────── data bit 4, hardware pin 6
  1066.       │ │ └───────── data bit 5, hardware pin 7
  1067.       │ └────────── data bit 6, hardware pin 8
  1068.       └─────────── data bit 7, hardware pin 9
  1069.  
  1070. %    Port 3BD printer status register   (Parallel Printer Port)
  1071.  
  1072.      │7│6│5│4│3│2│1│0│  ports 279, 379, 3BD
  1073.       │ │ │ │ │ │ │ └──── 1 = time-out
  1074.       │ │ │ │ │ └─┴───── unused
  1075.       │ │ │ │ └──────── 1 = error,    pin 15
  1076.       │ │ │ └───────── 1 = on-line,  pin 13
  1077.       │ │ └────────── 1 = out of paper,  pin 12
  1078.       │ └─────────── 0 = Acknowledge,  pin 10
  1079.       └──────────── 0 = busy,  pin 11
  1080.  
  1081. %    Port 3BE printer control register   (Parallel Printer Port)
  1082.  
  1083.      │7│6│5│4│3│2│1│0│  ports 27A, 37A, 3BE
  1084.       │ │ │ │ │ │ │ └──── 1 = output data to printer,  (pin 1)
  1085.       │ │ │ │ │ │ └───── 1 = auto line feed,  (pin 14)
  1086.       │ │ │ │ │ └────── 0 = initialize printer,  (pin 16)
  1087.       │ │ │ │ └─────── 1 = printer reads output,  (pin 17)
  1088.       │ │ │ └──────── 0 = IRQ disable,1=IRQ enable for ACK
  1089.       └─┴─┴───────── unused
  1090.  
  1091. :ports:port addresses:hardware ports
  1092. ^PORTS    Common I/O Port Addresses
  1093.  
  1094.     Port addresses are not always constant across PC, AT and PS/2
  1095.     Unless marked, port addresses are relative to PC and XT only
  1096.  
  1097. %    000-00F  8237 DMA controller
  1098.     000 Channel 0 address register
  1099.     001 Channel 0 word count
  1100.     002 Channel 1 address register
  1101.     003 Channel 1 word count
  1102.     004 Channel 2 address register
  1103.     005 Channel 2 word count
  1104.     006 Channel 3 address register
  1105.     007 Channel 3 word count
  1106.     008 Status/command register
  1107.     009 Request register
  1108.     00A Mask register
  1109.     00B Mode register
  1110.     00C Clear MSB/LSB flip flop
  1111.     00D Master clear temp register
  1112.     00E Clear mask register
  1113.     00F Multiple mask register
  1114.  
  1115. %    010-01F  8237 DMA Controller (PS/2 model 60 & 80), reserved (AT)
  1116.  
  1117. %    020-02F  8259A Master Programmable Interrupt Controller
  1118.     020 8259 Command port  (see ~8259~)
  1119.     021 8259 Interrupt mask register  (see 8259)
  1120.  
  1121. %    030-03F  8259A Slave Programmable Interrupt Controller (AT,PS/2)
  1122.  
  1123. %    040-05F  8253 or 8254 Programmable Interval Timer (PIT, see ~8253~)
  1124.     040 8253 channel 0, counter divisor
  1125.     041 8253 channel 1, RAM refresh counter
  1126.     042 8253 channel 2, Cassette and speaker functions
  1127.     043 8253 mode control  (see ~8253~)
  1128.     044 8254 PS/2 extended timer
  1129.     047 8254 Channel 3 control byte
  1130.  
  1131. %    060-067  8255 Programmable Peripheral Interface  (PC,XT, PCjr)
  1132.     060 8255 Port A keyboard input/output buffer (output PCjr)
  1133.     061 8255 Port B output
  1134.     062 8255 Port C input
  1135.     063 8255 Command/Mode control register
  1136.  
  1137. %    060-06F  8042 Keyboard Controller  (AT,PS/2)
  1138.     060 8042 Keyboard input/output buffer register
  1139.     061 8042 system control port (for compatability with 8255)
  1140.     064 8042 Keyboard command/status register
  1141.  
  1142.     070 CMOS RAM/RTC, also NMI enable/disable (AT,PS/2, see ~RTC~)
  1143.     071 CMOS RAM data  (AT,PS/2)
  1144.  
  1145.     080 Manufacturer systems checkpoint port (used during POST)
  1146. %    080-090  DMA Page Registers
  1147.     081 High order 4 bits of DMA channel 2 address
  1148.     082 High order 4 bits of DMA channel 3 address
  1149.     083 High order 4 bits of DMA channel 1 address
  1150.  
  1151. %    090-097  POS/Programmable Option Select  (PS/2)
  1152.     090 Central arbitration control Port
  1153.     091 Card selection feedback
  1154.     092 System control and status register
  1155.     094 System board enable/setup register
  1156.     095 Reserved
  1157.     096 Adapter enable/setup register
  1158.     097 Reserved
  1159.  
  1160.     0A0 NMI Mask Register (PC,XT) (write 80h to enable NMI, 00h disable)
  1161. %    0A0-0BF  Second 8259 Programmable Interrupt Controller (AT, PS/2)
  1162.     0A0 Second 8259 Command port  (see ~8259~)
  1163.     0A1 Second 8259 Interrupt mask register  (see 8259)
  1164.  
  1165.     0C0 TI SN76496 Programmable Tone/Noise Generator (PCjr)
  1166. %    0C0-0DF  8237 DMA controller 2 (AT)
  1167.     0C2 DMA channel 3 selector  (see ports 6 & 82)
  1168.  
  1169.     0E0-0EF  Reserved
  1170.  
  1171. %    0F0-0FF  Math coprocessor (AT, PS/2)
  1172. %    0F0-0F5  PCjr Disk Controller
  1173.     0F0 Disk Controller
  1174.     0F2 Disk Controller control port
  1175.     0F4 Disk Controller status register
  1176.     0F5 Disk Controller data port
  1177.  
  1178. %    0F8-0FF  Reserved for future microprocessor extensions
  1179.  
  1180. %    100-10F  POS Programmable Option Select (PS/2)
  1181.     100 POS Register 0, Adapter ID byte (LSB)
  1182.     101 POS Register 1, Adapter ID byte (MSB)
  1183.     102 POS Register 2, Option select data byte 1
  1184.         Bit 0 is card enable (CDEN)
  1185.     103 POS Register 3, Option select data byte 2
  1186.     104 POS Register 4, Option select data byte 3
  1187.     105 POS Register 5, Option select data byte 4
  1188.         Bit 7 is (-CHCK)
  1189.         Bit 6 is reserved
  1190.     106 POS Register 6, subaddress extension (LSB)
  1191.     107 POS Register 7, subaddress extension (MSB)
  1192.  
  1193. %    110-1EF  System I/O channel
  1194.  
  1195. %    170-17F  Fixed disk 1 (AT)
  1196.     170 disk 1 data
  1197.     171 disk 1 error
  1198.     172 disk 1 sector count
  1199.     173 disk 1 sector number
  1200.     174 disk 1 cylinder low
  1201.     175 disk 1 cylinder high
  1202.     176 disk 1 drive/head
  1203.     177 disk 1 status
  1204.  
  1205. %    1F0-1FF  Fixed disk 0 (AT)
  1206.     1F0 disk 0 data
  1207.     1F1 disk 0 error
  1208.     1F2 disk 0 sector count
  1209.     1F3 disk 0 sector number
  1210.     1F4 disk 0 cylinder low
  1211.     1F5 disk 0 cylinder high
  1212.     1F6 disk 0 drive/head
  1213.     1F7 disk 0 status
  1214.  
  1215. %    200-20F  Game Adapter (see GAME PORT or ~JOYSTICK~)
  1216.  
  1217. %    210-217  Expansion Card Ports (XT)
  1218.     210 Write: latch expansion bus data
  1219.         read:  verify expansion bus data
  1220.     211 Write: clear wait,test latch
  1221.         Read:  MSB of data address
  1222.     212 Read:  LSB of data address
  1223.     213 Write: 0=enable, 1=/disable expansion unit
  1224.     214-215  Receiver Card Ports
  1225.     214 write: latch data, read: data
  1226.     215 read:  MSB of address, next read: LSB of address
  1227.  
  1228.     21F Reserved
  1229.  
  1230. %    220-26F  Reserved for I/O channel
  1231.  
  1232. %    270-27F  Third parallel port (see ~PARALLEL PORT~)
  1233.     278 data port
  1234.     279 status port
  1235.     27A control port
  1236.  
  1237. %    280-2AF  Reserved for I/O channel
  1238.  
  1239. %    2A2-2A3  MSM58321RS clock
  1240.  
  1241. %    2B0-2DF  Alternate EGA, or 3270 PC video (XT, AT)
  1242.  
  1243.     2E0 Alternate EGA/VGA
  1244.     2E1 GPIB Adapter  (AT)
  1245.  
  1246. %    2E2-2E3  Data acquisition adapter (AT)
  1247.  
  1248. %    2E8-2EF  COM4 non PS/2 UART (Reserved by IBM) (see ~UART~)
  1249.  
  1250. %    2F0-2F7  Reserved
  1251.  
  1252. %    2F8-2FF  COM2 Second Asynchronous Adapter (see UART)
  1253.          Primary Asynchronous Adapter for PCjr
  1254.  
  1255. %    300-31F  Prototype Experimentation Card (except PCjr)
  1256.          Periscope hardware debugger
  1257. %    320-32F  Hard Disk Controller  (XT)
  1258.     320 Read from/Write to controller
  1259.     321 Read: Controller Status, Write: controller reset
  1260.     322 Write: generate controller select pulse
  1261.     323 Write: Pattern to DMA and interrupt mask register
  1262.         (see ports 0F,21,C2)
  1263.     324 disk attention/status
  1264.  
  1265. %    330-33F  Reserved for XT/370
  1266.  
  1267. %    340-35F  Reserved for I/O channel
  1268.  
  1269. %    360-36F  PC Network
  1270.  
  1271. %    370-377  Floppy disk controller (except PCjr)
  1272.     372 Diskette digital output
  1273.     374 Diskette controller status
  1274.     375 Diskette controller data
  1275.     376 Diskette controller data
  1276.     377 Diskette digital input
  1277.  
  1278. %    378-37F  Second Parallel Printer (see ~PARALLEL PORT~)
  1279.          First Parallel Printer (see PARALLEL PORT)
  1280.     378 data port
  1281.     379 status port
  1282.     37A control port
  1283.  
  1284. %    380-38F  Secondary Binary Synchronous Data Link Control (SDLC) adapter
  1285.     380 On board 8255 port A, internal/external sense
  1286.     381 On board 8255 port B, external modem interface
  1287.     382 On board 8255 port C, internal control and gating
  1288.     383 On board 8255 mode register
  1289.     384 On board 8253 channel square wave generator
  1290.     385 On board 8253 channel 1 inactivity time-out
  1291.     386 On board 8253 channel 2 inactivity time-out
  1292.     387 On board 8253 mode register
  1293.     388 On board 8273 read: status; Write: Command
  1294.     389 On board 8273 write: parameter; read: response
  1295.     38A On board 8273 transmit interrupt status
  1296.     38B On board 8273 receiver interrupt status
  1297.     38C On board 8273 data
  1298.  
  1299. %    390-39F  Cluster Adapter
  1300.  
  1301. %    3A0-3AF  Primary Binary Synchronous Data Link Control (SDLC) adapter
  1302.     3A0 On board 8255 port A, internal/external sense
  1303.     3A1 On board 8255 port B, external modem interface
  1304.     3A2 On board 8255 port C, internal control and gating
  1305.     3A3 On board 8255 mode register
  1306.     3A4 On board 8253 counter 0 unused
  1307.     3A5 On board 8253 counter 1 inactivity time-outs
  1308.     3A6 On board 8253 counter 2 inactivity time-outs
  1309.     3A7 On board 8253 mode register
  1310.     3A8 On board 8251 data
  1311.     3A9 On board 8251 command/mode/status register
  1312.  
  1313. %    3B0-3BF Monochrome Display Adapter (write only, see ~6845~)
  1314.     3B0 port address decodes to 3B4
  1315.     3B1 port address decodes to 3B5
  1316.     3B2 port address decodes to 3B4
  1317.     3B3 port address decodes to 3B5
  1318.     3B4 6845 index register, selects which register [0-11h]
  1319.         is to be accessed through port 3B5
  1320.     3B5 6845 data register [0-11h] selected by port 3B4,
  1321.         registers 0C-0F may be read.  If a read occurs without
  1322.         the adapter installed, FFh is returned.  (see 6845)
  1323.     3B6 port address decodes to 3B4
  1324.     3B7 port address decodes to 3B5
  1325.     3B8 6845 Mode control register
  1326.     3B9 reserved for color select register on color adapter
  1327.     3BA status register (read only)
  1328.     3BB reserved for light pen strobe reset
  1329.  
  1330. %    3BC-3BF  Primary Parallel Printer Adapter (see ~PARALLEL PORT~)
  1331.     3BC parallel 1, data port
  1332.     3BD parallel 1, status port
  1333.     3BE parallel 1, control port
  1334.  
  1335. %    3C0-3CF  EGA/VGA
  1336.     3C0 VGA attribute and sequencer register
  1337.     3C1 Other video attributes
  1338.     3C2 EGA, VGA, CGA input status 0
  1339.     3C3 Video subsystem enable
  1340.     3C4 CGA, EGA, VGA sequencer index
  1341.     3C5 CGA, EGA, VGA sequencer
  1342.     3C6 VGA video DAC PEL mask
  1343.     3C7 VGA video DAC state
  1344.     3C8 VGA video DAC PEL address
  1345.     3C9 VGA video DAC
  1346.     3CA VGA graphics 2 position
  1347.     3CC VGA graphics 1 position
  1348.     3CD VGA feature control
  1349.     3CE VGA graphics index
  1350.     3CF Other VGA graphics
  1351.  
  1352. %    3D0-3DF Color Graphics Monitor Adapter (ports 3D0-3DB are
  1353.         write only, see 6845)
  1354.     3D0 port address decodes to 3D4
  1355.     3D1 port address decodes to 3D5
  1356.     3D2 port address decodes to 3D4
  1357.     3D3 port address decodes to 3D5
  1358.     3D4 6845 index register, selects which register [0-11h]
  1359.         is to be accessed through port 3D5
  1360.     3D5 6845 data register [0-11h] selected by port 3D4,
  1361.         registers 0C-0F may be read.  If a read occurs without
  1362.         the adapter installed, FFh is returned.  (see ~6845~)
  1363.     3D6 port address decodes to 3D4
  1364.     3D7 port address decodes to 3D5
  1365.     3D8 6845 Mode control register (CGA, EGA, VGA, except PCjr)
  1366.     3D9 color select palette register (CGA, EGA, VGA, see 6845)
  1367.     3DA status register (read only, see 6845, PCjr VGA access)
  1368.     3DB Clear light pen latch (any write)
  1369.     3DC Preset Light pen latch
  1370.     3DF CRT/CPU page register (PCjr only)
  1371.  
  1372. %    3E8-3EF  COM3 non PS/2 UART (Reserved by IBM) (see ~UART~)
  1373.  
  1374. %    3F0-3F7  Floppy disk controller (except PCjr)
  1375.     3F0 Diskette controller status A
  1376.     3F1 Diskette controller status B
  1377.     3F2 controller control port
  1378.     3F4 controller status register
  1379.     3F5 data register (write 1-9 byte command, see ~INT 13~)
  1380.     3F6 Diskette controller data
  1381.     3F7 Diskette digital input
  1382.  
  1383. %    3F8-3FF  COM1 Primary Asynchronous Adapter  (see ~UART~)
  1384.  
  1385.     3220-3227  PS/2 COM3 (see UART)
  1386.     3228-322F  PS/2 COM4 (see UART)
  1387.     4220-4227  PS/2 COM5 (see UART)
  1388.     4228-422F  PS/2 COM6 (see UART)
  1389.     5220-5227  PS/2 COM7 (see UART)
  1390.     5228-522F  PS/2 COM8 (see UART)
  1391.  
  1392.     - many cards designed for the ISA ~BUS~ only uses the lower 10 bits
  1393.       of the port address but some ISA adapters use addresses beyond
  1394.       3FF.  Any address that matches in the lower 10 bits will decode
  1395.       to the same card.   It is up to the adapters to resolve or ignore
  1396.       the high bits of the port addresses.   An example would be the
  1397.       Cluster adapter that has a port address of 390h.  The second
  1398.       cluster adapter has a port address of 790h which resolves to
  1399.       the same port address with the cards determining which one
  1400.       actually gets the data.
  1401. :diagnostic codes:POST errors
  1402. ^DIAGS    IBM PC Diagnostic Error Codes
  1403.  
  1404. %    Code       Description      (Diagnostic Error Codes)
  1405.  
  1406.      1x   undetermined problem errors
  1407.      2x   power supply errors
  1408.      61   battery error (PS/2)
  1409.      62   configuration changed but no adaptors changed or CRC error
  1410.      63   memory size during POST does not match ~CMOS~ RAM
  1411.      65   card Id's in CMOS do not match system
  1412.  
  1413. %    1xx   System Board Errors
  1414.     101   system board failed
  1415.     102   BIOS ROM checksum error (PC, XT), Timer (AT)
  1416.     103   BASIC ROM checksum error (PC, XT), Timer interrupt (AT)
  1417.     104   interrupt controller (PC, XT), Protected mode (AT)
  1418.     105   timer (PC,XT), Last ~8042~ command not accepted (AT)
  1419.     106   converting logic test failure
  1420.     107   adapter card or math coprocessor (NMI)
  1421.     108   timer bus test
  1422.     109   DMA test error
  1423.     110   system board memory error (PS/2)
  1424.     111   adapter memory
  1425.     112   system unit adapter failure
  1426.     114   system unit and adapter card unit failure (PS/1)
  1427.     121   unexpected hardware interrupt
  1428.     131   cassette wrap test failed
  1429.     151   real-time clock, CMOS RAM or battery
  1430.     152   real-time clock
  1431.     161   system options error, battery failure
  1432.     162   CMOS RAM configuration error
  1433.     163   CMOS time and date not set
  1434.     164   system memory configuration is incorrect
  1435.     165   adapter added/removed
  1436.     199   user indicated configuration not correct
  1437.  
  1438. %    2xx   RAM Errors
  1439.     201   memory test error
  1440.     202   memory address error (Line error    0 - 15)
  1441.     203   memory address error (Line error 16 - 23)
  1442.     216   motherboard memory
  1443.  
  1444. %    3xx   Keyboard Errors
  1445.     301   keyboard did not respond to software reset or a stuck
  1446.           (number preceding 301 is scan code for stuck key)
  1447.     302   user indicated keyboard error or AT system unit is locked
  1448.     303   keyboard or system board error
  1449.     304   keyboard or system board error; CMOS does not match system
  1450.     341   replace keyboard
  1451.     342   replace keyboard interface cable
  1452.     343   replace enhancement card or cable
  1453.     365   keyboard (replace keyboard)
  1454.     366   interface cable (replace cable)
  1455.     367   enhancement card or cable (replace)
  1456.  
  1457. %    4xx   Monochrome Monitor Errors
  1458.     401   monochrome memory test, horizontal sync frequency
  1459.           test, or video test failed
  1460.     408   user indicated display attributes failure
  1461.     416   user indicated character set failure
  1462.     424   user indicated 80x25 mode failure
  1463.     432   parallel port test failed (monochrome adapter)
  1464.  
  1465. %    5xx   Color Monitor Errors
  1466.     501   CGA memory test failed, horizontal sync frequency test, or
  1467.           video test failed
  1468.     508   user indicated display attribute failure
  1469.     516   user indicated character set failure
  1470.     524   user indicated 80x25 mode failure
  1471.     532   user indicated 40x25 mode failure
  1472.     540   user indicated 320x200 graphics mode failure
  1473.     548   user indicated 640x200 graphics mode failure
  1474.     556   light pen test
  1475.     564   user indicated screen paging test
  1476.  
  1477. %    6xx   Diskette Drive/Adapter Errors
  1478.     601   diskette power on diagnostics test failed
  1479.     602   diskette test failed (boot record not valid)
  1480.     603   diskette size error
  1481.     606   diskette verify function failed
  1482.     607   write protected diskette
  1483.     608   bad command diskette status returned
  1484.     610   diskette initialization failed
  1485.     611   time-out - diskette status returned
  1486.     612   bad NEC ~FDC~ - diskette status returned
  1487.     613   bad DMA - diskette status returned
  1488.     614   DMA boundary error
  1489.     621   bad seek - diskette status returned
  1490.     622   bad CRC - diskette status returned
  1491.     623   record not found - diskette status returned
  1492.     624   bad address mark - diskette status returned
  1493.     625   bad NEC seek - diskette status returned
  1494.     626   diskette data compare error
  1495.     627   diskette change line error
  1496.     628   diskette removed
  1497.  
  1498. %    7xx   8087 Math Coprocessor
  1499.     701   coprocessor test failure
  1500.  
  1501. %    9xx   Parallel Printer Adapter Errors
  1502.     901   parallel printer adapter test failed
  1503.  
  1504. %    10xx  Alternate Parallel Printer Adapter
  1505.     1001  alternate printer adapter test failure
  1506.  
  1507. %    11xx  Asynchronous Communications Adapter Errors
  1508.     1101  asynchronous communications adapter test failed
  1509.     1110  modem status register not clear
  1510.     1111  ring-indicate
  1511.     1112  trailing edge ring-indicate
  1512.     1113  receive and delta receive line signal detect
  1513.     1114  receive line signal detect
  1514.     1115  delta receive line signal detect
  1515.     1116  line control register: all bits cannot be set
  1516.     1117  line control register: all bits cannot be reset
  1517.     1118  transmit holding and/or shift register stuck on
  1518.     1119  data ready stuck on
  1519.     1120  interrupt enable register: all bits cannot be set
  1520.     1121  interrupt enable register: all bits cannot be reset
  1521.     1122  interrupt pending stuck on
  1522.     1123  interrupt ID register stuck on
  1523.     1124  modem control register: all bits cannot be set
  1524.     1125  modem control register: all bits cannot be reset
  1525.     1126  modem status register: all bits cannot be set
  1526.     1127  modem status register: all bits cannot be reset
  1527.     1128  interrupt ID
  1528.     1129  cannot force overrun error
  1529.     1130  no modem status interrupt
  1530.     1131  invalid interrupt pending
  1531.     1132  no data ready
  1532.     1133  no data available interrupt
  1533.     1134  no transmit holding interrupt
  1534.     1135  no interrupts
  1535.     1136  no received line status interrupt
  1536.     1137  no receive data available
  1537.     1138  transmit holding register not empty
  1538.     1139  no modem status interrupt
  1539.     1140  transmit holding register not empty
  1540.     1141  no interrupts
  1541.     1142  no IRQ4 interrupt
  1542.     1143  no IRQ3 interrupt
  1543.     1144  no data transferred
  1544.     1145  maximum baud rate
  1545.     1146  minimum baud rate
  1546.     1148  time-out error
  1547.     1149  invalid data returned
  1548.     1150  modem status register error
  1549.     1151  no DSR and delta DSR
  1550.     1152  no DSR
  1551.     1153  no delta DSR
  1552.     1154  modem status register not clear
  1553.     1155  no CTS and delta CTS
  1554.     1156  no CTS
  1555.     1157  no delta CTS
  1556.  
  1557. %    12xx  Alternate Asynchronous Communications Adapter
  1558.     1200-1257 same as 1100-1157
  1559.  
  1560. %    13xx  Game Control Adapter Errors
  1561.     1301  game control adapter test failed
  1562.     1302  joystick test failed
  1563.     1380  audio card and joystick (PS/1)
  1564.  
  1565. %    14xx  Printer Errors
  1566.     1401  printer test failed
  1567.     1404  matrix printer failed
  1568.  
  1569. %    15xx  SDLC Communications Adapter Errors
  1570.     1501  adapter test failure
  1571.     1510  8255 port b failure
  1572.     1511  8255 port a failure
  1573.     1512  8255 port c failure
  1574.     1513  8253 timer 1 did not reach terminal count
  1575.     1514  8253 timer 1 stuck on
  1576.     1515  8253 timer 0 did not reach terminal count
  1577.     1516  8253 timer 0 stuck on
  1578.     1517  8253 timer 2 did not reach terminal count
  1579.     1518  8253 timer 2 stuck on
  1580.     1519  8273 port b error
  1581.     1520  8273 port a error
  1582.     1521  8273 command/read time-out
  1583.     1522  interrupt level 4 failure
  1584.     1523  ring Indicate stuck on
  1585.     1524  receive clock stuck on
  1586.     1525  transmit clock stuck on
  1587.     1526  test indicate stuck on
  1588.     1527  ring indicate not on
  1589.     1528  receive clock not on
  1590.     1529  transmit clock not on
  1591.     1530  test indicate not on
  1592.     1531  DSR not on
  1593.     1532  CD not on
  1594.     1533  CTS not on
  1595.     1534  DSR stuck on
  1596.     1535  CD stuck on
  1597.     1536  CTS stuck on
  1598.     1537  level 3 interrupt failure
  1599.     1538  receive interrupt results error
  1600.     1539  wrap data compare error
  1601.     1540  DMA channel 1 error
  1602.     1541  DMA channel 1 error
  1603.     1542  error in 8273 error checking or status reporting
  1604.     1547  stray interrupt level 4
  1605.     1548  stray interrupt level 3
  1606.     1549  interrupt presentation sequence time-out
  1607.  
  1608. %    16xx  Display Emulation Errors (327x, 5520, 525x)
  1609.  
  1610. %    17xx  Fixed Disk Errors
  1611.     1701  post error
  1612.     1702  adapter error
  1613.     1703  drive error (seek)
  1614.     1704  adapter or drive error
  1615.     1705  no record found
  1616.     1706  write fault error
  1617.     1707  track 0 error
  1618.     1708  head select error
  1619.     1709  defective error check
  1620.     1710  read buffer overrun
  1621.     1711  bad address mark
  1622.     1712  undetermined error
  1623.     1713  data compare error
  1624.     1714  drive not ready
  1625.     1780  disk 0 failure
  1626.     1781  disk 1 failure
  1627.     1782  disk controller failure
  1628.     1790  fixed disk 0 error
  1629.     1791  fixed disk 1 error
  1630.  
  1631. %    18xx  I/O Expansion Unit Errors
  1632.     1801  I/O expansion unit POST error
  1633.     1810  enable/disable failure
  1634.     1811  extender card wrap test failed (disabled)
  1635.     1812  high order address lines failure (disabled)
  1636.     1813  wait state failure (disabled)
  1637.     1814  enable/disable could not be set on
  1638.     1815  wait state failure (enabled)
  1639.     1816  extender card wrap test failed (enabled)
  1640.     1817  high order address lines failure (enabled)
  1641.     1818  disable not functioning
  1642.     1819  wait request switch not set correctly
  1643.     1820  receiver card wrap test failure
  1644.     1821  receiver high order address lines failure
  1645.  
  1646. %    19xx  3270 PC Attachment Card Errors
  1647.  
  1648. %    20xx  Bisync Communications Adapter Errors
  1649.     2010  8255 port a failure
  1650.     2011  8255 port b failure
  1651.     2012  8255 port c failure
  1652.     2013  8253 timer 1 did not reach terminal count
  1653.     2014  8253 timer 1 stuck on
  1654.     2016  8253 timer 2 didn't reach terminal count or timer 2 stuck on
  1655.     2017  8251 DSR failed to come on
  1656.     2018  8251 CTS not sensed
  1657.     2019  8251 DSR stuck on
  1658.     2020  8251 CTS stuck on
  1659.     2021  8251 hardware reset failed
  1660.     2022  8251 software reset failed
  1661.     2023  8251 software error reset failed
  1662.     2024  8251 transmit ready did not come on
  1663.     2025  8251 receive ready did not come on
  1664.     2026  8251 could not force "overrun" error status
  1665.     2027  interrupt failure, no timer interrupt
  1666.     2028  transmit interrupt, card or planar failure
  1667.     2029  transmit interrupt, card failure
  1668.     2030  receive interrupt, card or planar failure
  1669.     2031  receive interrupt, card failure
  1670.     2033  ring indicate stuck on
  1671.     2034  receive clock stuck on
  1672.     2035  transmit clock stuck on
  1673.     2036  test indicate stuck on
  1674.     2037  ring indicate stuck on
  1675.     2038  receive clock not on
  1676.     2039  transmit clock not on
  1677.     2040  test indicate not on
  1678.     2041  DSR not on
  1679.     2042  CD not on
  1680.     2043  CTS not on
  1681.     2044  DSR stuck on
  1682.     2045  CD stuck on
  1683.     2046  CTS stuck on
  1684.     2047  unexpected transmit interrupt
  1685.     2048  unexpected receive interrupt
  1686.     2049  transmit data did not equal receive data
  1687.     2050  8251 detected overrun error
  1688.     2051  lost DSR during data wrap
  1689.     2052  receive time-out during data wrap
  1690.  
  1691. %    21xx  Alternate Bisync Communications Adapter Errors
  1692.     2100-2152 same as 2000-2052
  1693.  
  1694. %    22xx  Cluster Adapter Errors
  1695.  
  1696. %    24xx  EGA Errors
  1697.     2401  adapter test failure
  1698.     2408  user-indicated display attributes
  1699.     2416  user-indicated character set
  1700.     2424  user-indicated 80x25 mode
  1701.     2432  user-indicated 40x25 mode
  1702.     2440  user-indicated 320x200 graphics mode
  1703.     2448  user-indicated 640x200 graphics mode
  1704.     2456  light pen test
  1705.     2464  user-indicated screen paging test
  1706.  
  1707. %    2501  EGA Display Error
  1708.  
  1709. %    28xx  3278/79 Emulator Adapter (PC, XT)
  1710.  
  1711. %    29xx  Color Matrix Printer Errors
  1712.  
  1713. %    30xx  Local Area Network Adapter
  1714.  
  1715. %    31xx  Alternate Local Area Network Adapter
  1716.  
  1717. %    33xx  Compact Printer Errors
  1718.  
  1719. %    36xx  IEEE 488 Adapter
  1720.  
  1721. %    37xx  Reserved for Future Use
  1722.  
  1723. %    38xx  Data Acquisition Adapter
  1724.  
  1725. %    39xx  PGA Display and/or Adapter
  1726.  
  1727. %    48xx  Internal Modem
  1728.  
  1729. %    49xx  Alternate Internal Modem
  1730.  
  1731. %    71xx  Voice Communications Adapter
  1732.  
  1733. %    73xx  3.5 Inch Diskette Drive
  1734.     7301  diskette drive/adapter test failure
  1735.     7306  diskette change line error
  1736.     7307  write-protected diskette
  1737.     7308  bad command
  1738.     7310  track zero error
  1739.     7311  timeout
  1740.     7312  bad NEC7313 bad DMA
  1741.     7314  DMA boundary error
  1742.     7315  bad index
  1743.     7316  speed error
  1744.     7321  bad seek
  1745.     7322  bad CRC
  1746.     7323  record not found
  1747.     7324  bad address mark
  1748.     7325  bad NEC seek
  1749.  
  1750. %    86xx  PS/1 Mouse Error
  1751.  
  1752.  
  1753.     - all error codes for the diagnostic and advanced diagnostic
  1754.       packages for the PC, XT and AT are represented with the device
  1755.       number followed by two digits other than 00.    The device number
  1756.       plus 00 represents successful completion of the test.
  1757.  
  1758. :resistor values
  1759. ^Resistor Color Code Chart
  1760.  
  1761. %         Color     Digit     Multiplier
  1762.  
  1763.          Black     0      1
  1764.          Brown     1      10
  1765.          Red     2      100         Gold      ± 5% tolerance
  1766.          Orange     3      1,000      Silver   ±10% tolerance
  1767.          Yellow     4      10,000
  1768.          Green     5      100,000
  1769.          Blue     6      1,000,000
  1770.          Violet     7      10,000,000
  1771.          Gray     8      100,000,000
  1772.          White     9      1,000,000,000
  1773.  
  1774. %          ╒═████░██▒██▓██░████═╕
  1775. %          ┴            ┴
  1776.             │  │  │  │
  1777.             │  │  │  └────────── tolerance (gold or silver)
  1778.             │  │  └──────────── Ohm value multiplier
  1779.             └──┴────────────── first 2 digits of Ohm value
  1780. :RS232 pins:serial ports
  1781. ^RS232    Communication Configuration
  1782.  
  1783. %        IBM PC                IBM AT
  1784. %    Pin  25-Pin Signal (DTE)     Pin  9-Pin Signal (DTE)
  1785.  
  1786.       1   Chassis Ground  (GND)     1   Carrier Detect (CD)
  1787.       2   Transmit Data (TD)     2   Receive Data (RD)
  1788.       3   Receive Data (RD)      3   Transmit Data (TD)
  1789.       4   Request to Send (RTS)     4   Data Terminal Ready (DTR)
  1790.       5   Clear to Send (CTS)     5   Signal Ground (SG)
  1791.       6   Data Set Ready (DSR)     6   Data Set Ready (DSR)
  1792.       7   Signal Ground (SG)     7   Request to Send (RTS)
  1793.       8   Carrier Detect (CD)     8   Clear to Send (CTS)
  1794.     9-19  (not used)         9   Ring Indicator (RI)
  1795.      20   Data Terminal Ready (DTR)
  1796.      22   Ring Indicator (RI)
  1797.  
  1798.     There are two general cable configurations used with the RS-232C
  1799.     Communications Standard:
  1800.  
  1801.       Data Terminal Equipment (DTE): IBM PC's, printers, plotters, etc
  1802.       Data Communication Equipment (DCE): modems, multiplexors, etc
  1803.  
  1804.     DCE to DTE requires all lines run straight through
  1805.     DTE to DTE usually requires swapping of the following lines
  1806.  
  1807.         RD  and TD        RD  and TD
  1808.         RTS and CTS    or    RTS,CTS and DCD
  1809.         DTR and DSR        DCD and RTS,CTS
  1810.  
  1811. %    Signal Functions
  1812.  
  1813.     GND    Ground            protective safety ground
  1814.     TD     Transmit Data        DTE output data
  1815.     RD     Receive Data        DTE input data
  1816.     RTS    Request To Send        DTE output, DTE would like to transmit
  1817.     CTS    Clear To Send        DTE input, DCE is ready to transmit
  1818.     DSR    Data Set Ready        DTE input, DCE is ready to communicate
  1819.     SG     Signal Ground        provides a Zero reference voltage
  1820.     DCD    Data Carrier Detect  DTE input, data link established, also
  1821.                     known as Receive Line Signal Detect (RLSD)
  1822.     DTR    Data Terminal Ready  DTE output, device ready
  1823.     RI     Ring Indicator        DTE input, announces incoming call
  1824.  
  1825.  
  1826.     - RTS/CTS is used for half duplex line turn around
  1827.     - in half duplex DCD is asserted only by the receiving device
  1828.     - full duplex modems tie CTS & DCD together (no CTS/RTS handshaking)
  1829.     - most modems require DTR to be present to respond to commands
  1830.     - maximum voltages are between -15 volts and +15 volts
  1831.     - binary outputs are between +5 to +15 volts and -5 to -15 volts
  1832.     - binary inputs are between +3 to +15 volts and -3 to -15 volts
  1833.     - input voltages between -3 to +3 are undefined while output voltages
  1834.       between -5 and +5 are undefined
  1835.     - positive voltages indicate ON or SPACE, negative voltages indicate
  1836.       OFF or MARK
  1837.  
  1838.