More updates
This commit is contained in:
@@ -1612,22 +1612,6 @@ NEWSYM DosExit ; Terminate Program
|
|||||||
|
|
||||||
NEWSYM MMXCheck
|
NEWSYM MMXCheck
|
||||||
; Check for cpu that doesn't support CPUID
|
; Check for cpu that doesn't support CPUID
|
||||||
; mov edx,cpuidfname
|
|
||||||
; call Open_File
|
|
||||||
; jc .skipcheck
|
|
||||||
; mov bx,ax
|
|
||||||
; call Close_File
|
|
||||||
; jmp .nommx2
|
|
||||||
;.skipcheck
|
|
||||||
|
|
||||||
; Create file
|
|
||||||
; mov edx,cpuidfname
|
|
||||||
; call Create_File
|
|
||||||
; mov bx,ax
|
|
||||||
; call Close_File
|
|
||||||
|
|
||||||
; mov edx,cpuidtext
|
|
||||||
; call PrintStr
|
|
||||||
|
|
||||||
cmp byte[MMXSupport],0
|
cmp byte[MMXSupport],0
|
||||||
je .nommx
|
je .nommx
|
||||||
@@ -1649,21 +1633,12 @@ NEWSYM MMXCheck
|
|||||||
mov eax,1
|
mov eax,1
|
||||||
CPUID
|
CPUID
|
||||||
|
|
||||||
; push edx
|
|
||||||
; mov edx,cpuidtext2
|
|
||||||
; call PrintStr
|
|
||||||
; pop edx
|
|
||||||
|
|
||||||
test edx,1 << 23
|
test edx,1 << 23
|
||||||
jz .nommx
|
jz .nommx
|
||||||
mov byte[MMXSupport],1
|
mov byte[MMXSupport],1
|
||||||
mov edx,YesMMX
|
mov edx,YesMMX
|
||||||
call PrintStr
|
call PrintStr
|
||||||
.nommx
|
.nommx
|
||||||
; ; Delete file
|
|
||||||
; mov edx,cpuidfname
|
|
||||||
; call Delete_File
|
|
||||||
;.nommx2
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
NEWSYM UIAsmEnd
|
NEWSYM UIAsmEnd
|
||||||
|
|||||||
Reference in New Issue
Block a user