Removed dead code.

This commit is contained in:
n-a-c-h
2005-05-17 17:35:14 +00:00
parent c01d676e7a
commit bd4b1b70a8
3 changed files with 3 additions and 183 deletions

View File

@@ -453,45 +453,7 @@ NEWSYM Change_Single_Dir
int 21h int 21h
ret 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 NEWSYM Change_Dir
pushad pushad
mov ah,0Eh mov ah,0Eh
@@ -518,25 +480,6 @@ NEWSYM Change_Dir
stc stc
ret 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 NEWSYM Get_Dir
mov [DirName],ebx mov [DirName],ebx
pushad pushad

View File

@@ -488,36 +488,6 @@ NEWSYM Change_Single_Dir
stc stc
ret 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 NEWSYM Change_Dir
mov [CHPath],ebx mov [CHPath],ebx
cmp byte[ebx],0 cmp byte[ebx],0
@@ -1059,37 +1029,13 @@ NEWSYM Get_MouseData ; Returns both pressed and coordinates
mov bx,[WMouseButton] mov bx,[WMouseButton]
ret ret
NEWSYM Set_MouseXMax ; Sets the X boundaries (ecx = left, edx = right) NEWSYM Set_MouseXMax
;pushad
;push ecx
;call SetMouseMinX
;pop ecx
;push edx
;call SetMouseMaxX
;pop edx
;popad
ret ret
NEWSYM Set_MouseYMax ; Sets the Y boundaries (ecx = left, edx = right) NEWSYM Set_MouseYMax
;pushad
;push ecx
;call SetMouseMinY
;pop ecx
;push edx
;call SetMouseMaxY
;pop edx
;popad
ret ret
NEWSYM Set_MousePosition ; Sets Mouse Position (x:cx,y:dx) NEWSYM Set_MousePosition
;pushad
;push ecx
;call SetMouse
;pop ecx
;push edx
;call SetMouseY
;pop edx
;popad
ret ret
NEWSYM Get_MousePositionDisplacement NEWSYM Get_MousePositionDisplacement

View File

@@ -625,45 +625,6 @@ NEWSYM Change_Single_Dir
; int 21h ; int 21h
; ret ; 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 NEWSYM Change_Dir
pushad pushad
@@ -697,25 +658,6 @@ NEWSYM Change_Dir
stc stc
ret 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 NEWSYM Get_Dir
mov [DirName],ebx mov [DirName],ebx
pushad pushad
@@ -743,17 +685,6 @@ NEWSYM Get_Dir
mov [edx],al mov [edx],al
ret 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 NEWSYM Get_First_Entry
; cx = attributes, edx = pointer to wildcard ; cx = attributes, edx = pointer to wildcard
; returns : DTALoc+15h, bit 4 = Dir (1) or File (0) ; returns : DTALoc+15h, bit 4 = Dir (1) or File (0)