IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)
IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF) IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)
Game Control Adapter The Game Control Adapter allows the system to attach paddles and joysticks. Up to four paddles or two joysticks may be attached. In addition, four input for switches are provided. Paddle and joystick positions are determined by changing resistive values sent to the adapter. The adapter plus system software converts the present resistive value to a relative paddle orjoystick position. On receipt ofan output signal, four timing circuits are started. By determining the time required for the circuit to time out (a function of the resistance), the paddle position can be determined. This card could be used as a general purpose I/O card with four analog (resistive) inputs plus four digital input points. This card fits into any ofthe five System Board I/O slots. The game control interface cable attaches to the rear ofthe card which protrudes through the rear panel of the System Unit. Game Control Adapter Block Diagram A9 - AO '\ .. ../ CONVERT A RESISTIVE INPUT I 10 ... ... DECODE TO K 4 I AEN .. INSTRUCTION RESISTANCE lOW .. DIGITAL " PU LSE lOR .. .-- .....- TYPICAL FREQUENCY 07·00 OF 833 Ht A DATA BUS A ,r 8 BUFFER/ 4 ... DRIVER " " DIGITAL INPUTS A " .... 4 I Figure 20. GAME CONTROL ADAPTER BLOCK DIAGRAM 2-117
Functional Description Address Decode The select on the Game Control Adapter is generated by two 74LS138's as an address decoder. AEN must be inactive while the address is 201 in order to generate the select. The select allows a write r-., to fire the one-shots or a read to give the values ofthe trigger buttons and one-shot outputs. Data Bus Buffer/Driver The data bus is buffered by a 74LS244 buffer/driver. For an IN from address X'20 1', the Game Control Adapter will drive the data bus; at all other times the buffer is left in the high impedance state. Trigger Buttons The trigger button inputs are read via an IN from address X'20 I'. A trigger button is on each joystick/paddle. These values are seen on data bits 7 through 4 (see Software Interface sub-section). These buttons default to an open state and are read as "1". When a button is depressed, it is read as "0". Software should be aware that these buttons are NOT debounced in hardware. Joystick Positions The joystick position is indicated by a potentiometer for each coordinate. Each potentiometer has a range from 0 to 100 K ohms that varies the time constant for each of the four one-shots. As this time constant is set at different values, the output of the one-shot will be of varying durations. All four one-shots are fired at once by an OUT to address X'201'. All four one-shot outputs will go true after the fire pulse and will remain high for varying times depending on where each potentiometer is set. These four one-shot outputs are read via an IN from address X'201 ' and are seen on data bits 3 through O. 2-118
- Page 86 and 87: Programming Considerations The Prin
- Page 88 and 89: Parallel Printer Adapter Interface
- Page 90 and 91: Table 7. Printer Specifications (1
- Page 92 and 93: Table 9. Functions and Conditions o
- Page 94 and 95: Table 10. Connector Pin Assignment
- Page 96 and 97: (4) Data transfer sequence Fig. 17
- Page 98 and 99: ASCII Control Codes Control Codes V
- Page 100 and 101: (8) DC 2 (Device Control 2) The DC
- Page 102 and 103: (b) 3) ESC 2 (Escape 2) Receipt of
- Page 104 and 105: ehaves like the LF code. Therefore,
- Page 106 and 107: [DATA] IESCGI ABCDEFGHI [PRINT] ABC
- Page 108 and 109: 5 1/4-Inch Diskette Drive Adapter T
- Page 110 and 111: ~ Functional Description From a pro
- Page 112 and 113: The FOe is capable of performing 15
- Page 114 and 115: Table 13. Symbol Descriptions (cont
- Page 116 and 117: Command Summary (continued) DATA B
- Page 118 and 119: Command Summary (continued) DATA B
- Page 120 and 121: Table 15. Status Register I BIT NO.
- Page 122 and 123: Table 17. Status Register 3 BIT NO.
- Page 124 and 125: ~ ~ +AO-9 +AEN -lOW -lOR -DACK2 +T
- Page 126 and 127: Adapter Inputs -Index -Write Protec
- Page 128 and 129: 5-1/4" Diskette Drive Adapter Exter
- Page 130 and 131: (3) The write-protect sensor disabl
- Page 132 and 133: Memory Expansion Options Two Memory
- Page 134 and 135: Switch - Configurable Start Address
- Page 138 and 139: I/O Channel Description A9-AO: D7-D
- Page 140 and 141: ) ) ) 15 PIN MALE '0' SHELL c....t
- Page 142 and 143: Asynchronous Communications Adapter
- Page 144 and 145: Modes of Operation The different mo
- Page 146 and 147: I TRANSMIT 'IACUIT I +5V ~ 4S-"l Tx
- Page 148 and 149: INS8250 Functional Pin Description
- Page 150 and 151: Data Set Ready (DSR), Pin 37: When
- Page 152 and 153: Input/Output Signals Data (D7-DO) B
- Page 154 and 155: Bit 3: This bit is the Parity Enabl
- Page 156 and 157: Table 23. BAUD RATE AT 1.843 Mhz De
- Page 158 and 159: Interrupt Identification Register T
- Page 160 and 161: Interrupt Enable Register This 8-bi
- Page 162 and 163: In the diagnostic mode, the receive
- Page 164 and 165: Transmitter Holding Register The T
- Page 166 and 167: Asynchronous Communications Adapter
- Page 168 and 169: SECTION 3. ROM and SYSTEM r", USAGE
- Page 170 and 171: MOV AH,l ;function is to set time o
- Page 172 and 173: Vectors With Special Meanings Inter
- Page 174 and 175: BIOS Memory Map STARTING ADDRESS H
- Page 176 and 177: The timer is set mode 3 which means
- Page 178 and 179: Keyboard Encoding and Usage Encodin
- Page 180 and 181: Keys 71-83 have meaning only in bas
- Page 182 and 183: ALT - Temporarily shifts keys 2-13,
- Page 184 and 185: Keyboard Usage This section is inte
<br />
Game Control Adapter<br />
The Game Control Adapter allows the system to attach paddles and<br />
joysticks. Up to four paddles or two joysticks may be attached. In<br />
addition, four input for switches are provided. Paddle and joystick<br />
positions are determined by changing resistive values sent to the<br />
adapter. The adapter plus system software converts the present<br />
resistive value to a relative paddle orjoystick position. On receipt ofan<br />
output signal, four timing circuits are started. By determining the time<br />
required for the circuit to time out (a function of the resistance), the<br />
paddle position can be determined. This card could be used as a general<br />
purpose I/O card with four analog (resistive) inputs plus four digital<br />
input points. This card fits into any ofthe five System Board I/O slots.<br />
The game control interface cable attaches to the rear ofthe card which<br />
protrudes through the rear panel of the System Unit.<br />
Game Control Adapter Block Diagram<br />
A9 - AO<br />
'\ ..<br />
../<br />
CONVERT A RESISTIVE INPUT<br />
I 10 ...<br />
...<br />
DECODE TO K<br />
4 I<br />
AEN .. INSTRUCTION RESISTANCE<br />
lOW .. DIGITAL "<br />
PU LSE<br />
lOR ..<br />
.--<br />
.....- TYPICAL FREQUENCY <br />
07·00 OF 833 Ht <br />
A<br />
DATA BUS A<br />
,r<br />
8 BUFFER/ 4<br />
... DRIVER " "<br />
DIGITAL INPUTS<br />
A<br />
"<br />
....<br />
4 I<br />
Figure 20. GAME CONTROL ADAPTER BLOCK DIAGRAM<br />
2-117