Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:hardware:8253

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
back2root:ibm-pc-ms-dos:hardware:8253 [2023/01/14 15:33] fraterback2root:ibm-pc-ms-dos:hardware:8253 [2023/01/14 16:26] (Version actuelle) frater
Ligne 33: Ligne 33:
 {{anchor:port43h}} {{anchor:port43h}}
 ^  Bit  ^ 8253 Mode Control Register                         ^ ^  Bit  ^ 8253 Mode Control Register                         ^
-|  0    | Counter mode                                       +|  0    | Counter [[#cptformat|format]]                      
-|  1-3  | Counter mode bits                                  +|  1-3  | Counter [[#cptmode|mode]] bits                     
-|  4-5  | read/write/latch format bits                       |+|  4-5  | read/write/latch [[#cptlatch|format]] bits         |
 |  6-7  | counter select bits (also 8254 read back command)  | |  6-7  | counter select bits (also 8254 read back command)  |
  
-==== Bits 0 - Counter mode  ==== +==== Bits 0 - Counter format ==== 
 +{{anchor:cptformat}}
 |  0  |binary Counter| |  0  |binary Counter|
 |  1  |4 BCD counter| |  1  |4 BCD counter|
  
 ==== Bits 1-3 - Counter Mode Bits ==== ==== Bits 1-3 - Counter Mode Bits ====
 +{{anchor:cptmode}}
 ^  Bits  ^ ^ ^  Bits  ^ ^
 |  000  |mode 0, interrupt on terminal count;  countdown, interrupt, then wait for a new mode or count; loading a new count in the middle of a count stops the countdown| |  000  |mode 0, interrupt on terminal count;  countdown, interrupt, then wait for a new mode or count; loading a new count in the middle of a count stops the countdown|
Ligne 125: Ligne 125:
 ==== Bits 4-5 - Read/Write/Latch Format Bits ==== ==== Bits 4-5 - Read/Write/Latch Format Bits ====
  
 +{{anchor:cptlatch}}
 ^  Bits  ^ ^ ^  Bits  ^ ^
 |  00  |latch present counter value| |  00  |latch present counter value|
Ligne 132: Ligne 133:
  
 ==== Bits 6-7 - Counter Select Bits ==== ==== Bits 6-7 - Counter Select Bits ====
 +{{tablelayout?rowsHeaderSource=Auto}}
 +^  Bits  ^                                                                ^
 +|  00    | select counter 0                                               |
 +|  01    | select counter 1                                               |
 +|  10    | select counter 2                                               |
 +|  11    | read back command (8254 only, **illegal on 8253**, see [[#cptread|below]])  |
  
-^  Bits  ^ ^ +===== Read Back Command Status (8254 only) ====== 
-|  00  |select counter 0| +{{anchor:cptread}} 
-|  01  |select counter 1| +Read from counter register
-|  10  |select counter 2| +
-|  11  | read back command (8254 only, illegal on 8253, see below)| +
- +
-===== Read Back Command Format  (8254 only) ===== +
- +
-^  Bit  ^ Read Back Command (written to Mode Control Reg) ^ +
-|     | must be zero| +
-|     | select counter 0| +
-|     | select counter 1| +
-|     | select counter 2| +
-|     | 0 latch status of selected counters| +
-|     | 0 = latch count of selected counters| +
-|  6-7  | 11 = read back command| +
- +
- +
- +
-===== Read Back Command Status (8254 only, read from counter register) ======+
  
 ^  Bit  ^ Read Back Command Status ^ ^  Bit  ^ Read Back Command Status ^
back2root/ibm-pc-ms-dos/hardware/8253.1673706839.txt.gz · Dernière modification : 2023/01/14 15:33 de frater