IBM 770 manual

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
137
138
139
140
141
142
143
144
145
146
147
148

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto IBM 770. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoIBM 770 vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual IBM 770 você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual IBM 770, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual IBM 770 deve conte:
- dados técnicos do dispositivo IBM 770
- nome do fabricante e ano de fabricação do dispositivo IBM 770
- instruções de utilização, regulação e manutenção do dispositivo IBM 770
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque IBM 770 não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos IBM 770 e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço IBM na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas IBM 770, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo IBM 770, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual IBM 770. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    05L1739 S05L-1739-00[...]

  • Página 2

    Note Before using this information and the product it supports, be sure to read the general information under Appendix C, “Notices” on page C-1. First Edition (December 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 CORPORA[...]

  • Página 3

    Contents Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Section 1. System Overview . . . . . . . . . . . . . . . . . . . 1-1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 System Board Devices and Features .......[...]

  • Página 4

    RT/CMOS RAM . . . . . . . . . . . . . . . . . . . . . . . . . 2-19 Miscellaneous System Functions and Ports .......... 2-29 Nonmaskable Interrupt (NMI) ................. 2-29 System Control Port A (Hex 0092) .............. 2-30 System Control Port B (Hex 0061) .............. 2-31 Power-On Password . . . . . . . . . . . . . . . . . . . . . . 2-32 Ot[...]

  • Página 5

    System Information Service .................. B-12 System Configuration Service ................. B-22 Power Management Service .................. B-29 Event Bit Definition ....................... B-34 Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-53 Function Declaration . . . . . . . . . . . . . . . . . . . . . . B-57 Install[...]

  • Página 6

    vi[...]

  • Página 7

    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-5 1-4. Performance Specifications . . . . . . . . . . . . . . . . 1-7 1-5. Physical Specifications . . . . . . . . . . . . . . . . . . 1-8 1-6. Electrical Specifications . . . . . . . . . [...]

  • Página 8

    2-30. System Control Port A (Hex 0092) .......... 2-30 2-31. System Control Port B (Hex 0061, Write) ...... 2-31 2-32. System Control Port B (Hex 0061, Read) ...... 2-31 2-33. Error Codes . . . . . . . . . . . . . . . . . . . . . . . . 2-35 3-1. BIOS Video VGA Modes ................. 3-3 3-2. Video BIOS Extended Modes—Trident 9397 ...... 3-4 3-3.[...]

  • Página 9

    Preface This technical reference contains hardware and software interface information specific to the IBM ThinkPad 770 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 followin[...]

  • Página 10

    x Preface[...]

  • Página 11

    Section 1. System Overview Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 System Board Devices and Features ............... 1-3 System Board I/O Address Map .................. 1-5 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 Performance Specifications . . . . . . . . . . . . . . . . . . .[...]

  • Página 12

    Description The IBM ThinkPad 770 computer (hereafter called the ThinkPad computer or the computer ) is notebook-size computer that feature the AT bus architecture. Each computer supports one UltraBay II and one internal hard disk drive. The ThinkPad 770 computer also supports an internal CD-ROM drive or an internal DVD drive as an option. Programs [...]

  • Página 13

    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 2). System Board Devices and Features Device Type Features Microprocessor – Intel Pentium  processor wit[...]

  • Página 14

    Figure 1-2 (Part 2 of 2). System Board Devices and Features Device Type Features Interrupt controller 1 15 levels of system interrupts (interrupts are edge-triggered) Keyboard/auxiliary device controller 1 Internal keyboard TrackPoint Auxiliary device connector Password security Diskette drive controller 2 Supports:  3.5-in. diskette (1.44 MB) ?[...]

  • Página 15

    System Board I/O Address Map Figure 1-3 is 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–002F Reserved 0040–0043 System Timer 1 0048–004B Reserved 0060 Keyboard, Auxiliary Device 0061 System Control Port B 0062, [...]

  • Página 16

    Figure 1-3 (Part 2 of 2). System Board I/O Address Map Address (Hex) Device 0330–0333 MIDI Port 4 0350–035F ThinkPad Modem 0376, 0377 Secondary IDE Registers 0378–037A Parallel Port 2 037B–037F Reserved 0388–038B Audio Subsystem - FM Synthesizer 0398–0399 Reserved 03B4, 03B5, 03BA Video Subsystem 03BC–03BE Parallel Port 1 03C0–03C5 [...]

  • Página 17

    Specifications Figure 1-4 to Figure 1-7 on page 1-9 list the specifications for the computers. Performance Specifications Figure 1-4. Performance Specifications Device/Cycle Clock Counts (66 MHz) Microprocessor 200 or 233 MHz L1 cache (64bit) read/write hit 1 CPUCLK L2 cache (64bit) (for not all models) read hit (back-to-back) write hit (back-to-ba[...]

  • Página 18

    Physical Specifications Figure 1-5. Physical Specifications Size Width: 313.0 mm (12.3 in.) Depth: 240.0 / 254.0 mm (9.45 / 10.00 in.) Height: 56.0 mm (2.20 in.) Weight ñ (approximate value) 3.4 kg (7.4 lb) 3.5 kg (7.7 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 ([...]

  • Página 19

    Electrical Specifications Figure 1-6. Electrical Specifications (56 W) Input voltage ñ (V ac) 100–240 Frequency (Hz) 50/60 Input ò (kVA) 0.13 ñ Range is automatically selected; sine wave input is required. ò At maximum configuration. Acoustical Readings Figure 1-7. Acoustical Readings L WAd in bels L pAm in dB < L pA > m in dB Operate I[...]

  • Página 20

    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  CD-ROM drive  Auxiliary devices  Keyboard  LCD panel  PCMCIA cards  DVD drive Voltages The power supply generates six different dc voltages: VCC5M, VCC3M, VCC12, and[...]

  • Página 21

    Output Protection A short circuit placed on any dc output (between two 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 exceed[...]

  • Página 22

    Figure 1-10. Lithium-ion Battery Pack Specifications Nominal Voltage + 10.8 V dc Capacity (average) 4.5 ampere hours (AH) Protection Overcurrent protection Overvoltage protection Overdischarge protection Thermal protection 1-12 System Overview[...]

  • Página 23

    Section 2. System Board Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 Microprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 Cache Memory Operation .................... 2-2 Cacheable Address Space .................... 2-3 Bus Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Ke[...]

  • Página 24

    Description This section describes the microprocessor, connectors, memory subsystems, and miscellaneous system functions and ports for the ThinkPad computers. Microprocessor The ThinkPad 770 uses the Intel Pentium  200 or 233 MHz processor with the MMX  technology. The Processor has a 32-bit address bus and a 64-bit data bus. It is software-c[...]

  • Página 25

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

  • Página 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 1 mA[...]

  • Página 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[...]

  • Página 28

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

  • Página 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[...]

  • Página 30

    Hard Disk Drive Connector The hard disk drive connected to the system board is removable. Figure 2-6 shows the pin assignments for the connector on the system board. Figure 2-6. Hard Disk Drive Connector Pin Assignments Pin Signal I/O or Feature Pin Signal I/O or Feature 1 DetectIn O 31 GND Ground 2 Jumper A NC 32 NC NC 3 Jumper B O 33 -PDREQ I 4 J[...]

  • Página 31

    External Bus Connector The docking station is connected through the 240-pin external bus connector on the rear panel. This connector is installed on the system board and has the following pin assignments: 1 240 120 121 60 180 181 61 Type Legend: A: Audio signal M: PC Card signal C: System control signal P: PCI-bus signal F: Diskette drive signal R:[...]

  • Página 32

    Pin Type Signal Name Pin Type Signal Name 001 W VCC5A 061 W Dock-PWR 002 W VCC5A 062 W Dock-PWR 003 P -PCIRST 063 W Dock-PWR 004 G GND 064 W Dock-PWR 005 P -ACK_GNT 065 A L_OUT 006 P -CLKRUN 066 A AGND 007 G GND 067 A L_IN 008 P AD30 068 G GND 009 P AD28 069 K KBDATA 010 G GND 070 K MSDATA 011 P AD26 071 K MSCLK 012 P AD24 072 G GND 013 G GND 073 S[...]

  • Página 33

    Figure 2-7. 240-Pin External Bus Connector Pin Assignments Pin Type Signal Name Pin Type Signal Name 121 C -DOCK_ID1 181 C -DOCK_ID2 122 P IRQSER 182 G GND 123 G GND 183 U USBP1- 124 T IRQ5 184 U UDBP1+ 125 T IRQ7 185 R Reserved 126 T IRQ10 186 G GND 127 T IRQ11 187 C 12C_DATA 128 T IRQ14 188 J JBCY 129 G GND 189 J JBCX 130 P -INTB 190 J JBB2 131 P[...]

  • Página 34

    UltraBay II Connector The removable diskette drive, secondary hard disk drive, DVD drive, or CD-ROM drive can be connected to the UltraBay II connector on the system board. This connector has the following pin assignments. 2-12 System Board[...]

  • Página 35

    Figure 2-8 (Part 1 of 2). UltraBay II Connector Pin Assignments Pin Signal I/O and Feature 1 UBAYID1 I 2 UBAYID2 I 3 GND GND 4 GND GND 5 -INDEX I 6 -DRVSEL0 O 7 -DISKCHG I 8 -DRVID0 I 9N C N/C 10 -MEDID0 I 11 -MONTEN0 O 12 DRATE1 O 13 -DIR O 14 -DRVID1 I 15 -STEP 0 16 GND GND 17 -WRDATA O 18 GND GND 19 -WREN O 20 -MEDID1 I 21 -TRACK0 I 22 DRATE0 O [...]

  • Página 36

    Figure 2-8 (Part 2 of 2). UltraBay II Connector Pin Assignments Pin Signal I/O and Feature 51 DD15 I/O 52 GND GND 53 -UBAY_HDD I 54 DMARQ I 55 GND GND 56 -DIOW O 57 GND GND 58 -DIOR O 59 GND GND 60 IORDY I 61 CSEL O 62 -DMACK O 63 IRQ I 64 -IOCS16 I 65 DA1 O 66 -PDIAG I/O 67 DA0 O 68 DA2 O 69 -CS1 O 70 -CS3 O 71 -DASP I 72 -MCS O 73 CD_MUTE I 74 AU[...]

  • Página 37

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

  • Página 38

    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 128 KB memory. ROM is active when power is turned on and is assigned to the top of the firs[...]

  • Página 39

    System Memory Map Memory is mapped by the memory controller registers. Figure 2-10 on page 2-17 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 1 MB blocks of system board memory starting a[...]

  • Página 40

    System Board Memory for the DIMM Connectors The system board has two DIMM connectors. Figure 2-11 shows the pin assignments for the DIMM connector. Figure 2-11. DIMM Adapter Card Memory Connector Pin Assignments Pin Signal Pin Signal Pin Signal Pin Signal 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 3[...]

  • Página 41

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

  • Página 42

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

  • Página 43

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

  • Página 44

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

  • Página 45

    Bits 6–5 If these bits are a pattern of 01, the oscillator is turned on and the RTC is allowed to keep time. The next update will occur at 500 ms after a pattern of 01 is written to these bits. Bits 4 To use the original bank of memory, select 0. To use the extended registers, select 1. Bits 3–0 These bits allow the selection of a divider outpu[...]

  • Página 46

    Bit 2 This bit indicates whether the binary-coded-decimal (BCD) or binary format is used for time-and-date calendar updates. If set to 1, this bit indicates binary format. The system initializes this bit to 0. Bit 1 This bit indicates whether the hours byte is in 12-hour or 24-hour mode. If set to 1, this bit indicates the 24-hour mode. The system [...]

  • Página 47

    Bit 7 This read-only bit monitors the internal battery. If set to 1, this bit indicates that the real-time clock has power. If 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. CMOS RAM Configuration Figure 2-20 shows the bit definitions for the CMOS RAM confi[...]

  • Página 48

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

  • Página 49

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

  • Página 50

    Bits 3–2 These bits are reserved. Bit 1 If set to 1, this bit indicates that a coprocessor is installed. Bit 0 If 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 640 KB address space. The value i[...]

  • Página 51

    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 channel check timeout has occurred. This situation can cause lost data or an overrun error on some I/O devices[...]

  • Página 52

    System Control Port A (Hex 0092) Figure 2-30. System Control Port A (Hex 0092) Bit Function 7–4 Reserved 3 Security lock latch 2 Reserved (must be set to 0) 1 Alternate gate A20 0 Alternate hot reset Bits 7–4 These bits are reserved. Bit 3 This bit provides a security lock for the secured area of RT/CMOS. If this bit is set to 1, the 8-byte pow[...]

  • Página 53

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

  • Página 54

    Bit 6 If set to 1, this bit indicates that a channel check has occurred. Bit 5 If read, this bit indicates the condition of the timer/counter 2 ‘output’ signal. Bit 4 If read, this bit toggles for each refresh request. Bit 3 If set to 0, this bit enables the channel check. This bit is set to 1 during a power-on reset. Bit 2 If set to 0, this bi[...]

  • Página 55

     The supervisor password protects the system information in Easy-Setup from being changed by unauthorized persons. For more information about these passwords, refer to the ThinkPad User's Guide . Selectable Drive-Startup Sequence Selectable drive-startup (selectable boot) allows you to control the startup sequence of the drives in your comp[...]

  • Página 56

    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, the command and status organization of these interfaces is maintained. The functional interfaces for the computer are compatible with the following:  The Intel 8259 interrupt contro[...]

  • Página 57

    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 failure. 102 Timer failure. 103 Timer interrupt failure. 104 Protected mode failure. 105 Last 80[...]

  • Página 58

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

  • Página 59

    Section 3. Subsystems Video Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Video Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3 Modem Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5 ThinkPad Modem . . . . . . . . . . . . . . . . . . . . . . . . . 3-5 MIDI Port Function ......................[...]

  • Página 60

    Video Subsystem The video subsystem consists of the XGA video controller and video random-access memory (VRAM). The video subsystem supports an IBM thin-film transistor (TFT) as follows: 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 r[...]

  • Página 61

    Video Modes The video subsystem supports the modes listed in Figure 3-1 and Figure 3-2 on page 3-4: Figure 3-1. BIOS Video VGA Modes Expanded Size XGA 960 × 600 960 × 700 960 × 600 960 × 600 960 × 700 960 × 600 960 × 600 960 × 600 960 × 700 960 × 600 960 × 600 960 × 600 960 × 700 960 × 700 960 × 720 960 × 720 960 × 600 Pels 320 × [...]

  • Página 62

    The following shows the video BIOS extended modes for the 770 (containing a video chip Trident Cyber 9397 and 2 MB VRAM): Figure 3-2. Video BIOS Extended Modes—Trident 9397 PAL TV Out NTSC o o o o o o o o o o o o o o o o o o o o o o o o o o o TFT LCD XGA o o o o o o o o o o 1 o 1 o 1 o 1 o o o o o o o o o External Monitor 87i 96i 60 70 72 75 85 o[...]

  • Página 63

    Modem Subsystem The modem subsystem is composed of a digital signal processor (DSP) and a data access arrangement (DAA):  General MIDI-compatible, 32-voice wave table synthesizer  36.6-kbps data/fax modem  Full-feature telephone  Answering machine  Headphone-free, full-duplex speaker phone ThinkPad Modem The modem subsystem provides [...]

  • Página 64

    Telephony (Modem) Function The telephony (modem) function provides the following settings: I/O Address IRQ Level DMA Channel 0220–0233 (default) 0240–0253 0260–0273 0280–0293 0388–038B (synthesizer) IRQ 5 (default) IRQ 7 IRQ 10 IRQ 11 DMA 0 DMA 1 (default) DMA 6 DMA 7 Serial Port COM1 (I/O: 03F8 - IRQ 4) COM2 (I/O: 02F8 - IRQ 3) (default)[...]

  • Página 65

    Audio Subsystem The crystal audio subsystem provides 16-bit stereo audio with high-quality FM music synthesis using four operators per voice. It can record, compress, and play back voice, sound, and music with built-in mixer controls. It consists of an embedded microprocessor, 16-bit stereo, 20-voice FM music synthesizer (or 18 simultaneous 4-opera[...]

  • Página 66

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

  • Página 67

    Infrared (IR) Subsystem The IR subsystem supports the following functions:  MIF/FIR mode – 567 Kbps – 1.152 Mbps – 4.0 Mbps  Sharp** mode – 9,600 bps The I/O address can be selected from the following with the system utility program. The IR subsystem uses one serial port address and one IR controller register address: IRQ Level and DM[...]

  • Página 68

    Enhanced Video Subsystem The enhanced video subsystem consists of the following functions:  Video acceleration (hardware scaling, interpolation, color space conversion)  Video overlay  Video capture  One video-in jack (NTSC or PAL 1 input)  One video-out jack  MPEG playback Video Port Specification  S-Video Jack (In/Out) – 4-[...]

  • Página 69

    PCMCIA Subsystem The system board has two PCMCIA (Personal Computer Memory Card International Association) slots that support the following types of PC Card:  16 bit PC Card Type–I, II, III 5V, 3.3V  32 bit PC Card Type–I, II, III 5V, 3.3V However, x.xV, y.yV, DMA, and ZV are not supported. The maximum current allowable for both slots at [...]

  • Página 70

    Pin Assignments Figure 3-3 shows the pin assignments for the PCMCIA slots. Figure 3-3 (Part 1 of 2). PCMCIA PC Card Slot Pin Assignments Pin 16-Bit PC Card 32-Bit PC Card 1 Ground Ground 2D 3 CAD0 3D 4 CAD1 4D 5 CAD3 5D 6 CAD5 6D 7 CAD7 7 CE1# CC/BE0# 8 A10 CAD9 9O E CAD11 10 A11 CAD12 11 A9 CAD14 12 A8 CC/BE1# 13 A13 CPAR 14 A14 CPERR# 15 WE# CGNT[...]

  • Página 71

    Figure 3-3 (Part 2 of 2). PCMCIA PC Card Slot Pin Assignments Pin 16-Bit PC Card 32-Bit PC Card 31 D1 CAD29 32 D2 Reserved 33 IOIS16# CCLKRUN# 34 Ground Ground 35 Ground Ground 36 CD1# CCD1# 37 D11 CAD2 38 D12 CAD4 39 D13 CAD6 40 D14 Reserved 41 D15 CAD8 42 CE2 CAD10 43 VS1# CVS1 44 IORD# CAD13 45 IOWR# CAD15 46 A17 CAD16 47 A18 Reserved 48 A19 CBL[...]

  • Página 72

    IDE Channel on the UltraBay II A primary IDE channel is provided on the UltraBay connector, providing two system settings: A secondary IDE channel is provided on the UltraBay connector, providing two system settings: If a hard disk is attached to the hard disk connector, an IDE device on the UltraBay becomes a primary slave. (The hard disk attached[...]

  • Página 73

    Appendix A. System Resources The following summarizes the available system resources for the computer and docking stations. Values in parentheses are alternative values that are selectable in the ThinkPad Configurations program or application programs. The default values are highlighted. System Resource IRQ I/O Address (Hex) Memory Address (Hex) DM[...]

  • Página 74

    System Resource IRQ I/O Address (Hex) Memory Address (Hex) DMA Channel Enhanced video/MPEG (for the enhanced video model) 11 , 3, 4, 5, 7, 9, 10, 15, or disabled ó None (Automatically set by the system) ô None (For models with internal modems only) ThinkPad modem 10 , 5, 7, 11, 15, or disabled 0130–013F , 0350–035F, 0770–077F, or 0DB0–0DB[...]

  • Página 75

    System Resource IRQ I/O Address (Hex) Memory Address (Hex) DMA Channel PC Card (Dependent on the PC Card type) (Dependent on the PC Card type) (Dependent on the PC Card type) None Real time clock 8 0070–0071 None None TrackPoint or mouse 12 0060 and 0064 None None Math coprocessor exception 13 None None None SCSI controller SelectaDock III 11 , 3[...]

  • Página 76

    System Resource IRQ I/O Address (Hex) Memory Address (Hex) DMA Channel The PCI adapter card (option card) in the SelectaDock 11 , 3, 4, 5, 7, 9, 10, 15, or disabled ñ (Refer to manuals that came with the adapter card.) Note: Notes ñ The I/O addresses in parentheses are also used when ECP is enabled as the printer operating mode from the ThinkPad [...]

  • Página 77

    Appendix B. System Management API (SMAPI) BIOS Overview Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3 Header Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-4 Calling Convention . . . . . . . . . . . . . . . . . . . . . . . . . . B-6 Parameter Structure . . . . . . . . . . . . . . . . . . . . . . . B[...]

  • Página 78

    Get Hibernation Timer .................... B-43 Set Hibernation Timer .................... B-44 Get System Event 3 Condition ............... B-45 Set System Event 3 Condition ............... B-46 Get System Resume Condition .............. B-47 Set System Resume Condition ............... B-48 Get System Resume Timer ................. B-49 Set System[...]

  • Página 79

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

  • Página 80

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

  • Página 81

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

  • Página 82

    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 and output parameter area in its data area, and informs this area by pushing those pointers [...]

  • Página 83

    Output Field Field Offset (in Hex) Length Return Code 00 Byte Auxiliary Return Code 01 Byte Parameter 1 02 Word Parameter 2 04 Word Parameter 3 06 Word Parameter 4 08 Double word Parameter 5 0C Double word SMAPI BIOS B-7[...]

  • Página 84

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

  • Página 85

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

  • Página 86

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

  • Página 87

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

  • Página 88

    Function Description System Information Service Get System Identification Input Field Major Function Number - ðð Minor Function Number - ðð 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 = ðð [...]

  • Página 89

    Get CPU Information Input Field Major Function Number - ðð Minor Function Number - ð1 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 (Bits 15-8) Microprocessor ty[...]

  • Página 90

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

  • Página 91

    Get Docking Station Information Input Field Major Function Number - ðð Minor Function Number - ð3 Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Docking station status Bit ð - Docking status = ð : Undock = 1 : Doc[...]

  • Página 92

    Get UltraBay II Information Input Field Major Function Number - ðð Minor Function Number - ð4 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 - (Bits 15-8) UltraBay device [...]

  • Página 93

    Get Slave Micro Control Unit Information Input Field Major Function Number - ðð Minor Function Number - ð6 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 = ðð - ASCII format = ð1 - Binary form[...]

  • Página 94

    Get System Sensor Status Input Field Major Function Number - ðð Minor Function Number - ð7 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 Stat[...]

  • Página 95

    Get Video Information Input Field Major Function Number - ðð Minor Function Number - ð8 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 - [...]

  • Página 96

    Get Refresh Rate Capability Input Field Major Function Number - ðð Minor Function Number - ð9 Parameter 1 - mode = ððxxh - VGA modes (Bits ð-7 are ignored) = ð1ðð - 64ðx4ððx256 = ð1ð1 - 64ðx48ðx256 = ð1ð2 - 8ððx6ððx16 = ð1ð3 - 8ððx6ððx256 = ð1ð4 - 1ð24x768x16 = ð1ð5 - 1ð24x768x256 = ð1ð6 - 128ðx1ð24x16 = ð1ð7[...]

  • Página 97

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

  • Página 98

    System Configuration Service Get Display Device State Input Field Major Function Number - 1ð Minor Function Number - ðð Parameter 1 - Request type = ððððh : Current hardware = ððð1h : CMOS (effective after reboot) Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved B-22 SMAPI BIOS[...]

  • Página 99

    Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Bits 15-8 : Reserved Bits 7-ð : Capability of display device function Bit ð - Display function type = ð : Not support = 1 : Support Bits 7-1 : Reserved Parameter 2 - Bits 15-8 Display current status Bit ð - Built-in display (panel) status = ð : Disable = 1 :[...]

  • Página 100

    Set Display Device State Input Field Major Function Number - 1ð Minor Function Number - ð1 Parameter 1 - Request display status Bit ð - Built-in display (panel) status = ð : Disable = 1 : Enable Bit 1 - External CRT status = ð : Disable = 1 : Enable Bit 2 - TV status = ð : Disable = 1 : Enable Bits 5-3 : Reserved Bit 6 - Monitor detection ign[...]

  • Página 101

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

  • Página 102

    Set Pointing Device State Input Field Major Function Number - 11 Minor Function Number - ð3 Parameter 1 - Reserved Parameter 2 - Bits 15-8 Pointing device current status Bits 1ð, 8 - Built-in pointing device auto control = ðð : Disable = ð1 : Enable = 1ð : Auto = 11 : Reserved Bit 9 - External pointing device status = ð : Disable = 1 : Enabl[...]

  • Página 103

    Get Hotkey Sticky/Lock Input Field Major Function Number - 13 Minor Function Number - ð2 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 - Bits 15-8 Capability Bit 8 - Sticky[...]

  • Página 104

    Set Hotkey Sticky/Lock Input Field Major Function Number - 13 Minor Function Number - ð3 Parameter 1 - Bits 15-8 Reserved Bits 7-ð Request Status = ðð : Disable = ð1 : Sticky Fn key = ð3 : Sticky & Lock Fn key Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error statu[...]

  • Página 105

    Power Management Service Get Power Management Mode Input Field Major Function Number - 22 Minor Function Number - ðð 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 - Bits 1[...]

  • Página 106

    Set Power Management Mode Input Field Major Function Number - 22 Minor Function Number - ð1 Parameter 1 - Bits 15-8 Power management mode Battery operation = ððh - High performance mode = ð1h - Auto power management mode = ð2h - Manual power management mode Bits 7-ð Power management mode ac operation = ððh - High performance mode = ð1h - A[...]

  • Página 107

    Get Timer Control Input Field Major Function Number - 22 Minor Function Number - ð2 Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved SMAPI BIOS B-31[...]

  • Página 108

    Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Bits 15-8 Capability of timer control Bit 8 - System (Hibernation/suspend) timer = ð : Not support = 1 : Support Bit 9 - Standby timer = ð : Not support = 1 : Support Bit 1ð - LCD off timer = ð : Not support = 1 : Support Bit 11 - HDD o[...]

  • Página 109

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

  • Página 110

    Event Bit Definition Bits 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. B-34 SMAPI BIOS[...]

  • Página 111

    Get System Event Global Condition Input Field Major Function Number - 3ð Minor Function Number - ðð 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 - Bits 15-8 Capability f[...]

  • Página 112

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

  • Página 113

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

  • Página 114

    Set System Event 1 Condition Input Field Major Function Number - 31 Minor Function Number - ð1 Parameter 1 - Condition for hardware and software event Bits 15-8 - Capability (see page B-34) Bits 7-ð - Condition (see page B-34) Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Bits 31-16 : Reserved Bits 15-ð Condition for power switch d[...]

  • Página 115

    Get System Event 2 Condition Input Field Major Function Number - 32 Minor Function Number - ðð Parameter 1 - System timer expiration event definition Bits 15-8 - Capability (see page B-34) Bits 7-ð - Condition (see page B-34) Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Bits 31-16 : Reserved Bits 15-ð Standby timer expiration eve[...]

  • Página 116

    Set System Event 2 Condition Input Field Major Function Number - 32 Minor Function Number - ð1 Parameter 1 - Condition for system timer expiration Bits 15-8 - Capability (see page B-34) Bits 7-ð - Condition (see page B-34) Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Bits 31-16 : Reserved Bits 15-ð Condition for standby timer expi[...]

  • Página 117

    Get System Timer Input Field Major Function Number - 32 Minor Function Number - ð2 Parameter 1 - Bits 15-8 Power mode select = ððh - Reserved = ð1h - Manual PM mode (ac) = ð2h - Manual PM mode (battery) = F3h - High performance mode = F4h - Auto power management mode Bits 7-ð Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 [...]

  • Página 118

    Set System Timer Input Field Major Function Number - 32 Minor Function Number - ð3 Parameter 1 - Bits 15-8 Power mode select = ððh - All mode = ð1h - Manual PM mode (AC) = ð2h - Manual PM mode (battery) = F3h - High performance mode = F4h - Auto power management mode Bits 7-ð System timer initial value (units: minutes) = ððh - Disable syste[...]

  • Página 119

    Get Hibernation Timer Input Field Major Function Number - 32 Minor Function Number - ð6 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 - Bits 15-8 : Reserved Bits 7-ð Hiber[...]

  • Página 120

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

  • Página 121

    Get System Event 3 Condition Input Field Major Function Number - 33 Minor Function Number - ðð 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 conditi[...]

  • Página 122

    Set System Event 3 Condition Input Field Major Function Number - 33 Minor Function Number - ð1 Parameter 1 - Bits 15-8 : Reserved Bits 7-ð Condition for critical low battery condition detection Bits 7-ð - Condition (see page B-34) Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Bits 31-8 : Reserved Bits 7-ð Condition for out-of-envi[...]

  • Página 123

    Get System Resume Condition Input Field Major Function Number - 34 Minor Function Number - ðð 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 trigge[...]

  • Página 124

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

  • Página 125

    Get System Resume Timer Input Field Major Function Number - 34 Minor Function Number - ð2 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 Pa[...]

  • Página 126

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

  • Página 127

    Request System Standby Input Field Major Function Number - 7ð Minor Function Number - ðð 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 P[...]

  • Página 128

    Request System Hibernation Input Field Major Function Number - 7ð Minor Function Number - ð2 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 - Reserve[...]

  • Página 129

    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 ? ; +ð[...]

  • Página 130

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

  • Página 131

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

  • Página 132

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

  • Página 133

    Function Declaration C Language / / // Smapi BIOS function / / typedef WORD (far SMB)(FPINPARM, FPOUTPARM) ; SMAPI BIOS B-57[...]

  • Página 134

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

  • Página 135

    @@: ; 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 SMAPI BIOS B-59[...]

  • Página 136

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

  • Página 137

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

  • Página 138

    BIOS Call Assembler Language: 16-Bit Protected Mode ; ; Build Input Parameter Field ; mov al, SMB_GET_SYSID mov [ bx ] .@Func, al push ds mov ax, offset OutputParm push ax push ds mov ax, offset InputParm push ax call _SmapiBios add sp, 8 ; ; Get information from Output Parm ; or ax, ax jnz Error mov bx, offset OutputParm mov al, [ bx ] .@Parm1 B-6[...]

  • Página 139

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

  • Página 140

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

  • Página 141

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

  • Página 142

    Trademarks The following terms in this publication are trademarks of the IBM Corporation in the United States or other countries or both: AT IBM Mwave Personal Computer AT Personal System/2 PS/2 ThinkPad TrackPoint UltraBay Pentium  , MMX  , ProShare  , LANDesk  , and ActionMedia  are trademarks or registered trademarks of Intel Corp[...]

  • Página 143

    Index A acoustical readings, specifications 1-9 address 20 gate 2-30 address and NMI mask register, RT/CMOS 2-20 address map, system board I/O 1-5 address map–RT/CMOS RAM 2-19 air temperature, specifications 1-8 alternative method of resetting 2-30 altitude, specifications 1-8 anticipated page miss 1-7 audio subsystem 3-7 B battery 2-25 battery p[...]

  • Página 144

    F fault, overvoltage 1-11 G gate A20 2-30 H hard disk drive connector 2-8 hard disk password 2-32 hardware compatibility 2-34 heat output, specifications 1-8 height, system unit 1-8 humidity, specifications 1-8 I identifier, model 1-2 infrared subsystem 3-9 interrupt controller 1-4 IR subsystem 3-9 display 3-9 J joystick/MIDI port 3-14 K key number[...]

  • Página 145

    O output protection, power supply 1-11 output voltage sequencing 1-11 overvoltage fault 1-11 P page hit 1-7 page miss 1-7 parallel controller port 1-4 passwords hard disk 2-32 power-on 2-32 supervisor 2-32 PCI error check enable 2-32 PCMCIA 3-11 interface 1-6 slots 1-4 subsystem 3-11 PCMCIA slots 1-4 Pentium 90/120MHz 1-3 performance, system 1-7 PO[...]

  • Página 146

    RT/CMOS (continued) real-time clock bytes (continued) status register B (hex 00B) 2-23 status register C (hex 00C) 2-24 status register D (hex 00D) 2-24 S scan codes 2-5 selectable drive-startup sequence 2-33 sequencing, output voltage 1-11 serial controller port 1-4 serial port 1-4 shutdown status byte, RT/CMOS RAM configuration 2-25 size, specifi[...]

  • Página 147

    system board (continued) devices (continued) microprocessor 1-3 parallel controller port 1-4 RAM subsystem 1-3 serial controller port 1-4 system timers 1-3 video subsystem 1-3 I/O address map 1-5 system control port A 2-30 system control port B 2-31 system management API (SMAPI) B-1 system memory map 2-17 system resources A-1 system timers 1-3 T te[...]

  • Página 148

    IBM Part Number: 05L1739 Printed in the United States of America[...]