IBM 560E Bedienungsanleitung

1
2
3
4
5
6
7
8
9
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
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
97
98
99
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

Zur Seite of

Richtige Gebrauchsanleitung

Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung IBM 560E an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von IBM 560E, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.

Was ist eine Gebrauchsanleitung?

Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung IBM 560E die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.

Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung IBM 560E. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.

Was sollte also eine ideale Gebrauchsanleitung beinhalten?

Die Gebrauchsanleitung IBM 560E sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts IBM 560E
- Den Namen des Produzenten und das Produktionsjahr des Geräts IBM 560E
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts IBM 560E
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen

Warum lesen wir keine Gebrauchsanleitungen?

Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von IBM 560E zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von IBM 560E und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service IBM finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von IBM 560E zu überspringen, wie es bei der Papierform passiert.

Warum sollte man Gebrauchsanleitungen lesen?

In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts IBM 560E, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.

Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von IBM 560E widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.

Inhaltsverzeichnis der Gebrauchsanleitungen

  • Seite 1

    06J0536 S76H-7587-01[...]

  • Seite 2

    Note Before using this information and the product it supports, be sure to read the general information under “Notices” on page B-1. Second Edition (July 1997) The following paragraph does not apply to the United Kingdom or any country where such provisions are inconsistent with local law : INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES T[...]

  • Seite 3

    Contents Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Section 1. System Overview . . . . . . . . . . . . . . . . . . . 1-1 Description . . . . . . . . . . . . . . [...]

  • Seite 4

    System Control Port B (Hex 0061) .............. 2-27 System Control Port A (Hex 0092) .............. 2-28 Power-On Password . . . . . . . . . . . . . . . . . . . . . . 2-29 Selectable Drive-Startup Sequence .............. 2-29 Hardware Compatibility . . . . . . . . . . . . . . . . . . . . . . 2-30 Error Codes . . . . . . . . . . . . . . . . . . . .[...]

  • Seite 5

    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-10 [...]

  • Seite 6

    2-31. System Control Port B (Hex 0061, Read) ...... 2-27 2-32. System Control Port A (Hex 0092) .......... 2-28 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 ...[...]

  • Seite 7

    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 f[...]

  • Seite 8

    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 ch[...]

  • Seite 9

    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[...]

  • Seite 10

    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 driv[...]

  • Seite 11

    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. Figure 1-2 (Part 1 of 3). System Board Devices and Features Device Type Features Microprocessor – ThinkPad 560: Intel** Pentium**[...]

  • Seite 12

    Figure 1-2 (Part 2 of 3). System Board Devices and Features 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 65 536 colors on the TFT LCD Up to 16 777 216 colors on an external display ThinkPad 560E:  Up to 65 536 colors on t[...]

  • Seite 13

    Figure 1-2 (Part 3 of 3). System Board Devices and Features Device Type Features Audio subsystem – Sound Blaster**-Pro compatible Infrared subsystem – Supports: ThinkPad 560:  IrDA 1.0 ThinkPad 560E:  IrDA 1.1 ñ Personal Computer Memory Card International Association ThinkPad 560/560E System Overview 1-5[...]

  • Seite 14

    System Board I/O Address Map Figure 1-3 shows the I/O address map. Figure 1-3 (Part 1 of 2). System Board I/O Address Map Address (Hex) Device 0000–001F DMA controller (0–3) 0020, 0021 Interrupt controller (Master) 0022–003F Reserved 0040–0043 System timer 1 0048–004B Reserved 0060 Keyboard, auxiliary device 0061 System control port B 006[...]

  • Seite 15

    Figure 1-3 (Part 2 of 2). System Board I/O Address Map Address (Hex) Device 03B4, 03B5, 03BA Video subsystem 03BC–03BE Parallel port 1 03C0–03C5 Video subsystem 03C6–03C9 Video DAC 03CA, 03CC, 03CE, 03CF Video subsystem 03D4, 03D5, 03DA, 3D8, 3D9 Video subsystem 03E0–03E3 PCMCIA interface 03E8–03EF Serial port 3 03F0–03F7 Diskette drive[...]

  • Seite 16

    Specifications Figure 1-4 to Figure 1-7 on page 1-10 list the specifications for the computer. Performance Specifications Figure 1-4. Performance Specifications for the ThinkPad 560/560E Device Cycle Time (ns) Microprocessor (66 MHz–15 ns clock) Access to RAM: ñ Memory read Page hit, burst Page miss, burst 240 ns 360 ns Memory write Page miss, b[...]

  • Seite 17

    Physical Specifications Figure 1-5. Physical Specifications for the ThinkPad 560/560E 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 [...]

  • Seite 18

    Electrical Specifications Figure 1-6. Electrical Specifications for the ThinkPad 560/560E (35 W) Input Voltage ñ (V ac) 100–240 Frequency (Hz) 50/60 Input ò (kVA) 0.132 ñ Range is automatically selected; sine wave input is required. ò At maximum configuration. Acoustical Readings Figure 1-7. Acoustical Readings for the ThinkPad 560/560E L WAd[...]

  • Seite 19

    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 sh[...]

  • Seite 20

    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 13[...]

  • Seite 21

    Battery Pack The ThinkPad computer uses a lithium-ion (Li-Ion) battery pack that meets the following electrical specifications: Figure 1-10. Battery Pack Specifications Nominal Voltage + 10.8 V dc Capacity (average) 2.2 ampere hours (AH) Protection Overcurrent protection Overvoltage protection Overdischarge protection Thermal protection ThinkPad 56[...]

  • Seite 22

    1-14 ThinkPad 560/560E System Overview[...]

  • Seite 23

    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[...]

  • Seite 24

    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 Pen[...]

  • Seite 25

    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 cache[...]

  • Seite 26

    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. Figure 2-1. Keyboard and Mouse Signals Sink current 20 mA[...]

  • Seite 27

    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 Technica[...]

  • Seite 28

    11 0 124 125 126 75 80 85 11 2 11 3 11 4 11 5 11 6 11 7 11 8 11 9 120 121 122 123 76 81 86 1 2 3 4 5 6 7 8 9 10 1 1 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 3 1 32 33 34 35 36 37 38 39 40 41 46 47 48 49 50 5 1 52 53 54 55 57 60 61 62 64 83 79 84 89 Lef t Right 44 45 43 42 Fn 58 Figure 2-4. Key Numbers for the 85-Key Keyboard Keyboard ID T[...]

  • Seite 29

    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 95 96 97 98 99 100 101 102 103 104 108 105 106 91 92 93 Figure 2-5. Key Numbers for the External Numeric Keypad Displayable Characters and Symb[...]

  • Seite 30

    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 2 49 50 Figure 2-6. Hard Disk Drive Connector Pin Assignments Pin Signal Description Pin Signal Description 1 JP1 Jumper (master) 26 – Not connected 2 JP1 Jumper (master) 27 – Not conne[...]

  • Seite 31

    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: 100 51 50 1 (Rear of the Computer) Figure 2-7 (Part 1 of 2). 100-Pin External Connector Pin Assignments Pin Signal Type Pin Signal Type 1 GND[...]

  • Seite 32

    Figure 2-7 (Part 2 of 2). 100-Pin External Connector Pin Assignments Pin Signal Type Pin Signal Type 23 GND G 73 GND G 24 NC – 74 SAFE5V W 25 Mouse Data K 75 Keyboard Data K 26 Mouse Clock K 76 Keyboard Clock K 27 GND G 77 GND G 28 NC – 78 NC – 29 NC – 79 NC – 30 GND G 80 GND G 31 Ring Indicator S 81 Data Terminal Ready S 32 Clear to Send[...]

  • Seite 33

    Diskette Drive and Controller Figure 2-8 shows the read, write, and format capabilities of the diskette drive for the ThinkPad computer. Figure 2-8. Diskette Drive Read, Write, and Format Capabilities Diskette Type Format Size 720KB 1.2MB 1.44MB 3.5-inch 1.0MB Diskette RWF − − 3.5-inch 2.0MB Diskette − RWF RWF Legend: : 1KB (kilobyte) 1024 by[...]

  • Seite 34

    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 26 1 2 Figure 2-9. Diskette Drive Connector Pin Assignments Pin Signal Type 1 GND Ground 2 DRATE1 Data Rate Select 1 3 VCC5B + 5V dc 4– Reserved[...]

  • Seite 35

    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[...]

  • Seite 36

    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[...]

  • Seite 37

    Figure 2-11. DIMM Connector Pin Assignments Pin Signal Pin Signal Pin Signal 1 Ground 49 MD42 97 MD25 2 Ground 50 MD21 98 MD38 3 MD15 51 MD41 99 MD24 4 MD48 52 MD22 100 MD39 5 MD14 53 MD40 101 + 3.3V dc 6 MD49 54 MD23 102 + 3.3V dc 7 MD13 55 Ground 103 MA6 8 MD50 56 Ground 104 MA7 9 MD12 57 Ground 105 MA8 10 MD51 58 Ground 106 MA11 11 + 3.3V dc 59 [...]

  • Seite 38

    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 t[...]

  • Seite 39

    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. Figure 2-13. RT/CMOS Address and NMI Ma[...]

  • Seite 40

    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). [...]

  • Seite 41

    Real-Time Clock Bytes (Hex 000–00D): Bit definitions and addresses for the real-time clock bytes are shown in Figure 2-15. Figure 2-15. Real-Time Clock Bytes (Hex 000–00D) Address (Hex) Function Byte Number 000 Seconds 0 001 Second alarm 1 002 Minutes 2 003 Minute alarm 3 004 Hours 4 005 Hour alarm 5 006 Day of week 6 007 Date of month 7 008 Mo[...]

  • Seite 42

    square-wave output frequency and a 976.562-microsecond periodic interrupt rate. Status Register B (Hex 00B) Figure 2-17. Status Register B (Hex 00B) Bit Function 7 Set 6 Enable periodic interrupt 5 Enable alarm interrupt 4 Enable update-ended interrupt 3 Enable square wave 2 Date mode 1 24-hour mode 0 Enable daylight-saving time Bit 7 When set to 0[...]

  • Seite 43

    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) Figure 2-18. Status Register C (Hex 00C) Bit Function 7 Interrupt request flag 6 Periodic interrupt flag 5 Alar[...]

  • Seite 44

    CMOS RAM Configuration Figure 2-20 shows the bit definitions for the CMOS RAM configuration bytes. Diagnostic Status Byte (Hex 00E) Figure 2-20. Diagnostic Status Byte (Hex 00E) Bit Function 7 Real-time clock power 6 Configuration record and checksum status 5 Incorrect configuration 4 Memory size mismatch 3 Hard disk controller/drive C initializati[...]

  • Seite 45

    Diskette Drive Type Byte (Hex 010): This byte indicates the type of the installed diskette drive. Figure 2-21. Diskette Drive Type Byte (Hex 010) Bit Drive Type 7–4 Diskette drive type 3–0 Reserved Bits 7–4 These bits indicate the diskette drive type. Figure 2-22. Diskette Drive Type Bits 7–4 Bits 7–4 Description 0 1 1 0 0 1 0 0 Diskette [...]

  • Seite 46

    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. Figure 2-26. Hard Disk Drive Type Byte Bit Drive Type 7–4 Hard disk drive 0 3–0 Hard disk drive 1 Reserved Bytes (Hex 013): These bytes are reserved. Equipment Byte (Hex 014): This byte defines the[...]

  • Seite 47

    Bits 3–2 These bits are reserved. Bit 1 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 valu[...]

  • Seite 48

    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 o[...]

  • Seite 49

    System Control Port B (Hex 0061) Bit definitions for the write and read functions of this port are shown in the following figures: Figure 2-30. System Control Port B (Hex 0061, Write) Bit Function 7–4 Reserved 3 Reserved (should be 0) 2 Enable parity check 1 Enable speaker data 0 Timer 2 gate to speaker Figure 2-31. System Control Port B (Hex 006[...]

  • Seite 50

    System Control Port A (Hex 0092) Figure 2-32. System Control Port A (Hex 0092) Bit Function 7–3 Reserved 2 Reserved (must be set to 0) 1 Alternate gate A20 0 Alternate hot reset Bits 7–3 These bits are reserved. Bit 2 This bit is reserved. Bit 1 This bit is used to enable the ‘address 20’ signal ( A20 ) when the microprocessor is in the rea[...]

  • Seite 51

    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[...]

  • Seite 52

    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 [...]

  • Seite 53

     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. Figure 2-33 (Part 1 of 2). Error Codes Error Code Description 101 Interrupt f[...]

  • Seite 54

    Figure 2-33 (Part 2 of 2). Error Codes Error Code Description 601 Diskette drive or controller error. 602 No valid boot record on diskette. 604 Invalid diskette drive error. 1101 Serial-A test failure. 1201 Serial-B test failure. 1701 Hard disk controller failure. 1780, 1790 Hard disk 0 error. 1781, 1791 Hard disk 1 error. 2401 System board video e[...]

  • Seite 55

    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 Infr[...]

  • Seite 56

    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 incompatibili[...]

  • Seite 57

    ThinkPad 560E  Displaying output on the LCD or both on the LCD and monitor: Resolution Supported Color Depth 640 × 480 256, 65 536, and 16 777 216 800 × 600 1024 × 768 (virtual screen) 256 and 65 536  Displaying output on the monitor: Resolution Refresh Rate Supported Color Depth 640 × 480 60Hz 256, 65 536, and 16 777 216 72Hz 75Hz 85Hz 8[...]

  • Seite 58

    Expanded Size (to 800 × 600) 800 × 600 800 × 525 800 × 600 800 × 600 800 × 525 800 × 600 800 × 600 800 × 600 800 × 525 800 × 600 800 × 600 800 × 600 800 × 525 800 × 525 800 × 600 800 × 600 800 × 600 800 × 600 Pels 320 × 200 320 × 350 320 × 400 640 × 200 640 × 350 640 × 400 320 × 200 640 × 200 640 × 350 640 × 400 320 × [...]

  • Seite 59

    Expanded Size (to 800 × 600) – – – – – – – – – Pels 800 × 600 1024 × 768 1280 × 1024 640 × 480 640 × 480 640 × 480 800 × 600 800 × 600 1024 × 768 Maxi- mum Pages 1 1 1 1 1 1 1 1 1 Box Size – – – – – – – – – Buffer Start Address A0000 A0000 A0000 A0000 A0000 A0000 A0000 A0000 A0000 Alpha- numeric Format [...]

  • Seite 60

    Audio Subsystem Sound Blaster Support Function The Sound Blaster support function provides three system settings: I/O address, IRQ level, and DMA channel. 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 [...]

  • Seite 61

    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[...]

  • Seite 62

    Figure 3-1. PCMCIA Standards and Specifications Standards and Specifications Characteristics PCMCIA Card Standard Release 2.0 or 2.1 PCMCIA Socket Services Interface Specifications Release 2.0 or 2.1 PCMCIA Card Services Interface Specifications Release 2.0 or 2.1 PC Card Physical Configuration Type II and Type III Supported voltage 5.0 V dc only 3[...]

  • Seite 63

    Pin Assignments Figure 3-2 shows the pin assignments for the PCMCIA slots. Figure 3-2. PCMCIA PC Card Slot Pin Assignments Pin Signal Pin Signal 1 Ground 35 Ground 2D 3 3 6 − CD1 3D 4 3 7 D11 4D 5 3 8 D12 5D 6 3 9 D13 6D 7 4 0 D14 7 − CE1 41 D15 8 A10 42 − CE2 9 − OE 43 RFSH 10 A11 44 RFU ( − IOR) 11 A9 45 RFU ( − IOW) 12 A8 46 A17 13 A[...]

  • Seite 64

    3-10 ThinkPad 560/560E Subsystems[...]

  • Seite 65

    Appendix A. System Management API (SMAPI) BIOS Overview What is SMAPI BIOS? ........................ A-3 Header Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4 Calling Convention . . . . . . . . . . . . . . . . . . . . . . . . . . A-6 Parameter Structure . . . . . . . . . . . . . . . . . . . . . . . A-6 Sample in Assembler Langu[...]

  • Seite 66

    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[...]

  • Seite 67

    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[...]

  • Seite 68

    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 Length Value Signature 00h 4 bytes ' $SMB ' (ASCII) Version (Major) 04h Byte[...]

  • Seite 69

    Information Word This area identifies the BIOS service level defined below. Information Word Bit ð : Real/V86 mode interface support Bit 1 : 16-bit protected mode support Bit 2 : 32-bit protected mode support Bit 3-15 : Reserved Real Mode Entry Point The entry point is specified in segment, offset format. Clients using Real/V86 mode can use this a[...]

  • Seite 70

    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 on[...]

  • Seite 71

    Sample in Assembler Language ; ; Input Parameter Structure ; SMB_INPARM STRUC @SMBIN_FUNC DB ? @SMBIN_SUB_FUNC DB ? @SMBIN_PARM_1 DW ? @SMBIN_PARM_2 DW ? @SMBIN_PARM_3 DW ? @SMBIN_PARM_4 DD ? @SMBIN_PARM_5 DD ? SMB_INPARM ENDS ; ; Output Parameter Structure ; SMB_OUTPARM STRUC @SMBOUT_RC DB ? @SMBOUT_SUB_RC DB ? @SMBOUT_PARM_1 DW ? @SMBOUT_PARM_2 D[...]

  • Seite 72

    Sample in C Language / / // Input Parameter Structure / / typedef struct { BYTE SMBIN_FUNC ; BYTE SMBIN_SUB_FUNC ; WORD SMBIN_PARM_1 ; WORD SMBIN_PARM_2 ; WORD SMBIN_PARM_3 ; DWORD SMBIN_PARM_4 ; DWORD SMBIN_PARM_5 ; } INPARM, PINPARM ; / / // Output Parameter Structure / / typedef struct { BYTE SMBOUT_RC ; BYTE SMBOUT_SUB_RC ; WORD SMBOUT_PARM_1 [...]

  • Seite 73

    Calling Convention Pseudo Code The following describes the calling convention using pseudo code. Assembler Language InputParm SMB_INPARM < > OutputParm SMB_OUTPARM < > 16-bit push ds mov ax, offset OutputParm push ax push ds mov ax, offset InputParm push ax call dword ptr SmapiBios add sp, 8 32-bit push ds mov eax, offset OutputParm pus[...]

  • Seite 74

    C Language typedef WORD (far SMB)(FPINPARM, FPOUTPARM) ; SMB SmapiBios ; INPARM InputParm ; OUTPARM OutputParm ; WORD RC ; RC = SmapiBios(&InputParm, &OutputParm) ; A-10 ThinkPad 560/560E SMAPI BIOS[...]

  • Seite 75

    Return Codes The following return codes are stored in both the AL (AX) register and the return code field of the output parameter. ððh No Error 53h SMAPI function is not available 81h Invalid parameter 86h Function is not supported 9ðh System error 91h System is invalid 92h System is busy Aðh Device error (Disk Read Error) A1h Device is busy A2[...]

  • Seite 76

    Function Description System Information Service Get System Identification Input Field Major Function Number - ððh Minor Function Number - ððh Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Return Value Format = ð?[...]

  • Seite 77

    Get CPU Information Input Field Major Function Number - ððh Minor Function Number - ð1h Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - CPU ID (Bit 15- 8) Microprocessor [...]

  • Seite 78

    Get Display Device Information Input Field Major Function Number - ððh Minor Function Number - ð2h Parameter 1 - (Bit 8 ) LCD information (Bit 9 ) External CRT information (Bit 15-1ð) Reserved (Bit 7- ð) Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status [...]

  • Seite 79

    Get Slave Micro Control Unit Information Input Field Major Function Number - ððh Minor Function Number - ð6h Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Return Value Format = ððh - ASCII Format = ð1h - Binary [...]

  • Seite 80

    Get System Sensor Status Input Field Major Function Number - ððh Minor Function Number - ð7h Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Current Status Bit 8 - LID St[...]

  • Seite 81

    Get Video Information Input Field Major Function Number - ððh Minor Function Number - ð8h Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Video BIOS revision Parameter 2 - Reserved Parameter 3 [...]

  • Seite 82

    Get Refresh Rate Capability Input Field Major Function Number - ððh Minor Function Number - ð9h Parameter 1 - Reserved Parameter 2 - 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?[...]

  • Seite 83

    Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Refresh rate capability for specified mode: Bit ð - 6ðHz available. Bit 1 - 72Hz available. Bit 2 - 75Hz available. Bit 3 - 43Hz(I) available. Bit 4 - 56Hz available. Bit 5 - 7ðHz available. Bit 6 - 85Hz available. Bit 7 - 48Hz(I) availa[...]

  • Seite 84

    System Configuration Service Get Display Device State Input Field Major Function Number - 1ðh Minor Function Number - ððh Parameter 1 - Reserved Parameter 2 - Request Type = ððððh : Current hardware = ððð1h : CMOS (effective after reboot) Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved A-20 ThinkPad 560/560E SMAPI BIO[...]

  • Seite 85

    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 Parameter 2 - (Bit 15- 8) Display current status Bit ð - Built-in display (panel) status = ð : Disable = 1 : Enable Bit 1 - CRT status = [...]

  • Seite 86

    Set Display Device State Input Field Major Function Number - 1ðh Minor Function Number - ð1h Parameter 1 - Reserved Parameter 2 - 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 - Moni[...]

  • Seite 87

    Get Pointing Device State Input Field Major Function Number - 11h Minor Function Number - ð2h Parameter 1 - Reserved Parameter 2 - (Bit 15- 8) Request Type = ððh - Current hardware = ð1h - CMOS (effective after reboot) (Bit 7- ð) Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Stat[...]

  • Seite 88

    Set Pointing Device State Input Field Major Function Number - 11h Minor Function Number - ð3h Parameter 1 - Reserved Parameter 2 - (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- ð) Reque[...]

  • Seite 89

    Get Hotkey Sticky/Lock Input Field Major Function Number - 13h Minor Function Number - ð2h Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - (Bit 15- 8) Capability Bit 9-8 - [...]

  • Seite 90

    Set Hotkey Sticky/Lock Support Input Field Major Function Number - 13h Minor Function Number - ð3h Parameter 1 - Reserved Parameter 2 - (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, [...]

  • Seite 91

    Power Management Service Get Power Management Mode (BL=00h) Input Field Major Function Number - 22h Minor Function Number - ððh Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter[...]

  • Seite 92

    Set Power Management Mode Input Field Major Function Number - 22h Minor Function Number - ð1h Parameter 1 - Reserved Parameter 2 - (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 - Hig[...]

  • Seite 93

    Get Timer Control Input Field Major Function Number - 22h Minor Function Number - ð2h Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved ThinkPad 560/560E SMAPI BIOS A-29[...]

  • Seite 94

    Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - (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 [...]

  • Seite 95

    Set Timer Control Input Field Major Function Number - 22h Minor Function Number - ð3h Parameter 1 - Reserved Parameter 2 - (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 -[...]

  • Seite 96

    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[...]

  • Seite 97

    Get System Event Global Condition Input Field Major Function Number - 3ðh Minor Function Number - ððh Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - (Bit 15- 8) Capabili[...]

  • Seite 98

    Set System Event Global Condition Input Field Major Function Number - 3ðh Minor Function Number - ð1h Parameter 1 - Reserved Parameter 2 - (Bit 15- 8) Reserved (Bit 7- ð) Global condition for event Bit ð - Enable safe suspend if suspend is selected. = ð - Disable = 1 - Enable Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved[...]

  • Seite 99

    Get System Event 1 Condition Input Field Major Function Number - 31h Minor Function Number - ððh Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - hardware and software even[...]

  • Seite 100

    Set System Event 1 Condition Input Field Major Function Number - 31h Minor Function Number - ð1h Parameter 1 - Reserved Parameter 2 - Condition for hardware and software event Bit 15-8 - Capability (See page A-32.) Bit 7-ð - Condition (See page A-32.) Parameter 3 - Reserved Parameter 4 - (Bit 31-16) Reserved (Bit 15- ð) Condition for power switc[...]

  • Seite 101

    Get System Event 2 Condition Input Field Major Function Number - 32h Minor Function Number - ððh Parameter 1 - Reserved Parameter 2 - System timer expiry event definition Bit 15-8 - Capability (See page A-32.) Bit 7-ð - Condition (See page A-32.) Parameter 3 - Reserved Parameter 4 - (Bit 31-16) Reserved (Bit 15- ð) Standby timer expiry event de[...]

  • Seite 102

    Set System Event 2 Condition Input Field Major Function Number - 32h Minor Function Number - ð1h Parameter 1 - Reserved Parameter 2 - Condition for System timer expiry Bit 15-8 - Capability (See page A-32.) Bit 7-ð - Condition (See page A-32.) Parameter 3 - Reserved Parameter 4 - (Bit 31-16) Reserved (Bit 15- ð) Condition for Standby timer expir[...]

  • Seite 103

    Get System Timer Input Field Major Function Number - 32h Minor Function Number - ð2h Parameter 1 - Reserved Parameter 2 - (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 Parameter 3 - Reserved Parameter 4 - [...]

  • Seite 104

    Set System Timer Input Field Major Function Number - 32h Minor Function Number - ð3h Parameter 1 - Reserved Parameter 2 - (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) = [...]

  • Seite 105

    Get Standby Timer Input Field Major Function Number - 32h Minor Function Number - ð4h Parameter 1 - Reserved Parameter 2 - (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 Parameter 3 - Reserved Parameter 4 -[...]

  • Seite 106

    Set Standby Timer Input Field Major Function Number - 32h Minor Function Number - ð5h Parameter 1 - Reserved Parameter 2 - (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) [...]

  • Seite 107

    Get Hibernation Timer Input Field Major Function Number - 32h Minor Function Number - ð6h Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - (Bit 15- 8) Reserved (Bit 7- ð) H[...]

  • Seite 108

    Set Hibernation Timer Input Field Major Function Number - 32h Minor Function Number - ð7h Parameter 1 - Reserved Parameter 2 - (Bit 15- 8) Reserved (Bit 7- ð) Hibernation Timer during suspend mode initial value (units: minutes) = ððh - Disable hibernation timer during suspend mode Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Rese[...]

  • Seite 109

    Get System Event 3 Condition Input Field Major Function Number - 33h Minor Function Number - ððh Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Critical low battery condi[...]

  • Seite 110

    Set System Event 3 Condition Input Field Major Function Number - 33h Minor Function Number - ð1h Parameter 1 - Reserved Parameter 2 - (Bit 15- 8) Reserved (Bit 7- ð) Condition for critical low battery condition detection Bit 7-ð - Condition (See page A-32.) Parameter 3 - Reserved Parameter 4 - (Bit 31- 8) Reserved (Bit 7- ð) Condition for out-o[...]

  • Seite 111

    Get System Resume Condition Input Field Major Function Number - 34h Minor Function Number - ððh Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Condition for resuming trig[...]

  • Seite 112

    Set System Resume Condition Input Field Major Function Number - 34h Minor Function Number - ð1h Parameter 1 - Reserved Parameter 2 - 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-[...]

  • Seite 113

    Get System Resume Timer Input Field Major Function Number - 34h Minor Function Number - ð2h Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved [...]

  • Seite 114

    Set System Resume Timer Input Field Major Function Number - 34h Minor Function Number - ð3h Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - TOD of Resume Timer (BCD format) Bit 7-ð - Seconds (ð - 59) Bit 15-8 - Minutes (ð - 59) Bit 23-16 - Hours (ð - 23) Bit 31-24 - Reserved Parameter 5 - Date of Resume Timer[...]

  • Seite 115

    Request System Standby Input Field Major Function Number - 7ðh Minor Function Number - ððh Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved[...]

  • Seite 116

    Request System Hibernation Input Field Major Function Number - 7ðh Minor Function Number - ð2h Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error Status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reser[...]

  • Seite 117

    Samples Data Structure Assembler Language ; ; Smapi BIOS Header ; SMB_HEADER STRUC @SMBHDR_SIG DB 4 dup (?) ; +ðð - Signature @SMBHDR_VER DB ? ; +ð4 - Major version @SMBHDR_VER_VER DB ? ; +ð5 - Minor version @SMBHDR_LEN DB ? ; +ð6 - Length @SMBHDR_CHKSUM DB ? ; +ð7 - Checksum @SMBHDR_INFO DW ? ; +ð8 - Information Word @SMBHDR_RSV1 DW ? ; +ð[...]

  • Seite 118

    Parameters ; ;Input Parameter ; SMB_INPARM STRUC @SMBIN_FUNC DB ? @SMBIN_SUB_FUNC DB ? @SMBIN_PARM_1 DW ? @SMBIN_PARM_2 DW ? @SMBIN_PARM_3 DW ? @SMBIN_PARM_4 DD ? @SMBIN_PARM_5 DD ? SMB_INPARM ENDS ; ;Output Parameter ; SMB_OUTPARM STRUC @SMBOUT_RC DB ? @SMBOUT_SUB_RC DB ? @SMBOUT_PARM_1 DW ? @SMBOUT_PARM_2 DW ? @SMBOUT_PARM_3 DW ? @SMBOUT_PARM_4 D[...]

  • Seite 119

    C Language / / // SMAPI BIOS Header / / typedef struct { BYTE SMBHDR_SIG [ 4 ] ; // Signature BYTE SMBHDR_VER ; // Major Version BYTE SMBHDR_VER_VER ; // Minor Version BYTE SMBHDR_LEN ; // Length BYTE SMBHDR_CHKSUM ; // Checksum WORD SMBHDR_INFO ; // Information word WORD SMBHDR_RSV1 ; // Reserve 1 WORD SMBHDR_R_OFFSET ; // Real mode offset WORD SM[...]

  • Seite 120

    Parameters / / // Input Parameter / / typedef struct { BYTE SMBIN_FUNC ; BYTE SMBIN_SUB_FUNC ; WORD SMBIN_PARM_1 ; WORD SMBIN_PARM_2 ; WORD SMBIN_PARM_3 ; DWORD SMBIN_PARM_4 ; DWORD SMBIN_PARM_5 ; } INPARM, PINPARM ; / / // Output Parameter / / typedef struct { BYTE SMBOUT_RC ; BYTE SMBOUT_SUB_RC ; WORD SMBOUT_PARM_1 ; WORD SMBOUT_PARM_2 ; WORD SM[...]

  • Seite 121

    Function Declaration C Language / / // Smapi BIOS function / / typedef WORD (far SMB)(PINPARM, POUTPARM) ; ThinkPad 560/560E SMAPI BIOS A-57[...]

  • Seite 122

    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 push cx push si push ds mov ax, BIOS_SEG ; Fððð Segment mov ds, ax mov bx, ð ; Start Point mov cx, SMB_CAND_CNT ; Tota[...]

  • Seite 123

    @@: ; Find Smapi Head mov dx, BIOS_SEG ; Calculate Checksum.. next. pushf ; Save Direction flag cld ; Clear it mov si, bx xor ax, ax movzx cx,byte ptr ds: [ bx ] .@SMBHDR_LEN @@: lodsb add ah, al loop @b popf ; Restore Direction flags cmp ah, 1 ; Checksum is OK? cmc FindSmapiFin: pop ds pop si pop cx pop eax ret FindSmapi Endp ThinkPad 560/560E SMA[...]

  • Seite 124

    C Language typedef struct { BYTE SMBHDR_SIG [ 4 ] ; // Signature BYTE SMBHDR_VER ; // Major Version BYTE SMBHDR_VER_VER ; // Minor Version BYTE SMBHDR_LEN ; // Length BYTE SMBHDR_CHKSUM ; // Checksum WORD SMBHDR_INFO ; // Information Word WORD SMBHDR_RSV1 ; // Reserve 1 WORD SMBHDR_R_OFFSET ; // Real Mode Offset WORD SMBHDR_R_SEGMENT ; // Real Mode[...]

  • Seite 125

    BOOLEAN GetSmapiEntry(PSMB pFunc) { PFSMB_HEADER_REAL MyPtr = ðxFððððððð ; WORD cnt = ð ; BYTE cksum = ð ; / / // 1) Search for signature first / / while((cnt++ < ðx1ððð) && !(((MyPtr->SMBHDR_SIG) [ ð ] == '$') && ((MyPtr->SMBHDR_SIG) [ 1 ] == 'S') && ((MyPtr->SMBHDR_SIG) [ 2 ] [...]

  • Seite 126

    BIOS Call Assembler Language: 16-Bit Protected Mode ; ; Build Input Parameter Field ; mov al, SMB_GET_SYSID mov [ bx ] .@Func, al mov ax, offset OutputParm push ax mov ax, offset InputParm push ax call _SmapiBios add sp, 4 ; ; Get information from Output Parm ; or ax, ax jnz Error mov bx, offset OutputParm mov al, [ bx ] .@Parm1 A-62 ThinkPad 560/5[...]

  • Seite 127

    32-Bit Protected Mode ; ; Build Input Parameter Field ; mov ebx, offset InputParm mov al, SMB_GET_SYSID mov [ ebx ] .@Func, al mov eax, offset OutputParm push eax mov eax, offset InputParm push eax call _SmapiBios add sp, 8 ; ; Get information from Output Parm ; or ax, ax jnz Error mov ebx, offset OutputParm mov ax, [ ebx ] .@Parm1 ThinkPad 560/560[...]

  • Seite 128

    C Language WORD GetSystemID() { SMB SmapiEntry ; INPARM MyInput ; OUTPARM MyOutput ; WORD 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. //[...]

  • Seite 129

    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 e[...]

  • Seite 130

    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 IBM Personal Computer AT Personal System/2 PS/2 ThinkPad TrackPoint III The following terms, denoted by a double asterisk (**) in this publication, are trademarks of other companie[...]

  • Seite 131

    Index A acoustical readings, 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 B battery 2-21 battery pack, specifica[...]

  • Seite 132

    DSTN LCD (dual-scan supertwisted nematic liquid crystal display) 3-2 E EEPROM subsystem 1-3 electrical specifications 1-9 electromagnetic compatibility, specifications 1-9 enable NMI 2-17 equipment byte, RT/CMOS RAM configuration 2-24 error codes 2-31 external connector 2-9 F fault, overvoltage 1-12 G gate A20 2-28 H hard disk drive connector 2-8 f[...]

  • Seite 133

    microprocessor (continued) cache memory operation 2-2 mode switch compatibility 2-28 performance 1-8 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 model identifier 1-2 mouse connector 2-4 signals 2-4 N NMI (nonmaskable interrupt) 2-26 O output protection, pow[...]

  • Seite 134

    registers (continued) 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 address and NMI mask register (hex 0070) 2-17 data register (hex 0071) 2-17 RAM address map 2-16 RAM configuration configuration CRC bytes 2-25 date-century byte 2-25 diagnostic status byte [...]

  • Seite 135

    specifications (continued) heat output 1-9 humidity 1-9 maximum altitude 1-9 microprocessor 1-8 PCMCIA 3-7 performance 1-8 refresh rate 1-8 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 control ports 2-28 fu[...]

  • Seite 136

    IBM Part Number: 06J0536 Printed in the United States of America[...]