background image

 

   

 

xxxxxxx
xxxx-xxxx-xx

Summary of Contents for ThinkPad 560Z

Page 1: ...xxxxxxx xxxx xxxx xx...

Page 2: ...nties in certain transactions therefore this statement may not apply to you This publication could include technical inaccuracies or typographical errors Changes are periodically made to the informati...

Page 3: ...ion 2 2 Microprocessor 2 2 Cache Memory Operation 2 2 Cacheable Address Space 2 3 Keyboard Mouse Connector 2 4 Signals 2 4 Connector 2 4 Scan Codes 2 5 Keyboard ID 2 6 Displayable Characters and Symbo...

Page 4: ...C Card Subsystem 3 7 Pin Assignments 3 8 Appendix A System Management API SMAPI BIOS Overview A 1 What Is SMAPI BIOS A 3 Header Image A 4 Calling Convention A 6 Parameter Structure A 6 Calling Convent...

Page 5: ...System Management API SMAPI BIOS Overview describes the system software interface built into the system called the System Management Application Program Interface SMAPI BIOS which controls the system...

Page 6: ...e of reserved areas can cause compatibility problems loss of data or permanent damage to the hardware When the contents of a register are changed the state of the reserved bits must be preserved If po...

Page 7: ...em Board I O Address Map 1 5 Specifications 1 7 Performance Specifications 1 7 Physical Specifications 1 8 Acoustical Readings 1 9 Power Supply 1 10 Voltages 1 10 Output Protection 1 11 Voltage Sequen...

Page 8: ...distinguish the foregoing models of computers from other ThinkPad models by reading the system ID Interrupt X 15 function code AH X 23 AL X 10 returns AL X 37 for the 560Z The system microprocessor c...

Page 9: ...eatures Device Type Features Microprocessor Intel Mobile Pentium II Processor 233 300 MHz 32 KB on chip cache Level 2 cache 512 KB System timers 1 Channel 0 system timer Channel 1 refresh generation C...

Page 10: ...nique 3 5 in diskette 720 KB Hard disk controller Supports IDE controller Serial controller port 2 EIA 232 E interface 16550 compatible Programmable as serial port 1 2 3 or 4 One 9 pin D sub connector...

Page 11: ...nterrupt controller 2 slave 00B2 00B3 b Advanced power management port 00C0 00DF DMA controller 2 00F0 Coprocessor error 0170 0177 IDE Secondary 01F0 01F7 IDE Primary 0201 Game port Joy Stick 0220 022...

Page 12: ...port WSS 2 0678 067A Parallel port 3 ECP 0778 077A Parallel port 2 ECP 07BC 07BE Parallel port 1 ECP 0CF8 0CFB PCI configuration address register 0CF9 b Reset control register 0CFC 0CFF PCI configurat...

Page 13: ...roprocessor 66 MHz 15 ns clock Access to RAM Memory read Page hit burst Page miss burst 135 ns 255 ns Memory write Page miss burst 45 ns Access to ROM 1000 Refresh rate typically performed every 15 6...

Page 14: ...m off 5 0 C to 43 0 C 41 F to 110 F Humidity System without diskette 8 to 95 System with diskette 8 to 80 Maximum altitude 3048 m 10000 ft in unpressurized conditions Heat output 35 W 119 4 BTUs hour...

Page 15: ...erate Idle Operate Idle 3 7 3 5 30 28 27 26 Notes LWAd Is the declared sound power level for the random sample of machines LpAm Is the mean value of the A weighted sound pressure levels at the operato...

Page 16: ...yboard LCD panel PC Card cards Voltages The power supply generates five different dc voltages VCCCPU VCC3A VCC5M VCCSW and VCC12M Figure 1 8 shows the maximum current for each voltage Figure 1 8 Power...

Page 17: ...eeds 135 of the nominal value of the power supply Voltage Sequencing When power is turned on the output voltages reach their operational voltages within 2 seconds Power Supply Connector The following...

Page 18: ...ts the following electrical specifications Figure 1 10 Battery Pack Specifications Nominal Voltage 10 8 V dc Capacity average 2 2 ampere hours AH Protection Overcurrent protection Overvoltage protecti...

