Subversion Repositories Kolibri OS

Rev

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

Rev 1021 Rev 1504
Line 7... Line 7...
7
;; (C) 2004 Ville Turjanmaa, License: GPL                       ;;
7
;; (C) 2004 Ville Turjanmaa, License: GPL                       ;;
8
;; Addings by M.Lisovin                                         ;;
8
;; Addings by M.Lisovin                                         ;;
9
;; LFN support by diamond                                       ;;
9
;; LFN support by diamond                                       ;;
10
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
10
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 11... Line 11...
11
 
11
 
Line 12... Line 12...
12
$Revision: 1021 $
12
$Revision: 1504 $
Line 13... Line 13...
13
 
13
 
Line 409... Line 409...
409
; out: al=converted symbol
409
; out: al=converted symbol
410
	cmp	al, 'a'
410
	cmp	al, 'a'
411
	jb	.ret
411
	jb	.ret
412
	cmp	al, 'z'
412
	cmp	al, 'z'
413
	jbe	.az
413
	jbe	.az
-
 
414
        cmp     al, 'ñ'
-
 
415
        jz      .yo1
414
	cmp	al, ' '
416
	cmp	al, ' '
415
	jb	.ret
417
	jb	.ret
416
	cmp	al, 'à'
418
	cmp	al, 'à'
417
	jb	.rus1
419
	jb	.rus1
418
	cmp	al, 'ï'
420
	cmp	al, 'ï'
Line 424... Line 426...
424
.rus1:
426
.rus1:
425
; 0xA0-0xAF -> 0x80-0x8F
427
; 0xA0-0xAF -> 0x80-0x8F
426
.az:
428
.az:
427
	and	al, not 0x20
429
	and	al, not 0x20
428
	ret
430
	ret
-
 
431
.yo1:
-
 
432
; 0xF1 -> 0xF0
-
 
433
        dec     ax
-
 
434
        ret
Line 429... Line 435...
429
 
435
 
430
fat_get_name:
436
fat_get_name:
431
; in: edi->FAT entry
437
; in: edi->FAT entry
432
; out: CF=1 - no valid entry
438
; out: CF=1 - no valid entry