Before using this information and the product it supports, be sure to read the
general information under “Notices” on page B-1.
Second Edition (July 1997)
The following paragraph does not apply to the United Kingdom or any country
where such provisions are inconsistent with local law: INTERNATIONAL
BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION “AS IS”
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states
do not allow disclaimer of express or implied warranties in certain transactions,
therefore, this statement may not apply to you.
This publication could include technical inaccuracies or typographical errors. Changes
are periodically made to the information herein; these changes will be incorporated in
new editions of the publication. IBM may make improvements or changes in the
products or the programs described in this publication at any time.
Requests for technical information about IBM products should be made to your IBM
Authorized Dealer or your IBM Marketing Representative.
Copyright International Business Machines Corporation 1996, 1997. All rights
reserved.
Note to U.S. Government Users — Documentation related to restricted rights — Use,
duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule
Contract with IBM Corp.
1-2.System Board Devices and Features.......... 1-3
1-3.System Board I/O Address Map............. 1-6
1-4.Performance Specifications for the ThinkPad 560/560E 1-8
1-5.Physical Specifications for the ThinkPad 560/560E.. 1-9
1-6.Electrical Specifications for the ThinkPad 560/560E 1-10
1-7.Acoustical Readings for the ThinkPad 560/560E.. 1-10
1-8.Power Supply Maximum Current........... 1-11
1-9.Voltage Pin Assignments for 35W AC Adapter... 1-12
3-1.PCMCIA Standards and Specifications......... 3-8
3-2.PCMCIA PC Card Slot Pin Assignments........ 3-9
Tables
3-1.BIOS Video Modes for the ThinkPad Computer.... 3-4
vi
Preface
This technical reference contains hardware and software interface
information specific to the IBM* ThinkPad* 560/560E computer. This
technical reference is intended for those who develop hardware and
software products for the computer. Users should understand
computer architecture and programming concepts.
This publication consists of the following sections and appendixes:
Section 1, “System Overview,” describes the system, features,
and specifications.
Section 2, “System Board,” describes the system-specific
hardware implementations.
Section 3, “Subsystems,” describes the hardware functions
specific to the ThinkPad 560/560E computers.
Appendix A, “System Management API (SMAPI) BIOS
Overview,” describes the system software interface built into the
system, called the System Management Application Program
Interface (SMAPI) BIOS, which controls the system information,
system configuration, and power management features of the
ThinkPad system.
Appendix B, “Notices,” contains special notices and trademark
information.
An index is also included.
This technical reference should be used with the following
publications:
IBM Personal System/2 Hardware Interface Technical Reference
IBM Personal System/2 and Personal Computer BIOS Interface
These publications contain additional information on many of the
subjects discussed in this technical reference. Information about
diskette drives, hard disk drives, adapters, and external options are
in separate technical references.
Copyright IBM Corp. 1996, 1997vii
Attention
The term
Reserved
describes certain signals, bits, and registers
that should not be changed. Use of reserved areas can cause
compatibility problems, loss of data, or permanent damage to the
hardware. When the contents of a register are changed, the
state of the reserved bits must be preserved. When possible,
read the register first and change only the bits that must be
changed.
IBM Personal System/2 Hardware Interface Technical Reference
describes devices common to the PS/2* AT-bus system family.
The IBM ThinkPad 560/560E computer (hereafter called the 560,
ThinkPad computer
, or
computer
) is a notebook-size computer that
features the AT* bus architecture. Each computer supports one
external diskette drive and one internal hard disk drive.
Programs can distinguish the foregoing models of computers from
other ThinkPad models by reading the system ID: Interrupt 15H,
function code (AH)=23H, (AL)=10H, returns (AL)=0EH for the
560/560E.
The system microprocessor contains an internal cache and cache
controller.
Figure 1-1 lists the model bytes, submodel bytes, and system clock
speed of the system board.
ModelModel Byte
(Hex)
560/560EFC0166 MHz / 60 MHz
Figure 1-1. Model and Submodel Bytes
For a listing of the other systems, refer to the
System/2 and Personal Computer BIOS Interface
Submodel Byte
(Hex)
System Clock
IBM Personal
.
1-2ThinkPad 560/560E System Overview
System Board Devices and Features
Figure 1-2 lists the system board devices and their features. The
IBM Personal System/2 Hardware Interface Technical Reference
describes devices common to PS/2 products by type number.
DeviceTypeFeatures
Microprocessor–ThinkPad 560:
Intel** Pentium**
100/120/133MHz
16KB on-chip cache
ThinkPad 560E:
Intel Pentium processor with the MMX
technology
150/166MHz
32KB on-chip cache
Level 2 cache–ThinkPad 560:
None
ThinkPad 560E:
256KB
System timers1Channel 0: system timer
ROM subsystem–128KB by 4 banks (1KB equals 1024 bytes)
RAM subsystem–ThinkPad 560:
CMOS RAM
subsystem
–128 bytes CMOS RAM with real-time
Channel 1: refresh generation
Channel 2: tone generator for speaker
8 to 40MB (1MB equals 1048576 bytes)
ThinkPad 560E:
16MB (standard). Expandable up to 48MB
with the 32MB DIMM.
Expandable up to 80MB with the 2-bank-type
64MB DIMM.
clock/calendar
Figure 1-2 (Part 1 of 3). System Board Devices and Features
ThinkPad 560/560E System Overview1-3
DeviceTypeFeatures
Video subsystem–SVGA video functions:
ThinkPad 560:
Up to 256 colors on the DSTN LCD
Up to 16 777 216 colors on an external
display
Up to 65 536 colors on the TFT LCD
Up to 16 777 216 colors on an external
display
ThinkPad 560E:
Up to 65 536 colors on the DSTN LCD
Up to 16 777 216 colors on an external
display
Up to 262 144 colors on the TFT LCD
Up to 16 777 216 colors on an external
display
See “Video Subsystem” on page 3-2 for more
DMA controller1Seven DMA channels (AT compatible)
Interrupt controller115 levels of system interrupts
Keyboard/auxiliary
device controller
Diskette drive
controller
Hard disk controller–Supports IDE controller
Serial controller
port
Parallel controller
port
Expansion bus
adapter
PCMCIA**ñ slots–Conforms to the standards and
1Internal keyboard
2Supports:
2EIA-232-E interface (16550 compatible)
1Programmable as parallel port 1, 2, or 3
–Supports externally attached devices:
details of the video subsystem.
Four 8-bit channels and three 16-bit channels
(interrupts are edge-triggered)
TrackPoint III
Figure 1-3 (Part 2 of 2). System Board I/O Address Map
ThinkPad 560/560E System Overview1-7
Specifications
Figure 1-4 to Figure 1-7 on page 1-10 list the specifications for the
computer.
Performance Specifications
Device
Microprocessor (66 MHz–15 ns clock)
Access to RAM:ñ
Memory readPage hit, burst
Page miss, burst
Memory writePage miss, burst45 ns
Access to ROM:1000
Refresh rate (typically performed every 15.6 µs)750 (minimum)
DMA controller (4 MHz–250 µs clock):1250
Bus cycles (AT):
8 bit
16 bit
ñ The cycle times shown for access to system-board RAM are based on 70 ns
EDO memory.
Device
Microprocessor (60 MHz–16.5 ns clock)
Memory readPage hit, burst
Page miss, burst
Memory writePage miss, burst50 ns
Cycle
Time (ns)
240 ns
360 ns
1000
625
Cycle
Time (ns)
216 ns
350 ns
Figure 1-4. Performance Specifications for the ThinkPad 560/560E
1-8ThinkPad 560/560E System Overview
Physical Specifications
Size
Width:297 mm (11.7 in.)
Depth: 222 mm (8.7 in.)
Height: 31.0 mm (1.22 in.)
Weightñ (approximate value)
Air Temperature
Humidity
Maximum altitudeò: 3048 m (10000 ft) in unpressurized conditions
Heat output: 35 W (119.4 BTUs/hour) at maximum configuration
Acoustical readings (see Figure 1-7 on page 1-10)
Electrical (see Figure 1-6 on page 1-10)
Electromagnetic compatibility: FCC class B
ñ With battery pack installed.
ò This is the maximum altitude at which the specified air temperatures apply. At
higher altitudes, the maximum air temperatures are lower than those specified.
DSTN display:
1.87 kg (4.12 lb)
TFT display:
1.86 kg (4.10 lb)
System on (without diskette)
5.0°C to 35.0°C (41°F to 95°F)
System on (with diskette)
10.0°C to 35.0°C (50°F to 95°F)
System off
5.0°C to 43.0°C (41°F to 110°F)
System (without diskette)
8% to 95%
System (with diskette)
8% to 80%
Figure 1-5. Physical Specifications for the ThinkPad 560/560E
ThinkPad 560/560E System Overview1-9
Electrical Specifications
(35 W)
Input Voltageñ
(V ac)
Frequency (Hz)50/60
Inputò (kVA)0.132
ñ Range is automatically selected; sine wave input is required.
ò At maximum configuration.
100–240
Figure 1-6. Electrical Specifications for the ThinkPad 560/560E
Acoustical Readings
LOperateIdleOperateIdleOperateIdle
4.03.434302722
Notes:
L
WAd
L
pAm
<L
pA>m
OperateShows the value while using the hard disk drive.
All measurements made in accordance with ANSI S12.10 and reported in
conformance with ISO 9296.
in belsL
WAd
Is the declared sound power level for the random sample of
machines.
Is the mean value of the A-weighted sound pressure levels at the
operator position (if any) for the random sample of machines.
Is the mean value of the A-weighted sound pressure levels at the
one-meter position for the random sample of machines.
in dB<L
pAm
pA>m
in dB
Figure 1-7. Acoustical Readings for the ThinkPad 560/560E
1-10ThinkPad 560/560E System Overview
Power Supply
The power supply converts the ac voltage to dc voltage and provides
power for the following:
System board set
Diskette drive
Hard disk drive
Auxiliary devices
Keyboard
LCD panel
PCMCIA cards
Voltages
The power supply generates five different dc voltages: VCCCPU,
VCC3A, VCC5M, VCCSW, and VCC12M. Figure 1-8 shows the
maximum current for each voltage.
OutputVoltage (V dc)Current (A)
VCCCPU+2.9 or +2.52.20
VCC3A+3.32.00
VCC5M+5.03.00
VCCSW+5.00.01
VCC12M+12.00.11
Figure 1-8. Power Supply Maximum Current
ThinkPad 560/560E System Overview1-11
Output Protection
A short circuit placed on any dc output (between outputs or between
an output and a dc return) latches all dc outputs into a shutdown
state, with no hazardous condition to the power supply.
If an overvoltage fault occurs in the power supply, the power supply
latches all dc outputs into a shutdown state before any output
exceeds 135% of the nominal value of the power supply.
Voltage Sequencing
When power is turned on, the output voltages reach their operational
voltages within 2 seconds.
Power Supply Connector
The following connector is used with the AC Adapter. The total
power capacity of this connector must not exceed 4.0 A.
2
1
Refer to Figure 1-9 for the appropriate adapter pin assignments.
PinVoltage
1+7.0 V dc to +16.0 V dc (depending on charging conditions)
2Ground
Figure 1-9. Voltage Pin Assignments for 35W AC Adapter
1-12ThinkPad 560/560E System Overview
Battery Pack
The ThinkPad computer uses a lithium-ion (Li-Ion) battery pack that
meets the following electrical specifications:
Nominal Voltage+10.8 V dc
Capacity (average)2.2 ampere hours (AH)
ProtectionOvercurrent protection
This section describes the microprocessor, connectors, memory
subsystems, and miscellaneous system functions and ports for the
ThinkPad computers. You can find additional information about
these topics in
Reference–AT-Bus Subsystems
Microprocessor
The ThinkPad 560 uses the Intel Pentium 100/120/133MHz
microprocessor. This microprocessor contains a full 32-bit RISC
integer core, a built-in math coprocessor, and a 16KB internal cache
memory.
The ThinkPad 560E uses the Intel Pentium 150/166MHz
microprocessor with the MMX technology. This microprocessor
contains a full 32-bit RISC integer core, a built-in math coprocessor,
and a 32KB on-chip cache memory.
IBM Personal System/2 Hardware Interface Technical
.
Cache Memory Operation
The cache memory in the Intel Pentium microprocessor enables the
microprocessor to read instructions and data much faster than if the
microprocessor had to access system memory. When an instruction
is first used or data is first read or written, it is transferred to the
cache memory from main memory. This enables future accesses to
the instructions or data to occur much faster.
The cache is disabled and empty when the microprocessor comes
out of the reset state. The cache is tested and enabled during the
power-on self-test (POST).
The cache memory in the Intel Pentium microprocessor is loaded
from system memory in 32-byte increments, each referred to as a
cache line
reference to any byte contained in a cache line results in the entire
line being read into the cache memory (if the data was not already in
the cache). When the microprocessor gives up control of the system
bus, the cache memory enters “snoop” mode and monitors all write
and read operations. If memory data is written to a location in the
cache and the cache line is in the “modified” state, the corresponding
cache line is written back to system memory and is invalidated.
2-2ThinkPad 560/560E System Board
. A cache line is aligned on a paragraph boundary. A
When the microprocessor performs a memory read, the data address
is used to find the data in the cache. If the data is found (a hit), it is
read from the cache memory and no external bus cycle occurs. If
the data is not found (a miss), an external bus cycle is used to read
the data from system memory. If the address of the missed data is
in a cacheable address space, the data is stored in the cache
memory and the remainder of the cache line is read.
When the microprocessor performs a memory write, the data
address is used to search the cache. If the address is found (a hit),
the data is written to the cache and no external bus cycle is used to
write the data to system memory. (If the address of the write
operation was not in the cache memory but was in cacheable
address space, the data is read back into the cache memory and the
remainder of the cache line is read.)
Cacheable Address Space
Cacheable address space is defined as system memory that resides
on the system board (0–640KB and 1MB–40MB or 80MBñ). Nothing
in address range hex A0000–BFFFF, I/O address space, or memory
in any AT slot is cached.
ROM address space (hex C0000–C7FFF) is L1 cacheable for
read operations only
. If data in this address range is already in
code
cache memory and the address range is written to, the cached line is
invalidated and is read again from RAM (in which the BIOS is
shadowed in).
ñ
Cacheability of system memory is up to 64MB in the L2 cache, and is up to 4GB in
the on-chip L1 cache.
ThinkPad 560/560E System Board2-3
Keyboard/Mouse Connector
Each ThinkPad computer has a keyboard/mouse connector where
the IBM mouse, keyboard, or numeric keypad is connected.
Signals
The keyboard and mouse signals are driven by open-collector drivers
pulled to 5 V dc through a pull-up resistor. Figure 2-1 lists the
signals.
Sink current20 mAMaximum
High-level output voltage5.0 V dc minus pullupMinimum
Low-level output voltage0.5 V dcMaximum
High-level input voltage2.0 V dcMinimum
Low-level input voltage0.8 V dcMaximum
Figure 2-1. Keyboard and Mouse Signals
Connector
The keyboard/mouse connector uses a 6-pin, miniature DIN
connector.
56
34
12
PinI/OSignal Name
1I/OMouse Data
2I/OKeyboard Data
3–Ground
4–+5 V dc
5I/OMouse Clock
6I/OKeyboard Clock
Note: The maximum current for +5 V dc (pin 4) is 0.5 A for both the
mouse and the numeric keypad.
2-4ThinkPad 560/560E System Board
Scan Codes
Figure 2-3 shows the key numbers assigned to keys on the 84-key
keyboard (for the U.S. and Japan). Figure 2-4 on page 2-6 shows
the key numbers assigned to keys on the 85-key keyboard (for
countries other than the U.S. and Japan). For scan codes assigned
to each numbered key, refer to the
Interface Technical Reference
IBM Personal System/2 Hardware
.
110
112
113
1
16
3031
44
Fn
114
2
3
17
18
46
58
60
116
115
4
19
32
47
5
33
48
117118119
6
20
21
34
3536
49
LeftRight
7
22
5051
61
8
120
9
2324
37
5253
124
125
122 1237681
121
1011
25
38
39
6264
Figure 2-3. Key Numbers for the 84-Key Keyboard
54
126
12
26
4041
55
80
75
13
27
79
85
86
15
29
28
43
57
83
89
84
ThinkPad 560/560E System Board2-5
110
112
113
1
16
3031
44
Fn
124
125
126
114
2
3
17
18
46
45
58
60
116
115
4
19
32
47
5
33
48
117118119
6
20
21
34
3536
49
LeftRight
7
22
5051
61
8
2324
120
37
121
9
1011
38
5253
122 1237681
12
26
25
39
6264
54
27
4041
55
80
75
13
28
42
79
85
86
15
43
57
83
89
84
Figure 2-4. Key Numbers for the 85-Key Keyboard
Keyboard ID
The keyboard ID consists of 2 bytes: hex 83AB (the built-in keyboard
with the external numeric keypad) or hex 84AB (the built-in keyboard
only). Interrupt 16H, function code (AH)=0AH, returns the keyboard
ID.
2-6ThinkPad 560/560E System Board
Figure 2-5 shows the key numbers assigned to keys on the external
numeric keypad. For scan codes assigned to each numbered key,
refer to the
Reference
IBM Personal System/2 Hardware Interface Technical
.
9095
91
96
92
97
93
98
99
100
101
102
103
104
105
106
108
Figure 2-5. Key Numbers for the External Numeric Keypad
Displayable Characters and Symbols
For displayable characters and symbols that are keyable from the
keyboard, refer to the
Technical Reference
IBM Personal System/2 Hardware Interface
.
ThinkPad 560/560E System Board2-7
Hard Disk Drive Connector
The hard disk drive is connected to the system board. The following
shows the pin assignments for the connector on the system board.
21HD01Data 146GNDGround
22HD14Data 1447+5V+5V dc
23HD00Data 048+5V+5V dc
24HD15Data 1549GNDGround
25GNDGround50–Not connected
26–Not connected
27–Not connected
50
Request
(active/slave
drive present)
Figure 2-6. Hard Disk Drive Connector Pin Assignments
2-8ThinkPad 560/560E System Board
External Connector
The Port Replicator is connected through the 100-pin external
connector at the bottom of the computer. This connector is installed
on the system board and has the following pin assignments:
Ready
32Clear to SendS82Transmit DataS
33Request to SendS83Receive DataS
34Data Set ReadyS84Data Carrier
Detect
35GNDG85GNDG
36GNDG86−STROBEP
37−AUTO FD XTP87Data Bit 0P
38−ERRORP88Data Bit 1P
39−INITP89Data Bit 2P
40−SLCT INP90Data Bit 3P
41Data Bit 4P91Data Bit 5P
42Data Bit 6P92Data Bit 7P
43−ACKP93BUSYP
44PEP94SLCTP
45GNDG95GNDG
46REDV96−VIDEO_PDNV
47BLUEV97GREENV
48HSYNCV98DDCDATAV
49VSYNCV99DDCCLOCKV
50GNDG100GNDG
Type Legend:
G: GroundW: Powerline
F: Diskette drive signalK: Keyboard/Mouse signal
S: Serial port signalP: Parallel port signal
V: Video signal
Figure 2-8 shows the read, write, and format capabilities of the
diskette drive for the ThinkPad computer.
Format Size
Diskette Type
3.5-inch 1.0MB DisketteRWF−−
3.5-inch 2.0MB Diskette−RWFRWF
Legend: :
1KB (kilobyte)1024 bytes
1MB (megabyte)1 048 576 bytes
R Read
W Write
F Format
Figure 2-8. Diskette Drive Read, Write, and Format Capabilities
720KB1.2MB1.44MB
ThinkPad 560/560E System Board2-11
Diskette Drive Connector
The external diskette drive is connected through the diskette drive
connector, located on the left side of the computer. Figure 2-9
shows the pin assignments of the connector:
The ROM subsystem consists of four banks of 128KB memory.
ROM is active when power is turned on and is assigned to the top of
the first and last 1MB of address space (hex 000F0000–000FFFFF
and hex FFFF0000–FFFFFFFF). After POST checks that system
memory is operating correctly, the ROM code is copied to RAM at
the same address space, and ROM is disabled.
RAM Subsystem
The RAM subsystem on the system board starts at address
hex 00000000 of the address space. The RAM subsystem for the
ThinkPad 560 is 64 bits wide.
The 8MB (ThinkPad 560) or 16MB (ThinkPad 560E) base memory is
on the system board. One 144-pin 8-byte dual inline memory
module (DIMM) connector is provided on the system board. This
connector accepts a 8MB, 16MB, 32MB, or 64MB
1
DIMM. The
memory capacity can be increased up to 40MB (ThinkPad 560) or
80MB (ThinkPad 560E) when a DIMM is used (see “System Board
Memory Connector for DIMM” on page 2-14).
The total amount of usable memory is less than the amount of
memory installed because of ROM-to-RAM remapping and power
management.
1
A 64MB DIMM is supported by ThinkPad 560E only.
ThinkPad 560/560E System Board2-13
System Memory Map
Memory is mapped by the memory controller registers.
Figure 2-10 shows the memory map for a correctly functioning
system. Memory can be mapped differently if POST detects an error
in system board memory or RT/CMOS RAM. In the figure, the
variable
memory starting at or above the hex 100000 boundary.
Hex Address RangeFunction
00000000 to 0009FFFF640KB system board RAM
000A0000 to 000BFFFFVideo RAM
000C0000 to 000C7FFFSystem board video BIOS ROM mapped to
000C8000 to 000EFFFFChannel ROM
000F0000 to 000FFFFF64KB system board ROM mapped to RAM
00100000 to (00100000 +
x
FFFF0000 to FFFFFFFF64KB system board ROM
Figure 2-10. System Memory Map
MB)
x
represents the number of 1MB blocks of system board
RAM
x
MB system board RAM
(same as 000F0000 to 000FFFFF)
System Board Memory Connector for DIMM
The system board of ThinkPad 560 has one DIMM connector that
directly accepts one 144-pin DIMM of one of the following three
different capacities: 8MB, 16MB, or 32MB.
The system board of ThinkPad 560E has one DIMM connector that
directly accepts one 144-pin DIMM of one of the following four
different capacities: 8MB, 16MB, 32MB, or 64MB (2-bank type).
Figure 2-11 on page 2-15 shows the pin assignments for the DIMM
connector.
2-14ThinkPad 560/560E System Board
PinSignalPinSignalPinSignal
1Ground49MD4297MD25
2Ground50MD2198MD38
3MD1551MD4199MD24
4MD4852MD22100MD39
5MD1453MD40101+3.3V dc
6MD4954MD23102+3.3V dc
7MD1355Ground103MA6
8MD5056Ground104MA7
9MD1257Ground105MA8
10MD5158Ground106MA11
11+3.3V dc59Ground107Ground
12+3.3V dc60Ground108Ground
13MD1161not connected109MA9
14MD5262Not connected110Ground
15MD1063+3.3V dc111MA10
16MD5364+3.3V dc112Ground
17MD965Not connected113+3.3V dc
18MD5466Not connected114+3.3V dc
19MD867−WE115−CAS3
20MD5568Not connected116−CAS4
21Ground69−RAS2117−CAS7
22Ground70Not connected118−CAS0
23−CAS171−RAS3119Ground
24−CAS672Not connected120Ground
25−CAS573Ground121MD56
26−CAS274Not connected122MD7
27+3.3V dc75Ground123MD57
28+3.3V dc76Ground124MD6
29MA077Ground125MD58
30MA378Ground126MD5
31MA179Ground127MD59
32MA480Ground128MD4
33MA281+3.3V dc129+3.3V dc
34MA582+3.3V dc130+3.3V dc
35Ground83MD31131MD60
36Ground84MD32132MD3
37MD4785MD30133MD61
38MD1686MD33134MD2
39MD4687MD29135MD62
40MD1788MD34136MD1
41MD4589MD28137MD63
42MD1890MD35138MD0
43MD4491Ground139Ground
44MD1992Ground140Ground
45+3.3V dc93MD27141IòC Data
46+3.3V dc94MD36142IòC Clock
47MD4395MD26143+3.3V dc
48MD2096MD37144+3.3V dc
Figure 2-11. DIMM Connector Pin Assignments
ThinkPad 560/560E System Board2-15
RT/CMOS RAM
The RT/CMOS RAM (real-time clock/complementary metal-oxide
semiconductor RAM) module contains the real-time clock and 128
bytes of CMOS RAM. The clock circuitry uses 14 bytes of this
memory; the remainder is allocated to configuration and
system-status information. A battery is built into the module to keep
the RT/CMOS RAM active when the power supply is not turned on.
Figure 2-12 lists the RT/CMOS RAM bytes and their addresses.
Address (Hex)RT/CMOS RAM Bytes
000–00DReal-time clock
00EDiagnostic status
00FShutdown status
010Diskette drive type
011Hard disk 2 and 3 drive type
012Hard disk 0 and 1 drive type
013Reserved
014Equipment
015, 016Low and high base memory
017, 018Low and high expansion memory
019Hard disk 0 extended byte
01AHard disk 1 extended byte
01BHard disk 2 extended byte
01CHard disk 3 extended byte
01D–02DReserved
02E, 02FChecksum
030, 031Low and high usable memory above 1MB
032Date-century
033–07FReserved
Figure 2-12. RT/CMOS RAM Address Map
2-16ThinkPad 560/560E System Board
RT/CMOS Address and NMI Mask Register (Hex 0070)
The NMI mask register is used with the RT/CMOS data register (hex
0071) to read from and write to the RT/CMOS RAM bytes.
Attention
The operation following a write to hex 0070 should access hex
0071; otherwise, intermittent failures of the RT/CMOS RAM can
occur.
BitFunction
7NMI mask
6–0RT/CMOS RAM address
Figure 2-13. RT/CMOS Address and NMI Mask Register (Hex 0070)
Bit 7When this write-only bit is set to 1, the NMI is masked
(disabled). This bit is set to 1 by a power-on reset.
Bits 6–0These bits are used to select RT/CMOS RAM
addresses.
RT/CMOS Data Register (Hex 0071)
The RT/CMOS data register is used with the RT/CMOS address and
NMI mask register (hex 0070) to read from and write to the
RT/CMOS RAM bytes.
BitFunction
7–0RT/CMOS data
Figure 2-14. RT/CMOS Data Register (Hex 0071)
ThinkPad 560/560E System Board2-17
RT/CMOS RAM I/O Operations
During I/O operations to the RT/CMOS RAM addresses, you should
mask interrupts to prevent other interrupt routines from changing the
RT/CMOS address register before data is read or written. After I/O
operations, you should leave the RT/CMOS address and NMI mask
register (hex 0070) pointing to status register D (hex 00D).
Attention
The operation following a write to hex 0070 should access hex
0071; otherwise, intermittent failures of the RT/CMOS RAM can
occur.
Writing to the RT/CMOS RAM requires the following:
1. Write the RT/CMOS RAM address to the RT/CMOS address and
NMI mask register (hex 0070).
2. Write the data to the RT/CMOS data register (hex 0071).
3. Write the address, hex 0F, to the RT/CMOS and NMI mask
register; this leaves hex 0070 pointing to the shutdown status
byte (hex 0F).
4. Read address hex 0071 to restore the RT/CMOS.
Reading from the RT/CMOS RAM requires the following steps:
1. Write the RT/CMOS RAM address to the RT/CMOS and NMI
mask register (hex 0070).
2. Read the data from the RT/CMOS data register (hex 0071).
3. Write the address, hex 0F, to the RT/CMOS and NMI mask
register; this leaves hex 0070 pointing to the shutdown status
byte (hex 0F).
4. Read address hex 0071 to restore the RT/CMOS.
2-18ThinkPad 560/560E System Board
Real-Time Clock Bytes (Hex 000–00D):
Bit definitions and
addresses for the real-time clock bytes are shown in Figure 2-15.
Note: The Setup program initializes status registers A and B when
the time and date are set. Interrupt 1AH is the BIOS
interface to read and set the time and date; it initializes the
registers in the same way that the Setup program does.
Status Register A (Hex 00A)
BitFunction
7Update in progress
6–422-stage divider
3–0Rate-selection bits
Figure 2-16. Status Register A (Hex 00A)
Bit 7When set to 1, this bit indicates that the time-update
cycle is in progress. When set to 0, it indicates that the
current date and time can be read.
Bits 6–4These bits identify which time-base frequency is being
used. The system initializes these bits to binary 010,
which selects a 32.768-kHz time base. This is the only
value supported by the system for proper timekeeping.
Bits 3–0These bits allow the selection of a divider output
frequency. The system initializes the rate-selection bits
to a binary 0110, which selects a 1.024-kHz
Bit 7When set to 0, this bit updates the cycle, normally by
advancing the count at a rate of one cycle per second.
When set to 1, it immediately ends any update cycle in
progress, and the program can initialize the 14 time bytes
without any further updates occurring until this bit is set
to 0.
Bit 6This is a read/write bit that allows an interrupt to occur at
a rate specified by the rate and divider bits in status
register A. When set to 1, this bit enables the interrupt.
The system initializes this bit to 0.
Bit 5When set to 1, this bit enables the alarm interrupt. The
system initializes this bit to 0.
Bit 4When set to 1, this bit enables the update-ended
interrupt. The system initializes this bit to 0.
Bit 3When set to 1, this bit enables the square-wave
frequency as set by the rate-selection bits in status
register A. The system initializes this bit to 0.
Bit 2This bit indicates whether the binary-coded-decimal (BCD)
or binary format is used for time-and-date calendar
updates. When set to 1, this bit indicates the binary
format. The system initializes this bit to 0.
Bit 1This bit indicates whether the hours byte is in 12-hour or
24-hour mode. When set to 1, this bit indicates the
24-hour mode. The system initializes this bit to 1.
2-20ThinkPad 560/560E System Board
Bit 0When set to 1, this bit enables the daylight-saving-time
mode. When set to 0, this bit disables the
daylight-saving-time mode, and the clock reverts to
standard time. The system initializes this bit to 0.
Status Register C (Hex 00C)
BitFunction
7Interrupt request flag
6Periodic interrupt flag
5Alarm interrupt flag
4Update-ended interrupt flag
3–0Reserved
Figure 2-18. Status Register C (Hex 00C)
Note: Interrupts are enabled by bits 6, 5, and 4 in status register B.
Bit 7When set to 1, this bit indicates that an interrupt has
occurred; bits 6, 5, and 4 indicate the type of interrupt.
Bit 6When set to 1, this bit indicates that a periodic interrupt
has occurred.
Bit 5When set to 1, this bit indicates that an alarm interrupt
has occurred.
Bit 4When set to 1, this bit indicates that an update-ended
interrupt has occurred.
Bits 3–0These bits are reserved.
Status Register D (Hex 00D)
BitFunction
7Valid RAM
6–0Reserved
Figure 2-19. Status Register D (Hex 00D)
Bit 7This read-only bit monitors the internal battery. When
set to 1, this bit indicates that the real-time clock has
power. When set to 0, it indicates that the real-time
clock has lost power and the data in CMOS is no longer
valid.
Bits 6–0These bits are reserved.
ThinkPad 560/560E System Board2-21
CMOS RAM Configuration
Figure 2-20 shows the bit definitions for the CMOS RAM
configuration bytes.
Diagnostic Status Byte (Hex 00E)
BitFunction
7Real-time clock power
6Configuration record and checksum status
5Incorrect configuration
4Memory size mismatch
3Hard disk controller/drive C initialization status
2Time status indicator
1, 0Reserved
Figure 2-20. Diagnostic Status Byte (Hex 00E)
Bit 7When set to 1, this bit indicates that the real-time clock
has lost power.
Bit 6When set to 1, this bit indicates that the checksum is
incorrect.
Bit 5This bit indicates the results of a power-on check of the
equipment byte (hex 014). When set to 1, this bit
indicates that the configuration information is incorrect.
Bit 4When set to 1, this bit indicates that the memory size
does not match the configuration information.
Bit 3When set to 1, this bit indicates that the controller or hard
disk drive failed initialization.
Bit 2When set to 1, this bit indicates that the time is invalid.
Bits 1, 0These bits are reserved.
Shutdown Status Byte (Hex 00F):
power-on diagnostic programs.
2-22ThinkPad 560/560E System Board
This byte is defined by the
Diskette Drive Type Byte (Hex 010):
This byte indicates the type
of the installed diskette drive.
BitDrive Type
7–4Diskette drive type
3–0Reserved
Figure 2-21. Diskette Drive Type Byte (Hex 010)
Bits 7–4These bits indicate the diskette drive type.
Bits 7–4Description
0 1 1 0
0 1 0 0
Note: Combinations not shown are reserved.
Diskette drive (2.88MB)
Diskette drive (1.44MB)
Figure 2-22. Diskette Drive Type Bits 7–4
Bits 3–0These bits are reserved.
Hard Disk Drive Type Byte (Hex 011):
This byte defines the type
of hard disk drive installed. Hex 00 indicates that no hard disk drive
is installed.
BitDrive Type
7–4
3–0
Hard disk drive type 2
Hard disk drive type 3
Figure 2-23. Hard Disk Type Byte (Hex 011)
Bit 7–4Description
0 0 0 0
1 1 1 1
No drive installed for hard disk drive 2
Use CMOS 1BH for hard disk drive 2
Figure 2-24. Hard Disk Drive Type 2 (Bits 7–4)
Bit 3–0Description
0 0 0 0
1 1 1 1
No drive installed for hard disk drive 3
Use CMOS 1CH for hard disk drive 3
Figure 2-25. Hard Disk Drive Type 3 (Bits 3–0)
ThinkPad 560/560E System Board2-23
Hard Disk Drive Type Byte (Hex 012):
This byte defines the type
of hard disk drive installed. Hex 00 indicates that no hard disk drive
is installed.
Bits 3–2These bits are reserved.
Bit 1When set to 1, this bit indicates that a coprocessor is
installed.
Bit 0When set to 1, this bit indicates that physical diskette
drive 0 is installed.
Low and High Base Memory Bytes (Hex 015 and Hex 016):
The
low and high base memory bytes define the amount of memory
below the 640KB address space.
The value in these bytes represents the number of 1KB blocks of
base memory. For example, hex 0280 indicates 640KB. The low
byte is hex 015; the high byte is hex 016.
Low and High Expansion Memory Bytes (Hex 017 and Hex
018):
The low and high expansion memory bytes define the amount
of memory above the 1MB address space.
The value in these bytes represents the number of 1KB blocks of
expansion memory. For example, hex 0800 indicates 2048KB. The
low byte is hex 017; the high byte is hex 018.
The
configuration checksum bytes contain the checksum character for
bytes hex 010 through hex 02D of the 64-byte CMOS RAM. The
high byte is hex 02E; the low byte is hex 02F.
Low and High Usable Memory Bytes (Hex 030 and Hex 031):
The low and high usable memory bytes define the total amount of
contiguous memory from 1MB to 20MB.
The hexadecimal values in these bytes represent the number of 1KB
blocks of usable memory. For example, hex 0800 is equal to
2048KB. The low byte is hex 30; the high byte is hex 31.
Date-Century Byte (Hex 032):
Bits 7 through 0 of the date-century
byte contain the binary-coded decimal value for the century. For
information about reading and setting this byte, refer to the
Personal System/2 and Personal Computer BIOS Interface
Reserved Bytes (Hex 033–07F):
These bytes are reserved.
ThinkPad 560/560E System Board2-25
IBM
.
Miscellaneous System Functions and Ports
This section provides information about nonmaskable interrupts
(NMIs), the power-on password, and hardware compatibility.
Nonmaskable Interrupt (NMI)
The NMI signals the system microprocessor that a parity error or a
channel check timeout has occurred. This situation can cause lost
data or an overrun error on some I/O devices. The NMI masks all
other interrupts. The interrupt return (IRET) instruction restores the
interrupt flag to the state it was in before the interrupt occurred. A
system reset causes a reset of the NMI.
The NMI requests from system board parity and channel check are
subject to mask control with the NMI mask bit in the RT/CMOS
Address register. See “RT/CMOS Address and NMI Mask Register
(Hex 0070)” on page 2-17. The power-on default of the NMI mask is
1 (NMI disabled). Before the NMI is enabled after a power-on reset,
the parity-check states are initialized by POST.
Attention
The operation following a write to hex 0070 should access hex
0071; otherwise, intermittent failures of the RT/CMOS RAM can
occur.
2-26ThinkPad 560/560E System Board
System Control Port B (Hex 0061)
Bit definitions for the write and read functions of this port are shown
in the following figures:
BitFunction
7–4Reserved
3Reserved (should be 0)
2Enable parity check
1Enable speaker data
0Timer 2 gate to speaker
Figure 2-30. System Control Port B (Hex 0061, Write)
BitFunction
7Parity check
6Channel check
5Timer 2 output
4Toggles with each refresh request
3Reserved
2Enable parity check
1Enable speaker data
0Timer 2 gate to speaker
Figure 2-31. System Control Port B (Hex 0061, Read)
Bit 7When set to 1, this bit indicates that the PCI System Error
(SERR#) was pulsed active.
Bit 6When set to 1, this bit indicates a channel check has
occurred.
Bit 5When read, this bit indicates the condition of the
timer/counter 2 ‘output’ signal.
Bit 4When read, this bit toggles for each refresh request.
Bit 3Reserved.
Bit 2When set to 0, this bit enables the PCI System Error
(SERR#). This bit is set to 1 during a power-on reset.
Bit 1When set to 1, this bit enables the speaker data.
Bit 0When set to 1, this bit enables the timer 2 gate.
ThinkPad 560/560E System Board2-27
System Control Port A (Hex 0092)
BitFunction
7–3Reserved
2Reserved (must be set to 0)
1Alternate gate A20
0Alternate hot reset
Figure 2-32. System Control Port A (Hex 0092)
Bits 7–3These bits are reserved.
Bit 2This bit is reserved.
Bit 1This bit is used to enable the ‘address 20’ signal (
when the microprocessor is in the real address mode.
When this bit is set to 0, A20 cannot be used in real
mode addressing. This bit is set to 0 during a system
reset.
Bit 0This bit provides an alternative method of resetting the
system microprocessor. This alternative method
supports operating systems requiring faster operation
than that provided on the IBM Personal Computer AT.
Resetting the system microprocessor switches the
microprocessor from protected mode to real address
mode.
This bit is set to 0 by either a system reset or a write
operation. When a write operation changes this bit from
0 to 1, the ‘processor reset’ signal is pulsed after the
reset has occurred. While the reset is occurring, the
latch remains set so that POST can read this bit. If the
bit is set to 0, POST assumes that the system was just
powered on. If the bit is set to 1, POST assumes that
the microprocessor has been switched from protected
mode to real mode.
When bit 0 is used to reset the system microprocessor
to the real mode, use the following procedure:
1. Disable all maskable and nonmaskable interrupts.
2. Reset the system microprocessor by writing a 1 to
bit 0.
3. Issue a Halt instruction to the system
microprocessor.
4. Reenable all maskable and nonmaskable interrupts.
A20)
2-28ThinkPad 560/560E System Board
If you do not follow this procedure, the results are
unpredictable.
Note: Whenever possible, use BIOS as an interface to
reset the system microprocessor to the real
mode. For more information about resetting the
system microprocessor, refer to the
IBM Personal
System/2 and Personal Computer BIOS
Interface
.
Power-On Password
RT/CMOS RAM has 8 bytes reserved for the power-on password
and the check character. The 8 bytes are initialized to hex 00. The
microprocessor can access these bytes only during POST. After
POST is completed, if a power-on password is installed, the
password bytes are locked and cannot be accessed by any program.
During power-on password installation, the password (1 to 7
characters) is stored in the security space.
Installing the password is a function of the built-in system program
Easy-Setup
when it is installed, changed, or removed. After the power-on
password has been installed, it can be changed or removed only
during POST.
. The power-on password does not appear on the screen
The computer also can have a keyboard password. For more
information, see the keyboard and auxiliary device controller section
of the
IBM Personal System/2 Hardware Interface Technical
Reference
.
Selectable Drive-Startup Sequence
Selectable drive-startup (selectable boot) allows you to control the
startup sequence of the drives in your computer. The order in which
the computer looks for the drives for your operating system is the
drive-startup sequence
systems, you might want to change the drive-startup sequence to
load the operating system from the hard disk without first checking
the diskette drive, or to do a remote program load (RPL).
. If you are working with multiple operating
ThinkPad 560/560E System Board2-29
Attention
When changing your startup sequence, you must be extremely
careful when doing write operations (such as copying, saving, or
formatting). Your data or programs can be overwritten if you
select the wrong drive.
For more information about the selectable drive-startup sequence,
refer to the
Hardware Compatibility
The computer supports most of the interfaces used by the IBM
Personal Computer AT* and the Personal System/2* (PS/2*)
products. In many cases, command and status organization of these
interfaces are maintained.
The functional interfaces for the computer are compatible with the
following:
The Intel 8259 interrupt controllers (edge trigger mode).
The Intel 8254 timers driven from 1.193 MHz (channels 0, 1, and
2).
The Intel 8237 DMA controller-address/transfer counters, page
registers, and status fields only. The command and request
registers, and the rotate and mask functions, are not supported.
The mode register is partially supported.
The NS16550 serial communications controller.
The Intel Pentium microprocessor (ThinkPad 560)
the Intel Pentium processor with the MMX technology (ThinkPad
560E).
The Intel 8086**, 8088**, 80286**, 80386**, and i486DX
microprocessors.
The Intel 8087**, 80287**, 80387** math coprocessors.
The Intel 82077AA** diskette drive controller.
The keyboard interface at addresses hex 0060 and hex 0064.
Display modes supported by the IBM Monochrome Display and
Printer Adapter, the IBM Color/Graphics Monitor Adapter, and the
IBM Enhanced Graphics Adapter.
ThinkPad User's Guide
.
or
2-30ThinkPad 560/560E System Board
The parallel printer ports (Parallel 1, Parallel 2, and Parallel 3) in
compatibility mode.
Error Codes
POST returns a three or more character code message to indicate
the type of test that failed. Figure 2-33 lists the failure indicated with
the associated error code.
Error
Code
101Interrupt failure.
102Timer failure.
103Timer interrupt failure.
104Protected mode failure.
105Last 8042 command not accepted.
107NMI test failure.
108Timer bus test failure.
109Low meg-chip select test.
110Planar parity.
111I/O parity.
118Planar parity error logged.
158A supervisor password is set, but no hard disk password is set.
159The hard disk password is not identical to the supervisor password.
161Dead battery.
163Date and time are not set; clock not updated.
173CMOS CRC error.
174Configuration error.
175Bad EEPROM CRC 1.
177Bad supervisor password checksum.
178EEPROM is not functional.
179NVRAM error log full.
183Supervisor password is needed.
184Bad power-on password checksum.
185Corrupted startup boot sequence.
186Inconsistency between EEPROM and security lock latch 2.
188Bad EEPROM CRC 2.
189Too many passwords attempted.
190Critically low battery condition detected.
191XXPM initialization error.
195Configuration mismatch error found during hibernation wake-up.
196Critical error found during hibernation wake-up.
201Memory data error.
202Memory line error 00 through 15.
203Memory line error 16 through 23.
215Memory test failure on on-board memory.
221ROM to RAM remap error.
301Keyboard error.
Description
Figure 2-33 (Part 1 of 2). Error Codes
ThinkPad 560/560E System Board2-31
Error
Code
601Diskette drive or controller error.
602No valid boot record on diskette.
604Invalid diskette drive error.
1101Serial-A test failure.
1201Serial-B test failure.
1701Hard disk controller failure.
1780, 1790Hard disk 0 error.
1781, 1791Hard disk 1 error.
2401System board video error.
8081PCMCIA presence test failure (PCMCIA revision number also
8082PCMCIA register test failure.
8601System bus error (8042 mouse interface).
8602External mouse error.
8603System bus error or mouse error.
8611System bus error (I/F between 8042 and IPDC).
8612TrackPoint III error.
8613System board or TrackPoint III error.
I9990301Hard disk error.
I9990302Invalid hard disk boot record.
I9990303Bank-2 flash ROM checksum error.
I9990305No bootable device.
This section describes the video, DSP, IR, and PCMCIA subsystems
of the ThinkPad computers. If also provides the Programmable
Option Select (POS) information for the video, DSP, and IR
subsystems.
Copyright IBM Corp. 1996, 19973-1
Video Subsystem
The video subsystem consists of the SVGA video controller and
video random-access memory. The video subsystem supports TFT
and DSTN displays.
The video subsystem also supports PS/2 analog displays without any
additional adapters.
Note: Use of any video subsystem features not documented in this
book can result in future incompatibility.
ThinkPad 560
Displaying output on the LCD or both on the LCD and monitor:
Supported Color Depth
Resolution
640×480256 and 65536256
800×600256 and 65536256
1024×768 (virtual
screen)
TFT modelsDSTN models
256 and 65536256
Displaying output on the monitor:
Supported Color Depth
TFT modelsDSTN models
256, 65536, and
16 777 216
256 and 65536256 and 65536
2562561024x768
Resolution
640x480
800x600
Frame
Rate
60Hz
72Hz
75Hz
85Hz
60Hz
75Hz
85Hz
60Hz
75Hz
85Hz
43.5Hz
(interlace)
3-2ThinkPad 560/560E Subsystems
256, 65536, and
16 777 216
ThinkPad 560E
Displaying output on the LCD or both on the LCD and monitor:
ResolutionSupported Color Depth
640×480256, 65 536, and 16777216
800×600
1024×768 (virtual
screen)
256 and 65536
Displaying output on the monitor:
ResolutionRefresh RateSupported Color
640×48060Hz256, 65536, and
72Hz
75Hz
85Hz
800×60060Hz
75Hz
85Hz256 and 65536
1024×76860Hz
75Hz
43.5Hz (interlace)
1280×102460Hz256
43.5Hz (interlace)
Depth
16 777 216
Video Modes
The video subsystem supports the modes listed in Table 3-1 on
page 3-4. VESA105 and VESA112 modes are supported only for
the external PS/2 display.
ThinkPad 560/560E Subsystems3-3
3-4ThinkPad 560/560E Subsystems
Table 3-1 (Page 1 of 2). BIOS Video Modes for the ThinkPad Computer
– ⅛-inch mini-jack for headphone
– Headphone speaker output: 22 mW (32 ohm) maximum
– Maximum output level: 2.4 V pp
– Output impedance: 75 ohm
Audio Input:
– ⅛-inch mini-jack for microphone or line input
– Microphone gain: 26 dB minimum, 48.5 dB maximum
– Maximum input level:
Microphone:125 mV pp
Line In:4.0 V pp
– Input impedance:
Microphone:47 k ohm
Line In:30 k ohm
3-6ThinkPad 560/560E Subsystems
Infrared (IR) Subsystem
The IR subsystem of ThinkPad 560 is designed to be compatible
with the IrDA** Serial Infrared Physical Layer Link Specification
Version 1.0 and Data Link Specification Version 1.0.
The IR subsystem of ThinkPad 560E is designed to be compatible
with the IrDA** Serial Infrared Physical Layer Link Specification
Version 1.0 or 1.1 and Data Link Specification Version 1.0.
System Settings
The I/O address can be selected from the following with the system
utility program. The IR subsystem uses one serial port address.
I/O Address
03F8–03FFSerial port 1 (Default)
02F8–02FFSerial port 2
03E8–03EFSerial port 3
02E8–02EFSerial port 4
PCMCIA Subsystem
The system board has two 68-pin PCMCIA (Personal Computer
Memory Card International Association) slots that support three
different types of PC cards: Type I, Type II, and Type III PC cards.
The Type I and Type II PC cards can be installed into either the
upper or the lower slot, or into both slots at the same time. The
Type III PC card, however, must be installed only in the lower slot.
The Type II PC card cannot be used in the upper slot when a Type
III PC card is used.
The PCMCIA slots are designed according to the following PCMCIA
standards and specifications:
ThinkPad 560/560E Subsystems3-7
Standards and SpecificationsCharacteristics
PCMCIA Card StandardRelease 2.0 or 2.1
PCMCIA Socket Services Interface SpecificationsRelease 2.0 or 2.1
PCMCIA Card Services Interface SpecificationsRelease 2.0 or 2.1
PC Card Physical ConfigurationType II and Type III
Supported voltage5.0 V dc only
Figure 3-1. PCMCIA Standards and Specifications
3-8ThinkPad 560/560E Subsystems
Pin Assignments
Figure 3-2 shows the pin assignments for the PCMCIA slots.
The ThinkPad Basic Input/Output System (BIOS) provides a special
software interface, called the System Management Application
Program Interface (SMAPI) BIOS, to control the following unique
features of the ThinkPad system:
System Information
This BIOS provides unique ThinkPad information, such as
the system identifier (system ID).
System Configuration
The ThinkPad SMAPI BIOS provides system configuration
control for such features as display device selection or
resource configuration for built-in devices.
Power Management
Through the SMAPI BIOS, the operating system or
application software can control the ThinkPad power
management features (the Power mode or
Suspend/Hibernation/Resume options).
“Header Image” on page A-4 describes how to use the SMAPI BIOS.
ThinkPad 560/560E SMAPI BIOSA-3
Header Image
Systems that support SMAPI BIOS must provide the following header
image in the F000 segment system ROM area at the 16-byte
boundary. The client needs to search and find this SMAPI BIOS
header image to get the entry point for the service.
FieldOffsetLengthValue
Signature00h4 bytes'$SMB' (ASCII)
Version (Major)04hByte01h
Version (Minor)05hByte00h
Length06hByte20h
Checksum07hByte–
Information Word08hWord–
Reserved 10AhWord–
Real mode 16-bit offset to entry
point
Real mode 16-bit code segment
address
Reserved 210hWord–
16-bit protected mode offset to
entry point
16-bit protected mode code
segment base address
32-bit protected mode offset to
entry point
32-bit protected mode code
segment base address
0ChWord–
0EhWord–
12hWord–
14hDword–
18hDword–
1ChDword–
SignatureASCII Code '$SMB' is stored at the top of the header
image.
Version (Major/Minor)
Indicates the SMAPI BIOS version.
LengthThe length of the header image.
Checksum Checksum byte area. The client verifies that this
header image is valid by using this checksum; the client
should check all header image bytes, and the result will
be zero bytes.
A-4ThinkPad 560/560E SMAPI BIOS
Information Word
This area identifies the BIOS service level defined
below.
Information Word
Bit ð: Real/V86 mode interface support
Bit 1: 16-bit protected mode support
Bit 2: 32-bit protected mode support
Bit 3-15 : Reserved
Real Mode Entry Point
The entry point is specified in segment, offset format.
Clients using Real/V86 mode can use this area for the
far-call value.
16-bit/32-bit Protected Mode Entry Point
The code base code address specifies the physical
address for this BIOS, and the client must prepare the
selector for this BIOS. The length should be 64KB.
ThinkPad 560/560E SMAPI BIOSA-5
Calling Convention
The client can invoke the SMAPI BIOS with a far-call to the entry
point that is specified in the header file. All parameters for the BIOS
and other results are stored in the client data area; the client needs
to prepare an input parameter / output parameter area in its data
area, and informs this area by pushing those pointers onto the its
stack before the far-calls.
The SMAPI BIOS uses the stack/data area directly with the selector
when the BIOS is invoked. Therefore, the caller needs to define the
same privilege level as the BIOS.
Parameter Structure
The memory allocation for the input/output field should be prepared
by the caller. The input field specifies the function request to the
SMAPI BIOS, and the BIOS fills in the return value to the output
field.
Input Field
FieldOffsetLength
Major Function Number00hByte
Minor Function Number01hByte
Parameter 102hWord
Parameter 204hWord
Parameter 306hWord
Parameter 408hDword
Parameter 50ChDword
The following return codes are stored in both the AL (AX) register
and the return code field of the output parameter.
ððh No Error
53hSMAPI function is not available
81h Invalid parameter
86hFunction is not supported
9ðh System error
91hSystem is invalid
92hSystem is busy
AðhDevice error (Disk Read Error)
A1hDevice is busy
A2hDevice is not attached
A3hDevice is disabled
A4hRequest parameter is out of range
A5hRequest parameter is not accepted
All other values are reserved.
ThinkPad 560/560E SMAPI BIOSA-11
Function Description
System Information Service
Get System Identification
Input Field
Major Function Number - ððh
Minor Function Number - ððh
Parameter 1- Reserved
Parameter 2- Reserved
Parameter 3- Reserved
Parameter 4- Reserved
Parameter 5- Reserved
Output Field
Return Code- Error Status
Auxiliary Return Code - Return Value Format
= ððh - ASCII Format
= ð1h - Binary Format
Parameter 1- System ID
Parameter 2- Country Code
Parameter 3- System BIOS revision
Parameter 4- (Bit 16-31) Reserved
- (Bitð-15) System Management BIOS revision
Parameter 5- (Bit 16-31) Reserved
- (Bitð-15) SMAPI BIOS Interface revision
A-12ThinkPad 560/560E SMAPI BIOS
Get CPU Information
Input Field
Major Function Number - ððh
Minor Function Number - ð1h
Parameter 1- Reserved
Parameter 2- Reserved
Parameter 3- Reserved
Parameter 4- Reserved
Parameter 5- Reserved
Output Field
Return Code- Error Status
Auxiliary Return Code - Reserved
Parameter 1- Reserved
Parameter 2- CPU ID
Major Function Number - ððh
Minor Function Number - ð6h
Parameter 1- Reserved
Parameter 2- Reserved
Parameter 3- Reserved
Parameter 4- Reserved
Parameter 5- Reserved
Output Field
Return Code- Error Status
Auxiliary Return Code - Return Value Format
Major Function Number - ððh
Minor Function Number - ð7h
Parameter 1- Reserved
Parameter 2- Reserved
Parameter 3- Reserved
Parameter 4- Reserved
Parameter 5- Reserved
Output Field
Return Code- Error Status
Auxiliary Return Code - Reserved
Parameter 1- Reserved
Parameter 2- Current Status
Major Function Number - ððh
Minor Function Number - ð8h
Parameter 1- Reserved
Parameter 2- Reserved
Parameter 3- Reserved
Parameter 4- Reserved
Parameter 5- Reserved
Return Code- Error Status
Auxiliary Return Code - Reserved
Parameter 1- Reserved
Parameter 2- Refresh rate capability for
specified mode:
Bit ð - 6ðHz available.
Bit 1 - 72Hz available.
Bit 2 - 75Hz available.
Bit 3 - 43Hz(I) available.
Bit 4 - 56Hz available.
Bit 5 - 7ðHz available.
Bit 6 - 85Hz available.
Bit 7 - 48Hz(I) available.
Bit 8-15 : Reserved (must be B'ð').
Parameter 3- Reserved
Parameter 4- Reserved
Parameter 5- Reserved
ThinkPad 560/560E SMAPI BIOSA-19
System Configuration Service
Get Display Device State
Input Field
Major Function Number - 1ðh
Minor Function Number - ððh
Parameter 1- Reserved
Parameter 2- Request Type
Major Function Number - 13h
Minor Function Number - ð2h
Parameter 1- Reserved
Parameter 2- Reserved
Parameter 3- Reserved
Parameter 4- Reserved
Parameter 5- Reserved
Major Function Number - 22h
Minor Function Number - ððh
Parameter 1- Reserved
Parameter 2- Reserved
Parameter 3- Reserved
Parameter 4- Reserved
Parameter 5- Reserved
Major Function Number - 22h
Minor Function Number - ð2h
Parameter 1- Reserved
Parameter 2- Reserved
Parameter 3- Reserved
Parameter 4- Reserved
Parameter 5- Reserved
ThinkPad 560/560E SMAPI BIOSA-29
Output Field
Return Code- Error Status
Auxiliary Return Code - Reserved
Parameter 1- Reserved
Parameter 2- (Bit 15- 8) Capability of Timer Control
Bit 2-ð - Reserved
Bit 3- Standby
Bit 4- Suspend
Bit 5- RediSafe
Bit 6- Hibernation
Bit 7- Power off
Note: If bits are duplicated, the highest bit is available.
A-32ThinkPad 560/560E SMAPI BIOS
Get System Event Global Condition
Input Field
Major Function Number - 3ðh
Minor Function Number - ððh
Parameter 1- Reserved
Parameter 2- Reserved
Parameter 3- Reserved
Parameter 4- Reserved
Parameter 5- Reserved
Output Field
Return Code- Error Status
Auxiliary Return Code - Reserved
Parameter 1- Reserved
Parameter 2- (Bit 15- 8) Capability for event
Bit 8 - RediSafe is
controlled by global conditions.
(RediSafe bit is ignored
in each event condition.)
Major Function Number - 31h
Minor Function Number - ððh
Parameter 1- Reserved
Parameter 2- Reserved
Parameter 3- Reserved
Parameter 4- Reserved
Parameter 5- Reserved
Output Field
Return Code- Error Status
Auxiliary Return Code - Reserved
Parameter 1- Reserved
Parameter 2- hardware and software
event definition