Page 19: ...emory 2 14 ROM Subsystem 2 14 RAM Subsystem 2 14 System Memory Map 2 15 System Board Memory Connector for DIMM 2 15 RT CMOS RAM 2 17 RT CMOS Address and NMI Mask Register X 0070 2 18 RT CMOS Data Regi...

Page 20: ...croprocessor had to access system memory When an instruction is first used or data is first read or written it is transferred to the cache memory from main memory This enables future accesses to the i...

Page 21: ...ystem memory If the address of the write operation was not in the cache memory but was in cacheable address space the data is read back into the cache memory and the remainder of the cache line is rea...

Page 22: ...h level output voltage 5 0 V dc minus pullup Minimum Low level output voltage 0 5 V dc Maximum High level input voltage 2 0 V dc Minimum Low level input voltage 0 8 V dc Maximum Connector The keyboard...

Page 23: ...igned to each numbered key refer to the IBM Personal System 2 Hardware Interface Technical Reference 110 124 125 126 75 80 85 112 113 114 115 116 117 118 119 120 121 122 123 76 81 86 1 2 3 4 5 6 7 8 9...

Page 24: ...39 40 41 46 47 48 49 50 51 52 53 54 55 57 60 61 62 64 83 79 84 89 Left Right 44 45 43 42 Fn 58 Figure 2 4 Key Numbers for the 85 Key Keyboard Keyboard ID The keyboard ID consists of 2 bytes X 83AB the...

Page 25: ...dware 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 Symbols For displayable...

Page 26: ...09 Data 9 28 CSEL Cable Select 7 DD05 Data 5 29 DMACK DMA Acknowledgment 8 DD10 Data 10 30 GND Ground 9 DD04 Data 4 31 INTRQ Interrupt Request 10 DD11 Data 11 32 Not connected 11 DD03 Data 3 33 DA01 A...

Page 27: ...al Type Pin Signal Type 1 Ground G 23 Docking Type Select PM 2 Suspend Power Good PC 24 External Power Good PC 3 ac dc Power PW 25 Mouse Data K 4 ac dc Power PW 26 Mouse Clock K 5 ac dc Power PW 27 Gr...

Page 28: ...5V PW 100 Ground G 61 Line Out Right A 101 Ground G 62 Ground G 102 PCIRST PB 63 Monitor ID 2 V 103 PREQ PB 64 INDEX F 104 Ground G 65 SMB_CLK PM 105 AD 31 PB 66 SMB_DATA PM 106 AD 29 PB 67 Track 0 F...

Page 29: ...D 12 PB 139 Ground G 177 AD 10Bit 0 PB 140 IRQ 4 I 178 AD 8 PB 141 IRQ 7 I 179 C_BE 0 PB 142 IRQ 10 I 180 Ground G 143 IRQ 12 I 181 AD 6 PB 144 INTA I 182 AD 4 PB 145 JAB1 J 183 AD 2 PB 146 JBB1 J 184...

Page 30: ...the ThinkPad computer Figure 2 8 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...

Page 31: ...2 DRATE1 Data Rate Select 1 3 VCC5B 5V dc 4 Reserved 5 GND Ground 6 Reserved 7 GND Ground 8 INDEX Index 9 Reserved 10 Reserved 11 DRVSEL0 Drive Select 0 12 DRATE0 Data Rate Select 0 13 MOTEN0 Motor En...

Page 32: ...he same address space and ROM is disabled RAM Subsystem The RAM subsystem on the system board starts at address X 00000000 of the address space The RAM subsystem for the ThinkPad 560Z is 64 bits wide...

Page 33: ...0 KB system board RAM 000A0000 to 000BFFFF Video RAM 000C0000 to 000C9FFF System board video BIOS ROM mapped to RAM 000CA000 to 000EFFFF Channel ROM 000F0000 to 000FFFFF 64 KB system board ROM mapped...

Page 34: ...nected 116 CAS4 21 Ground 69 RAS2 117 CAS7 22 Ground 70 Not connected 118 CAS0 23 CAS1 71 RAS3 119 Ground 24 CAS6 72 Not connected 120 Ground 25 CAS5 73 Ground 121 MD56 26 CAS2 74 Not connected 122 MD...

