IBM 560 Computer Monitor User Manual


 
Appendix A. System Management API
(SMAPI) BIOS Overview
What is SMAPI BIOS? ........................ A-3
Header Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4
Calling Convention . . . . . . . . . . . . . . . . . . . . . . . . . . A-6
Parameter Structure . . . . . . . . . . . . . . . . . . . . . . . A-6
Sample in Assembler Language ............... A-7
Sample in C Language .................... A-8
Calling Convention Pseudo Code ................ A-9
Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-11
Function Description . . . . . . . . . . . . . . . . . . . . . . . . A-12
System Information Service .................. A-12
Get System Identification .................. A-12
Get CPU Information .................... A-13
Get Display Device Information .............. A-14
Get Slave Micro Control Unit Information ......... A-15
Get System Sensor Status ................. A-16
Get Video Information .................... A-17
Get Refresh Rate Capability ................ A-18
System Configuration Service ................. A-20
Get Display Device State .................. A-20
Set Display Device State .................. A-22
Get Pointing Device State .................. A-23
Set Pointing Device State .................. A-24
Get Hotkey Sticky/Lock ................... A-25
Set Hotkey Sticky/Lock Support .............. A-26
Power Management Service .................. A-27
Get Power Management Mode (BL=00h) ......... A-27
Set Power Management Mode ............... A-28
Get Timer Control ...................... A-29
Set Timer Control ...................... A-31
Event Bit Definition ....................... A-32
Get System Event Global Condition ............ A-33
Set System Event Global Condition ............ A-34
Get System Event 1 Condition ............... A-35
Set System Event 1 Condition ............... A-36
Get System Event 2 Condition ............... A-37
Set System Event 2 Condition ............... A-38
Get System Timer ...................... A-39
Set System Timer ...................... A-40
Get Standby Timer ...................... A-41
Set Standby Timer ...................... A-42
Copyright IBM Corp. 1996, 1997 A-1