IBM 560E manual Samples, Data Structure

Models: 560 560E

1 136
Download 136 pages 62.52 Kb
Page 117
Image 117

Samples

Data Structure

Assembler Language

;

;Smapi BIOS Header

SMB_HEADERSTRUC

@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

Page 117
Image 117
IBM 560E manual Samples, Data Structure