Page 35: ...bytes and their addresses Figure 2 12 RT CMOS RAM Address Map Address Hex RT CMOS RAM Bytes 000 00D Real time clock 00E Diagnostic status 00F Shutdown status 010 Diskette drive type 011 Hard disk 2 an...

Page 36: ...ss and NMI Mask Register X 0070 Bit Function 7 NMI mask 6 0 RT CMOS RAM address Bit 7 When this write only bit is set to 1 the NMI is masked disabled This bit is set to 1 by a power on reset Bits 6 0...

Page 37: ...the following 1 Write the RT CMOS RAM address to the RT CMOS address and NMI mask register X 0070 2 Write the data to the RT CMOS data register X 0071 3 Write the address X 0F to the RT CMOS and NMI...

Page 38: ...t the time and date it initializes the registers in the same way that the setup program does Status Register A X 00A Figure 2 16 Status Register A X 00A Bit Function 7 Update in progress 6 4 22 stage...

Page 39: ...d by the rate and divider bits in status register A If set to 1 this bit enables the interrupt The system initializes this bit to 0 Bit 5 If set to 1 this bit enables the alarm interrupt The system in...

Page 40: ...has occurred bits 6 5 and 4 indicate the type of interrupt Bit 6 If set to 1 this bit indicates that a periodic interrupt has occurred Bit 5 If set to 1 this bit indicates that an alarm interrupt has...

Page 41: ...power Bit 6 If set to 1 this bit indicates that the checksum is incorrect Bit 5 This bit indicates the results of a power on check of the equipment byte X 014 If set to 1 this bit indicates that the...

Page 42: ...hese bits are reserved Hard Disk Drive Type Byte X 011 This byte defines the type of hard disk drive installed X 00 indicates that no hard disk drive is installed Figure 2 23 Hard Disk Type Byte X 011...

Page 43: ...nt Byte Bit Description 7 6 Number of diskette drives 5 4 Display operating mode 3 2 Reserved 1 Coprocessor presence 0 Diskette drive 0 presence Bits 7 6 These bits indicate the number of installed di...

Page 44: ...low byte is X 017 the high byte is X 018 Reserved Bytes X 01D X 02D These bytes are reserved Configuration Checksum Bytes X 02E and X 02F The configuration checksum bytes contain the checksum charact...

Page 45: ...res the interrupt flag to the state it was in before the interrupt occurred A system reset causes a reset of the NMI The NMI requests from system board parity and channel check are subject to mask con...

Page 46: ...st 3 Reserved 2 Enable parity check 1 Enable speaker data 0 Timer 2 gate to speaker Bit 7 If set to 1 this bit indicates that the PCI system error SERR was pulsed active Bit 6 If set to 1 this bit ind...

Page 47: ...tem microprocessor switches the microprocessor from protected mode to real address mode This bit is set to 0 by either a system reset or a write operation If a write operation changes this bit from 0...

Page 48: ...ion of the built in system program Easy Setup The power on password does not appear on the screen when it is installed changed or removed After the power on password has been installed it can be chang...

Page 49: ...address transfer counters page registers and status fields only The command and request registers and the rotate and mask functions are not supported The mode register is partially supported The NS16...

Page 50: ...161 Dead battery 163 Date and time are not set clock not updated 173 CMOS CRC error 174 Configuration error 175 Bad EEPROM CRC 1 177 Bad supervisor password checksum 178 EEPROM is not functional 179...

Page 51: ...1 Non supported port replicator 2401 System board video error 8081 PC Card presence test failure PC Card revision number also checked 8082 PC Card register test failure 8601 System bus error 8042 mous...

Page 52: ...2 34 ThinkPad 560Z System Board...

Page 53: ...udio Port Specifications 3 5 Infrared IR Subsystem 3 6 PC Card Subsystem 3 7 Pin Assignments 3 8 This section describes the video DSP IR and PC Card subsystems of the ThinkPad computers If also provid...

Page 54: ...A as follows The video subsystem also supports PS 2 analog displays without any additional adapters LCD Type VRAM Size Color Depth Resolution On the LCD On the External Monitor On the LCD On the Exter...

