Lenovo ThinkPad 600E Technical Reference Manual for the ThinkPad 600
Lenovo ThinkPad 600E Manual
View all Lenovo ThinkPad 600E manuals
Add to My Manuals
Save this manual to your list of manuals |
Lenovo ThinkPad 600E manual content summary:
- Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 1
- Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 2
typographical errors. Changes services in your country. Requests for technical information about IBM products should be made to your IBM authorized dealer or your IBM marketing representative. Copyright International Business Machines Corporation 1998. All rights reserved. Note to US Government Users - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 3
Scan Codes 2-4 Keyboard ID 2-6 Displayable Characters and Symbols 2-7 Hard Disk Drive Connector 2-8 External Bus Connector 2-8 UltraSlim Bay Connector 2-11 Diskette Drive and Controller 2-14 Memory 2-15 ROM Subsystem 2-15 RAM Subsystem 2-15 System Memory Map 2-16 System Board Memory for - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 4
RT/CMOS RAM Miscellaneous System Functions and Ports Nonmaskable Interrupt (NMI System Control Port A (Hex 0092 System Control Port B (Hex 0061 Power-On Password Other Passwords Selectable Drive-Startup Sequence Hardware Compatibility Error Codes 2-18 2-28 2-28 2-29 2-30 2-31 2-31 2-32 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 5
Power Management Service Event Bit Definition Samples Function Declaration Installation Check BIOS Call B-29 B-34 B-53 B-57 B-58 B-62 Appendix C. Appendix C C-1 Index X-1 v - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 6
vi - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 7
Pin Assignments . . 2-9 UltraSlim Bay Connector Pin Assignments 2-12 Diskette Drive Read, Write, and Format Capabilities 2-14 System Memory Map 2-16 DIMM Adapter Card Memory Connector Pin Assignments 2-17 RT/CMOS RAM Address Map 2-18 RT/CMOS Address and NMI Mask Register (Hex 0070 2-19 RT - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 8
31. 2-32. 2-33. 2-34. 3-1. 3-2. 3-3. Display Operating Mode Bits 2-26 System Control Port A (Hex 0092 2-29 System Control Port B (Hex 0061, Write 2-30 System Control Port B (Hex 0061, Read 2-30 Error Codes 2-34 BIOS Video VGA Modes 3-3 Video BIOS Extended Modes-NeoMagic NM2160 . . 3-4 PCMCIA - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 9
," describes the hardware functions specific to the ThinkPad 600 computer. Appendix A, "System Resources," describes the available system resources for the computer and docking stations. Appendix B, "System Management API (SMAPI) BIOS Overview," describes the system software interface built into the - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 10
x Preface - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 11
1-3 System Board I/O Address Map 1-5 Specifications 1-7 Performance Specifications 1-7 Physical Specifications 1-8 Electrical Specifications 1-9 Acoustical Readings 1-9 Power Supply 1-10 Voltages 1-10 Output Protection 1-11 Voltage Sequencing 1-11 Power Supply Connector 1-11 Battery Pack - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 12
Bay and one internal hard disk drive. The ThinkPad 600 computer also supports an internal CD-ROM drive or a diskette drive in the UltraSlim Bay. Programs can distinguish the foregoing computer model from other ThinkPad models by reading the system ID: Interrupt 15H Function code (AH)=C0H. Returns - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 13
board devices and their features. The IBM Personal System/2 Hardware Interface Technical Reference describes devices common to PS/2 products by type number. Device Microprocessor External cache System timers ROM subsystem RAM subsystem CMOS RAM subsystem EEPROM subsystem Video subsystem Type - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 14
controller Diskette drive controller Serial controller port Parallel controller port Expansion bus adapter (PCI-bus) PCMCIA slots Modem subsystem Infrared subsystem Universal serial bus (USB) Type 1 1 2 2 1 - - - - - Features 15 levels of system interrupts (interrupts are edge-triggered) Internal - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 15
DMA Page Registers (4-7) System Control Port A Reserved System Flash ROM Control Register (DCR 2282) Interrupt Controller (Slave) Power Management Register DMA Controller (4-7) Reserved ThinkPad Modem Secondary IDE Registers Primary IDE Registers Joystick Port Audio Subsystem - Sound Blaster Audio - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 16
1 Video Subsystem Video DAC Video Subsystem PCMCIA Interface (DCR 2959) Serial Port 3 IR Port 3 Diskette-Drive Controller Primary IDE Registers Serial Port 1 IR Port 1 Audio - WSS 1 Audio Control Port 1 Audio - WSS 2 ThinkPad Modem PCI Configuration Address Register PCI Configuration Data Register - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 17
write write retire rate from write buffer Note: 233 or 266 MHz 1 CPUCLK 3-1-1-1(1-1-1-1) 5-1-1-1 8-1-1-1 11-1-1-1 3-1-1-1 -1-1-1 The cycle times shown for access to system board RAM are based on 66 MHz memory bus (SDRAM, CAS LATENCY=2) Figure 1-4. Performance Specifications System Overview 1-7 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 18
System (without diskette) 8% to 95% System (with diskette) 8% to 80% Maximum altitude : 3,048 m (10,000 ft) in unpressurized conditions Heat output: 56 W Acoustical readings (see Figure 1-7 on page 1-9) Electrical (see Figure 1-6 on page 1-9) Electromagnetic compatibility: FCC class B With battery - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 19
; sine wave input is required. At maximum configuration. Figure 1-6. Electrical Specifications Acoustical Readings 600 600 (with SelectaDock III) LWAd in bels sound pressure levels at the 1 meter position for the random sample of machines. Operate Shows the value while using the hard disk drive - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 20
following: System board set Diskette drive Hard disk drive CD-ROM drive Auxiliary devices Keyboard LCD panel PCMCIA cards Voltages The power supply generates six different dc voltages: VCC5M, VCC3M, VCC12, and VCCSW. Figure 1-8 shows the maximum - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 21
total power capacity of this connector must not exceed 4.0 A. Refer to Figure 1-9 for the appropriate adapter pin assignments. Pin Voltage 1 +7.0 V dc to +17.0 V dc (depending on charging conditions) 2 Ground Figure 1-9. Voltage Pin Assignments for the 56W AC Adapter System Overview 1-11 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 22
Pack The ThinkPad computer uses a lithium-ion (Li-ion) battery pack that meets the following electrical specifications: Nominal Voltage Capacity (average) Protection +10.8 V dc 3.2 ampere hours (AH) Overcurrent protection Overvoltage protection Overdischarge protection Thermal protection Figure - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 23
Scan Codes 2-4 Keyboard ID 2-6 Displayable Characters and Symbols 2-7 Hard Disk Drive Connector 2-8 External Bus Connector 2-8 UltraSlim Bay Connector 2-11 Diskette Drive and Controller 2-14 Memory 2-15 ROM Subsystem 2-15 RAM Subsystem 2-15 System Memory Map 2-16 System Board Memory for - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 24
and instruction, 32-KB write-back cache. It includes pipelined math coprocessor functions and superscalar architecture (two execution units). Cache Memory Operation In addition to the 32 KB of internal Level 1 (L1) cache memory in the microprocessor, the system board of the ThinkPad 600 computer - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 25
for code read operations only. If data in this address range is already in cache memory and the address range is written to, the cached line is invalidated and is read again from RAM, where the BIOS is shadowed. Bus Adapter When the computer is attached to the ThinkPad SelectaDock III docking system - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 26
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 Pin Assignments Note: The maximum current for +5 V dc (pin 4) is 0.5 A. Scan Codes Figure 2-3 shows the key - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 27
2-4. Key Numbers for the 86-Key Keyboard Figure 2-5 on page 2-6 shows the key numbers assigned to the keys on the 90-key keyboard (for Japan). System Board 2-5 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 28
Figure 2-5. Key Numbers for the 90-Key Keyboard For scan codes assigned to each numbered key, refer to the IBM Personal System/2 Hardware Interface Technical Reference. Keyboard ID The keyboard ID consists of 2 bytes: hex 83AB (the built-in keyboard with the external numeric keypad) or hex - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 29
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 100 105 91 96 101 106 92 97 102 93 98 99 103 108 104 Figure 2-6. Key Numbers for the External Numeric Keypad - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 30
Hard Disk Drive Connector The hard disk drive connected to the system board is removable. Figure 2-7 shows the pin assignments for the connector on the system board. Pin Signal I/O or Feature 1 RSTDRVI O 3 PDD7 I/O 5 PDD6 I/O 7 PDD5 I/O 9 PDD4 I/O 11 PDD3 O 13 PDD2 I/0 15 PDD1 I/O - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 31
GND -FRAME_DOCK GND AD16 AD18 GND AD20 GND AD22 C_BE3 GND GND AD25 AD27 AD29 AD31 GND -REQ_DOCK PCICLK_DOCK -BATOPDSBL VCC5B VCC5B Signal Name Figure 2-8 (Part 1 of 2). 240-Pin External Bus Connector Pin Assignments - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 32
158 DRATE1 159 -STEP 160 GND 161 -MEDID1 162 -TRACK0 163 -WPROTECT 164 GND 165 GND 166 LAST_PWG 167 -EVENT 168 DOCK_SPKR 169 JAB1 170 JAB2 171 JACX 172 JACY 173 Part 2 of 2). 240-Pin External Bus Connector - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 33
UltraSlim Bay Connector The removable diskette drive or CD-ROM drive can be connected to the UltraSlim Bay connector on the system board. This connector has the following pin assignments. System Board 2-11 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 34
17 -WRDATA 18 GND 19 -WREN 20 -MEDID1 21 -TRACK0 22 DRATE0 23 -WPROTECT 24 -RDDATA 25 GND 26 -SIDE1SEL 27 - I O I I GND O O O GND I/O I/O I/O I/O GND I/O I/O I/O I/O VCC VCC VCC VCC I/O I/O I/O I/O GND I/O I/O I/O Figure 2-9 (Part 1 of 2). UltraSlim Bay Connector Pin Assignments 2-12 System Board - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 35
73 CD_MUTE 74 AUDIO_RTN 75 CD_L_IN 76 CD_R_IN 77 GND 78 GND 79 -UBAYID3 80 -UBAYID4 I/O and Feature I/O GND I I GND O GND O GND I O O I I O I/O O O O O I O I I I I GND GND I I Figure 2-9 (Part 2 of 2). UltraSlim Bay Connector Pin Assignments System Board 2-13 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 36
Diskette Drive and Controller Figure 2-10 shows the read, write, and format capabilities of the diskette drive for the ThinkPad computer. Diskette Type 720 KB 3.5-inch 1.0 MB Diskette 3.5-inch 2.0 MB Diskette RWF − Legend: 1 KB (kilobyte) 1 MB (megabyte) R W F 1024 bytes 1,048,576 bytes Read - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 37
POST checks that system memory is operating correctly, the ROM code is copied to RAM at the same address space, and ROM is disabled. RAM Subsystem The RAM subsystem on the system board starts at address hex 00000000 of the address space. The RAM subsystem for the ThinkPad 600 computer is 64 bits - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 38
System Memory Map Memory is mapped by the memory controller registers. Figure 2-11 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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 39
DQ18 88 DQ50 89 DQ19 90 DQ51 91 Vss 92 Vss 93 DQ20 94 DQ52 95 DQ21 96 DQ53 97 DQ22 98 DQ54 99 DQ23 100 DQ55 101 Vcc 102 Vcc 103 A6 104 A7 105 A8 106 A11 (BS0) 107 DQ63 139 Vss 140 Vss 141 SDA 142 SCL 143 Vcc 144 Vcc Figure 2-12. DIMM Adapter Card Memory Connector Pin Assignments System Board 2-17 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 40
/CMOS RAM Bytes Real-time clock Diagnostic status Shutdown status Diskette drive type Hard disk 2 and 3 drive type Hard disk 0 and 1 drive type Reserved Equipment Low and high base memory Low and high expansion memory Hard disk 0 extended byte Hard disk 1 extended byte Hard disk 2 extended byte Hard - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 41
select RT/CMOS RAM addresses. RT/CMOS Data Register (Hex 0071) The RT/CMOS data register is used with the RT/CMOS address and NMI mask register (hex 0070) to read from and write to the RT/CMOS RAM bytes. Bit Function 7-0 RT/CMOS data Figure 2-15. RT/CMOS Data Register (Hex 0071) System Board - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 42
register; this leaves hex 0070 pointing to the shutdown status byte (hex 0F). 4. Read address hex 0071 to restore the RT/CMOS. Reading from the RT/CMOS RAM requires the following steps: 1. Write the RT/CMOS RAM address to the RT/CMOS and NMI mask register (hex 0070). 2. Read the data from the RT - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 43
Note: The setup program initializes status registers A and B when the time and date are set. Interrupt 1AH is the BIOS interface to read and set the time and date; it initializes the registers in the same way that the setup These bits control the divider chain for the oscillator. - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 44
without system initializes this bit to 0. If set to 1, this bit enables the alarm interrupt. The system initializes this bit to 0. If set to 1, this bit enables the update-ended interrupt. The system system initializes this bit to 0. This bit indicates whether the binary-coded system - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 45
D (Hex 00D) Bit 7 Bits 6-0 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. These bits are reserved. System Board 2-23 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 46
the bit definitions for the CMOS RAM configuration bytes. 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 initialization status 2 Time status - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 47
No drive installed for hard disk drive 2 Use CMOS 1BH for hard disk drive 2 Figure 2-25. Hard Disk Drive Type 2 (Bits 7-4) Bit 3-0 0 0 0 0 1 1 1 1 Description No drive installed for hard disk drive 3 Use CMOS 1CH for hard disk drive 3 Figure 2-26. Hard Disk Drive Type 3 (Bits 3-0) System Board - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 48
Hard disk drive 1 Figure 2-27. Hard Disk Drive Type Byte Reserved Bytes (Hex 013): These bytes are reserved. Equipment Byte (Hex 014): This byte defines the basic equipment in the system for the power-on diagnostic tests. Bit Description 7, 6 Number of diskette drives 5, 4 Display operating - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 49
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 coded decimal value for the century. For information about reading and setting this byte, refer to the IBM Personal System/2 and Personal Computer BIOS - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 50
interrupt return (IRET) instruction restores the interrupt flag to the state it was in before the interrupt occurred. A system reset causes a reset of the NMI. The NMI requests from a system board channel check are subject to mask control with the NMI mask bit in the RT/CMOS Address register. See - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 51
Alternate hot reset Figure 2-31. System Control Port A (Hex 0092) Bits for the secured area of RT/CMOS. If this bit is set to system microprocessor. This alternative method supports operating systems requiring faster operation than that provided on the IBM Personal Computer AT. Resetting the system - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 52
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. System Control Port B (Hex 0061) Bit - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 53
/CMOS RAM system program Easy-Setup controller section of the IBM Personal System/2 Hardware Interface Technical Reference. Other Passwords In addition to the power-on password, the computer provides two more passwords: The hard-disk password (HDP) protects the data on your removable hard disk drive - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 54
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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 55
coprocessors. The Intel 82077AA** diskette drive controller. The keyboard interface at addresses hex 0060 and hex 0064. Display modes supported by the IBM Monochrome Display and Printer Adapter, the IBM Color/Graphics Monitor Adapter, and the IBM Enhanced Graphics Adapter. The parallel printer ports - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 56
error found during hibernation wake-up. Memory data error. Memory line error 00 through 15. Memory line error 16 through 23. Memory test failure on on-board memory. ROM to RAM remap error. Unsupported memory module is installed. Keyboard error. Figure 2-34 (Part 1 of 2). Error Codes 2-34 System - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 57
I9990302 I9990303 I9990305 Description Diskette drive or controller error. No valid boot record on diskette. Invalid diskette drive error. Serial-A test failure. Serial-B test failure. Hard disk controller failure. Hard disk 0 error. Hard disk 1 error. System board video error. PCMCIA presence test - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 58
2-36 System Board - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 59
3-2 Video Modes 3-3 Modem Subsystem 3-5 ThinkPad Modem 3-5 MIDI Port Function 3-5 Sound Blaster Support Function 3-5 Telephony (Modem) Function 3-6 Audio Subsystem 3-6 MIDI Port Function 3-6 Sound Blaster Support Function 3-7 Audio Port Specifications 3-7 Infrared (IR) Subsystem 3-8 IRQ - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 60
consists of the XGA video controller, which inteprets the monitor buffer. The video subsystem supports an IBM thin-film transistor (TFT) or External Monitor 640×480 800×600 1024×768 The video subsystem also supports PS/2 analog displays without any additional adapters. Color 65,536 colors 16, - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 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 Subsystems 3-3 Mode (Hex) 0, 1 0*, 1* 0#, 1# 2, 3 2*, 3* 2#, 3# 4, 5 6 7* 7# D E F 10 11 12 13 Type A/N A/N A/N A/N A/N A/N APA APA A/N A/N APA APA APA APA APA APA - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 62
The following shows the video BIOS extended modes for the ThinkPad 600 computer (containing a NeoMagic NM2160 video chip, which inteprets 2 MB VRAM): Figure 3-2. Video BIOS Extended Modes-NeoMagic NM2160 3-4 Subsystems Video Mode 320x200x32k 320x200x64k 320x240x256 320x240x64k 400x300x256 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 63
Headphone-free, full-duplex speaker phone ThinkPad Modem The modem subsystem provides three system settings: I/O address, IRQ level, system setting: I/O Address 0300-0303 0310-0313 0320-0323 0330-0333 (default) Sound Blaster Support Function The Sound Blaster support function provides three system - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 64
compatible MPU401 UART mode, DMA control, and ISA bus interface logic. The AudioDrive provides the computer with the following audio features: High-quality audio (44.1-kHz MPC-2 16-bit audio) General MIDI compatible, 32-voice wave table synthesizer Sound Blaster support MIDI Port Function The MIDI - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 65
The Sound Blaster support function provides three system settings: I/O address, IRQ level, and DMA channel. I/O Address 0220-022F (default) 0240-024F 0338-038B (FM synthesizer) IRQ Level IRQ 5 (default) IRQ 7 IRQ 10 IRQ 11 DMA Channel DMA 0 DMA 1 (default) Audio Port Specifications Audio - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 66
Infrared (IR) Subsystem The IR subsystem supports the following functions: MIF/FIR mode - 9.6 Kbps - 57.6 Kbps - 115.2 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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 67
Card Type-I, II, III 5V, 3.3V DMA is not supported. The maximum current per slot is: 500 mA at 5 V dc 500 mA at 3.3 V dc 50 mA at 12 V dc The PCI1250 PCI-to-Cardbus Controller Unit1 is used as the PC Card controller in the system unit. The available interrupt levels are IRQ 3, 4, 5, 7, 9, 10, 11 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 68
12 A8 13 A13 14 A14 15 WE# 16 IRQ# 17 Vcc 18 Vpp 19 A16 20 A15 21 A12 22 A7 23 A6 24 A5 25 A4 26 A3 27 A2 28 A1 29 A0 30 D0 32-Bit PC Vcc Vpp CCLK CIRDY# CC/BE2# CAD18 CAD20 CAD21 CAD22 CAD23 CAD24 CAD25 CAD26 CAD27 Figure 3-3 (Part 1 of 2). PCMCIA PC Card Slot Pin Assignments 3-10 Subsystems - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 69
CRST# CSERR# CREQ# CC/BE3# CAUDIO CSTSCHG CAD28 CAD30 CAD31 CCD2# GND Figure 3-3 (Part 2 of 2). PCMCIA PC Card Slot Pin Assignments The maximum current for +5 V dc is .5 A for each slot (including both slots and V pp). The maximum current for +12 V dc is .5 A for each slot (including both slots and - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 70
system settings: I/O Address 0170-0177 0376 IRQ Level IRQ 15 If a hard disk is attached to the hard disk connector, an IDE device on the UltraSlim Bay becomes a primary slave. (The hard disk attached to the hard disk connector is the primary master.) If no hard disk is attached to the hard disk - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 71
Joystick Interface A joystick interface is provided at I/O address 0201. You can select whether to enable or disable it with the ThinkPad Configurations program. Subsystems 3-13 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 72
3-14 Subsystems - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 73
ThinkPad Configuration program or application programs. The default values are highlighted. System Resource Timer Keyboard Serial port Parallel port Infrared port Diskette controller Video controller Sound 022F, 0240-024F, 0260-0273, or 0280-0293 Memory Address (Hex) None None None None None None - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 74
System Resource MIDI MIDI port Joystick port (For models with internal modems only) ThinkPad modem WSS codec base Video control base Hard disk drive, CD-ROM drive (for the CD-ROM drive model) PCMCIA controller Card type) 0070-0071 0060 and 0064 None Memory Address (Hex) None None None None None None - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 75
Resource IRQ I/O Address Memory DMA (Hex) Address (Hex) Channel SCSI controller SelectaDock I, SelectaDock II, SelectaDock III 11, 3, 4, 5, 7, 9, 10, 15, or disabled Automatically set by the system None None The IDE hard disk drive or IDE CD-ROM drive in the docking station 15, 10 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 76
A-4 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 77
15 Get UltraBay II Information B-16 Get Slave Micro Control Unit Information B-17 Get System Sensor Status B-18 Get Video Information B-19 Get Refresh Rate Capability B-20 System Configuration Service B-22 Get Display Device State B-22 Set Display Device State B-24 Get Pointing Device State - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 78
Condition Get System Resume Condition Set System Resume Condition Get System Resume Timer Set System Resume Timer Request System Standby Request System Suspend Request System Hibernation Request System Off Samples Data Structure Function Declaration Installation Check BIOS Call B-43 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 79
following unique features of the ThinkPad system: System Information This BIOS provides unique ThinkPad information, such as the system identifier (system ID). System Configuration The ThinkPad SMAPI BIOS provides system configuration control for such features as display device selection or resource - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 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 Signature Version (Major) Version (Minor) - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 81
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 The code base code address specifies the physical address for this BIOS, and the client must prepare the selector for this BIOS. The length - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 82
the caller needs to define the same privilege level as the BIOS. Parameter Structure The memory allocation for the input/output field should be prepared by the caller. The input field specifies the function request to the SMAPI BIOS, and the BIOS fills in the return value to the output field. Input - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 83
Output Field Field Return Code Auxiliary Return Code Parameter 1 Parameter 2 Parameter 3 Parameter 4 Parameter 5 Offset (in Hex) 00 01 02 04 06 08 0C Length Byte Byte Word Word Word Double word Double word SMAPI BIOS B-7 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 84
DD ? SMB_INPARM ENDS ; ; Output Parameter Structure ; SMB_OUTPARM @SMBOUT_RC @SMBOUT_SUB_RC @SMBOUT_PARM_1 @SMBOUT_PARM_2 @SMBOUT_PARM_3 @SMBOUT_PARM_4 @SMBOUT_PARM_5 SMB_OUTPARM STRUC DB ? DB ? DW ? DW ? DW ? DD ? DD ? ENDS B-8 SMAPI BIOS - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 85
{ BYTE SMBOUT_RC ; BYTE SMBOUT_SUB_RC ; WORD SMBOUT_PARM_1 ; WORD SMBOUT_PARM_2 ; WORD SMBOUT_PARM_3 ; DWORD SMBOUT_PARM_4 ; DWORD SMBOUT_PARM_5 ; } OUTPARM, POUTPARM ; typedef INPARM far FPINPARM ; typedef OUTPARM far FPOUTPARM ; SMAPI BIOS B-9 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 86
The following describes the calling convention using pseudo code. Assembler Language InputParm OutputParm SMB_INPARM SMB_OUTPARM < > 16-bit push mov push push ; SMB INPARM OUTPARM WORD SmapiBios ; InputParm ; OutputParm ; RC ; RC = SmapiBios(&InputParm, &OutputParm) ; B-10 SMAPI BIOS - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 87
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 A2 Device is not - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 88
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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 89
5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved 254 MHz = FFh : Unknown (parameter 4 is valid) (Bits 7- ) Internal clock (units: MHz) = FEh : Internal clock is over 254 MHz = FFh : Unknown (parameter 5 is valid) Parameter - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 90
Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - (Bits 15-8) Built-in display device (panel) information 1 = : Monochrome STN LCD = 1 : Monochrome TFT LCD = 2 : Color - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 91
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 : Dock Bits 5-1 - Reserved Bit 6 - Security - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 92
Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - (Bits 15-8) UltraBay device information = : FDD = 1 : Serial device = 2 : TV tuner = 1 : IDE device = 2 : PCMCIA adapter = 3 : Battery = 4 : AC Adapter = FE : No UltraBay - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 93
Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Return value format = - ASCII format = 1 - Binary format Parameter 1 - Reserved Parameter 2 - Slave controller Revision (= FFFF) - Not valid Parameter 3 - Reserved Parameter - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 94
5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Current Status Bit 8 - LID Status = : Open = 1 : Close Bit 9 - Keyboard status = : Close = 1 : Open Bit 1 - AC Adapter = : Not attached = 1 : Attached Bits - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 95
- 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 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 96
x12 x256 = A 2 - 16 x12 x32K = A 3 - 16 x12 x64K = A 4 - 16 x12 x16M = Others : Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field B-20 SMAPI BIOS - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 97
Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Refresh rate capability for specified mode: Bit - 6 Hz available Bits 8-15 : Reserved (must be B' ') Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved SMAPI BIOS B-21 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 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 - - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 100
-16 : Reserved Bits 15- : Display selection mode Bit - Display selection mode = : LCD - CRT selection mode = 1 : LCD - TV selection mode Bits 7-1 : Reserved Parameter 5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 101
Bit 1 - External pointing device status = : Status is not controllable = 1 : Status is controllable Bit 2 - Built-in pointing device auto control = : Not support = 1 : Support Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved SMAPI BIOS B-25 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 102
current status Bits 1 , 8 - Built-in pointing device auto control = : Disable = 1 : Enable = 1 : Auto = CMOS (effective after reboot) Bits 7-2: Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 103
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 Fn key support Bit 9 - Sticky & Lock Fn key support Bits 15-1 - Reserved Bits 7- Current status - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 104
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 Parameter 4 - Reserved Parameter 5 - Reserved - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 105
5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - 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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 106
= 1h - Auto power management mode = 2h - Manual power management mode 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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 109
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 = - Reserved Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 111
Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Bits 15-8 Capability for event Bit 8 - RediSafe is controlled by global conditions. (The RediSafe bit is ignored in each event condition.) = - Not support = 1 - Support Bits 7- Global - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 112
Set System Event Global Condition Input Field Major Function Number - 3 Minor Function Number - 1 Parameter 1 Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Reserved Reserved - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 114
Set System Event 1 Condition Input Field Major Function Number - 31 Minor Function Number - 1 Parameter 1 - B-34) Bits 7- - Condition (see page B-34) Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 115
Major Function Number - 32 Minor Function Number - Parameter 1 - System timer expiration event definition Bits 15-8 - Capability (see page B-34 - Condition (see page B-34) Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 116
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) Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Reserved - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 117
= 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 - Reserved Parameter 5 - Reserved Output Field Return Code - Error status Auxiliary - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 118
Manual PM mode (battery) = F3h - High performance mode = F4h - Auto power management mode Bits 7- System timer initial value (units: minutes) = h - Disable system timer Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Output Field Return Code - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 119
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- Hibernation timer during suspend mode - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 120
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 Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 121
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 condition detection event definition Bits 15-8 - Capability (see page B-34 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 122
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 5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 123
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 trigger from system suspend mode Bit - Resume switch by hardware Bit 1 - LID open - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 124
Minor Function Number - 1 Parameter 1 - Condition for resuming trigger from the system suspend mode Bit - Resume switch by hardware Bit 1 - LID open Parameter 5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 126
Set System Resume Timer Input Field Major Function Number - 34 Minor Function Number - 3 Parameter 1 - Reserved (specified day) = 1 - Invalid (every day) Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 127
4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Request System Suspend Input Field Major Function Number - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 128
4 - Reserved Parameter 5 - Reserved Output Field Return Code - Error status Auxiliary Return Code - Reserved Parameter 1 - Reserved Parameter 2 - Reserved Parameter 3 - Reserved Parameter 4 - Reserved Parameter 5 - Reserved Request System Off Input Field Major Function Number - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 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 @ - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 130
@SMBOUT_PARM_2 @SMBOUT_PARM_3 @SMBOUT_PARM_4 @SMBOUT_PARM_5 SMB_OUTPARM STRUC DB ? DB ? DW ? DW ? DW ? DD ? DD ? ENDS STRUC DB ? DB ? DW ? DW ? DW ? DD ? DD ? ENDS B-54 SMAPI BIOS - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 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 mode offset DWORD SMBHDR_P32_BASE ; // 32-bit Protect mode base address } SMB_HEADER, PSMB_HEADER ; SMAPI BIOS B-55 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 132
SMBOUT_RC ; BYTE SMBOUT_SUB_RC ; WORD SMBOUT_PARM_1 ; WORD SMBOUT_PARM_2 ; WORD SMBOUT_PARM_3 ; DWORD SMBOUT_PARM_4 ; DWORD SMBOUT_PARM_5 ; } OUTPARM, POUTPARM ; typedef INPARM far FPINPARM; typedef OUTPARM far FPOUTPARM; B-56 SMAPI BIOS - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 133
Function Declaration C Language // // SMAPI BIOS function // typedef WORD (far SMB)(FPINPARM, FPOUTPARM) ; SMAPI BIOS B-57 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 134
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 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 135
loop Calculate Checksum.. next. ; Save direction flag ; Clear it si, bx ax, ax cx,byte ptr ds:[bx].@SMBHDR_LEN ah, al @b popf cmp cmc ah, 1 ; Restore Direction flags ; Checksum is OK? FindSmapiFin: pop ds pop si pop cx pop eax ret FindSmapi Endp SMAPI - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 136
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 segment } SMB_HEADER_REAL, far PFSMB_HEADER_REAL ; B-60 SMAPI BIOS - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 137
+= (BYTE)((MyPtr->SMBHDR_SIG)[cnt]) ; if (cksum) { // Bad Checksum return FALSE ; } else { // Build Return Address ( pFunc) = ( (DWORD)(MyPtr->SMBHDR_R_OFFSET) + (((DWORD)(MyPtr->SMBHDR_R_SEGMENT)) - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 138
BIOS Call Assembler Language: 16-Bit Protected Mode ; ; Build Input Parameter Field ; mov al, SMB_GET_SYSID mov [bx].@Func add ax, offset InputParm ax _SmapiBios sp, 8 ; ; Get information from Output Parm ; or ax, ax jnz Error mov bx, offset OutputParm mov al, [bx].@Parm1 B-62 SMAPI - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 139
push call add ds eax, offset OutputParm eax ds eax, offset InputParm eax _SmapiBios sp, 16 ; ; Get information from Output Parm ; or ax, ax jnz Error mov ebx, offset OutputParm mov ax, [ebx].@Parm1 SMAPI - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 140
= -1 ; if (GetSmapiEntry(&SmapiEntry)) { MyInput.SMBIN_FUNC = ; MyInput.SMBIN_SUB_FUNC = ; if (SmapiEntry(&MyInput, &MyOutput)) { // No System ID is available } else { Rc = MyOutput.SMBOUT_PARM_1 ; } } else { // No SMAPI BIOS interface. // Try to use CBIOS INT 15. } return Rc ; } B-64 SMAPI - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 141
are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS . This publication could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 142
C-2 SMAPI BIOS - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 143
adapter 2-3 bus master access to system board RAM, specifications 1-7 C cables 1-8 cache memory operation 2-2 CD-ROM drive 1-2 CMOS RAM 2-28 CMOS RAM configuration 2-24 CMOS RAM subsystem 1-3 compatibility hardware 2-33 configuration CRC bytes, RT/CMOS RAM 2-27 connectors external bus 2-8 hard disk - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 144
gate A20 2-29 H hard disk drive connector 2-8 hard disk password 2-31 hardware compatibility 2-33 heat output, specifications 1-8 height, system unit 1-8 humidity, specifications 1-8 I identifier, model 1-2 infrared subsystem 3-8 interrupt controller 1-4 IR subsystem 3-8 display 3-8 J joystick/MIDI - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 145
page miss 1-7 parallel controller port 1-4 passwords hard disk 2-31 power-on 2-31 supervisor 2-31 PC Card subsystem 3-9 PCI error check enable 2-31 PCMCIA 3-9 interface 1-6 slots 1-4 Pentium 90/120 MHz 1-3 performance, system 1-7 POST cache test 2-2 error codes 2-34 memory errors 2-16 password 2-29 - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 146
00B) 2-22 status register C (hex 00C) 2-23 status register D (hex 00D) 2-23 supervisor password 2-31 switch to real 2-29 system board devices 1-3 CMOS RAM subsystem 1-3 diskette drive controller 1-4 DMA controller 1-3 EEPROM subsystem 1-3 expansion bus adapter 1-4 interrupt controller 1-4 keyboard - Lenovo ThinkPad 600E | Technical Reference Manual for the ThinkPad 600 - Page 147
) 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-29 system control port B 2-30 system management API (SMAPI) B-1 system memory map 2-16 system resources A-1 system timers 1-3 T temperature