Hardware of The Original Ibm PC Microcomputer
Hardware of The Original Ibm PC Microcomputer
PC MICROCOMPUTER
HARDWARE OF THE
ORIGINAL IBM PC
MICROCOMPUTER
PC memory map
Usage
NMI
Parity
Timer
Keyboard
Reserved
Fixed disk
Diskette
Printer
8259A PIC
Interrupt controller
Memory Chip
Selects
Signal
Function
Conditions
0-1F
DMA CS
DMA controller
20-3F
INTR CS
Interrupt controller
40-5F
T/C CS
Interval timer
60-7F
PPI CS
80-9F
A0-BF
Address range
Chip select
F0000-F1FFF
CS0
F2000-F3FFF
CS1
F4000-F5FFF
CS2
F6000-F7FFF
CS3
F8000-F9FFF
CS4
FA000-FBFFF
CS5
FC000-FDFFF
CS6
FE000-FFFFF
CS7
Address range
Condition
00000-0FFFF
RAS0 , CAS0
10000-1FFFF
RAS1 , CAS1
20000-2FFFF
RAS2 , CAS2
30000-3FFFF
RAS3 , CAS3
Active signal
00000-3FFFF
Octal buffers
EPROMs
Data bus
transceivers
Bus transceiver
RAM bank 0
Parity generator/checker
Data
selectors
DMA circuitry
DMA Controller
Hardware Requests
Address Latch
DMA circuitry
The DMA capability permits high-speed data transfers
to take place between two sections of memory or an
I/O device and memory.
There are 16 registers within the 8237A DMA
controller that determine how and when the four DMA
channels work. The 8088 communicates with these
registers by executing I/O instructions.
DMA channel 0 is dedicated to RAM refresh and that
channel 2 is used by the floppy disk subsystem.
Use of a DMA channel is initiated by a request from
hardware (DRQ0 through DRQ3).
-- Counter 0
-- Counter 1
-- Counter 2
-- Mode Control Register
Amplifier Circuit
For Cassette Data Input
input/output circuitry:
Serial-in Parallel-out Shift Register
Keyboard
Interface Circuitry
Inputting System
Configuration DIP Switch
EXAMPLE
The system configuration byte read from input port PA is 7D16.
Describe the PC configuration for these switch setting.
Solution:
Use the IN AL, 60H instruction to obtain the data from port PA.
Expressing the switch setting byte in binary form, we get
PA7PA6PA5PA4PA3PA2PA1PA0 = 7D16 = 011111012
We find that
PA0 = 1 indicates that the system has floppy-disk drive(s)
PA1 = 0 indicates that an 8087 is not installed
PA3PA2 = 11 indicates that the memory is 256K
PA5PA4 = 11 indicates a monochrome monitor
PA7PA6 = 01 indicates that the system has two floppy drives.
O
O
ALE
CLK
Clock
Data lines 0 7
DMA acknowledge 0 3
DRQ1 DRQ3
DMA request 1 3
I/O CH CK
I/O CH RDY
IOR
IOW
DACK0 DACK7
IRQ2 IRQ7
Interrupt request 2 7
MEMR
MEMW
Oscillator
OSC
RESET DRV
T/C
Function
Address enable
D0 D7
Name
Address lines 0-19
AEN
Reset
Terminal count
O
O