Page 55: ...8 14 8 16 8 8 8 14 8 16 8 8 8 8 8 14 8 16 8 8 8 8 8 14 8 14 8 16 8 16 8 8 Buffer Start Address B8000 B8000 B8000 B8000 B8000 B8000 B8000 B8000 B0000 B0000 A0000 A0000 A0000 A0000 A0000 A0000 A0000 Alp...

Page 56: ...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 o o o o o o o o o o VESA Mode Number Hex 10D 10E 120 121 122 123 124 125 100 101 110 111 112 102 103 113 114 115 104 105 116 117 Video Mode 320x2...

Page 57: ...dio output inch mini jack for headphone Headphone speaker output 22 mW 32 maximum Maximum output level 2 4 Vpp Output impedance 75 Audio input inch mini jack for microphone or line input Microphone ga...

Page 58: ...ad 560Z is designed to be compatible with the IrDA Serial Infrared Physical Layer Link Specification Version 1 1 and Data Link Specification Version 1 0 The I O address can be selected from the follow...

Page 59: ...15 The system unit resumes operation from suspend mode when it receives the RI_OUT signal The Type I and Type II PC Cards can be installed into either the upper or the lower slot or into both slots at...

Page 60: ...und 2 D3 CAD0 3 D4 CAD1 4 D5 CAD3 5 D6 CAD5 6 D7 CAD7 7 CE1 CC BE0 8 A10 CAD9 9 OE CAD11 10 A11 CAD12 11 A9 CAD14 12 A8 CC BE1 13 A13 CPAR 14 A14 CPERR 15 WE CGNT 16 IRQ CINT 17 Vcc Vcc 18 Vpp Vpp 19...

Page 61: ...5 46 A17 CAD16 47 A18 Reserved 48 A19 CBLOCK 49 A20 CSTOP 50 A21 CDEVSEL 51 Vcc Vcc 52 Vpp Vpp 53 A22 CTRDY 54 A23 CFRAME 55 A24 CAD17 56 A25 CAD19 57 AS2 CVS2 58 RESET CRST 59 WAIT CSERR 60 INPACK CR...

Page 62: ...3 10 ThinkPad 560Z Subsystems...

Page 63: ...y A 19 System Configuration Service A 21 Get Display Device State A 21 Set Display Device State A 23 Get Pointing Device State A 24 Set Pointing Device State A 25 Get Hotkey Sticky Lock A 26 Set Hotke...

Page 64: ...ume Condition A 47 Get System Resume Timer A 48 Set System Resume Timer A 49 Request System Standby A 50 Request System Suspend A 50 Request System Hibernation A 51 Request System Off A 51 Samples A 5...

Page 65: ...uch as the system identifier system ID System configuration The ThinkPad SMAPI BIOS provides system configuration control for such features as display device selection or resource configuration for bu...

Page 66: ...t X 0C Word Real mode 16 bit code segment address X 0E Word Reserved 2 X 10 Word 16 bit protected mode offset to entry point X 12 Word 16 bit protected mode code segment base address X 14 Doubleword 3...

Page 67: ...port Bits 3 15 Reserved Real Mode Entry Point The entry point is specified in segment offset format Clients using Real V86 mode can use this area for the far call value 16 bit or 32 bit Protected Mode...

Page 68: ...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...

Page 69: ...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...

Page 70: ...BIN_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 WORD SMBOUT_PARM_2 WORD SMBOUT_PARM_3 DWO...

Page 71: ...utParm 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 OutputP...

Page 72: ...C Language typedef WORD far SMB FPINPARM FPOUTPARM SMB SmapiBios INPARM InputParm OUTPARM OutputParm WORD RC RC SmapiBios InputParm OutputParm A 10 ThinkPad 560Z SMAPI BIOS...

Page 73: ...available X 81 Invalid parameter X 86 Function is not supported X 9 System error X 91 System is invalid X 92 System is busy X A Device error disk read error X A1 Device is busy X A2 Device is not atta...

Page 74: ...eserved Parameter 5 Reserved Output Field Return code Error status Auxiliary return code Return value format X ASCII format X 1 Binary format Parameter 1 System ID Parameter 2 Country code Parameter 3...

