Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 1065 → Rev 1066

/svarcom/trunk/cmd/ver.c
104,11 → 104,10
_asm {
push ax
push bx
push cx
push dx
 
mov ax, 0x3306 /* Get true DOS version number */
int 0x21 /* AL=maj_ver_num AH=min_ver_num BX,CX=OEM */
int 0x21 /* BL=maj_ver_num BH=min_ver_num DL=revision DH=kernel_memory_area */
mov [maj], bl
mov [min], bh
mov [rev], dl
115,7 → 114,6
mov [verflags], dh
 
pop dx
pop cx
pop bx
pop ax
}