BIOS Call

Assembler Language:

16-Bit Protected Mode

;

;Build Input Parameter Field

mov

al, SMB_GET_SYSID

mov

[bx].@Func, al

push

ds

mov

ax, offset OutputParm

push

ax

push

ds

mov

ax, offset InputParm

push

ax

call

_SmapiBios

add

sp, 8

;

;Get information from Output Parm

or

ax, ax

jnz

Error

mov

bx,

offset OutputParm

mov

al,

[bx].@Parm1

B-62

SMAPI BIOS

Page 138
Image 138
IBM 770 manual BIOS Call, B-62