@@:
;
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
Содержание ThinkPad 600
Страница 1: ......
Страница 6: ...vi...
Страница 10: ...x Preface...
Страница 58: ...2 36 System Board...
Страница 72: ...3 14 Subsystems...
Страница 76: ...A 4...
Страница 133: ...Function Declaration C Language SMAPI BIOS function typedef WORD far SMB FPINPARM FPOUTPARM SMAPI BIOS B 57...
Страница 142: ...C 2 SMAPI BIOS...