IBM 600 User Manual

Page of 147
   
 
 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