Subversion Repositories Kolibri OS

Rev

Rev 593 | Rev 758 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 593 Rev 628
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 593 $
8
$Revision: 628 $
9
 
9
 
10
 
10
 
Line 490... Line 490...
490
	and	dword [edi+4], 0
490
	and	dword [edi+4], 0
491
	pop	edi
491
	pop	edi
492
	xor	eax, eax
492
	xor	eax, eax
493
	ret
493
	ret
Line -... Line 494...
-
 
494
 
494
 
495
;----------------------------------------------------------------
495
cd_find_lfn:
496
cd_find_lfn:
496
       mov   [cd_appl_data],0
497
       mov   [cd_appl_data],0
497
; in: esi+ebp -> name
498
; in: esi+ebp -> name
498
; out: CF=1 - file not found
499
; out: CF=1 - file not found
499
;      else CF=0 and [cd_current_pointer_of_input] direntry
500
;      else CF=0 and [cd_current_pointer_of_input] direntry
500
	push eax esi
501
	push eax esi
501
; 16 ñåêòîð íà÷àëî íàáîðà äåñêðèïòîðîâ òîìîâ
502
; 16 ñåêòîð íà÷àëî íàáîðà äåñêðèïòîðîâ òîìîâ
502
	mov  [CDSectorAddress],dword 15
503
	mov  [CDSectorAddress],dword 15
-
 
504
       mov  [CDDataBuf_pointer],CDDataBuf
-
 
505
       
-
 
506
       call  WaitUnitReady
-
 
507
       cmp   [DevErrorCode],0
-
 
508
       jne   .access_denied
503
       mov  [CDDataBuf_pointer],CDDataBuf
509
       
504
       call  prevent_medium_removal
510
       call  prevent_medium_removal
505
.start:
511
.start:
506
	inc  dword [CDSectorAddress]
512
	inc  dword [CDSectorAddress]
507
       call  ReadCDWRetr    ;_1
513
       call  ReadCDWRetr    ;_1