Samples
Data Structure
Assembler Language
;
; Smapi BIOS Header
;
SMB_HEADER STRUC
@SMBHDR_SIG DB 4 dup (?)
; + - Signature
@SMBHDR_VER DB ?
; +4 - Major version
@SMBHDR_VER_VER DB ?
; +5 - Minor version
@SMBHDR_LEN DB ?
; +6 - Length
@SMBHDR_CHKSUM DB ?
; +7 - Checksum
@SMBHDR_INFO DW ?
; +8 - Information Word
@SMBHDR_RSV1 DW ?
; +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 protected mode offset
@SMBHDR_P16_BASE DD ?
; +14 - 16-bit protected mode base address
@SMBHDR_P32_OFFSET DD ?
; +18 - 32-bit protected mode offset
@SMBHDR_P32_BASE DD ?
; +1C - 32-bit protected mode base address
SMB_HEADER ENDS
ThinkPad 560/560E SMAPI BIOS A-53