BIOS Call
Assembler Language: |
;
;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 |
| SMAPI BIOS |