IBM 560 User Manual

06J0536  
S76H-7587-01  
Contents  
Figures  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii  
v
Preface  
Section 1. System Overview . . . . . . . . . . . . . . . . . . . 1-1  
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2  
System Board Devices and Features . . . . . . . . . . . . . . . 1-3  
System Board I/O Address Map . . . . . . . . . . . . . . . . . . 1-6  
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8  
Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11  
Voltages  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11  
Output Protection . . . . . . . . . . . . . . . . . . . . . . . . 1-12  
Voltage Sequencing . . . . . . . . . . . . . . . . . . . . . . . 1-12  
Power Supply Connector . . . . . . . . . . . . . . . . . . . . 1-12  
Battery Pack  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13  
Section 2. System Board . . . . . . . . . . . . . . . . . . . . . 2-1  
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2  
Microprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2  
. . . . . . . . . . . . . . . . . . . . 2-2  
Cache Memory Operation  
Cacheable Address Space . . . . . . . . . . . . . . . . . . . . 2-3  
Keyboard/Mouse Connector . . . . . . . . . . . . . . . . . . . . . 2-4  
Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4  
Connector  
Scan Codes  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5  
Keyboard ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6  
Displayable Characters and Symbols . . . . . . . . . . . . . . 2-7  
Hard Disk Drive Connector . . . . . . . . . . . . . . . . . . . . . 2-8  
External Connector . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9  
Diskette Drive and Controller . . . . . . . . . . . . . . . . . . . 2-11  
Diskette Drive Connector  
Memory  
ROM Subsystem  
. . . . . . . . . . . . . . . . . . . . . 2-12  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13  
. . . . . . . . . . . . . . . . . . . . . . . . 2-13  
RAM Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . 2-13  
System Memory Map . . . . . . . . . . . . . . . . . . . . . . 2-14  
System Board Memory Connector for DIMM  
. . . . . . . . 2-14  
RT/CMOS RAM . . . . . . . . . . . . . . . . . . . . . . . . . 2-16  
. . . . . . . . . . 2-26  
Miscellaneous System Functions and Ports  
Nonmaskable Interrupt (NMI)  
. . . . . . . . . . . . . . . . . 2-26  
Copyright IBM Corp. 1996, 1997  
iii  
System Control Port B (Hex 0061) . . . . . . . . . . . . . . 2-27  
System Control Port A (Hex 0092) . . . . . . . . . . . . . . 2-28  
Power-On Password  
Selectable Drive-Startup Sequence . . . . . . . . . . . . . . 2-29  
Hardware Compatibility  
. . . . . . . . . . . . . . . . . . . . . . 2-29  
. . . . . . . . . . . . . . . . . . . . . . 2-30  
Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-31  
Section 3. Subsystems . . . . . . . . . . . . . . . . . . . . . . 3-1  
Video Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2  
Video Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3  
Audio Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6  
Sound Blaster Support Function  
. . . . . . . . . . . . . . . . 3-6  
Audio Port Specifications . . . . . . . . . . . . . . . . . . . . . 3-6  
Infrared (IR) Subsystem . . . . . . . . . . . . . . . . . . . . . . . 3-7  
System Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7  
PCMCIA Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . 3-7  
Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9  
Appendix A. System Management API (SMAPI) BIOS  
Overview  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1  
What is SMAPI BIOS? . . . . . . . . . . . . . . . . . . . . . . . . A-3  
Header Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4  
Calling Convention . . . . . . . . . . . . . . . . . . . . . . . . . . A-6  
Parameter Structure  
. . . . . . . . . . . . . . . . . . . . . . . A-6  
Calling Convention Pseudo Code . . . . . . . . . . . . . . . . A-9  
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-11  
Function Description . . . . . . . . . . . . . . . . . . . . . . . . A-12  
System Information Service . . . . . . . . . . . . . . . . . . A-12  
System Configuration Service . . . . . . . . . . . . . . . . . A-20  
Power Management Service . . . . . . . . . . . . . . . . . . A-27  
Event Bit Definition . . . . . . . . . . . . . . . . . . . . . . . A-32  
Samples  
Function Declaration  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-53  
. . . . . . . . . . . . . . . . . . . . . . A-57  
Installation Check . . . . . . . . . . . . . . . . . . . . . . . . A-58  
BIOS Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-62  
Appendix B. Notices . . . . . . . . . . . . . . . . . . . . . . . . B-1  
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2  
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1  
iv  
Figures  
1-1. Model and Submodel Bytes  
. . . . . . . . . . . . . . . 1-2  
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-7. Acoustical Readings for the ThinkPad 560/560E  
1-10  
. . 1-10  
1-8. Power Supply Maximum Current  
1-9. Voltage Pin Assignments for 35W AC Adapter  
1-10. Battery Pack Specifications . . . . . . . . . . . . . . . 1-13  
2-1. Keyboard and Mouse Signals  
. . . . . . . . . . . 1-11  
. . . 1-12  
. . . . . . . . . . . . . . 2-4  
2-2. Keyboard/Mouse Connector Pin Assignments . . . . . 2-4  
2-3. Key Numbers for the 84-Key Keyboard . . . . . . . . . 2-5  
2-4. Key Numbers for the 85-Key Keyboard . . . . . . . . . 2-6  
2-5. Key Numbers for the External Numeric Keypad . . . . 2-7  
2-6. Hard Disk Drive Connector Pin Assignments  
2-7. 100-Pin External Connector Pin Assignments . . . . . 2-9  
2-8. Diskette Drive Read, Write, and Format Capabilities 2-11  
. . . . . 2-8  
2-9. Diskette Drive Connector Pin Assignments . . . . . . 2-12  
2-10. System Memory Map . . . . . . . . . . . . . . . . . . 2-14  
2-11. DIMM Connector Pin Assignments  
. . . . . . . . . . 2-15  
2-12. RT/CMOS RAM Address Map . . . . . . . . . . . . . 2-16  
2-13. RT/CMOS Address and NMI Mask Register (Hex  
0070)  
. . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17  
2-14. RT/CMOS Data Register (Hex 0071) . . . . . . . . . 2-17  
2-15. Real-Time Clock Bytes (Hex 000–00D) . . . . . . . . 2-19  
2-16. Status Register A (Hex 00A) . . . . . . . . . . . . . . 2-19  
2-17. Status Register B (Hex 00B) . . . . . . . . . . . . . . 2-20  
2-18. Status Register C (Hex 00C) . . . . . . . . . . . . . . 2-21  
2-19. Status Register D (Hex 00D) . . . . . . . . . . . . . . 2-21  
2-20. Diagnostic Status Byte (Hex 00E) . . . . . . . . . . . 2-22  
2-21. Diskette Drive Type Byte (Hex 010) . . . . . . . . . . 2-23  
2-22. Diskette Drive Type Bits 7–4 . . . . . . . . . . . . . . 2-23  
2-23. Hard Disk Type Byte (Hex 011) . . . . . . . . . . . . 2-23  
2-24. Hard Disk Drive Type 2 (Bits 7–4) . . . . . . . . . . . 2-23  
2-25. Hard Disk Drive Type 3 (Bits 3–0) . . . . . . . . . . . 2-23  
2-26. Hard Disk Drive Type Byte . . . . . . . . . . . . . . . 2-24  
2-27. Equipment Byte  
2-28. Installed Diskette Drive Bits  
2-29. Display Operating Mode Bits . . . . . . . . . . . . . . 2-24  
. . . . . . . . . . . . . . . . . . . . . 2-24  
. . . . . . . . . . . . . . 2-24  
2-30. System Control Port B (Hex 0061, Write)  
. . . . . . 2-27  
Copyright IBM Corp. 1996, 1997  
v
2-31. System Control Port B (Hex 0061, Read)  
. . . . . . 2-27  
. . . . . . . . . . 2-28  
2-32. System Control Port A (Hex 0092)  
2-33. Error Codes . . . . . . . . . . . . . . . . . . . . . . . . 2-31  
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, 1997  
vii  
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.  
viii ThinkPad 560/560E Preface  
Section 1. System Overview  
Description  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2  
System Board Devices and Features  
. . . . . . . . . . . . . . . 1-3  
System Board I/O Address Map . . . . . . . . . . . . . . . . . . 1-6  
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8  
Performance Specifications . . . . . . . . . . . . . . . . . . 1-8  
Physical Specifications  
. . . . . . . . . . . . . . . . . . . . 1-9  
Acoustical Readings . . . . . . . . . . . . . . . . . . . . . 1-10  
Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11  
Voltages  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11  
Output Protection . . . . . . . . . . . . . . . . . . . . . . . . 1-12  
Voltage Sequencing . . . . . . . . . . . . . . . . . . . . . . . 1-12  
Power Supply Connector . . . . . . . . . . . . . . . . . . . . 1-12  
Battery Pack  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13  
Copyright IBM Corp. 1996, 1997  
1-1  
Description  
The 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.  
Model  
Model Byte  
(Hex)  
Submodel Byte  
(Hex)  
System Clock  
560/560E  
FC  
01  
66 MHz / 60 MHz  
Figure 1-1. Model and Submodel Bytes  
For a listing of the other systems, refer to the IBM Personal  
System/2 and Personal Computer BIOS Interface.  
1-2 ThinkPad 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.  
Device  
Type  
Features  
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  
System timers  
1
ThinkPad 560:  
None  
ThinkPad 560E:  
256KB  
Channel 0: system timer  
Channel 1: refresh generation  
Channel 2: tone generator for speaker  
ROM subsystem  
RAM subsystem  
128KB by 4 banks (1KB equals 1024 bytes)  
ThinkPad 560:  
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.  
CMOS RAM  
subsystem  
128 bytes CMOS RAM with real-time  
clock/calendar  
Figure 1-2 (Part 1 of 3). System Board Devices and Features  
ThinkPad 560/560E System Overview 1-3  
Device  
Type  
Features  
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 65536 colors on the TFT LCD  
Up to 16 777 216 colors on an external  
display  
ThinkPad 560E:  
Ÿ Up to 65536 colors on the DSTN LCD  
Up to 16 777 216 colors on an external  
display  
Ÿ Up to 262144 colors on the TFT LCD  
Up to 16 777 216 colors on an external  
display  
See “Video Subsystem” on page 3-2 for more  
details of the video subsystem.  
Seven DMA channels (AT compatible)  
Four 8-bit channels and three 16-bit channels  
15 levels of system interrupts  
(interrupts are edge-triggered)  
Internal keyboard  
DMA controller  
1
1
1
Interrupt controller  
Keyboard/auxiliary  
device controller  
TrackPoint III  
Auxiliary device connector  
Password security  
Diskette drive  
controller  
2
Supports:  
Ÿ 3.5-in. diskette (1.44MB)  
Ÿ 3.5-in. diskette (1.2MB) (Japan Unique)  
Ÿ 3.5-in. diskette (720KB)  
Hard disk controller  
2
Supports IDE controller  
Serial controller  
port  
EIA-232-E interface (16550 compatible)  
Programmable as serial port 1, 2, 3, or 4  
One 9-pin, D-sub connector  
Parallel controller  
port  
1
Programmable as parallel port 1, 2, or 3  
IEEE P1284-A compatible  
Supports bidirectional input and output  
Enhanced Parallel Port (EPP) compatible  
Extended Capabilities Port (ECP) compatible  
Supports externally attached devices:  
Expansion bus  
adapter  
Ÿ Port replicator  
PCMCIA**ñ slots  
Conforms to the standards and  
specifications listed in Figure 3-1 on  
page 3-8.  
Ÿ Two Type I or II PC cards  
Ÿ One Type III PC card  
Figure 1-2 (Part 2 of 3). System Board Devices and Features  
1-4 ThinkPad 560/560E System Overview  
Device  
Type  
Features  
Audio subsystem  
Infrared subsystem  
Sound Blaster**-Pro compatible  
Supports:  
ThinkPad 560:  
Ÿ IrDA 1.0  
ThinkPad 560E:  
Ÿ IrDA 1.1  
ñ Personal Computer Memory Card International Association  
Figure 1-2 (Part 3 of 3). System Board Devices and Features  
ThinkPad 560/560E System Overview 1-5  
System Board I/O Address Map  
Figure 1-3 shows the I/O address map.  
Address (Hex)  
Device  
0000–001F  
0020, 0021  
0022–003F  
0040–0043  
0048–004B  
0060  
DMA controller (0–3)  
Interrupt controller (Master)  
Reserved  
System timer 1  
Reserved  
Keyboard, auxiliary device  
System control port B  
Keyboard, auxiliary device  
RT/CMOS and NMI mask  
Reserved  
0061  
0064  
0070, 0071  
0072–0077  
0078–007C  
0081–0083, 0087  
0089–008B, 008F  
0092  
Reserved  
DMA page registers (0–3)  
DMA page registers (4–7)  
System control port A  
Reserved  
0094  
0096  
Reserved  
0098  
System flash ROM control register  
Interrupt controller (slave)  
DMA controller (4–7)  
Reserved  
Reserved  
Reserved  
Reserved  
Hard disk drive registers  
Reserved  
00A0, 00A1  
00C0–00DF  
00F0–00FF  
0102–0107  
0170–0177  
01A0–01DF  
01F0–01F7  
0201  
0220–022F  
0240–024F  
026E–026F  
0278–027A  
027B–027F  
02E8–02EF  
02F8–02FF  
0300–0302  
0330–0331  
0338–038B  
0376–0377  
0378–037A  
037B–037F  
0388–038B  
0398–0399  
Audio subsystem - Sound Blaster 1  
Audio subsystem - Sound Blaster 2  
Reserved  
Parallel port 3  
Reserved  
Serial port 4  
Serial port 2  
Reserved  
Reserved  
Reserved  
Reserved  
Parallel port 2  
Reserved  
Audio subsystem - FM synthesizer  
Reserved  
Figure 1-3 (Part 1 of 2). System Board I/O Address Map  
1-6 ThinkPad 560/560E System Overview  
Address (Hex)  
Device  
03B4, 03B5, 03BA  
03BC–03BE  
03C0–03C5  
03C6–03C9  
03CA, 03CC, 03CE, 03CF  
03D4, 03D5, 03DA, 3D8,  
3D9  
Video subsystem  
Parallel port 1  
Video subsystem  
Video DAC  
Video subsystem  
Video subsystem  
03E0–03E3  
03E8–03EF  
03F0–03F7  
03F6–03F7  
03F8–03FF  
PCMCIA interface  
Serial port 3  
Diskette drive controller  
Hard disk drive registers  
Serial port 1  
0D00, 0D01  
15E8–15EF  
2100–21FF  
Reserved  
Reserved  
Reserved  
23C0–23C7  
43C6, 43C7, 43C8, 43C9  
46E8  
Reserved  
Reserved  
Reserved  
83C6, 83C8  
CF8–CFB  
CFC–CFF  
Reserved  
PCI Configuration Address Register  
PCI Configuration Data Register  
Reserved  
F104  
Figure 1-3 (Part 2 of 2). System Board I/O Address Map  
ThinkPad 560/560E System Overview 1-7  
Specifications  
Figure 1-4 to Figure 1-7 on page 1-10 list the specifications for the  
computer.  
Performance Specifications  
Cycle  
Device  
Time (ns)  
Microprocessor (66 MHz–15 ns clock)  
Access to RAM:ñ  
Memory read  
Page hit, burst  
Page miss, burst  
Page miss, burst  
240 ns  
360 ns  
45 ns  
Memory write  
Access to ROM:  
1000  
Refresh rate (typically performed every 15.6 µs)  
DMA controller (4 MHz–250 µs clock):  
750 (minimum)  
1250  
Bus cycles (AT):  
8 bit  
16 bit  
1000  
625  
ñ The cycle times shown for access to system-board RAM are based on 70 ns  
EDO memory.  
Cycle  
Device  
Time (ns)  
Microprocessor (60 MHz–16.5 ns clock)  
Memory read  
Page hit, burst  
Page miss, burst  
Page miss, burst  
216 ns  
350 ns  
50 ns  
Memory write  
Figure 1-4. Performance Specifications for the ThinkPad 560/560E  
1-8 ThinkPad 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)  
DSTN display:  
1.87 kg (4.12 lb)  
TFT display:  
1.86 kg (4.10 lb)  
Air Temperature  
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)  
Humidity  
System (without diskette)  
8% to 95%  
System (with diskette)  
8% to 80%  
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.  
Figure 1-5. Physical Specifications for the ThinkPad 560/560E  
ThinkPad 560/560E System Overview 1-9  
Electrical Specifications  
(35 W)  
Input Voltageñ  
(V ac)  
100–240  
Frequency (Hz)  
50/60  
0.132  
Inputò (kVA)  
ñ Range is automatically selected; sine wave input is required.  
ò At maximum configuration.  
Figure 1-6. Electrical Specifications for the ThinkPad 560/560E  
Acoustical Readings  
L
in bels  
L
in dB  
<L  
>
in dB  
WAd  
pAm  
pA m  
Operate Idle  
Operate Idle  
Operate Idle  
4.0 3.4  
34 30  
27 22  
Notes:  
L
Is the declared sound power level for the random sample of  
machines.  
WAd  
L
Is the mean value of the A-weighted sound pressure levels at the  
operator position (if any) for the random sample of machines.  
pAm  
<L  
>
Is the mean value of the A-weighted sound pressure levels at the  
one-meter position for the random sample of machines.  
pA m  
Operate  
Shows the value while using the hard disk drive.  
All measurements made in accordance with ANSI S12.10 and reported in  
conformance with ISO 9296.  
Figure 1-7. Acoustical Readings for the ThinkPad 560/560E  
1-10 ThinkPad 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.  
Output  
VCCCPU  
VCC3A  
Voltage (V dc)  
+2.9 or +2.5  
+3.3  
Current (A)  
2.20  
2.00  
VCC5M  
VCCSW  
VCC12M  
+5.0  
3.00  
+5.0  
0.01  
+12.0  
0.11  
Figure 1-8. Power Supply Maximum Current  
ThinkPad 560/560E System Overview 1-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.  
Pin  
Voltage  
1
2
+7.0 V dc to +16.0 V dc (depending on charging conditions)  
Ground  
Figure 1-9. Voltage Pin Assignments for 35W AC Adapter  
1-12 ThinkPad 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  
Capacity (average)  
Protection  
+10.8 V dc  
2.2 ampere hours (AH)  
Overcurrent protection  
Overvoltage protection  
Overdischarge protection  
Thermal protection  
Figure 1-10. Battery Pack Specifications  
ThinkPad 560/560E System Overview 1-13  
1-14 ThinkPad 560/560E System Overview  
Section 2. System Board  
Description  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2  
Microprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2  
Cache Memory Operation  
. . . . . . . . . . . . . . . . . . . . 2-2  
Cacheable Address Space . . . . . . . . . . . . . . . . . . . . 2-3  
Keyboard/Mouse Connector . . . . . . . . . . . . . . . . . . . . . 2-4  
Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4  
Connector  
Scan Codes  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5  
Keyboard ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6  
Displayable Characters and Symbols . . . . . . . . . . . . . . 2-7  
Hard Disk Drive Connector . . . . . . . . . . . . . . . . . . . . . 2-8  
External Connector . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9  
Diskette Drive and Controller . . . . . . . . . . . . . . . . . . . 2-11  
Diskette Drive Connector  
Memory  
ROM Subsystem  
. . . . . . . . . . . . . . . . . . . . . 2-12  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13  
. . . . . . . . . . . . . . . . . . . . . . . . 2-13  
RAM Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . 2-13  
System Memory Map . . . . . . . . . . . . . . . . . . . . . . 2-14  
System Board Memory Connector for DIMM  
. . . . . . . . 2-14  
RT/CMOS RAM . . . . . . . . . . . . . . . . . . . . . . . . . 2-16  
RT/CMOS Address and NMI Mask Register (Hex 0070)  
RT/CMOS Data Register (Hex 0071) . . . . . . . . . . . 2-17  
RT/CMOS RAM I/O Operations  
CMOS RAM Configuration  
Miscellaneous System Functions and Ports  
Nonmaskable Interrupt (NMI)  
2-17  
. . . . . . . . . . . . . . 2-18  
. . . . . . . . . . . . . . . . . 2-22  
. . . . . . . . . . 2-26  
. . . . . . . . . . . . . . . . . 2-26  
System Control Port B (Hex 0061) . . . . . . . . . . . . . . 2-27  
System Control Port A (Hex 0092) . . . . . . . . . . . . . . 2-28  
Power-On Password  
Selectable Drive-Startup Sequence . . . . . . . . . . . . . . 2-29  
Hardware Compatibility  
. . . . . . . . . . . . . . . . . . . . . . 2-29  
. . . . . . . . . . . . . . . . . . . . . . 2-30  
Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-31  
Copyright IBM Corp. 1996, 1997  
2-1  
Description  
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 IBM Personal System/2 Hardware Interface Technical  
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.  
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. A cache line is aligned on a paragraph boundary. A  
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-2 ThinkPad 560/560E System Board  
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 code  
read operations only. If data in this address range is already in  
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 Board 2-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 current  
20 mA  
5.0 V dc minus pullup  
0.5 V dc  
2.0 V dc  
0.8 V dc  
Maximum  
Minimum  
Maximum  
Minimum  
Maximum  
High-level output voltage  
Low-level output voltage  
High-level input voltage  
Low-level input voltage  
Figure 2-1. Keyboard and Mouse Signals  
Connector  
The keyboard/mouse connector uses a 6-pin, miniature DIN  
connector.  
6
5
4
3
2
1
Pin  
I/O  
Signal Name  
1
2
3
4
5
6
I/O  
I/O  
I/O  
I/O  
Mouse Data  
Keyboard Data  
Ground  
+5 V dc  
Mouse Clock  
Keyboard Clock  
Figure 2-2. Keyboard/Mouse Connector Pin Assignments  
Note: The maximum current for +5 V dc (pin 4) is 0.5 A for both the  
mouse and the numeric keypad.  
2-4 ThinkPad 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 IBM Personal System/2 Hardware  
Interface Technical Reference.  
110  
112  
80  
81  
85  
86  
124  
121  
125  
122  
75  
76  
126  
123  
113  
2
116  
5
114  
3
115  
4
117  
6
118  
7
119  
8
120  
9
1
15  
10  
11  
12  
13  
16  
17  
19  
29  
18  
20  
21  
22  
26  
28  
23  
24  
25  
27  
41  
30  
31  
38  
32  
33  
34  
37  
39  
40  
43  
35  
36  
57  
44  
46  
48  
55  
47  
49  
50  
61  
51  
54  
52  
53  
Fn  
58  
60  
62  
64  
83  
84  
89  
79  
Left  
Right  
Figure 2-3. Key Numbers for the 84-Key Keyboard  
ThinkPad 560/560E System Board 2-5  
110  
112  
80  
81  
85  
86  
124  
121  
125  
122  
75  
76  
126  
123  
113  
2
116  
5
114  
3
115  
4
117  
6
118  
7
119  
8
120  
9
1
15  
10  
11  
12  
13  
16  
17  
19  
18  
20  
21  
26  
22  
25  
28  
42  
23  
24  
27  
43  
30  
31  
38  
32  
33  
34  
37  
39  
40  
41  
35  
36  
57  
44  
46  
48  
49  
55  
45  
58  
47  
50  
61  
51  
54  
52  
53  
Fn  
60  
62  
64  
83  
84  
89  
79  
Left  
Right  
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-6 ThinkPad 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 IBM Personal System/2 Hardware Interface Technical  
Reference.  
90  
91  
92  
93  
95 100 105  
96 101  
106  
97 102  
98  
103  
104  
108  
99  
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 IBM Personal System/2 Hardware Interface  
Technical Reference.  
ThinkPad 560/560E System Board 2-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.  
1
49  
2
50  
Pin  
Signal  
Description  
Pin  
Signal  
Description  
1
JP1  
Jumper  
26  
Not connected  
(master)  
2
JP1  
Jumper  
27  
Not connected  
(master)  
3
4
5
6
7
8
9
10  
11  
12  
JP2  
JP2  
HRESET  
GND  
HD07  
HD08  
HD06  
HD09  
Jumper (slave)  
Jumper (slave)  
Not connected  
Not connected  
Reset  
Ground  
Data 7  
Data 8  
Data 6  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
GND  
HIOW  
GND  
HIOR  
GND  
IORDY  
Ground  
I/O write  
Ground  
I/O read  
Ground  
I/O ready  
Not connected  
Not connected  
Ground  
GND  
HIRQ  
Data 9  
Interrupt  
Request  
13  
14  
15  
16  
17  
18  
19  
20  
HD05  
HD10  
HD04  
HD11  
HD03  
HD12  
HD02  
HD13  
Data 5  
Data 10  
Data 4  
Data 11  
Data 3  
Data 12  
Data 2  
Data 13  
38  
39  
40  
41  
42  
43  
44  
45  
Not connected  
Address 1  
Not connected  
Address 0  
Address 2  
Chip select 0  
Chip select 1  
Drive  
HA01  
HA00  
HA02  
HCS0  
HCS1  
DASP  
(active/slave  
drive present)  
Ground  
+5V dc  
+5V dc  
21  
22  
23  
24  
25  
HD01  
HD14  
HD00  
HD15  
GND  
Data 1  
Data 14  
Data 0  
Data 15  
Ground  
46  
47  
48  
49  
50  
GND  
+5V  
+5V  
GND  
Ground  
Not connected  
Figure 2-6. Hard Disk Drive Connector Pin Assignments  
2-8 ThinkPad 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:  
(Rear of the Computer)  
100  
51  
1
50  
Pin  
Signal  
Type  
Pin  
Signal  
Type  
1
2
3
4
5
6
7
8
9
10  
11  
12  
13  
14  
GND  
NC  
G
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
GND  
NC  
AC/CD Power  
AC/DC Power  
AC/DC Power  
AC/DC Power  
NC  
GND  
NC  
5V  
NC  
GND  
NC  
Index  
G
AC/DC Power  
AC/DC Power  
AC/DC Power  
AC/DC Power  
NC  
GND  
NC  
5V  
NC  
GND  
GND  
Data Rate Select  
1
W
W
W
W
G
W
W
W
W
W
G
W
G
G
F
G
F
15  
16  
Drive Select 1  
Data Rate Select  
0
F
F
65  
66  
NC  
NC  
17  
18  
19  
20  
21  
22  
Motor Enable 0  
Direction In  
Step  
Write Data  
Write Enable  
Head 1 Select  
F
F
F
F
F
F
67  
68  
69  
70  
71  
72  
Track 0  
NC  
Write Protect  
Read Data  
GND  
F
F
F
G
F
Diskette  
Change  
Type Legend:  
G: Ground  
W: Power line  
F: Diskette drive signal  
S: Serial port signal  
V: Video signal  
K: Keyboard/Mouse signal  
P: Parallel port signal  
Figure 2-7 (Part 1 of 2). 100-Pin External Connector Pin Assignments  
ThinkPad 560/560E System Board 2-9  
Pin  
Signal  
Type  
Pin  
Signal  
Type  
23  
24  
25  
26  
27  
28  
29  
30  
31  
GND  
NC  
Mouse Data  
Mouse Clock  
GND  
G
K
K
G
G
S
73  
74  
75  
76  
77  
78  
79  
80  
81  
GND  
G
W
K
K
G
G
S
SAFE5V  
Keyboard Data  
Keyboard Clock  
GND  
NC  
NC  
GND  
Data Terminal  
Ready  
NC  
NC  
GND  
Ring Indicator  
32  
33  
34  
Clear to Send  
Request to Send  
Data Set Ready  
S
S
S
82  
83  
84  
Transmit Data  
Receive Data  
Data Carrier  
Detect  
S
S
S
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
GND  
GND  
G
G
P
P
P
P
P
P
P
P
G
V
V
V
V
G
85  
86  
87  
88  
89  
90  
91  
92  
93  
94  
95  
96  
97  
98  
99  
100  
GND  
G
P
P
P
P
P
P
P
P
P
G
V
V
V
V
G
STROBE  
Data Bit 0  
Data Bit 1  
Data Bit 2  
Data Bit 3  
Data Bit 5  
Data Bit 7  
BUSY  
AUTO FD XT  
ERROR  
INIT  
SLCT IN  
Data Bit 4  
Data Bit 6  
ACK  
PE  
GND  
RED  
BLUE  
SLCT  
GND  
VIDEO_PDN  
GREEN  
DDCDATA  
DDCCLOCK  
GND  
HSYNC  
VSYNC  
GND  
Type Legend:  
G: Ground  
W: Powerline  
F: Diskette drive signal  
S: Serial port signal  
V: Video signal  
K: Keyboard/Mouse signal  
P: Parallel port signal  
Figure 2-7 (Part 2 of 2). 100-Pin External Connector Pin Assignments  
2-10 ThinkPad 560/560E System Board  
Diskette Drive and Controller  
Figure 2-8 shows the read, write, and format capabilities of the  
diskette drive for the ThinkPad computer.  
Format Size  
Diskette Type  
720KB  
1.2MB  
1.44MB  
3.5-inch 1.0MB Diskette  
3.5-inch 2.0MB Diskette  
RWF  
RWF  
RWF  
Legend:  
1KB (kilobyte)  
1MB (megabyte)  
1024 bytes  
1048576 bytes  
R
W
F
Read  
Write  
Format  
Figure 2-8. Diskette Drive Read, Write, and Format Capabilities  
ThinkPad 560/560E System Board 2-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:  
25  
1
26  
2
Pin  
Signal  
Type  
1
2
3
GND  
Ground  
Data Rate Select 1  
+5V dc  
Reserved  
DRATE1  
VCC5B  
4
5
GND  
Ground  
6
Reserved  
7
GND  
Ground  
8
9
INDEX  
Index  
Reserved  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
Reserved  
DRVSEL0  
DRATE0  
MOTEN0  
FDIR  
FSTEP  
WRDATA  
FWREN  
GND  
TRAK0  
FWPROTECT  
RDDATA  
FSIDE1SEL  
Drive Select 0  
Data Rate Select 0  
Motor Enable 0  
Reserved  
Direction In  
Step  
Write Data  
Write Enable  
Ground  
Track 0  
Reserved  
Write Protect  
Read Data  
Side 1 Select  
Reserved  
DISKCHG  
Disk Change  
Figure 2-9. Diskette Drive Connector Pin Assignments  
2-12 ThinkPad 560/560E System Board  
Memory  
The ThinkPad computers use the following types of memory:  
Ÿ Read-only memory (ROM)  
Ÿ Random access memory (RAM)  
Ÿ Real-time clock/complementary metal-oxide semiconductor RAM  
(RT/CMOS RAM)  
ROM Subsystem  
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 64MB1 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 Board 2-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 x represents the number of 1MB blocks of system board  
memory starting at or above the hex 100000 boundary.  
Hex Address Range  
00000000 to 0009FFFF  
000A0000 to 000BFFFF  
000C0000 to 000C7FFF  
Function  
640KB system board RAM  
Video RAM  
System board video BIOS ROM mapped to  
RAM  
000C8000 to 000EFFFF  
000F0000 to 000FFFFF  
Channel ROM  
64KB system board ROM mapped to RAM  
xMB system board RAM  
00100000 to (00100000 +  
xMB)  
FFFF0000 to FFFFFFFF  
64KB system board ROM  
(same as 000F0000 to 000FFFFF)  
Figure 2-10. System Memory Map  
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-14 ThinkPad 560/560E System Board  
Pin  
Signal  
Pin  
Signal  
Pin  
Signal  
1
2
3
4
5
6
7
8
9
Ground  
Ground  
MD15  
MD48  
MD14  
MD49  
MD13  
MD50  
MD12  
MD51  
+3.3V dc  
+3.3V dc  
MD11  
MD52  
MD10  
MD53  
MD9  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
80  
81  
82  
83  
84  
85  
86  
87  
88  
89  
90  
91  
92  
93  
94  
95  
96  
MD42  
MD21  
MD41  
MD22  
MD40  
MD23  
Ground  
Ground  
Ground  
Ground  
Ground  
Ground  
not connected  
Not connected  
+3.3V dc  
+3.3V dc  
Not connected  
Not connected  
WE  
97  
98  
99  
MD25  
MD38  
MD24  
MD39  
+3.3V dc  
+3.3V dc  
MA6  
MA7  
MA8  
100  
101  
102  
103  
104  
105  
106  
107  
108  
109  
110  
111  
112  
113  
114  
115  
116  
117  
118  
119  
120  
121  
122  
123  
124  
125  
126  
127  
128  
129  
130  
131  
132  
133  
134  
135  
136  
137  
138  
139  
140  
141  
142  
143  
144  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
MA11  
Ground  
Ground  
MA9  
Ground  
MA10  
Ground  
+3.3V dc  
+3.3V dc  
CAS3  
CAS4  
CAS7  
CAS0  
Ground  
Ground  
MD56  
MD7  
MD57  
MD6  
MD58  
MD5  
MD59  
MD4  
+3.3V dc  
+3.3V dc  
MD60  
MD3  
MD61  
MD2  
MD62  
MD1  
MD63  
MD54  
MD8  
MD55  
Ground  
Ground  
CAS1  
CAS6  
CAS5  
CAS2  
+3.3V dc  
+3.3V dc  
MA0  
Not connected  
RAS2  
Not connected  
RAS3  
Not connected  
Ground  
Not connected  
Ground  
Ground  
Ground  
Ground  
Ground  
Ground  
+3.3V dc  
+3.3V dc  
MD31  
MD32  
MD30  
MD33  
MD29  
MD34  
MD28  
MD35  
MA3  
MA1  
MA4  
MA2  
MA5  
Ground  
Ground  
MD47  
MD16  
MD46  
MD17  
MD45  
MD18  
MD44  
MD19  
+3.3V dc  
+3.3V dc  
MD43  
MD20  
MD0  
Ground  
Ground  
MD27  
MD36  
MD26  
Ground  
Ground  
IòC Data  
IòC Clock  
+3.3V dc  
+3.3V dc  
MD37  
Figure 2-11. DIMM Connector Pin Assignments  
ThinkPad 560/560E System Board 2-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–00D  
00E  
Real-time clock  
Diagnostic status  
00F  
Shutdown status  
010  
Diskette drive type  
011  
012  
013  
Hard disk 2 and 3 drive type  
Hard disk 0 and 1 drive type  
Reserved  
014  
Equipment  
015, 016  
017, 018  
019  
01A  
01B  
Low and high base memory  
Low and high expansion memory  
Hard disk 0 extended byte  
Hard disk 1 extended byte  
Hard disk 2 extended byte  
Hard disk 3 extended byte  
Reserved  
Checksum  
Low and high usable memory above 1MB  
Date-century  
01C  
01D–02D  
02E, 02F  
030, 031  
032  
033–07F  
Reserved  
Figure 2-12. RT/CMOS RAM Address Map  
2-16 ThinkPad 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.  
Bit  
Function  
7
NMI mask  
6–0  
RT/CMOS RAM address  
Figure 2-13. RT/CMOS Address and NMI Mask Register (Hex 0070)  
Bit 7  
When 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–0  
These 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.  
Bit  
Function  
7–0  
RT/CMOS data  
Figure 2-14. RT/CMOS Data Register (Hex 0071)  
ThinkPad 560/560E System Board 2-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-18 ThinkPad 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.  
Address  
(Hex)  
Function  
Byte Number  
000  
001  
002  
003  
004  
005  
006  
007  
008  
009  
00A  
00B  
00C  
00D  
Seconds  
Second alarm  
Minutes  
Minute alarm  
Hours  
Hour alarm  
Day of week  
Date of month  
Month  
0
1
2
3
4
5
6
7
8
Year  
9
Status register A  
Status register B  
Status register C  
Status register D  
10  
11  
12  
13  
Figure 2-15. Real-Time Clock Bytes (Hex 000–00D)  
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)  
Bit  
Function  
7
6–4  
3–0  
Update in progress  
22-stage divider  
Rate-selection bits  
Figure 2-16. Status Register A (Hex 00A)  
Bit 7  
When 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–4  
These 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–0  
These 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  
ThinkPad 560/560E System Board 2-19  
square-wave output frequency and a  
976.562-microsecond periodic interrupt rate.  
Status Register B (Hex 00B)  
Bit  
Function  
7
6
5
4
3
2
1
0
Set  
Enable periodic interrupt  
Enable alarm interrupt  
Enable update-ended interrupt  
Enable square wave  
Date mode  
24-hour mode  
Enable daylight-saving time  
Figure 2-17. Status Register B (Hex 00B)  
Bit 7  
When 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 6  
This 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 5  
Bit 4  
Bit 3  
When set to 1, this bit enables the alarm interrupt. The  
system initializes this bit to 0.  
When set to 1, this bit enables the update-ended  
interrupt. The system initializes this bit to 0.  
When 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 2  
Bit 1  
This 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.  
This 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-20 ThinkPad 560/560E System Board  
Bit 0  
When 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)  
Bit  
Function  
7
6
5
4
Interrupt request flag  
Periodic interrupt flag  
Alarm interrupt flag  
Update-ended interrupt flag  
Reserved  
3–0  
Figure 2-18. Status Register C (Hex 00C)  
Note: Interrupts are enabled by bits 6, 5, and 4 in status register B.  
Bit 7  
When set to 1, this bit indicates that an interrupt has  
occurred; bits 6, 5, and 4 indicate the type of interrupt.  
Bit 6  
When set to 1, this bit indicates that a periodic interrupt  
has occurred.  
Bit 5  
When set to 1, this bit indicates that an alarm interrupt  
has occurred.  
Bit 4  
When set to 1, this bit indicates that an update-ended  
interrupt has occurred.  
Bits 3–0  
These bits are reserved.  
Status Register D (Hex 00D)  
Bit  
Function  
7
6–0  
Valid RAM  
Reserved  
Figure 2-19. Status Register D (Hex 00D)  
Bit 7  
This 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–0  
These bits are reserved.  
ThinkPad 560/560E System Board 2-21  
CMOS RAM Configuration  
Figure 2-20 shows the bit definitions for the CMOS RAM  
configuration bytes.  
Diagnostic Status Byte (Hex 00E)  
Bit  
Function  
7
Real-time clock power  
6
5
Configuration record and checksum status  
Incorrect configuration  
4
Memory size mismatch  
3
2
Hard disk controller/drive C initialization status  
Time status indicator  
1, 0  
Reserved  
Figure 2-20. Diagnostic Status Byte (Hex 00E)  
Bit 7  
Bit 6  
Bit 5  
When set to 1, this bit indicates that the real-time clock  
has lost power.  
When set to 1, this bit indicates that the checksum is  
incorrect.  
This 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 4  
Bit 3  
Bit 2  
When set to 1, this bit indicates that the memory size  
does not match the configuration information.  
When set to 1, this bit indicates that the controller or hard  
disk drive failed initialization.  
When set to 1, this bit indicates that the time is invalid.  
Bits 1, 0 These bits are reserved.  
Shutdown Status Byte (Hex 00F): This byte is defined by the  
power-on diagnostic programs.  
2-22 ThinkPad 560/560E System Board  
Diskette Drive Type Byte (Hex 010): This byte indicates the type  
of the installed diskette drive.  
Bit  
Drive Type  
7–4  
3–0  
Diskette drive type  
Reserved  
Figure 2-21. Diskette Drive Type Byte (Hex 010)  
Bits 7–4  
These bits indicate the diskette drive type.  
Bits 7–4  
0 1 1 0  
0 1 0 0  
Description  
Diskette drive (2.88MB)  
Diskette drive (1.44MB)  
Note: Combinations not shown are reserved.  
Figure 2-22. Diskette Drive Type Bits 7–4  
Bits 3–0  
These 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.  
Bit  
Drive 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–4  
Description  
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–0  
Description  
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 Board 2-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.  
Bit  
Drive Type  
7–4  
3–0  
Hard disk drive 0  
Hard disk drive 1  
Figure 2-26. Hard Disk Drive Type Byte  
Reserved Bytes (Hex 013): These bytes are reserved.  
Equipment Byte (Hex 014): This byte defines the basic equipment  
in the system for the power-on diagnostic tests.  
Bit  
Description  
7, 6  
5, 4  
3, 2  
1
Number of diskette drives  
Display operating mode  
Reserved  
Coprocessor presence  
Diskette drive 0 presence  
0
Figure 2-27. Equipment Byte  
Bits 7, 6  
These bits indicate the number of installed diskette  
drives.  
Bits 7,6  
Number of Diskette Drives  
0 0  
0 1  
1 0  
1 1  
One drive  
Reserved  
Reserved  
Reserved  
Figure 2-28. Installed Diskette Drive Bits  
Bits 5, 4  
These bits indicate the operating mode of the display  
attached to the video port.  
Bits 5,4  
0 0  
Display Operating Mode  
Reserved  
0 1  
1 0  
1 1  
40-column mode  
80-column mode  
Monochrome mode  
Figure 2-29. Display Operating Mode Bits  
2-24 ThinkPad 560/560E System Board  
Bits 3–2  
Bit 1  
These bits are reserved.  
When set to 1, this bit indicates that a coprocessor is  
installed.  
Bit 0  
When 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.  
Reserved Bytes (Hex 01D–02D): These bytes are reserved.  
Configuration Checksum Bytes (Hex 02E and Hex 02F): 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 IBM  
Personal System/2 and Personal Computer BIOS Interface.  
Reserved Bytes (Hex 033–07F): These bytes are reserved.  
ThinkPad 560/560E System Board 2-25  
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-26 ThinkPad 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:  
Bit  
Function  
7–4  
3
2
1
0
Reserved  
Reserved (should be 0)  
Enable parity check  
Enable speaker data  
Timer 2 gate to speaker  
Figure 2-30. System Control Port B (Hex 0061, Write)  
Bit  
Function  
7
6
5
4
3
2
1
0
Parity check  
Channel check  
Timer 2 output  
Toggles with each refresh request  
Reserved  
Enable parity check  
Enable speaker data  
Timer 2 gate to speaker  
Figure 2-31. System Control Port B (Hex 0061, Read)  
Bit 7  
Bit 6  
Bit 5  
When set to 1, this bit indicates that the PCI System Error  
(SERR#) was pulsed active.  
When set to 1, this bit indicates a channel check has  
occurred.  
When read, this bit indicates the condition of the  
timer/counter 2 ‘output’ signal.  
Bit 4  
Bit 3  
Bit 2  
When read, this bit toggles for each refresh request.  
Reserved.  
When set to 0, this bit enables the PCI System Error  
(SERR#). This bit is set to 1 during a power-on reset.  
Bit 1  
Bit 0  
When set to 1, this bit enables the speaker data.  
When set to 1, this bit enables the timer 2 gate.  
ThinkPad 560/560E System Board 2-27  
System Control Port A (Hex 0092)  
Bit  
Function  
7–3  
2
1
Reserved  
Reserved (must be set to 0)  
Alternate gate A20  
Alternate hot reset  
0
Figure 2-32. System Control Port A (Hex 0092)  
Bits 7–3  
Bit 2  
These bits are reserved.  
This bit is reserved.  
Bit 1  
This bit is used to enable the ‘address 20’ signal (A20)  
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 0  
This 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.  
2-28 ThinkPad 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. The power-on password does not appear on the screen  
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 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. If you are working with multiple operating  
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).  
ThinkPad 560/560E System Board 2-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 ThinkPad User's Guide.  
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) or  
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.  
2-30 ThinkPad 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  
Description  
101  
102  
103  
104  
105  
107  
108  
109  
110  
111  
118  
158  
159  
161  
163  
173  
174  
175  
177  
178  
179  
183  
184  
185  
186  
188  
189  
190  
191XX  
195  
196  
201  
202  
203  
215  
221  
301  
Interrupt failure.  
Timer failure.  
Timer interrupt failure.  
Protected mode failure.  
Last 8042 command not accepted.  
NMI test failure.  
Timer bus test failure.  
Low meg-chip select test.  
Planar parity.  
I/O parity.  
Planar parity error logged.  
A supervisor password is set, but no hard disk password is set.  
The hard disk password is not identical to the supervisor password.  
Dead battery.  
Date and time are not set; clock not updated.  
CMOS CRC error.  
Configuration error.  
Bad EEPROM CRC 1.  
Bad supervisor password checksum.  
EEPROM is not functional.  
NVRAM error log full.  
Supervisor password is needed.  
Bad power-on password checksum.  
Corrupted startup boot sequence.  
Inconsistency between EEPROM and security lock latch 2.  
Bad EEPROM CRC 2.  
Too many passwords attempted.  
Critically low battery condition detected.  
PM initialization error.  
Configuration mismatch error found during hibernation wake-up.  
Critical error found during hibernation wake-up.  
Memory data error.  
Memory line error 00 through 15.  
Memory line error 16 through 23.  
Memory test failure on on-board memory.  
ROM to RAM remap error.  
Keyboard error.  
Figure 2-33 (Part 1 of 2). Error Codes  
ThinkPad 560/560E System Board 2-31  
Error  
Code  
Description  
601  
602  
604  
1101  
Diskette drive or controller error.  
No valid boot record on diskette.  
Invalid diskette drive error.  
Serial-A test failure.  
1201  
Serial-B test failure.  
1701  
Hard disk controller failure.  
Hard disk 0 error.  
Hard disk 1 error.  
System board video error.  
PCMCIA presence test failure (PCMCIA revision number also  
checked).  
1780, 1790  
1781, 1791  
2401  
8081  
8082  
8601  
8602  
PCMCIA register test failure.  
System bus error (8042 mouse interface).  
External mouse error.  
8603  
8611  
8612  
System bus error or mouse error.  
System bus error (I/F between 8042 and IPDC).  
TrackPoint III error.  
8613  
System board or TrackPoint III error.  
Hard disk error.  
Invalid hard disk boot record.  
Bank-2 flash ROM checksum error.  
No bootable device.  
I9990301  
I9990302  
I9990303  
I9990305  
Figure 2-33 (Part 2 of 2). Error Codes  
2-32 ThinkPad 560/560E System Board  
Section 3. Subsystems  
Video Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2  
Video Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3  
Audio Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6  
Sound Blaster Support Function  
. . . . . . . . . . . . . . . . 3-6  
Audio Port Specifications . . . . . . . . . . . . . . . . . . . . . 3-6  
Infrared (IR) Subsystem . . . . . . . . . . . . . . . . . . . . . . . 3-7  
System Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7  
PCMCIA Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . 3-7  
Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9  
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, 1997  
3-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×480  
TFT models  
DSTN models  
256 and 65536  
256 and 65536  
256 and 65536  
256  
256  
256  
800×600  
1024×768 (virtual  
screen)  
Ÿ Displaying output on the monitor:  
Supported Color Depth  
Frame  
Resolution Rate  
TFT models  
DSTN models  
60Hz  
72Hz  
75Hz  
85Hz  
60Hz  
75Hz  
85Hz  
60Hz  
75Hz  
85Hz  
256, 65536, and  
16777216  
256, 65536, and  
16777216  
640x480  
800x600  
256 and 65536  
256 and 65536  
43.5Hz  
(interlace)  
1024x768  
256  
256  
3-2 ThinkPad 560/560E Subsystems  
ThinkPad 560E  
Ÿ Displaying output on the LCD or both on the LCD and monitor:  
Resolution  
640×480  
Supported Color Depth  
256, 65536, and 16777216  
800×600  
1024×768 (virtual  
256 and 65536  
screen)  
Ÿ Displaying output on the monitor:  
Resolution Refresh Rate  
Supported Color  
Depth  
640×480  
60Hz  
256, 65536, and  
16777216  
72Hz  
75Hz  
85Hz  
800×600  
60Hz  
75Hz  
85Hz  
256 and 65536  
1024×768  
1280×1024  
60Hz  
75Hz  
43.5Hz (interlace)  
60Hz  
256  
43.5Hz (interlace)  
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 Subsystems 3-3  
Table 3-1 (Page 1 of 2). BIOS Video Modes for the ThinkPad Computer  
Mode  
(Hex)  
Alpha-  
numeric  
Format  
Buffer  
Start  
Address  
Box  
Size  
Maxi-  
mum  
Pages  
Expanded Size  
(to 800×600)  
Type  
Colors  
Pels  
0, 1  
A/N  
A/N  
16  
16  
40×25  
B8000  
B8000  
8×8  
8
8
320×200  
800×600  
40×25  
8×14  
320×350  
800×525  
0*, 1*  
0#, 1#  
2, 3  
A/N  
A/N  
A/N  
16  
16  
16  
40×25  
80×25  
80×25  
B8000  
B8000  
B8000  
8×16  
8×8  
8
8
8
320×400  
640×200  
640×350  
800×600  
800×600  
800×525  
8×14  
2*, 3*  
2#, 3#  
4, 5  
A/N  
APA  
APA  
A/N  
16  
4
80×25  
40×25  
80×25  
80×25  
B8000  
B8000  
B8000  
B0000  
8×16  
8×8  
8
1
1
8
640×400  
320×200  
640×200  
640×350  
800×600  
800×600  
800×600  
800×525  
6
2
8×8  
8×14  
7*  
7#  
A/N  
APA  
APA  
APA  
APA  
APA  
APA  
APA  
APA  
16  
16  
80×25  
40×25  
80×25  
80×25  
80×25  
80×30  
80×30  
40×25  
B0000  
A0000  
A0000  
A0000  
A0000  
A0000  
A0000  
A0000  
A0000  
8×16  
8×8  
8
8
4
2
2
1
1
1
1
640×400  
320×200  
640×200  
640×350  
640×350  
640×480  
640×480  
320×200  
640×480  
800×600  
800×600  
800×600  
800×525  
800×525  
800×600  
800×600  
800×600  
800×600  
D
E
8×8  
F
10  
8×14  
8×14  
8×16  
8×16  
8×8  
16  
2
11  
12  
16  
256  
256  
13  
VESA101  
Table 3-1 (Page 2 of 2). BIOS Video Modes for the ThinkPad Computer  
Mode  
(Hex)  
Alpha-  
numeric  
Format  
Buffer  
Start  
Address  
Box  
Size  
Maxi-  
mum  
Pages  
Expanded Size  
(to 800×600)  
Type  
Colors  
Pels  
VESA103  
VESA105  
VESA107  
VESA110  
VESA111  
VESA112  
VESA114  
VESA115  
VESA117  
APA  
APA  
APA  
APA  
APA  
APA  
APA  
APA  
APA  
256  
256  
A0000  
A0000  
A0000  
A0000  
A0000  
A0000  
A0000  
A0000  
A0000  
1
1
1
1
1
1
1
1
1
800×600  
1024×768  
1280×1024  
640×480  
640×480  
640×480  
800×600  
800×600  
1024×768  
256  
32768  
65536  
16 777 216  
65536  
16 777 216  
65536  
Note:  
Ÿ A border screen is not supported on the LCD.  
Ÿ Modes VESA107, VESA115, and VESA117 are supported by ThinkPad 560E only.  
Audio Subsystem  
Sound Blaster Support Function  
The Sound Blaster support function provides three system settings:  
I/O address, IRQ level, and DMA channel.  
I/O Address  
IRQ Level  
DMA Channel  
0220–022F (Default)  
0240–024F  
IRQ 5 (Default)  
IRQ 7  
DMA 0  
DMA 1 (Default)  
0338–033F (FM synthesizer)  
IRQ 10  
IRQ 11  
Audio Port Specifications  
Ÿ Audio Output:  
-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-6 ThinkPad 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–03FF  
02F8–02FF  
03E8–03EF  
02E8–02EF  
Serial port 1 (Default)  
Serial port 2  
Serial port 3  
Serial 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 Subsystems 3-7  
Standards and Specifications  
PCMCIA Card Standard  
Characteristics  
Release 2.0 or 2.1  
Release 2.0 or 2.1  
Release 2.0 or 2.1  
Type II and Type III  
5.0 V dc only  
PCMCIA Socket Services Interface Specifications  
PCMCIA Card Services Interface Specifications  
PC Card Physical Configuration  
Supported voltage  
Figure 3-1. PCMCIA Standards and Specifications  
3-8 ThinkPad 560/560E Subsystems  
Pin Assignments  
Figure 3-2 shows the pin assignments for the PCMCIA slots.  
Pin  
Signal  
Pin  
Signal  
1
2
3
4
5
6
7
8
9
Ground  
D3  
D4  
D5  
D6  
D7  
CE1  
A10  
OE  
A11  
A9  
A8  
A13  
A14  
WE/PGM  
RDY/BSY (IREQ)  
+5 V dc  
V pp1  
A16  
A15  
A12  
A7  
A6  
A5  
A4  
A3  
A2  
A1  
A0  
D0  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
66  
67  
68  
Ground  
CD1  
D11  
D12  
D13  
D14  
D15  
CE2  
RFSH  
RFU (IOR)  
RFU (IOW)  
A17  
A18  
A19  
A20  
A21  
+5 V dc  
V pp2  
A22  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
A23  
A24  
A25  
RFU  
RESET  
WAIT  
RFU (INPACK)  
REG  
BVD2 (SPKR)  
BVD1 (STSCHG)  
D8  
D9  
D10  
CD2  
Ground  
D1  
D2  
WP (IOIS16)  
Ground  
Figure 3-2. PCMCIA PC Card Slot Pin Assignments  
The maximum current for +5 V dc ( 5%) is 0.5 A for each slot, total  
of 1.0 A for both slots.  
The maximum current for +12 V dc is 0.1 A (including both slots and  
V pp). When the computer is in suspend mode, it requires a current  
of 0.05 A.  
ThinkPad 560/560E Subsystems 3-9  
3-10 ThinkPad 560/560E Subsystems  
Appendix A. System Management API  
(SMAPI) BIOS Overview  
What is SMAPI BIOS? . . . . . . . . . . . . . . . . . . . . . . . . A-3  
Header Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4  
Calling Convention . . . . . . . . . . . . . . . . . . . . . . . . . . A-6  
Parameter Structure  
Sample in Assembler Language . . . . . . . . . . . . . . . A-7  
Sample in C Language  
. . . . . . . . . . . . . . . . . . . . . . . A-6  
. . . . . . . . . . . . . . . . . . . . A-8  
Calling Convention Pseudo Code . . . . . . . . . . . . . . . . A-9  
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-11  
Function Description . . . . . . . . . . . . . . . . . . . . . . . . A-12  
System Information Service . . . . . . . . . . . . . . . . . . A-12  
Get System Identification . . . . . . . . . . . . . . . . . . A-12  
Get CPU Information  
Get Display Device Information  
. . . . . . . . . . . . . . . . . . . . A-13  
. . . . . . . . . . . . . . A-14  
Get Slave Micro Control Unit Information . . . . . . . . . A-15  
Get System Sensor Status . . . . . . . . . . . . . . . . . A-16  
Get Video Information . . . . . . . . . . . . . . . . . . . . A-17  
Get Refresh Rate Capability  
. . . . . . . . . . . . . . . . A-18  
System Configuration Service . . . . . . . . . . . . . . . . . A-20  
Get Display Device State . . . . . . . . . . . . . . . . . . A-20  
Set Display Device State . . . . . . . . . . . . . . . . . . A-22  
Get Pointing Device State . . . . . . . . . . . . . . . . . . A-23  
Set Pointing Device State . . . . . . . . . . . . . . . . . . A-24  
Get Hotkey Sticky/Lock . . . . . . . . . . . . . . . . . . . A-25  
Set Hotkey Sticky/Lock Support . . . . . . . . . . . . . . A-26  
Power Management Service . . . . . . . . . . . . . . . . . . A-27  
Get Power Management Mode (BL=00h) . . . . . . . . . A-27  
Set Power Management Mode . . . . . . . . . . . . . . . A-28  
Get Timer Control  
Set Timer Control  
. . . . . . . . . . . . . . . . . . . . . . A-29  
. . . . . . . . . . . . . . . . . . . . . . A-31  
Event Bit Definition . . . . . . . . . . . . . . . . . . . . . . . A-32  
Get System Event Global Condition . . . . . . . . . . . . A-33  
Set System Event Global Condition . . . . . . . . . . . . A-34  
Get System Event 1 Condition . . . . . . . . . . . . . . . A-35  
Set System Event 1 Condition . . . . . . . . . . . . . . . A-36  
Get System Event 2 Condition . . . . . . . . . . . . . . . A-37  
Set System Event 2 Condition . . . . . . . . . . . . . . . A-38  
Get System Timer . . . . . . . . . . . . . . . . . . . . . . A-39  
Set System Timer  
. . . . . . . . . . . . . . . . . . . . . . A-40  
Get Standby Timer . . . . . . . . . . . . . . . . . . . . . . A-41  
Set Standby Timer . . . . . . . . . . . . . . . . . . . . . . A-42  
Copyright IBM Corp. 1996, 1997  
A-1  
Get Hibernation Timer . . . . . . . . . . . . . . . . . . . . A-43  
Set Hibernation Timer . . . . . . . . . . . . . . . . . . . . A-44  
Get System Event 3 Condition . . . . . . . . . . . . . . . A-45  
Set System Event 3 Condition . . . . . . . . . . . . . . . A-46  
Get System Resume Condition  
. . . . . . . . . . . . . . A-47  
Set System Resume Condition . . . . . . . . . . . . . . . A-48  
Get System Resume Timer . . . . . . . . . . . . . . . . . A-49  
Set System Resume Timer . . . . . . . . . . . . . . . . . A-50  
Request System Standby . . . . . . . . . . . . . . . . . . A-51  
Request System Suspend  
. . . . . . . . . . . . . . . . . A-51  
Request System Hibernation . . . . . . . . . . . . . . . . A-52  
Request System Off . . . . . . . . . . . . . . . . . . . . . A-52  
Samples  
Data Structure  
Function Declaration  
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-53  
. . . . . . . . . . . . . . . . . . . . . . . . A-53  
. . . . . . . . . . . . . . . . . . . . . . A-57  
Installation Check . . . . . . . . . . . . . . . . . . . . . . . . A-58  
BIOS Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-62  
A-2 ThinkPad 560/560E SMAPI BIOS  
What is SMAPI BIOS?  
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 BIOS A-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.  
Field  
Offset  
00h  
04h  
05h  
06h  
07h  
08h  
0Ah  
0Ch  
Length  
4 bytes  
Byte  
Value  
Signature  
'$SMB' (ASCII)  
Version (Major)  
Version (Minor)  
Length  
01h  
00h  
20h  
Byte  
Byte  
Checksum  
Information Word  
Reserved 1  
Byte  
Word  
Word  
Word  
Real mode 16-bit offset to entry  
point  
Real mode 16-bit code segment  
address  
0Eh  
Word  
Reserved 2  
10h  
12h  
Word  
Word  
16-bit protected mode offset to  
entry point  
16-bit protected mode code  
segment base address  
14h  
18h  
1Ch  
Dword  
Dword  
Dword  
32-bit protected mode offset to  
entry point  
32-bit protected mode code  
segment base address  
Signature ASCII Code '$SMB' is stored at the top of the header  
image.  
Version (Major/Minor)  
Indicates the SMAPI BIOS version.  
Length  
The 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-4 ThinkPad 560/560E SMAPI BIOS  
Information Word  
This area identifies the BIOS service level defined  
below.  
Information Word  
Bit ð  
: Real/V86 mode interface support  
: 16-bit protected mode support  
: 32-bit protected mode support  
Bit 1  
Bit 2  
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 BIOS A-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  
Field  
Offset  
00h  
Length  
Byte  
Major Function Number  
Minor Function Number  
Parameter 1  
01h  
Byte  
02h  
Word  
Word  
Word  
Dword  
Dword  
Parameter 2  
04h  
Parameter 3  
06h  
Parameter 4  
08h  
Parameter 5  
0Ch  
Output Field  
Field  
Offset  
00h  
Length  
Byte  
Return Code  
Auxiliary Return Code  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
01h  
Byte  
02h  
Word  
Word  
Word  
Dword  
Dword  
04h  
06h  
08h  
0Ch  
A-6 ThinkPad 560/560E SMAPI BIOS  
Sample in Assembler Language  
;
; Input Parameter Structure  
;
SMB_INPARM  
STRUC  
@SMBIN_FUNC  
DB  
?
?
?
?
?
?
?
@SMBIN_SUB_FUNC  
@SMBIN_PARM_1  
@SMBIN_PARM_2  
@SMBIN_PARM_3  
@SMBIN_PARM_4  
@SMBIN_PARM_5  
SMB_INPARM  
DB  
DW  
DW  
DW  
DD  
DD  
ENDS  
;
; Output Parameter Structure  
;
SMB_OUTPARM  
STRUC  
DB  
@SMBOUT_RC  
?
?
?
?
?
?
?
@SMBOUT_SUB_RC  
@SMBOUT_PARM_1  
@SMBOUT_PARM_2  
@SMBOUT_PARM_3  
@SMBOUT_PARM_4  
@SMBOUT_PARM_5  
SMB_OUTPARM  
DB  
DW  
DW  
DW  
DD  
DD  
ENDS  
ThinkPad 560/560E SMAPI BIOS A-7  
Sample in C Language  
//  
// Input Parameter Structure  
//  
typedef struct {  
BYTE  
BYTE  
WORD  
WORD  
WORD  
DWORD  
DWORD  
SMBIN_FUNC  
;
SMBIN_SUB_FUNC ;  
SMBIN_PARM_1 ;  
SMBIN_PARM_2 ;  
SMBIN_PARM_3 ;  
SMBIN_PARM_4 ;  
SMBIN_PARM_5 ;  
} INPARM, ᑍPINPARM ;  
//  
// Output Parameter Structure  
//  
typedef struct {  
BYTE  
BYTE  
WORD  
WORD  
WORD  
DWORD  
DWORD  
SMBOUT_RC  
;
SMBOUT_SUB_RC ;  
SMBOUT_PARM_1 ;  
SMBOUT_PARM_2 ;  
SMBOUT_PARM_3 ;  
SMBOUT_PARM_4 ;  
SMBOUT_PARM_5 ;  
} OUTPARM, ᑍPOUTPARM ;  
typedef INPARM  
far ᑍ FPINPARM ;  
typedef OUTPARM far ᑍ FPOUTPARM ;  
A-8 ThinkPad 560/560E SMAPI BIOS  
Calling Convention Pseudo Code  
The following describes the calling convention using pseudo code.  
Assembler Language  
InputParm  
OutputParm  
SMB_INPARM  
SMB_OUTPARM  
< >  
< >  
16-bit  
push  
ds  
mov  
ax, offset OutputParm  
push  
push  
mov  
push  
call  
add  
ax  
ds  
ax, offset InputParm  
ax  
dword ptr SmapiBios  
sp, 8  
32-bit  
push  
mov  
push  
push  
mov  
push  
call  
add  
ds  
eax, offset OutputParm  
eax  
ds  
eax, offset InputParm  
eax  
fword ptr SmapiBios  
sp, 16  
ThinkPad 560/560E SMAPI BIOS A-9  
C Language  
typedef WORD (far ᑍ SMB)(FPINPARM, FPOUTPARM) ;  
SMB  
SmapiBios ;  
InputParm ;  
OutputParm ;  
RC ;  
INPARM  
OUTPARM  
WORD  
RC = SmapiBios(&InputParm, &OutputParm) ;  
A-10 ThinkPad 560/560E SMAPI BIOS  
Return Codes  
The following return codes are stored in both the AL (AX) register  
and the return code field of the output parameter.  
ððh  
53h  
81h  
86h  
9ðh  
91h  
92h  
Aðh  
A1h  
A2h  
A3h  
A4h  
A5h  
No Error  
SMAPI function is not available  
Invalid parameter  
Function is not supported  
System error  
System is invalid  
System is busy  
Device error (Disk Read Error)  
Device is busy  
Device is not attached  
Device is disabled  
Request parameter is out of range  
Request parameter is not accepted  
All other values are reserved.  
ThinkPad 560/560E SMAPI BIOS A-11  
Function Description  
System Information Service  
Get System Identification  
Input Field  
Major Function Number - ððh  
Minor Function Number - ððh  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Return Value Format  
= ððh - ASCII Format  
= ð1h - Binary Format  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
- System ID  
- Country Code  
- System BIOS revision  
- (Bit 16-31) Reserved  
- (Bit ð-15) System Management BIOS revision  
- (Bit 16-31) Reserved  
- (Bit ð-15) SMAPI BIOS Interface revision  
Parameter 5  
A-12 ThinkPad 560/560E SMAPI BIOS  
Get CPU Information  
Input Field  
Major Function Number - ððh  
Minor Function Number - ð1h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- CPU ID  
(Bit 15- 8) Microprocessor Type  
(Bit 7- ð) Microprocessor Stepping Level  
= FFFFh : Unknown  
- Clock Information  
(Bit 15- 8) CPU clock (units: MHz)  
= FFh : Unknown  
Parameter 3  
(Bit 7- ð) Internal clock (units: MHz)  
= FFh : Unknown  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-13  
Get Display Device Information  
Input Field  
Major Function Number - ððh  
Minor Function Number - ð2h  
Parameter 1  
- (Bit 8  
(Bit 9  
(Bit 15-1ð) Reserved  
) LCD information  
) External CRT information  
(Bit 7- ð) Reserved  
- Reserved  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
- (Bit 15- 8)  
Built-in display device (panel)  
information 1  
= ððh : Monochrome STN LCD  
= ð1h : Monochrome TFT LCD  
= ð2h : Color STN LCD  
= ð3h : Color TFT LCD  
= FFh : Unknown  
(Bit 7- ð)  
Built-in display device (panel)  
information 2  
= ððh : 64ðx48ð  
= ð1h : 8ððx6ðð  
= ð2h : 1ð24x768  
= FFh : Unknown  
- (Bit 15- 8) External CRT monitor  
information  
Parameter 2  
= ððh : External CRT is not attached  
= 1ðh : Color monitor  
= 2ðh : Monochrome monitor  
= FFh : Unknown  
(Bit 7- ð) Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
A-14 ThinkPad 560/560E SMAPI BIOS  
Get Slave Micro Control Unit Information  
Input Field  
Major Function Number - ððh  
Minor Function Number - ð6h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Return Value Format  
= ððh - ASCII Format  
= ð1h - Binary Format  
Parameter 1  
Parameter 2  
- Reserved  
- Slave Controller Revision  
(= ðFFFFh) - Not valid  
- Reserved  
- Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
ThinkPad 560/560E SMAPI BIOS A-15  
Get System Sensor Status  
Input Field  
Major Function Number - ððh  
Minor Function Number - ð7h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- Current Status  
Bit 8 - LID Status  
= ð : Open  
= 1 : Close  
Bit 9 - Keyboard Status  
= ð : Close  
= 1 : Open  
Bit 1ð- AC Adapter  
= ð : Not attached  
= 1 : Attached  
Bit 15- 11 : Reserved  
(Bit 7- ð) Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
A-16 ThinkPad 560/560E SMAPI BIOS  
Get Video Information  
Input Field  
Major Function Number - ððh  
Minor Function Number - ð8h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Video BIOS revision  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-17  
Get Refresh Rate Capability  
Input Field  
Major Function Number - ððh  
Minor Function Number - ð9h  
Parameter 1  
Parameter 2  
- Reserved  
- mode  
= ððxxh - VGA modes.  
(Bit ð-7 is ignored.)  
= ð1ððh - 64ðx4ððx256  
= ð1ð1h - 64ðx48ðx256  
= ð11ðh - 64ðx48ðx32K  
= ð111h - 64ðx48ðx64K  
= ð112h - 64ðx48ðx16M  
= ð1ð2h - 8ððx6ððx16  
= ð1ð3h - 8ððx6ððx256  
= ð113h - 8ððx6ððx32K  
= ð114h - 8ððx6ððx64K  
= ð1ð4h - 1ð24x768x16  
= ð1ð5h - 1ð24x768x256  
= ð116h - 1ð24x768x32K  
= ð117h - 1ð24x768x64K  
= ð118h - 1ð24x768x16M  
= ð1ð6h - 128ðx1ð24x16  
= ð1ð7h - 128ðx1ð24x256  
= ð119h - 128ðx1ð24x32K  
= ð11Ah - 128ðx1ð24x64K  
= ð11Bh - 128ðx1ð24x16M  
= ðAððh - 16ððx12ððx16  
= ðAð1h - 16ððx12ððx256  
= ðAð2h - 16ððx12ððx32K  
= ðAð3h - 16ððx12ððx64K  
= ðAð4h - 16ððx12ððx16M  
= ð1ð9h - 1ð56x35ðx16  
= ð1ðAh - 1ð56x473x16  
= ð1ðCh - 1ð56x48ðx16  
= Others : Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
A-18 ThinkPad 560/560E SMAPI BIOS  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- 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'ð').  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-19  
System Configuration Service  
Get Display Device State  
Input Field  
Major Function Number - 1ðh  
Minor Function Number - ððh  
Parameter 1  
Parameter 2  
- Reserved  
- Request Type  
= ððððh : Current hardware  
= ððð1h : CMOS (effective after reboot)  
- Reserved  
- Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
A-20 ThinkPad 560/560E SMAPI BIOS  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
- Display Device Function Capability  
(Bit ð) Display Function Type  
= ð : Not Supported  
= 1 : Supported  
(Bit 15- 1) Reserved  
- (Bit 15- 8) Display current status  
Bit ð - Built-in display (panel) status  
= ð : Disable  
Parameter 2  
= 1 : Enable  
Bit 1 - CRT status  
= ð : Disable  
= 1 : Enable  
Bit 2 - TV status  
= ð : Disable  
= 1 : Enable  
Bit 6 - 3 : Reserved  
Bit 7 - Dual Enable Flag  
= ð : Disable  
= 1 : Enable  
(Bit 7- ð) Display Fucntion Type  
= ððh : Model with no TV out  
= ð1h : Model with no simultaneous  
display of TV and CRT  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-21  
Set Display Device State  
Input Field  
Major Function Number - 1ðh  
Minor Function Number - ð1h  
Parameter 1  
Parameter 2  
- Reserved  
- Request display status  
Bit ð - Built-in display (panel) status  
= ð : Disable  
= 1 : Enable  
Bit 1 - CRT status  
= ð : Disable  
= 1 : Enable  
Bit 2 - TV status  
= ð : Disable  
= 1 : Enable  
Bit 5 - 3 : Reserved  
Bit 6 - Monitor Detection Ignore  
= ð : Do not ignore (should be)  
= 1 : Ignore  
Bit 7 - Dual Enable Flag  
= ð : Disable  
= 1 : Enable  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
A-22 ThinkPad 560/560E SMAPI BIOS  
Get Pointing Device State  
Input Field  
Major Function Number - 11h  
Minor Function Number - ð2h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Request Type  
= ððh - Current hardware  
= ð1h - CMOS (effective after reboot)  
(Bit 7- ð) Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Pointing device current status  
Bit 8 - Built-in Pointing device status  
= ð : Disable  
= 1 : Enable  
Bit 9 - External Pointing device status  
= ð : Disable  
= 1 : Enable  
Bit 15- 1ð: Reserved  
(Bit 7- ð) Pointing device capability  
Bit ð - Built-in Pointing device status  
= ð : Status is not controllable  
= 1 : Status is controllable  
Bit 1 - External Pointing device status  
= ð : Status is not controllable  
= 1 : Status is controllable  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-23  
Set Pointing Device State  
Input Field  
Major Function Number - 11h  
Minor Function Number - ð3h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8)  
Pointing device current status  
Bit 8 - Built-in Pointing device status  
= ð : Disable  
= 1 : Enable  
Bit 9 - External Pointing device status  
= ð : Disable  
= 1 : Enable  
Bit 15- 1ð: Reserved  
(Bit 7- ð) Request Type  
= ððh - Current hardware  
= ð1h - CMOS (effective after reboot)  
Bit 7- 2: Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- Reserved  
Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
A-24 ThinkPad 560/560E SMAPI BIOS  
Get Hotkey Sticky/Lock  
Input Field  
Major Function Number - 13h  
Minor Function Number - ð2h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Capability  
Bit 9-8 - Fn Key Lock  
(Bit 9, bit 8) =  
(ð, ð) - Not Supported  
(ð, 1) - Sticky Fn Key support  
(1, 1) - Sticky and  
Lock Fn Key support  
(1, ð) - Reserved  
Bit 15-1ð - Reserved  
(Bit 7- ð) Current Status  
Bit 1-ð - Fn Key Lock  
(Bit 1, bit ð) =  
(ð, ð) - Disable  
(ð, 1) - Enable Sticky  
Fn Key support  
(1, 1) - Enable Sticky and  
Lock Fn Key support  
(1, ð) - Reserved  
Bit 7- 2 - Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-25  
Set Hotkey Sticky/Lock Support  
Input Field  
Major Function Number - 13h  
Minor Function Number - ð3h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Reserved  
(Bit 7- ð) Request Status  
Bit 1-ð - Sticky/Lock Fn  
key support  
(Bit 1, bit ð) =  
(ð, ð) - Disable  
(ð, 1) - Enable Sticky  
Fn Key support  
(1, 1) - Enable Sticky and  
Lock Fn Key support  
(1, ð) - Reserved  
Bit 7-2 - Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
A-26 ThinkPad 560/560E SMAPI BIOS  
Power Management Service  
Get Power Management Mode (BL=00h)  
Input Field  
Major Function Number - 22h  
Minor Function Number - ððh  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Power management mode  
Battery operation  
= ððh - High Performance mode  
= ð1h - Auto Power Management mode  
= ð2h - Manual Power Management mode  
(Bit 7- ð) Power management mode  
AC operation  
= ððh - High Performance mode  
= ð1h - Auto Power Management mode  
= ð2h - Manual Power Management mode  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-27  
Set Power Management Mode  
Input Field  
Major Function Number - 22h  
Minor Function Number - ð1h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Power management mode  
Battery operation  
= ððh - High Performance mode  
= ð1h - Auto Power Management mode  
= ð2h - Manual Power Management mode  
(Bit 7- ð) Power management mode  
AC operation  
= ððh - High Performance mode  
= ð1h - Auto Power Management mode  
= ð2h - Manual Power Management mode  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- Reserved  
Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
A-28 ThinkPad 560/560E SMAPI BIOS  
Get Timer Control  
Input Field  
Major Function Number - 22h  
Minor Function Number - ð2h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-29  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Capability of Timer Control  
Bit 8 - System  
(Hibernation/Suspend) timer  
= ð : Not Supported  
= 1 : Supported  
Bit 9 - Standby timer  
= ð : Not Supported  
= 1 : Supported  
Bit 1ð - LCD off timer  
= ð : Not Supported  
= 1 : Supported  
Bit 11 - HDD off timer  
= ð : Not Supported  
= 1 : Supported  
Bit 15-12 - Reserved  
(Bit 7- ð) Timer Control  
Bit ð - System (Hibernation/Suspend)  
timer  
= ð : Disable  
= 1 : Enable  
Bit 1 - Standby timer  
= ð : Disable  
= 1 : Enable  
Bit 2 - LCD off timer  
= ð : Disable  
= 1 : Enable  
Bit 3 - HDD off timer  
= ð : Disable  
= 1 : Enable  
Bit 7-4 - Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
A-30 ThinkPad 560/560E SMAPI BIOS  
Set Timer Control  
Input Field  
Major Function Number - 22h  
Minor Function Number - ð3h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Reserved  
(Bit 7- ð) Timer Control  
Bit ð - System  
(Hibernation/Suspend) timer  
= ð : Disable  
= 1 : Enable  
Bit 1 - Standby timer  
= ð : Disable  
= 1 : Enable  
Bit 2 - LCD off timer  
= ð : Disable  
= 1 : Enable  
Bit 3 - HDD off timer  
= ð : Disable  
= 1 : Enable  
Bit 7-4 - Reserved  
- Reserved  
- Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- Reserved  
Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-31  
Event Bit Definition  
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-32 ThinkPad 560/560E SMAPI BIOS  
Get System Event Global Condition  
Input Field  
Major Function Number - 3ðh  
Minor Function Number - ððh  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Capability for event  
Bit 8 - RediSafe is  
controlled by global conditions.  
(RediSafe bit is ignored  
in each event condition.)  
= ð - Not Supported  
= 1 - Supported  
(Bit 7- ð) Global event condition  
Bit ð - Enable RediSafe  
if suspend is selected.  
= ð - Disable  
= 1 - Enable  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-33  
Set System Event Global Condition  
Input Field  
Major Function Number - 3ðh  
Minor Function Number - ð1h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Reserved  
(Bit 7- ð) Global condition for event  
Bit ð - Enable safe suspend if suspend  
is selected.  
= ð - Disable  
= 1 - Enable  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- Reserved  
Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
A-34 ThinkPad 560/560E SMAPI BIOS  
Get System Event 1 Condition  
Input Field  
Major Function Number - 31h  
Minor Function Number - ððh  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- hardware and software  
event definition  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
Parameter 3  
Parameter 4  
- Reserved  
- (Bit 31-16) Reserved  
(Bit 15- ð) Power switch detection  
event definition  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
- (Bit 31-16) Reserved  
(Bit 15- ð) LID close detection  
event definition  
Parameter 5  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
ThinkPad 560/560E SMAPI BIOS A-35  
Set System Event 1 Condition  
Input Field  
Major Function Number - 31h  
Minor Function Number - ð1h  
Parameter 1  
Parameter 2  
- Reserved  
- Condition for hardware and software event  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
Parameter 3  
Parameter 4  
- Reserved  
- (Bit 31-16) Reserved  
(Bit 15- ð) Condition for power  
switch detection  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
- (Bit 31-16) Reserved  
(Bit 15- ð) Condition for  
LID close detection  
Bit 15-8 - Capability  
(See page A-32.)  
Parameter 5  
Bit 7-ð - Condition  
(See page A-32.)  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
A-36 ThinkPad 560/560E SMAPI BIOS  
Get System Event 2 Condition  
Input Field  
Major Function Number - 32h  
Minor Function Number - ððh  
Parameter 1  
Parameter 2  
- Reserved  
- System timer expiry  
event definition  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
Parameter 3  
Parameter 4  
- Reserved  
- (Bit 31-16) Reserved  
(Bit 15- ð) Standby timer expiry  
event definition  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
- (Bit 31-16) Reserved  
(Bit 15- ð)  
Parameter 5  
Hibernation timer during suspend  
mode expiry event definition.  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-37  
Set System Event 2 Condition  
Input Field  
Major Function Number - 32h  
Minor Function Number - ð1h  
Parameter 1  
Parameter 2  
- Reserved  
- Condition for System timer expiry  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
Parameter 3  
Parameter 4  
- Reserved  
- (Bit 31-16) Reserved  
(Bit 15- ð) Condition for Standby  
timer expired  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
- (Bit 31-16) Reserved  
(Bit 15- ð) Condition for Hibernation  
timer during suspend mode expired  
Bit 15-8 - Capability  
(See page A-32.)  
Parameter 5  
Bit 7-ð - Condition  
(See page A-32.)  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
A-38 ThinkPad 560/560E SMAPI BIOS  
Get System Timer  
Input Field  
Major Function Number - 32h  
Minor Function Number - ð2h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Power mode Select  
= ððh - Reserved  
= ð1h - Manual PM mode (AC)  
= ð2h - Manual PM mode (Battery)  
= F3h - High Performance mode  
= F4h - Auto Pwr Mgmt mode  
(Bit 7- ð) Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
- (Bit 15- 8) System Timer Capability  
Bit 8 = ð - Timer cannot be specified  
in each Power mode  
= 1 - Timer can be specified  
in each Power mode  
Bit 15-9 - Reserved  
(Bit 7- ð) Reserved  
- (Bit 15- 8) Reserved  
(Bit 7- ð) System Timer initial value  
(units: minutes)  
Parameter 2  
= ððh - Disable system timer  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-39  
Set System Timer  
Input Field  
Major Function Number - 32h  
Minor Function Number - ð3h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Power mode Select  
= ððh - All mode  
= ð1h - Manual PM mode (AC)  
= ð2h - Manual PM mode (Battery)  
= F3h - High Performance mode  
= F4h - Auto Pwr Mgmt mode  
(Bit 7- ð) System Timer initial  
value (units: minutes)  
= ððh - Disable system timer  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- Reserved  
Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
A-40 ThinkPad 560/560E SMAPI BIOS  
Get Standby Timer  
Input Field  
Major Function Number - 32h  
Minor Function Number - ð4h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Power mode Select  
= ððh - Reserved  
= ð1h - Manual PM mode (AC)  
= ð2h - Manual PM mode (Battery)  
= F3h - High Performance mode  
= F4h - Auto Pwr Mgmt mode  
(Bit 7- ð) Reserved  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
- (Bit 15- 8) Standby Timer Capability  
Bit 8 = ð - Timer cannot be specified  
in each Power mode  
= 1 - Timer can be specified  
in each Power mode  
Bit 15-9 - Reserved  
(Bit 7- ð) Reserved  
- (Bit 15- 8) Reserved  
(Bit 7- ð) Standby Timer initial  
value (units: minutes)  
= ððh - Disable standby timer  
- Reserved  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-41  
Set Standby Timer  
Input Field  
Major Function Number - 32h  
Minor Function Number - ð5h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Power mode Select  
= ððh - All mode  
= ð1h - Manual PM mode (AC)  
= ð2h - Manual PM mode (Battery)  
= F3h - High Performance mode  
= F4h - Auto Pwr Mgmt mode  
(Bit 7- ð) Standby Timer initial value  
(units: minutes)  
= ððh - Disable standby timer  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- Reserved  
Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
A-42 ThinkPad 560/560E SMAPI BIOS  
Get Hibernation Timer  
Input Field  
Major Function Number - 32h  
Minor Function Number - ð6h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Reserved  
(Bit 7- ð) Hibernation Timer during  
suspend mode initial value  
(units: minutes)  
= ððh - Disable hibernation timer  
during suspend mode  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-43  
Set Hibernation Timer  
Input Field  
Major Function Number - 32h  
Minor Function Number - ð7h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Reserved  
(Bit 7- ð) Hibernation Timer during  
suspend mode initial value  
(units: minutes)  
= ððh - Disable hibernation timer  
during suspend mode  
- Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- Reserved  
Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
A-44 ThinkPad 560/560E SMAPI BIOS  
Get System Event 3 Condition  
Input Field  
Major Function Number - 33h  
Minor Function Number - ððh  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- Critical low battery condition  
detection event definition  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
Parameter 3  
Parameter 4  
- Reserved  
- (Bit 16-31) Reserved  
(Bit ð -15) Out of environment condition  
detection event definition  
Bit 15-8 - Capability  
(See page A-32.)  
Bit 7-ð - Condition  
(See page A-32.)  
- Reserved  
Parameter 5  
ThinkPad 560/560E SMAPI BIOS A-45  
Set System Event 3 Condition  
Input Field  
Major Function Number - 33h  
Minor Function Number - ð1h  
Parameter 1  
Parameter 2  
- Reserved  
- (Bit 15- 8) Reserved  
(Bit 7- ð) Condition for critical  
low battery condition detection  
Bit 7-ð - Condition  
(See page A-32.)  
Parameter 3  
Parameter 4  
- Reserved  
- (Bit 31- 8) Reserved  
(Bit 7- ð) Condition for out-of-environment  
condition detection  
Bit 7-ð - Condition  
(See page A-32.)  
- Reserved  
Parameter 5  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- Reserved  
Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
A-46 ThinkPad 560/560E SMAPI BIOS  
Get System Resume Condition  
Input Field  
Major Function Number - 34h  
Minor Function Number - ððh  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
- Reserved  
- Condition for resuming trigger  
from system suspend mode  
Bit ð - Resume switch by hardware  
Bit 1 - LID open detection  
Bit 2 - RTC alarm (Resume Timer)  
detection  
Bit 3 - RI from the Serial Device  
detection  
Bit 15-4 - Reserved  
Parameter 3  
- Capability for resuming trigger from  
the system suspend mode  
Bit ð - Resume switch by hardware  
Bit 1 - LID open detection  
Bit 2 - RTC alarm (Resume Timer)  
detection  
Bit 3 - RI from the Serial Device  
detection  
Bit 15-4 - Reserved  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-47  
Set System Resume Condition  
Input Field  
Major Function Number - 34h  
Minor Function Number - ð1h  
Parameter 1  
Parameter 2  
- Reserved  
- Condition for resuming trigger  
from the system suspend mode  
Bit ð - Resume switch by hardware  
Bit 1 - LID open detection  
Bit 2 - RTC alarm (Resume Timer)  
detection  
Bit 3 - RI from the Serial Device  
detection  
Bit 15-4 - Reserved  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
A-48 ThinkPad 560/560E SMAPI BIOS  
Get System Resume Timer  
Input Field  
Major Function Number - 34h  
Minor Function Number - ð2h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
- Reserved  
- Reserved  
- Reserved  
- TOD of Resume Timer (BCD format)  
Bit 7-ð - Seconds (ð - 59)  
Bit 15-8 - Minutes (ð - 59)  
Bit 23-16 - Hours  
Bit 31-24 - Reserved  
- Date of Resume Timer (BCD format)  
Bit 7-ð - Day  
Bit 15-8 - Month  
Bit 23-16 - Year  
Bit 3ð-24 - Reserved  
(ð - 23)  
Parameter 5  
(1 - 31)  
(1 - 12)  
(ð - 99)  
Bit 31  
- Resume Date Validation  
= ð - Valid (Specified day)  
= 1 - Invalid (Every day)  
ThinkPad 560/560E SMAPI BIOS A-49  
Set System Resume Timer  
Input Field  
Major Function Number - 34h  
Minor Function Number - ð3h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
- Reserved  
- Reserved  
- Reserved  
- TOD of Resume Timer (BCD format)  
Bit 7-ð - Seconds (ð - 59)  
Bit 15-8 - Minutes (ð - 59)  
Bit 23-16 - Hours  
Bit 31-24 - Reserved  
- Date of Resume Timer (BCD format)  
Bit 7-ð - Day  
(ð - 23)  
Parameter 5  
(1 - 31)  
(1 - 12)  
(ð - 99)  
Bit 15-8 - Month  
Bit 23-16 - Year  
Bit 3ð-24 - Reserved  
Bit 31  
- Resume Date Validation  
= ð - Valid (Specified day)  
= 1 - Invalid (Every day)  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
A-50 ThinkPad 560/560E SMAPI BIOS  
Request System Standby  
Input Field  
Major Function Number - 7ðh  
Minor Function Number - ððh  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Request System Suspend  
Input Field  
Major Function Number - 7ðh  
Minor Function Number - ð1h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
ThinkPad 560/560E SMAPI BIOS A-51  
Request System Hibernation  
Input Field  
Major Function Number - 7ðh  
Minor Function Number - ð2h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Request System Off  
Input Field  
Major Function Number - 7ðh  
Minor Function Number - ð3h  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
Output Field  
Return Code  
- Error Status  
Auxiliary Return Code - Reserved  
Parameter 1  
Parameter 2  
Parameter 3  
Parameter 4  
Parameter 5  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
- Reserved  
A-52 ThinkPad 560/560E SMAPI BIOS  
Samples  
Data Structure  
Assembler Language  
;
; Smapi BIOS Header  
;
SMB_HEADER  
@SMBHDR_SIG  
STRUC  
DB  
4 dup (?)  
; +ðð - Signature  
@SMBHDR_VER  
DB  
DB  
DB  
DB  
DW  
?
?
?
?
?
?
?
?
?
?
; +ð4 - Major version  
@SMBHDR_VER_VER  
; +ð5 - Minor version  
@SMBHDR_LEN  
; +ð6 - Length  
@SMBHDR_CHKSUM  
; +ð7 - Checksum  
@SMBHDR_INFO  
; +ð8 - Information Word  
@SMBHDR_RSV1  
DW  
; +ðA - Reserve 1  
@SMBHDR_R_OFFSET  
DW  
; +ðC - Real mode Offset  
@SMBHDR_R_SEGMENT  
; +ðE - Real mode Segment  
@SMBHDR_RSV2  
; +1ð - Reserve 2  
@SMBHDR_P16_OFFSET  
DW  
DW  
DW  
; +12 - 16-bit protected mode offset  
@SMBHDR_P16_BASE DD  
; +14 - 16-bit protected mode base address  
@SMBHDR_P32_OFFSET DD  
; +18 - 32-bit protected mode offset  
@SMBHDR_P32_BASE DD  
?
?
?
; +1C - 32-bit protected mode base address  
SMB_HEADER  
ENDS  
ThinkPad 560/560E SMAPI BIOS A-53  
Parameters  
;
;Input Parameter  
;
SMB_INPARM  
STRUC  
DB  
@SMBIN_FUNC  
@SMBIN_SUB_FUNC  
@SMBIN_PARM_1  
@SMBIN_PARM_2  
@SMBIN_PARM_3  
@SMBIN_PARM_4  
@SMBIN_PARM_5  
SMB_INPARM  
?
?
?
?
?
?
?
DB  
DW  
DW  
DW  
DD  
DD  
ENDS  
;
;Output Parameter  
;
SMB_OUTPARM  
@SMBOUT_RC  
@SMBOUT_SUB_RC  
@SMBOUT_PARM_1  
@SMBOUT_PARM_2  
@SMBOUT_PARM_3  
@SMBOUT_PARM_4  
@SMBOUT_PARM_5  
SMB_OUTPARM  
STRUC  
DB  
?
?
?
?
?
?
?
DB  
DW  
DW  
DW  
DD  
DD  
ENDS  
A-54 ThinkPad 560/560E SMAPI BIOS  
C Language  
//  
// SMAPI BIOS Header  
//  
typedef struct {  
BYTE  
BYTE  
BYTE  
BYTE  
BYTE  
WORD  
WORD  
WORD  
WORD  
WORD  
WORD  
SMBHDR_SIG[4]  
; // Signature  
SMBHDR_VER  
SMBHDR_VER_VER  
SMBHDR_LEN  
SMBHDR_CHKSUM  
SMBHDR_INFO  
SMBHDR_RSV1  
; // Major Version  
; // Minor Version  
; // Length  
; // Checksum  
; // Information word  
; // Reserve 1  
; // Real mode offset  
; // Real mode segment  
; // Reserve 2  
SMBHDR_R_OFFSET  
SMBHDR_R_SEGMENT  
SMBHDR_RSV2  
SMBHDR_P16_OFFSET  
; // 16-bit Protect mode offset  
DWORD  
SMBHDR_P16_BASE  
; // 16-bit Protect mode base address  
DWORD  
SMBHDR_P32_OFFSET  
; // 32-bit Protect mode offset  
DWORD  
SMBHDR_P32_BASE  
; // 32-bit Protect mode base address  
} SMB_HEADER, ᑍPSMB_HEADER ;  
ThinkPad 560/560E SMAPI BIOS A-55  
Parameters  
//  
// Input Parameter  
//  
typedef struct {  
BYTE  
BYTE  
WORD  
WORD  
WORD  
DWORD  
DWORD  
SMBIN_FUNC  
;
SMBIN_SUB_FUNC ;  
SMBIN_PARM_1  
SMBIN_PARM_2  
SMBIN_PARM_3  
SMBIN_PARM_4  
SMBIN_PARM_5  
;
;
;
;
;
} INPARM, ᑍPINPARM ;  
//  
// Output Parameter  
//  
typedef struct {  
BYTE  
BYTE  
WORD  
WORD  
WORD  
DWORD  
DWORD  
SMBOUT_RC  
;
;
;
;
;
;
;
SMBOUT_SUB_RC  
SMBOUT_PARM_1  
SMBOUT_PARM_2  
SMBOUT_PARM_3  
SMBOUT_PARM_4  
SMBOUT_PARM_5  
} OUTPARM, ᑍPOUTPARM ;  
A-56 ThinkPad 560/560E SMAPI BIOS  
Function Declaration  
C Language  
//  
// Smapi BIOS function  
//  
typedef WORD (far ᑍ SMB)(PINPARM, POUTPARM) ;  
ThinkPad 560/560E SMAPI BIOS A-57  
Installation Check  
Assembler Language: Real Mode  
;
; FindSmapi  
; -----------  
;
; On Entry : None  
; On Exit  
: CF = ð .. Find out  
;
;
;
;
;
DX - Segment  
BX - Pointer to Header  
CF = 1 .. No Smapi BIOS  
FindSmapi  
Proc  
Near  
push  
eax  
cx  
push  
push  
push  
si  
ds  
mov  
mov  
mov  
mov  
mov  
ax, BIOS_SEG  
ds, ax  
; Fððð Segment  
; Start Point  
bx, ð  
cx, SMB_CAND_CNT ; Total Check Count  
eax, 'BMS$' ; Target Strings  
@@:  
cmp  
je  
add  
loop  
stc  
jmp  
eax, dword ptr ds:[bx].@SMBHDR_SIG  
short @f  
bx, 1ðh  
@b  
; Next Paragraph  
short FindSmapiFin  
A-58 ThinkPad 560/560E SMAPI BIOS  
@@: ;  
mov  
Find Smapi Head  
dx, BIOS_SEG  
;
Calculate Checksum.. next.  
pushf  
cld  
; Save Direction flag  
; Clear it  
mov  
xor  
movzx  
si, bx  
ax, ax  
cx,byte ptr ds:[bx].@SMBHDR_LEN  
@@:  
lodsb  
add  
loop  
ah, al  
@b  
popf  
cmp  
cmc  
; Restore Direction flags  
; Checksum is OK?  
ah, 1  
FindSmapiFin:  
pop  
pop  
pop  
pop  
ret  
ds  
si  
cx  
eax  
FindSmapi  
Endp  
ThinkPad 560/560E SMAPI BIOS A-59  
C Language  
typedef struct {  
BYTE  
BYTE  
BYTE  
BYTE  
BYTE  
WORD  
WORD  
WORD  
WORD  
SMBHDR_SIG[4]  
SMBHDR_VER  
SMBHDR_VER_VER  
SMBHDR_LEN  
SMBHDR_CHKSUM  
SMBHDR_INFO  
SMBHDR_RSV1  
; // Signature  
; // Major Version  
; // Minor Version  
; // Length  
; // Checksum  
; // Information Word  
; // Reserve 1  
; // Real Mode Offset  
; // Real Mode Segment  
SMBHDR_R_OFFSET  
SMBHDR_R_SEGMENT  
} SMB_HEADER_REAL, far ᑍ PFSMB_HEADER_REAL ;  
A-60 ThinkPad 560/560E SMAPI BIOS  
BOOLEAN GetSmapiEntry(PSMB pFunc)  
{
PFSMB_HEADER_REAL  
WORD  
BYTE  
MyPtr = ðxFððððððð ;  
cnt = ð ;  
cksum = ð ;  
//  
// 1) Search for signature first  
//  
while((cnt++ < ðx1ððð) &&  
!(((MyPtr->SMBHDR_SIG)[ð] == '$') &&  
((MyPtr->SMBHDR_SIG)[1] == 'S') &&  
((MyPtr->SMBHDR_SIG)[2] == 'M') &&  
((MyPtr->SMBHDR_SIG)[3] == 'B') )) {  
MyPtr++ ;  
}
//  
// 2) Find the Signature?  
//  
if (cnt >= ðx1ððð) {  
// We cannot find it.  
return FALSE ;  
} else {  
//  
// 3) Calculate Checksum  
//  
for (cnt = ð ; cnt < MyPtr->SMBHDR_LEN ; cnt++)  
cksum += (BYTE)((MyPtr->SMBHDR_SIG)[cnt]) ;  
if (cksum) {  
// Bad Checksum  
return FALSE ;  
} else {  
// Build Return Address  
(ᑍpFunc) = ( (DWORD)(MyPtr->SMBHDR_R_OFFSET) +  
(((DWORD)(MyPtr->SMBHDR_R_SEGMENT)) << 16) ) ;  
return TRUE ;  
}
}
}
ThinkPad 560/560E SMAPI BIOS A-61  
BIOS Call  
Assembler Language: 16-Bit Protected Mode  
;
; Build Input Parameter Field  
;
mov  
mov  
al, SMB_GET_SYSID  
[bx].@Func, al  
mov  
push  
mov  
push  
call  
add  
ax, offset OutputParm  
ax  
ax, offset InputParm  
ax  
_SmapiBios  
sp, 4  
;
; Get information from Output Parm  
;
or  
jnz  
ax, ax  
Error  
mov  
mov  
bx, offset OutputParm  
al, [bx].@Parm1  
A-62 ThinkPad 560/560E SMAPI BIOS  
32-Bit Protected Mode  
;
; Build Input Parameter Field  
;
mov  
mov  
mov  
ebx, offset InputParm  
al, SMB_GET_SYSID  
[ebx].@Func, al  
mov  
push  
mov  
push  
call  
add  
eax, offset OutputParm  
eax  
eax, offset InputParm  
eax  
_SmapiBios  
sp, 8  
;
; Get information from Output Parm  
;
or  
jnz  
ax, ax  
Error  
mov  
mov  
ebx, offset OutputParm  
ax, [ebx].@Parm1  
ThinkPad 560/560E SMAPI BIOS A-63  
C Language  
WORD GetSystemID()  
{
SMB  
SmapiEntry ;  
INPARM  
OUTPARM  
WORD  
MyInput ;  
MyOutput ;  
Rc = -1 ;  
if (GetSmapiEntry(&SmapiEntry)) {  
MyInput.SMBIN_FUNC  
MyInput.SMBIN_SUB_FUNC  
= ð ;  
= ð ;  
if (SmapiEntry(&MyInput, &MyOutput)) {  
// No System ID is available  
} else {  
Rc = MyOutput.SMBOUT_PARM_1 ;  
}
} else {  
// No Smapi BIOS interface.  
// Try to use CBIOS INT 15.  
}
return Rc ;  
}
A-64 ThinkPad 560/560E SMAPI BIOS  
Appendix B. Notices  
References in this publication to IBM products, programs, or services  
do not imply that IBM intends to make these available in all countries  
in which IBM operates. Any reference to an IBM product, program,  
or service is not intended to state or imply that only that IBM product,  
program, or service may be used. Any functionally equivalent  
product, program, or service that does not infringe any of the  
intellectual property rights of IBM may be used instead of the IBM  
product, program, or service. The evaluation and verification of  
operation in conjunction with other products, except those expressly  
designated by IBM, are the responsibility of the user.  
IBM may have patents or pending patent applications covering  
subject matter in this document. The furnishing of this document  
does not give you any license to these patents. You can send  
license inquiries, in writing, to:  
IBM Director of Licensing  
IBM Corporation  
500 Columbus Avenue  
Thornwood NY 10594  
USA  
Copyright IBM Corp. 1996, 1997  
B-1  
Trademarks  
The following terms, denoted by an asterisk (*) in this publication, are  
trademarks of the IBM Corporation in the United States or other  
countries or both:  
AT  
PS/2  
IBM  
ThinkPad  
TrackPoint III  
Personal Computer AT  
Personal System/2  
The following terms, denoted by a double asterisk (**) in this  
publication, are trademarks of other companies as follows:  
Intel  
Intel Corporation  
IntelDX4  
Intel486  
IrDA  
Intel Corporation  
Intel Corporation  
Infrared Data Association  
Personal Computer Memory Card International  
Association  
PCMCIA  
Pentium  
Sound Blaster  
286  
Intel Corporation  
Creative Labs, Inc.  
Intel Corporation  
287  
Intel Corporation  
386  
Intel Corporation  
387  
Intel Corporation  
8086  
Intel Corporation  
8087  
Intel Corporation  
8088  
Intel Corporation  
82077AA  
Intel Corporation  
Other company, product, and service names, which may be denoted  
by a double asterisk (**), may be trademarks or service marks of  
others.  
B-2 ThinkPad 560/560E Notices  
Index  
connectors  
external connector 2-9  
A
acoustical readings,  
hard disk drive 2-8  
keyboard 2-4  
mouse 2-4  
PCMCIA 3-7  
system board memory (DIMM  
cards) 2-14  
specifications 1-10  
address 20 gate 2-28  
address and NMI mask register,  
RT/CMOS 2-17  
address map  
RT/CMOS RAM 2-16  
system board I/O 1-6  
air temperature, specifications 1-9  
alternative method of resetting 2-28  
altitude, specifications 1-9  
anticipated page miss 1-8  
audio subsystem 3-6  
control ports, system 2-27, 2-28  
controller  
diskette drive 1-4  
DMA 1-4  
interrupt 1-4  
keyboard/auxiliary device 1-4  
parallel 1-4  
serial 1-4  
TrackPoint III 1-4  
B
battery 2-21  
battery pack, specifications 1-13  
boot  
selectable drive-startup  
sequence 2-29  
bus master access to system board  
RAM, specifications 1-8  
D
data register, RT/CMOS 2-17  
date-century byte, RT/CMOS RAM  
configuration 2-25  
depth, system unit 1-9  
devices–system board 1-3  
diagnostic status byte, RT/CMOS  
RAM configuration 2-22  
DIMM cards 2-13, 2-14  
pin assignments 2-14  
system board memory  
connectors 2-14  
C
cables 1-9  
cache memory operation 2-2  
cache, level 2 1-3  
CD-ROM drive 1-2  
channels  
diskette drive  
connector 2-12  
type byte 2-23  
check latch 2-27  
DMA 1-4  
diskette drive/controller 2-11  
display operating mode 2-24  
displayable  
characters and symbols 2-7  
DMA  
CMOS RAM 2-26  
configuration 2-22  
status registers 2-21  
subsystem 1-3  
compatibility  
hardware 2-30  
configuration CRC bytes, RT/CMOS  
RAM 2-25  
channels 1-4  
controller 1-4, 1-8  
Copyright IBM Corp. 1996, 1997  
X-1  
DSTN LCD (dual-scan supertwisted  
nematic liquid crystal display) 3-2  
K
key numbers 2-5  
for the 84-key keyboard 2-5  
for the 85-key keyboard 2-6  
for the external numeric  
keypad 2-7  
E
EEPROM subsystem 1-3  
electrical specifications 1-9  
electromagnetic compatibility,  
specifications 1-9  
keyboard  
connector 2-4  
ID 2-6  
enable NMI 2-17  
signals 2-4  
keyboard/auxiliary device  
controller 1-4  
equipment byte, RT/CMOS RAM  
configuration 2-24  
error codes 2-31  
keyboard/mouse connector 2-4  
external connector 2-9  
L
F
LCD (liquid crystal display) 3-2  
Li-Ion (lithium-ion) battery pack,  
power supply 1-13  
low and high base memory bytes,  
RT/CMOS RAM  
fault, overvoltage 1-12  
G
gate A20 2-28  
configuration 2-25  
low and high expansion memory  
bytes, RT/CMOS RAM  
configuration 2-25  
low and high usable memory bytes,  
RT/CMOS RAM  
H
hard disk drive  
connector 2-8  
fail initialization 2-22  
hardware compatibility 2-30  
heat output, specifications 1-9  
height, system unit 1-9  
humidity, specifications 1-9  
configuration 2-25  
M
maximum altitude,  
specifications 1-9  
measurements, system unit 1-9  
memory  
I
identifier, model 1-2  
infrared subsystem 3-7  
interrupt  
performance 1-8  
RAM 2-13  
read 1-8  
controller 1-3  
NMI reset 2-26  
IR subsystem 3-7  
display 3-7  
ROM 2-13  
size miscompare 2-22  
system memory map 2-14  
microchannel  
bus adapter 1-4  
microprocessor 1-3  
alternative method of  
resetting 2-28  
X-2 Index  
microprocessor (continued)  
cache memory operation 2-2  
mode switch compatibility 2-28  
performance 1-8  
POST (continued)  
memory errors 2-14  
parity check 2-26  
password 2-29  
real address mode 2-28  
specifications 1-3, 1-8  
mode switch, protected 2-28  
model identifier 1-2  
model/submodel bytes 1-2  
description 2-2  
reset 2-28  
ROM test 2-13  
power  
cable 1-9  
loss 2-21  
power supply 1-11  
battery pack (lithium ion) 1-13  
connector 1-12  
model identifier 1-2  
mouse  
connector 2-4  
signals 2-4  
output protection 1-12  
output voltages 1-11  
outputs 1-11  
voltage sequencing 1-12  
power-on password 2-29  
power-on self-test (POST)  
cache test 2-2  
N
NMI (nonmaskable interrupt) 2-26  
error codes 2-31  
memory errors 2-14  
parity check 2-26  
password 2-29  
reset 2-28  
ROM test 2-13  
O
output protection, power  
supply 1-12  
output voltage sequencing 1-12  
overvoltage fault 1-12  
protected mode switch 2-28  
P
page hit 1-8  
R
page miss 1-8  
parallel controller port 1-4  
parity check enable 2-27  
password, power-on 2-29  
PCMCIA 3-7  
RAM (random access  
memory) 2-13  
I/O operations, RT/CMOS 2-18  
subsystem 2-13  
RAM subsystem 1-3  
read-only memory (ROM) 1-3, 2-13  
real mode switch 2-28  
real-time clock 2-16  
bytes, RT/CMOS 2-19  
refresh rate, specifications 1-8  
refresh request 2-27  
registers  
interface 1-7  
slots 1-4, 3-7  
subsystem 3-7  
Pentium 90/120MHz 1-3  
performance, system 1-8  
ports  
parallel 1-4  
serial 1-4  
system 2-26  
miscellaneous system 2-26  
RT/CMOS address and NMI  
mask 2-17  
RT/CMOS data 2-17  
RT/CMOS status 2-21  
POST  
cache test 2-2  
error codes 2-31  
Index X-3  
registers (continued)  
shutdown status byte, RT/CMOS  
RAM configuration 2-22  
size, specifications 1-9  
SMAPI  
status 2-19, 2-20, 2-21  
reserved bytes, RT/CMOS RAM  
configuration 2-25  
reset, alternative method 2-28  
ROM (read-only memory) 2-13  
RT/CMOS  
assembler sample A-7  
BIOS call A-62  
C language sample A-8  
calling convention A-6  
configuration A-20  
address and NMI mask register  
(hex 0070) 2-17  
data register (hex 0071) 2-17  
RAM address map 2-16  
RAM configuration  
display device A-14, A-20  
display device, set A-22  
event bit definition A-32  
function declaration A-57  
function description A-12  
header image A-4  
hotkey sticky/lock, set A-26  
installation check A-58  
parameter structure A-6  
pointing device, set A-24  
power management A-27  
processor (CPU) A-13  
pseudo code A-9  
configuration CRC bytes 2-25  
date-century byte 2-25  
diagnostic status byte 2-22  
diskette drive type byte 2-23  
equipment byte 2-24  
hard disk drive 2, 3 type  
byte 2-23, 2-24  
low and high base memory  
bytes 2-25  
low and high expansion  
memory bytes 2-25  
low and high usable memory  
bytes 2-25  
refresh rate A-18  
request system hibernation A-52  
request system off A-52  
request system standby A-51  
request system suspend A-51  
return codes A-11  
set hibernation timer A-44  
set standby timer A-42  
set system resume timer A-50  
slave micro control unit A-15  
system identification A-12  
system information A-12  
system sensor A-16  
reserved bytes 2-24, 2-25  
shutdown status byte 2-22  
RAM I/O operations 2-18  
real-time clock bytes 2-19  
status register A (hex  
00A) 2-19  
status register B (hex  
00B) 2-20  
status register C (hex  
00C) 2-21  
status register D (hex  
00D) 2-21  
timer control A-29  
video A-17  
Sound Blaster system settings 3-6  
speaker data enable 2-27  
specifications 1-8, 3-7  
acoustical readings 1-10  
air temperature 1-9  
S
scan codes 2-5  
selectable drive-startup  
sequence 2-29  
sequencing, output voltage 1-12  
serial controller port 1-4  
DMA controller 1-8  
electrical 1-9  
electromagnetic  
compatibility 1-9  
X-4 Index  
specifications (continued)  
heat output 1-9  
system timers 1-3  
humidity 1-9  
T
maximum altitude 1-9  
microprocessor 1-8  
PCMCIA 3-7  
performance 1-8  
refresh rate 1-8  
temperature 1-9  
TFT LCD (thin-film transistor liquid  
crystal display) 3-2  
time status indicator 2-22  
timers, system 1-3  
type II PC card, PCMCIA 3-7  
type III PC card, PCMCIA 3-7  
size 1-9  
weight 1-9  
standards, PCMCIA 3-7  
status register  
register A (hex 00A) 2-19  
register B (hex 00B) 2-20  
register C (hex 00C) 2-21  
register D (hex 00D) 2-21  
switch to real 2-28  
system  
V
video subsystem 1-3, 3-2  
display 3-2  
DSTN LCD 3-2  
mode 3-3  
TFT LCD 3-2  
control ports 2-28  
functions, miscellaneous 2-26  
performance 1-8  
voltage  
power supply 1-11  
sequencing, power supply 1-12  
specifications 1-9  
reset 2-26  
system board  
devices 1-3  
CMOS RAM subsystem 1-3  
diskette drive controller 1-4  
DMA controller 1-3  
EEPROM subsystem 1-3  
interrupt controller 1-4  
keyboard/auxiliary device  
controller 1-4  
W
weight, system unit 1-9  
width, system unit 1-9  
microprocessor 1-3  
parallel controller port 1-4  
PCMCIA slots 1-4  
RAM subsystem 1-3  
serial controller port 1-4  
system timers 1-3  
video subsystem 1-3  
I/O address map 1-6  
system control  
port A 2-28  
port B 2-27  
system management API  
(SMAPI) A-1  
system memory map 2-14  
Index X-5  
IBM  
Part Number: 06J0536  
Printed in the United States of America  

Huawei Technologies Cordless Telephone ETS5623 User Manual
Intel MINI ITX MOTHERBOARD MB896 User Manual
JVC AV 20N3PX User Manual
Lenovo J SERIES 8252 User Manual
Martin Audio Miniature Stage Monitor WM0 5 User Manual
Oki 70047601 User Manual
Philips 160EL1 User Manual
Philips DVP3166K User Manual
Philips LCD Widescreen Monitor 190TW9FT User Manual
Philips P89LPC907 User Manual