Removed dead code.
This commit is contained in:
@@ -453,45 +453,7 @@ NEWSYM Change_Single_Dir
|
||||
int 21h
|
||||
ret
|
||||
|
||||
NEWSYM Create_Dir
|
||||
; change to dir in edx
|
||||
mov [MKPath],edx
|
||||
pushad
|
||||
call ZFileMKDir
|
||||
or eax,eax
|
||||
jnz .notokay
|
||||
popad
|
||||
clc
|
||||
ret
|
||||
.notokay
|
||||
popad
|
||||
stc
|
||||
ret
|
||||
mov ah,39h
|
||||
int 21h
|
||||
ret
|
||||
|
||||
NEWSYM Remove_Dir
|
||||
; remove dir in edx
|
||||
mov [RMPath],edx
|
||||
pushad
|
||||
call ZFileRMDir
|
||||
or eax,eax
|
||||
jnz .notokay
|
||||
popad
|
||||
clc
|
||||
ret
|
||||
.notokay
|
||||
popad
|
||||
stc
|
||||
ret
|
||||
mov ah,3Ah
|
||||
int 21h
|
||||
ret
|
||||
|
||||
; mov dl,[LoadDrive]
|
||||
; mov ebx,LoadDir
|
||||
; call Change_Dir
|
||||
NEWSYM Change_Dir
|
||||
pushad
|
||||
mov ah,0Eh
|
||||
@@ -518,25 +480,6 @@ NEWSYM Change_Dir
|
||||
stc
|
||||
ret
|
||||
|
||||
; dl = drive, ebx = dir
|
||||
push ebx
|
||||
mov ah,0Eh
|
||||
int 21h
|
||||
mov ah,3Bh
|
||||
mov edx,gotoroot
|
||||
int 21h
|
||||
pop ebx
|
||||
mov edx,ebx
|
||||
cmp byte[edx],0
|
||||
je .nodir
|
||||
mov ah,3Bh
|
||||
int 21h
|
||||
.nodir
|
||||
ret
|
||||
|
||||
; mov ebx,LoadDir
|
||||
; mov edx,LoadDrive
|
||||
; call Get_Dir
|
||||
NEWSYM Get_Dir
|
||||
mov [DirName],ebx
|
||||
pushad
|
||||
|
||||
@@ -488,36 +488,6 @@ NEWSYM Change_Single_Dir
|
||||
stc
|
||||
ret
|
||||
|
||||
NEWSYM Create_Dir
|
||||
; change to dir in edx
|
||||
mov [MKPath],edx
|
||||
pushad
|
||||
call ZFileMKDir
|
||||
or eax,eax
|
||||
jnz .notokay
|
||||
popad
|
||||
clc
|
||||
ret
|
||||
.notokay
|
||||
popad
|
||||
stc
|
||||
ret
|
||||
|
||||
NEWSYM Remove_Dir
|
||||
; remove dir in edx
|
||||
mov [RMPath],edx
|
||||
pushad
|
||||
call ZFileRMDir
|
||||
or eax,eax
|
||||
jnz .notokay
|
||||
popad
|
||||
clc
|
||||
ret
|
||||
.notokay
|
||||
popad
|
||||
stc
|
||||
ret
|
||||
|
||||
NEWSYM Change_Dir
|
||||
mov [CHPath],ebx
|
||||
cmp byte[ebx],0
|
||||
@@ -1059,37 +1029,13 @@ NEWSYM Get_MouseData ; Returns both pressed and coordinates
|
||||
mov bx,[WMouseButton]
|
||||
ret
|
||||
|
||||
NEWSYM Set_MouseXMax ; Sets the X boundaries (ecx = left, edx = right)
|
||||
;pushad
|
||||
;push ecx
|
||||
;call SetMouseMinX
|
||||
;pop ecx
|
||||
;push edx
|
||||
;call SetMouseMaxX
|
||||
;pop edx
|
||||
;popad
|
||||
NEWSYM Set_MouseXMax
|
||||
ret
|
||||
|
||||
NEWSYM Set_MouseYMax ; Sets the Y boundaries (ecx = left, edx = right)
|
||||
;pushad
|
||||
;push ecx
|
||||
;call SetMouseMinY
|
||||
;pop ecx
|
||||
;push edx
|
||||
;call SetMouseMaxY
|
||||
;pop edx
|
||||
;popad
|
||||
NEWSYM Set_MouseYMax
|
||||
ret
|
||||
|
||||
NEWSYM Set_MousePosition ; Sets Mouse Position (x:cx,y:dx)
|
||||
;pushad
|
||||
;push ecx
|
||||
;call SetMouse
|
||||
;pop ecx
|
||||
;push edx
|
||||
;call SetMouseY
|
||||
;pop edx
|
||||
;popad
|
||||
NEWSYM Set_MousePosition
|
||||
ret
|
||||
|
||||
NEWSYM Get_MousePositionDisplacement
|
||||
|
||||
@@ -625,45 +625,6 @@ NEWSYM Change_Single_Dir
|
||||
; int 21h
|
||||
; ret
|
||||
|
||||
NEWSYM Create_Dir
|
||||
; change to dir in edx
|
||||
mov [MKPath],edx
|
||||
pushad
|
||||
call ZFileMKDir
|
||||
or eax,eax
|
||||
jnz .notokay
|
||||
popad
|
||||
clc
|
||||
ret
|
||||
.notokay
|
||||
popad
|
||||
stc
|
||||
ret
|
||||
; mov ah,39h
|
||||
; int 21h
|
||||
; ret
|
||||
|
||||
NEWSYM Remove_Dir
|
||||
; remove dir in edx
|
||||
mov [RMPath],edx
|
||||
pushad
|
||||
call ZFileRMDir
|
||||
or eax,eax
|
||||
jnz .notokay
|
||||
popad
|
||||
clc
|
||||
ret
|
||||
.notokay
|
||||
popad
|
||||
stc
|
||||
ret
|
||||
; mov ah,3Ah
|
||||
; int 21h
|
||||
; ret
|
||||
|
||||
; mov dl,[LoadDrive]
|
||||
; mov ebx,LoadDir
|
||||
; call Change_Dir
|
||||
NEWSYM Change_Dir
|
||||
pushad
|
||||
|
||||
@@ -697,25 +658,6 @@ NEWSYM Change_Dir
|
||||
stc
|
||||
ret
|
||||
|
||||
; dl = drive, ebx = dir
|
||||
; push ebx
|
||||
; mov ah,0Eh
|
||||
; int 21h
|
||||
; mov ah,3Bh
|
||||
; mov edx,gotoroot
|
||||
; int 21h
|
||||
; pop ebx
|
||||
; mov edx,ebx
|
||||
; cmp byte[edx],0
|
||||
; je .nodir
|
||||
; mov ah,3Bh
|
||||
; int 21h
|
||||
;.nodir
|
||||
; ret
|
||||
|
||||
; mov ebx,LoadDir
|
||||
; mov edx,LoadDrive
|
||||
; call Get_Dir
|
||||
NEWSYM Get_Dir
|
||||
mov [DirName],ebx
|
||||
pushad
|
||||
@@ -743,17 +685,6 @@ NEWSYM Get_Dir
|
||||
mov [edx],al
|
||||
ret
|
||||
|
||||
; push edx
|
||||
; mov ah,47h
|
||||
; mov dl,0
|
||||
; mov esi,ebx
|
||||
; int 21h
|
||||
; mov ah,19h
|
||||
; int 21h
|
||||
; pop edx
|
||||
; mov [edx],al
|
||||
; ret
|
||||
|
||||
NEWSYM Get_First_Entry
|
||||
; cx = attributes, edx = pointer to wildcard
|
||||
; returns : DTALoc+15h, bit 4 = Dir (1) or File (0)
|
||||
|
||||
Reference in New Issue
Block a user