Page 75: ...r X 1 Intel X 2 AMD Parameter 2 CPU ID Bits 15 8 Microprocessor type Bits 7 Microprocessor stepping level X FFFF Unknown Parameter 3 Clock Information Bits 15 8 CPU clock units MHz X FE CPU clock is o...

Page 76: ...X Minor function number X 2 Parameter 1 Bits 15 8 Request type Bit 8 LCD information Bit 9 External CRT information Bits 15 1 Reserved Bits 7 Reserved Parameter 2 Reserved Parameter 3 Reserved Paramet...

Page 77: ...vice panel information 2 X 64 x48 X 1 8 x6 X 2 1 24x768 X 3 1 24x1 24 X FF Unknown Parameter 2 Bits 15 8 External CRT monitor information X External CRT is not attached X 1 Color monitor X 2 Monochrom...

Page 78: ...Parameter 3 Reserved Parameter 4 Reserved Parameter 5 Reserved Output Field Return code Error status Auxiliary return code Return value format X ASCII format X 1 Binary format Parameter 1 Reserved Par...

Page 79: ...eter 5 Reserved Output Field Return code Error status Auxiliary return code Reserved Parameter 1 Reserved Parameter 2 Bits 15 8 Current status Bit 8 LID Status Open 1 Close Bit 9 Keyboard status Close...

Page 80: ...ed 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...

Page 81: ...x64K X 115 8 x6 x16M X 1 4 1 24x768x16 X 1 5 1 24x768x256 X 116 1 24x768x32K X 117 1 24x768x64K X 118 1 24x768x16M X 1 6 128 x1 24x16 X 1 7 128 x1 24x256 X 119 128 x1 24x32K X 11A 128 x1 24x64K X 11B...

Page 82: ...lity for specified mode Bit 6 Hz available Bit 1 72 Hz available Bit 2 75 Hz available Bit 3 43 Hz I available Bit 4 56 Hz available Bit 5 7 Hz available Bit 6 85 Hz available Bit 7 48 Hz I available...

Page 83: ...Input Field Major function number X 1 Minor function number X Parameter 1 Request type X Current hardware X 1 CMOS effective after reboot Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Reserve...

Page 84: ...sable 1 Enable Bit 9 CRT status Disable 1 Enable Bit 1 TV status Disable 1 Enable Bits 14 11 Reserved Bit 15 Dual enable flag Disable 1 Enable Bits 7 Display function type X Model with no TV out X 1 M...

Page 85: ...le 1 Enable Bits 13 11 Reserved Bit 14 Monitor detection ignore Do not ignore should be 1 Ignore Bit 15 Dual enable flag Disable 1 Enable Bits 7 Reserved Parameter 2 Reserved Parameter 3 Reserved Para...

Page 86: ...15 8 Pointing device current status Bits 1 8 Built in pointing device control Disable 1 Enable 1 Auto 11 Reserved Bit 9 External pointing device status Disable 1 Enable Bits 15 11 Reserved Bits 7 Poi...

Page 87: ...inting device status Disable 1 Enable Bits 15 11 Reserved Bits 7 Request type Bit Current hardware Bit 1 CMOS effective after reboot Bits 7 2 Reserved Parameter 2 Reserved Parameter 3 Reserved Paramet...

Page 88: ...d 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 and Lock Fn key support Not supported 1 Support...

Page 89: ...unction is disabled X 1 Sticky Fn key X 3 Sticky and Lock Fn key Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Reserved Parameter 5 Reserved Output Field Return code Error status Auxiliary ret...

Page 90: ...de Error status Auxiliary return code Reserved Parameter 1 Reserved Parameter 2 Bits 15 8 Power management mode battery operation X High performance mode X 1 Auto power management mode X 2 Manual powe...

Page 91: ...t mode Bits 7 Power management mode AC operation X High performance mode X 1 Auto power management mode X 2 Manual power management mode Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Reserved...

Page 92: ...Control Input Field Major function number X 22 Minor function number X 2 Parameter 1 Reserved Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Reserved Parameter 5 Reserved A 30 ThinkPad 560Z SM...

