Installation check – IBM 560 User Manual
Page 122
Advertising
![background image](/manuals/128462/122/background.png)
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
A-58
ThinkPad 560/560E SMAPI BIOS
Advertising