Subversion Repositories Kolibri OS

Rev

Rev 425 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 425 Rev 431
Line 1... Line 1...
1
$Revision: 425 $
1
$Revision: 431 $
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
 
3
;;                                                              ;;
-
 
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
-
 
5
;; Distributed under terms of the GNU General Public License    ;;
3
;;                                                                 ;;
6
;;                                                              ;;
4
;;  FAT32.INC                                                      ;;
7
;;  FAT32.INC                                                   ;;
5
;;                                                                 ;;
8
;;                                                              ;;
6
;;  FAT16/32 functions for KolibriOS                               ;;
9
;;  FAT16/32 functions for KolibriOS                            ;;
7
;;                                                                 ;;
10
;;                                                              ;;
8
;;  Copyright 2002 Paolo Minazzi, paolo.minazzi@inwind.it          ;;
11
;;  Copyright 2002 Paolo Minazzi, paolo.minazzi@inwind.it       ;;
9
;;                                                                 ;;
12
;;                                                              ;;
10
;;  See file COPYING for details                                   ;;
13
;;  See file COPYING for details                                ;;
11
;;  04.02.2007 LFN create folder - diamond                         ;;
14
;;  04.02.2007 LFN create folder - diamond                      ;;
12
;;  08.10.2006 LFN delete file/folder - diamond                    ;;
15
;;  08.10.2006 LFN delete file/folder - diamond                 ;;
13
;;  20.08.2006 LFN set file size (truncate/extend) - diamond       ;;
16
;;  20.08.2006 LFN set file size (truncate/extend) - diamond    ;;
14
;;  17.08.2006 LFN write/append to file - diamond                  ;;
17
;;  17.08.2006 LFN write/append to file - diamond               ;;
15
;;  23.06.2006 LFN start application - diamond                     ;;
18
;;  23.06.2006 LFN start application - diamond                  ;;
16
;;  15.06.2006 LFN get/set file/folder info - diamond              ;;
19
;;  15.06.2006 LFN get/set file/folder info - diamond           ;;
17
;;  27.05.2006 LFN create/rewrite file - diamond                   ;;
20
;;  27.05.2006 LFN create/rewrite file - diamond                ;;
18
;;  04.05.2006 LFN read folder - diamond                           ;;
21
;;  04.05.2006 LFN read folder - diamond                        ;;
19
;;  29.04.2006 Elimination of hangup after the                     ;;
22
;;  29.04.2006 Elimination of hangup after the                  ;;
20
;;             expiration hd_wait_timeout -  Mario79               ;;
23
;;             expiration hd_wait_timeout -  Mario79            ;;
21
;;  23.04.2006 LFN read file - diamond                             ;;
24
;;  23.04.2006 LFN read file - diamond                          ;;
22
;;  28.01.2006 find all Fat16/32 partition in all input point      ;;
25
;;  28.01.2006 find all Fat16/32 partition in all input point   ;;
23
;;             to MBR, see file part_set.inc - Mario79             ;;
26
;;             to MBR, see file part_set.inc - Mario79          ;;
24
;;  15.01.2005 get file size/attr/date, file_append - ATV          ;;
27
;;  15.01.2005 get file size/attr/date, file_append - ATV       ;;
25
;;  04.12.2004 skip volume label, file delete bug fixed - ATV      ;;
28
;;  04.12.2004 skip volume label, file delete bug fixed - ATV   ;;
26
;;  29.11.2004 get_free_FAT changed, append dir bug fixed - ATV    ;;
29
;;  29.11.2004 get_free_FAT changed, append dir bug fixed - ATV ;;
27
;;  23.11.2004 don't allow overwrite dir with file - ATV           ;;
30
;;  23.11.2004 don't allow overwrite dir with file - ATV        ;;
28
;;  18.11.2004 get_disk_info and more error codes - ATV            ;;
31
;;  18.11.2004 get_disk_info and more error codes - ATV         ;;
29
;;  17.11.2004 set_FAT/get_FAT and disk cache rewritten - ATV      ;;
32
;;  17.11.2004 set_FAT/get_FAT and disk cache rewritten - ATV   ;;
30
;;  10.11.2004 removedir clear whole directory structure - ATV     ;;
33
;;  10.11.2004 removedir clear whole directory structure - ATV  ;;
31
;;  08.11.2004 rename - ATV                                        ;;
34
;;  08.11.2004 rename - ATV                                     ;;
32
;;  30.10.2004 file_read return also dirsize in bytes - ATV        ;;
35
;;  30.10.2004 file_read return also dirsize in bytes - ATV     ;;
33
;;  20.10.2004 Makedir/Removedir - ATV                             ;;
36
;;  20.10.2004 Makedir/Removedir - ATV                          ;;
34
;;  14.10.2004 Partition chain/Fat16 - ATV (thanks drh3xx)         ;;
37
;;  14.10.2004 Partition chain/Fat16 - ATV (thanks drh3xx)      ;;
35
;;  06.9.2004  Fix free space by Mario79 added - MH                ;;
38
;;  06.9.2004  Fix free space by Mario79 added - MH             ;;
36
;;  24.5.2004  Write back buffer for File_write -VT                ;;
39
;;  24.5.2004  Write back buffer for File_write -VT             ;;
37
;;  20.5.2004  File_read function to work with syscall 58 - VT     ;;
40
;;  20.5.2004  File_read function to work with syscall 58 - VT  ;;
38
;;  30.3.2004  Error parameters at function return - VT            ;;
41
;;  30.3.2004  Error parameters at function return - VT         ;;
39
;;  01.5.2002  Bugfix in device write - VT                         ;;
42
;;  01.5.2002  Bugfix in device write - VT                      ;;
40
;;  20.5.2002  Hd status check - VT                                ;;
43
;;  20.5.2002  Hd status check - VT                             ;;
41
;;  29.6.2002  Improved fat32 verification - VT                    ;;
44
;;  29.6.2002  Improved fat32 verification - VT                 ;;
42
;;                                                                 ;;
45
;;                                                              ;;
43
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
46
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 44... Line 47...
44
 
47
 
Line 45... Line 48...
45
cache_max equ 1919      ; max. is 1919*512+0x610000=0x6ffe00
48
cache_max equ 1919      ; max. is 1919*512+0x610000=0x6ffe00
46
 
49