Page 93: ...upported 1 Supported Bit 1 LCD off timer Not supported 1 Supported Bit 11 HDD off timer Not supported 1 Supported Bits 15 12 Reserved Bits 7 Timer control Bit System hibernation suspend timer Disable...

Page 94: ...r Disable 1 Enable Bit 2 LCD off timer Disable 1 Enable Bit 3 HDD off timer Disable 1 Enable Bits 7 4 Reserved Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Reserved Parameter 5 Reserved Outpu...

Page 95: ...ent Bit Definition Bits 2 Reserved Bit 3 Standby Bit 4 Suspend Bit 5 Safe suspend Bit 6 Hibernation Bit 7 Power off Note If bits are duplicated the highest bit is available ThinkPad 560Z SMAPI BIOS A...

Page 96: ...de Error status Auxiliary return code Reserved Parameter 1 Reserved Parameter 2 Bits 15 8 Capability for event Bit 8 Safe suspend is controlled by global conditions Safe suspend bit is ignored in each...

Page 97: ...Bit Enable safe suspend if suspend is selected Disable 1 Enable Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Reserved Parameter 5 Reserved Output Field Return code Error status Auxiliary ret...

Page 98: ...ter 1 Reserved Parameter 2 Hardware and software event definition Bits 15 8 Capability see page A 33 Bits 7 Condition see page A 33 Parameter 3 Reserved Parameter 4 Bits 31 16 Reserved Bits 15 Power s...

Page 99: ...rved Parameter 3 Reserved Parameter 4 Bits 31 8 Reserved Bits 7 Condition for power switch detection See page A 33 Parameter 5 Bits 31 8 Reserved Bits 7 Condition for LID close detection See page A 33...

Page 100: ...rved Parameter 2 System timer expiry event definition Bits 15 8 Capability see page A 33 Bits 7 Condition see page A 33 Parameter 3 Reserved Parameter 4 Bits 31 16 Reserved Bits 15 Standby timer expir...

Page 101: ...Reserved Parameter 4 Bits 31 8 Reserved Bits 7 Condition for standby timer expired see page A 33 Parameter 5 Bits 31 8 Reserved Bits 7 Condition for hibernation timer during suspend mode expired see p...

Page 102: ...Reserved Parameter 4 Reserved Parameter 5 Reserved Output Field Return code Error status Auxiliary return code Reserved Parameter 1 Bits 15 8 System timer capability Bit 8 Timer cannot be specified in...

Page 103: ...mode X F4 Auto power management mode Bits 7 System timer initial value units minutes X Disable system timer Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Reserved Parameter 5 Reserved Output F...

Page 104: ...served 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 initia...

Page 105: ...initial value units minutes X Disable hibernation timer during suspend mode Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Reserved Parameter 5 Reserved Output Field Return code Error status Au...

Page 106: ...status Auxiliary return code Reserved Parameter 1 Reserved Parameter 2 Critical low battery condition detection event definition Bits 15 8 Capability see page A 33 Bits 7 Condition see page A 33 Param...

Page 107: ...see page A 33 Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Bits 31 8 Reserved Bits 7 Condition for out of environment condition detection see page A 33 Parameter 5 Reserved Output Field Retu...

Page 108: ...ion for resuming trigger from system suspend mode Bit Resume switch by hardware Bit 1 LID open detection Bit 2 RTC alarm resume timer detection Bit 3 RI from the serial device detection Bits 15 4 Rese...

Page 109: ...open detection Bit 2 RTC alarm resume timer detection Bit 3 RI from the serial device detection Bits 15 4 Reserved Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Reserved Parameter 5 Reserved...

Page 110: ...uxiliary return code Reserved 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...

Page 111: ...Bits 23 16 Hours 23 Bits 31 24 Reserved Parameter 5 Date of resume timer BCD format Bits 7 Day 1 31 Bits 15 8 Month 1 12 Bits 23 16 Year 99 Bits 3 24 Reserved Bit 31 Resume date validation Valid spec...

Page 112: ...Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Reserved Parameter 5 Reserved Request System Suspend Input Field Major function number X 7 Minor function number X 1 Parameter 1 Reserved Paramete...

