06J0536S76H-7587-01
DescriptionThe IBM Personal System/2 Hardware Interface Technical Referencedescribes devices common to the PS/2* AT-bus system family.The IBM Thin
Set System Event 1 Condition Input FieldMajor Function Number - 31hMinor Function Number - ð1hParameter 1 - ReservedParameter 2 - Condition for har
Get System Event 2 Condition Input FieldMajor Function Number - 32hMinor Function Number - ððhParameter 1 - ReservedParameter 2 - System timer expi
Set System Event 2 Condition Input FieldMajor Function Number - 32hMinor Function Number - ð1hParameter 1 - ReservedParameter 2 - Condition for Sys
Get System Timer Input FieldMajor Function Number - 32hMinor Function Number - ð2hParameter 1 - ReservedParameter 2 - (Bit 15- 8) Power mode Select
Set System Timer Input FieldMajor Function Number - 32hMinor Function Number - ð3hParameter 1 - ReservedParameter 2 - (Bit 15- 8) Power mode Select
Get Standby Timer Input FieldMajor Function Number - 32hMinor Function Number - ð4hParameter 1 - ReservedParameter 2 - (Bit 15- 8) Power mode Selec
Set Standby Timer Input FieldMajor Function Number - 32hMinor Function Number - ð5hParameter 1 - ReservedParameter 2 - (Bit 15- 8) Power mode Selec
Get Hibernation Timer Input FieldMajor Function Number - 32hMinor Function Number - ð6hParameter 1 - ReservedParameter 2 - ReservedParameter 3 - Re
Set Hibernation Timer Input FieldMajor Function Number - 32hMinor Function Number - ð7hParameter 1 - ReservedParameter 2 - (Bit 15- 8) Reserved(Bit
Get System Event 3 Condition Input FieldMajor Function Number - 33hMinor Function Number - ððhParameter 1 - ReservedParameter 2 - ReservedParameter
System Board Devices and FeaturesFigure 1-2 lists the system board devices and their features. TheIBM Personal System/2 Hardware Interface Technica
Set System Event 3 Condition Input FieldMajor Function Number - 33hMinor Function Number - ð1hParameter 1 - ReservedParameter 2 - (Bit 15- 8) Reser
Get System Resume Condition Input FieldMajor Function Number - 34hMinor Function Number - ððhParameter 1 - ReservedParameter 2 - ReservedParameter
Set System Resume Condition Input FieldMajor Function Number - 34hMinor Function Number - ð1hParameter 1 - ReservedParameter 2 - Condition for resu
Get System Resume Timer Input FieldMajor Function Number - 34hMinor Function Number - ð2hParameter 1 - ReservedParameter 2 - ReservedParameter 3 -
Set System Resume Timer Input FieldMajor Function Number - 34hMinor Function Number - ð3hParameter 1 - ReservedParameter 2 - ReservedParameter 3 -
Request System Standby Input FieldMajor Function Number - 7ðhMinor Function Number - ððhParameter 1 - ReservedParameter 2 - ReservedParameter 3 - R
Request System Hibernation Input FieldMajor Function Number - 7ðhMinor Function Number - ð2hParameter 1 - ReservedParameter 2 - ReservedParameter 3
Samples Data Structure Assembler Language ;; Smapi BIOS Header ; SMB_HEADER STRUC@SMBHDR_SIG DB 4 dup (?); +ðð - Signature @SMBHDR_VER DB ?; +ð4
Parameters ; ;Input Parameter ; SMB_INPARM STRUC @SMBIN_FUNC DB ? @SMBIN_SUB_FUNC DB ? @SMBIN_PARM_1 DW ? @SMBIN_PARM_2 DW ? @SMBIN_PARM_3 D
C Language //// SMAPI BIOS Header //typedef struct {BYTE SMBHDR_SIG[4] ; // SignatureBYTE SMBHDR_VER ; // Major VersionBYTE SMBHDR_VER_VER ; // Mi
Figure 1-2 (Part 2 of 3). System Board Devices and FeaturesDevice Type FeaturesVideo subsystem – SVGA video functions:ThinkPad 560: Up to 256
Parameters //// Input Parameter //typedef struct { BYTE SMBIN_FUNC ; BYTE SMBIN_SUB_FUNC ;WORD SMBIN_PARM_1 ;WORD SMBIN_PARM_2 ;WORD SMBIN_P
Function Declaration C Language //// Smapi BIOS function //typedef WORD (far \ SMB)(PINPARM, POUTPARM) ;ThinkPad 560/560E SMAPI BIOS A-57
Installation CheckAssembler Language: Real Mode ; ; FindSmapi ; ----------- ;; On Entry : None; On Exit : CF = ð .. Find out; DX - Segment; BX
@@: ; Find Smapi Head mov dx, BIOS_SEG; Calculate Checksum.. next.pushf ; Save Direction flagcld ; Clear it mov si, bx xor ax, axmovzx cx,byte p
C Languagetypedef struct {BYTE SMBHDR_SIG[4] ; // SignatureBYTE SMBHDR_VER ; // Major VersionBYTE SMBHDR_VER_VER ; // Minor VersionBYTE SMBHDR_LEN
BOOLEAN GetSmapiEntry(PSMB pFunc){PFSMB_HEADER_REAL MyPtr = ðxFððððððð ;WORD cnt = ð ;BYTE cksum = ð ; //// 1) Search for signature first //while((
BIOS CallAssembler Language: 16-Bit Protected Mode ;; Build Input Parameter Field ; mov al, SMB_GET_SYSID mov [bx].@Func, almov ax, offset Outp
32-Bit Protected Mode ;; Build Input Parameter Field ;mov ebx, offset InputParm mov al, SMB_GET_SYSID mov [ebx].@Func, almov eax, offset OutputPa
C LanguageWORD GetSystemID(){ SMB SmapiEntry ; INPARM MyInput ; OUTPARM MyOutput ;WORD Rc = -1 ;if (GetSmapiEntry(&SmapiEntry)) {MyInput.S
Appendix B. NoticesReferences in this publication to IBM products, programs, or servicesdo not imply that IBM intends to make these available in a
Figure 1-2 (Part 3 of 3). System Board Devices and FeaturesDevice Type FeaturesAudio subsystem – Sound Blaster**-Pro compatibleInfrared subsys
TrademarksThe following terms, denoted by an asterisk (*) in this publication, aretrademarks of the IBM Corporation in the United States or otherc
IndexAacoustical readings,specifications 1-10address 20 gate 2-28address and NMI mask register,RT/CMOS 2-17address mapRT/CMOS RAM 2-16system boa
DSTN LCD (dual-scan supertwistednematic liquid crystal display) 3-2EEEPROM subsystem 1-3electrical specifications 1-9electromagnetic compatibility,
microprocessor (continued)cache memory operation 2-2mode switch compatibility 2-28performance 1-8real address mode 2-28specifications 1-3, 1-8mod
registers (continued)status 2-19, 2-20, 2-21reserved bytes, RT/CMOS RAMconfiguration 2-25reset, alternative method 2-28ROM (read-only memory) 2-13
specifications (continued)heat output 1-9humidity 1-9maximum altitude 1-9microprocessor 1-8PCMCIA 3-7performance 1-8refresh rate 1-8size 1-9we
IBMPart Number: 06J0536Printed in the United States of America
System Board I/O Address MapFigure 1-3 shows the I/O address map.Figure 1-3 (Part 1 of 2). System Board I/O Address MapAddress (Hex) Device000
Figure 1-3 (Part 2 of 2). System Board I/O Address MapAddress (Hex) Device03B4, 03B5, 03BA Video subsystem03BC–03BE Parallel port 103C0–03C5 V
SpecificationsFigure 1-4 to Figure 1-7 on page 1-10 list the specifications for thecomputer. Performance SpecificationsFigure 1-4. Performance Spe
Physical SpecificationsFigure 1-5. Physical Specifications for the ThinkPad 560/560ESize Width: 297 mm (11.7 in.)Depth: 222 mm (8.7 in.)Height: 31
Electrical SpecificationsFigure 1-6. Electrical Specifications for the ThinkPad 560/560E (35 W)Input Voltageñ(V ac)100–240Frequency (Hz) 50/60Inpu
Power SupplyThe power supply converts the ac voltage to dc voltage and providespower for the following: System board set Diskette drive Hard
Note Before using this information and the product it supports, be sure to read thegeneral information under “Notices” on page B-1.Second Edition
Output ProtectionA short circuit placed on any dc output (between outputs or betweenan output and a dc return) latches all dc outputs into a shutd
Battery PackThe ThinkPad computer uses a lithium-ion (Li-Ion) battery pack thatmeets the following electrical specifications:Figure 1-10. Battery
1-14 ThinkPad 560/560E System Overview
Section 2. System BoardDescription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2Microprocessor . . . . . . . . . . . . . . . .
DescriptionThis section describes the microprocessor, connectors, memorysubsystems, and miscellaneous system functions and ports for theThinkPad c
When the microprocessor performs a memory read, the data addressis used to find the data in the cache. If the data is found (a hit), it isread from
Keyboard/Mouse ConnectorEach ThinkPad computer has a keyboard/mouse connector wherethe IBM mouse, keyboard, or numeric keypad is connected. Signal
Scan CodesFigure 2-3 shows the key numbers assigned to keys on the 84-keykeyboard (for the U.S. and Japan). Figure 2-4 on page 2-6 showsthe key nu
110124125126758085112113114115116117 118 119120121122 123 76 818612345678910 111213151617181920212223 242526272830 3132333435 3637383940 4146474849
Figure 2-5 shows the key numbers assigned to keys on the externalnumeric keypad. For scan codes assigned to each numbered key,refer to the IBM Pers
ContentsFigures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vTables . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hard Disk Drive ConnectorThe hard disk drive is connected to the system board. The followingshows the pin assignments for the connector on the syst
External ConnectorThe Port Replicator is connected through the 100-pin externalconnector at the bottom of the computer. This connector is installe
Figure 2-7 (Part 2 of 2). 100-Pin External Connector Pin AssignmentsPin Signal Type Pin Signal Type23 GND G 73 GND G24 NC – 74 SAFE5V W25 Mous
Diskette Drive and ControllerFigure 2-8 shows the read, write, and format capabilities of thediskette drive for the ThinkPad computer.Figure 2-8. D
Diskette Drive ConnectorThe external diskette drive is connected through the diskette driveconnector, located on the left side of the computer. Fig
MemoryThe ThinkPad computers use the following types of memory: Read-only memory (ROM) Random access memory (RAM) Real-time clock/complementary
System Memory MapMemory is mapped by the memory controller registers.Figure 2-10 shows the memory map for a correctly functioningsystem. Memory can
Figure 2-11. DIMM Connector Pin AssignmentsPin Signal Pin Signal Pin Signal1 Ground 49 MD42 97 MD252 Ground 50 MD21 98 MD383 MD15 51 MD41 99 MD244
RT/CMOS RAMThe RT/CMOS RAM (real-time clock/complementary metal-oxidesemiconductor RAM) module contains the real-time clock and 128bytes of CMOS R
RT/CMOS Address and NMI Mask Register (Hex 0070)The NMI mask register is used with the RT/CMOS data register (hex0071) to read from and write to th
System Control Port B (Hex 0061) ... 2-27System Control Port A (Hex 0092) ... 2-28Power-On Password . . . . . . . . . . .
RT/CMOS RAM I/O OperationsDuring I/O operations to the RT/CMOS RAM addresses, you shouldmask interrupts to prevent other interrupt routines from ch
Real-Time Clock Bytes (Hex 000–00D): Bit definitions andaddresses for the real-time clock bytes are shown in Figure 2-15.Figure 2-15. Real-Time Cl
square-wave output frequency and a976.562-microsecond periodic interrupt rate.Status Register B (Hex 00B)Figure 2-17. Status Register B (Hex 00B)
Bit 0 When set to 1, this bit enables the daylight-saving-timemode. When set to 0, this bit disables thedaylight-saving-time mode, and the clock re
CMOS RAM ConfigurationFigure 2-20 shows the bit definitions for the CMOS RAMconfiguration bytes.Diagnostic Status Byte (Hex 00E)Figure 2-20. Diagno
Diskette Drive Type Byte (Hex 010): This byte indicates the typeof the installed diskette drive.Figure 2-21. Diskette Drive Type Byte (Hex 010) B
Hard Disk Drive Type Byte (Hex 012): This byte defines the typeof hard disk drive installed. Hex 00 indicates that no hard disk driveis installed.
Bits 3–2 These bits are reserved.Bit 1 When set to 1, this bit indicates that a coprocessor isinstalled.Bit 0 When set to 1, this bit indicates tha
Miscellaneous System Functions and PortsThis section provides information about nonmaskable interrupts(NMIs), the power-on password, and hardware c
System Control Port B (Hex 0061)Bit definitions for the write and read functions of this port are shownin the following figures:Figure 2-30. System
Figures1-1. Model and Submodel Bytes ... 1-21-2. System Board Devices and Features ... 1-31-3. System Board I/O Address Map .
System Control Port A (Hex 0092)Figure 2-32. System Control Port A (Hex 0092) Bit Function7–3 Reserved2 Reserved (must be set to 0)1 Alternate gat
If you do not follow this procedure, the results areunpredictable.Note: Whenever possible, use BIOS as an interface toreset the system microproces
Attention When changing your startup sequence, you must be extremelycareful when doing write operations (such as copying, saving, orformatting).
The parallel printer ports (Parallel 1, Parallel 2, and Parallel 3) incompatibility mode. Error CodesPOST returns a three or more character code
Figure 2-33 (Part 2 of 2). Error CodesErrorCodeDescription601 Diskette drive or controller error.602 No valid boot record on diskette.604 Inva
Section 3. SubsystemsVideo Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2Video Modes . . . . . . . . . . . . . . . . . . .
Video SubsystemThe video subsystem consists of the SVGA video controller andvideo random-access memory. The video subsystem supports TFTand DSTN d
ThinkPad 560E Displaying output on the LCD or both on the LCD and monitor:Resolution Supported Color Depth640×480 256, 65536, and 16777216800×600
Expanded Size(to 800×600)800×600800×525800×600800×600800×525800×600800×600800×600800×525800×600800×600800×600800×525800×525800×600800×600800×60080
Expanded Size(to 800×600)––––––––– Pels800×6001024×7681280×1024640×480640×480640×480800×600800×6001024×768 Maxi-mumPages111111111 BoxSize––––––––
2-31. System Control Port B (Hex 0061, Read) ... 2-272-32. System Control Port A (Hex 0092) ... 2-282-33. Error Codes . . . . . . . .
Audio SubsystemSound Blaster Support FunctionThe Sound Blaster support function provides three system settings:I/O address, IRQ level, and DMA cha
Infrared (IR) SubsystemThe IR subsystem of ThinkPad 560 is designed to be compatiblewith the IrDA** Serial Infrared Physical Layer Link Specificati
Figure 3-1. PCMCIA Standards and SpecificationsStandards and Specifications CharacteristicsPCMCIA Card Standard Release 2.0 or 2.1PCMCIA Socket Ser
Pin AssignmentsFigure 3-2 shows the pin assignments for the PCMCIA slots.Figure 3-2. PCMCIA PC Card Slot Pin AssignmentsPin Signal Pin Signal1 Gro
3-10 ThinkPad 560/560E Subsystems
Appendix A. System Management API(SMAPI) BIOS OverviewWhat is SMAPI BIOS? ... A-3Header Image . . . . . . . . . . . . . . . .
Get Hibernation Timer ... A-43Set Hibernation Timer ... A-44Get System Event 3 Condition ... A-45S
What is SMAPI BIOS?The ThinkPad Basic Input/Output System (BIOS) provides a specialsoftware interface, called the System Management ApplicationProg
Header ImageSystems that support SMAPI BIOS must provide the following headerimage in the F000 segment system ROM area at the 16-byteboundary. The
Information WordThis area identifies the BIOS service level definedbelow.Information WordBit ð : Real/V86 mode interface supportBit 1 : 16-bit prot
PrefaceThis technical reference contains hardware and software interfaceinformation specific to the IBM* ThinkPad* 560/560E computer. Thistechnica
Calling ConventionThe client can invoke the SMAPI BIOS with a far-call to the entrypoint that is specified in the header file. All parameters for
Sample in Assembler Language ;; Input Parameter Structure ; SMB_INPARM STRUC @SMBIN_FUNC DB ? @SMBIN_SUB_FUNC DB ? @SMBIN_PARM_1 DW ? @SMBIN_P
Sample in C Language //// Input Parameter Structure //typedef struct {BYTE SMBIN_FUNC ; BYTE SMBIN_SUB_FUNC ; WORD SMBIN_PARM_1 ; WORD SMBIN_P
Calling Convention Pseudo CodeThe following describes the calling convention using pseudo code. Assembler Language InputParm SMB_INPARM < >
C Languagetypedef WORD (far \ SMB)(FPINPARM, FPOUTPARM) ; SMB SmapiBios ; INPARM InputParm ; OUTPARM OutputParm ; WORD RC ;RC = SmapiBios(&am
Return CodesThe following return codes are stored in both the AL (AX) registerand the return code field of the output parameter.ððh No Error53h S
Function DescriptionSystem Information ServiceGet System Identification Input FieldMajor Function Number - ððhMinor Function Number - ððhParameter
Get CPU Information Input FieldMajor Function Number - ððhMinor Function Number - ð1hParameter 1 - ReservedParameter 2 - ReservedParameter 3 - Rese
Get Display Device Information Input FieldMajor Function Number - ððhMinor Function Number - ð2hParameter 1 - (Bit 8 ) LCD information(Bit 9 ) Exte
Get Slave Micro Control Unit Information Input FieldMajor Function Number - ððhMinor Function Number - ð6hParameter 1 - ReservedParameter 2 - Reser
Attention The term Reserved describes certain signals, bits, and registersthat should not be changed. Use of reserved areas can causecompatibilit
Get System Sensor Status Input FieldMajor Function Number - ððhMinor Function Number - ð7hParameter 1 - ReservedParameter 2 - ReservedParameter 3 -
Get Video Information Input FieldMajor Function Number - ððhMinor Function Number - ð8hParameter 1 - ReservedParameter 2 - ReservedParameter 3 - Re
Get Refresh Rate Capability Input FieldMajor Function Number - ððhMinor Function Number - ð9hParameter 1 - ReservedParameter 2 - mode= ððxxh - VGA
Output FieldReturn Code - Error StatusAuxiliary Return Code - ReservedParameter 1 - ReservedParameter 2 - Refresh rate capability for specified m
System Configuration ServiceGet Display Device State Input FieldMajor Function Number - 1ðhMinor Function Number - ððhParameter 1 - ReservedParamet
Output FieldReturn Code - Error StatusAuxiliary Return Code - ReservedParameter 1 - Display Device Function Capability(Bit ð) Display Function Typ
Set Display Device State Input FieldMajor Function Number - 1ðhMinor Function Number - ð1hParameter 1 - ReservedParameter 2 - Request display statu
Get Pointing Device State Input FieldMajor Function Number - 11hMinor Function Number - ð2hParameter 1 - ReservedParameter 2 - (Bit 15- 8) Request
Set Pointing Device State Input FieldMajor Function Number - 11hMinor Function Number - ð3hParameter 1 - ReservedParameter 2 - (Bit 15- 8)Pointing
Get Hotkey Sticky/Lock Input FieldMajor Function Number - 13hMinor Function Number - ð2hParameter 1 - ReservedParameter 2 - ReservedParameter 3 - R
Section 1. System OverviewDescription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2System Board Devices and Features ...
Set Hotkey Sticky/Lock Support Input FieldMajor Function Number - 13hMinor Function Number - ð3hParameter 1 - ReservedParameter 2 - (Bit 15- 8) Res
Power Management ServiceGet Power Management Mode (BL=00h) Input FieldMajor Function Number - 22hMinor Function Number - ððhParameter 1 - ReservedP
Set Power Management Mode Input FieldMajor Function Number - 22hMinor Function Number - ð1hParameter 1 - ReservedParameter 2 - (Bit 15- 8) Power ma
Get Timer Control Input FieldMajor Function Number - 22hMinor Function Number - ð2hParameter 1 - ReservedParameter 2 - ReservedParameter 3 - Reserv
Output FieldReturn Code - Error StatusAuxiliary Return Code - ReservedParameter 1 - ReservedParameter 2 - (Bit 15- 8) Capability of Timer ControlB
Set Timer Control Input FieldMajor Function Number - 22hMinor Function Number - ð3hParameter 1 - ReservedParameter 2 - (Bit 15- 8) Reserved(Bit 7-
Event Bit DefinitionBit 2-ð - ReservedBit 3 - StandbyBit 4 - SuspendBit 5 - RediSafeBit 6 - HibernationBit 7 - Power offNote: If bits are duplicat
Get System Event Global Condition Input FieldMajor Function Number - 3ðhMinor Function Number - ððhParameter 1 - ReservedParameter 2 - ReservedPara
Set System Event Global Condition Input FieldMajor Function Number - 3ðhMinor Function Number - ð1hParameter 1 - ReservedParameter 2 - (Bit 15- 8)
Get System Event 1 Condition Input FieldMajor Function Number - 31hMinor Function Number - ððhParameter 1 - ReservedParameter 2 - ReservedParameter
Commentaires sur ces manuels