32-Bit Protected Mode
;
;Build Input Parameter Field
mov | ebx, offset InputParm |
mov | al, SMB_GET_SYSID |
mov | [ebx].@Func, al |
push | ds |
mov | eax, offset OutputParm |
push | eax |
push | ds |
mov | eax, offset InputParm |
push | eax |
call | _SmapiBios |
add | sp, 16 |
;
;Get information from Output Parm
or | ax, | ax |
jnz | Error | |
mov | ebx, offset OutputParm | |
mov | ax, | [ebx].@Parm1 |