Page 113: ...rved Parameter 2 Reserved Parameter 3 Reserved Parameter 4 Reserved Parameter 5 Reserved Request System Off Input Field Major function number X 7 Minor function number X 3 Parameter 1 Reserved Paramet...

Page 114: ...R_INFO DW 8 Information Word SMBHDR_RSV1 DW A Reserve 1 SMBHDR_R_OFFSET DW C Real mode Offset SMBHDR_R_SEGMENT DW E Real mode Segment SMBHDR_RSV2 DW 1 Reserve 2 SMBHDR_P16_OFFSET DW 12 16 bit protecte...

Page 115: ...RM_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...

Page 116: ...rmation word WORD SMBHDR_RSV1 Reserve 1 WORD SMBHDR_R_OFFSET Real mode offset WORD SMBHDR_R_SEGMENT Real mode segment WORD SMBHDR_RSV2 Reserve 2 WORD SMBHDR_P16_OFFSET 16 bit Protect mode offset DWORD...

Page 117: ...ORD 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 SMB...

Page 118: ...Function Declaration C Language Smapi BIOS function typedef WORD far SMB PINPARM POUTPARM A 56 ThinkPad 560Z SMAPI BIOS...

Page 119: ...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 Total Check Count mov eax BMS Target Strings cmp eax dw...

Page 120: ...f 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...

Page 121: ...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_SEGMEN...

Page 122: ...SMBHDR_SIG 2 M MyPtr SMBHDR_SIG 3 B MyPtr 2 Find the Signature if cnt x1 We cannot find it return FALSE else 3 Calculate Checksum for cnt cnt MyPtr SMBHDR_LEN cnt cksum BYTE MyPtr SMBHDR_SIG cnt if c...

Page 123: ...arameter Field mov al SMB_GET_SYSID mov bx Func al mov ax offset OutputParm push ax mov ax offset InputParm push ax call _SmapiBios add sp 4 Get information from Output Parm or ax ax jnz Error mov bx...

Page 124: ...InputParm mov al SMB_GET_SYSID mov ebx Func al mov eax offset OutputParm push eax mov eax offset InputParm push eax call _SmapiBios add sp 8 Get information from Output Parm or ax ax jnz Error mov ebx...

Page 125: ...Output 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 interf...

Page 126: ...A 64 ThinkPad 560Z SMAPI BIOS...

Page 127: ...nge any of the intellectual property rights of IBM may be used instead of the IBM product program or service The evaluation and verification of operation in conjunction with other products except thos...

Page 128: ...e trademarks of other companies as follows Pentium MMX ProShare LANDesk and ActionMedia are trademarks or registered trademarks of Intel Corporation in the U S and other countries Other company produc...

Page 129: ...rs 2 22 subsystem 1 3 compatibility hardware 2 31 configuration CRC bytes RT CMOS RAM 2 26 connectors external connector 2 9 hard disk drive 2 8 keyboard 2 4 mouse 2 4 PC Card 3 7 system board memory...

Page 130: ...et 2 27 IR subsystem 3 6 display 3 6 K key numbers 2 5 for the 84 key keyboard 2 5 for the 85 key keyboard 2 6 for the external numeric keypad 2 7 keyboard connector 2 4 ID 2 6 signals 2 4 keyboard au...

Page 131: ...l 1 4 system 2 27 POST cache test 2 2 error codes 2 32 POST continued memory errors 2 15 parity check 2 27 password 2 30 reset 2 29 ROM test 2 14 power cable 1 8 loss 2 22 power supply 1 10 battery pa...

Page 132: ...uencing output voltage 1 11 serial controller port 1 4 shutdown status byte RT CMOS RAM configuration 2 23 size specifications 1 8 SMAPI assembler sample A 7 BIOS call A 61 C language sample A 8 calli...

Page 133: ...em 1 3 interrupt controller 1 4 keyboard auxiliary device controller 1 4 microprocessor 1 3 parallel controller port 1 4 PC Card slots 1 4 RAM subsystem 1 3 serial controller port 1 4 system timers 1...

Page 134: ...IBM Part Number xxxxxxx Printed in the United States of America...

Reviews: