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 600
Page 1: ......
Page 6: ...vi...
Page 10: ...x Preface...
Page 58: ...2 36 System Board...
Page 72: ...3 14 Subsystems...
Page 76: ...A 4...
Page 142: ...C 2 SMAPI BIOS...