Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 1066 → Rev 1065

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