Installation Check
Assembler Language: Real Mode
;
;
FindSmapi
; -----------
;
;
On Entry : None
;
On Exit
: CF = ð .. Find out
;
DX - Segment
;
BX - Pointer to header
;
;
CF = 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, dword ptr ds:[bx].@SMBHDR_SIG
je
short @f
add
bx, 1ðh
; Next paragraph
loop
@b
stc
jmp
short FindSmapiFin
B-58 SMAPI BIOS
Summary of Contents for ThinkPad 770
Page 1: ...05L1739 S05L 1739 00...
Page 6: ...vi...
Page 10: ...x Preface...
Page 148: ...IBM Part Number 05L1739 Printed in the United States of America...