![background image](http://html1.mh-extra.com/html/ibm/thinkpad-600/thinkpad-600_reference-manual_3493243135.webp)
@@:
;
Find Smapi Head
mov
dx, BIOS_SEG
;
Calculate Checksum.. next.
pushf
; Save direction flag
cld
; Clear it
mov
si, bx
xor
ax, ax
movzx
cx,byte ptr ds:[bx].@SMBHDR_LEN
@@:
lodsb
add
ah, al
loop
@b
popf
; Restore Direction flags
cmp
ah, 1
; Checksum is OK?
cmc
FindSmapiFin:
pop
ds
pop
si
pop
cx
pop
eax
ret
FindSmapi
Endp
SMAPI BIOS
B-59
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...