Subversion Repositories Kolibri OS

Rev

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

Rev 760 Rev 766
Line 1749... Line 1749...
1749
Remarks:
1749
Remarks:
1750
  * If the buffer is too small to hold all data, only first (edx-1)
1750
  * If the buffer is too small to hold all data, only first (edx-1)
1751
    bytes are copied and than terminating 0 is inserted.
1751
    bytes are copied and than terminating 0 is inserted.
Line 1752... Line 1752...
1752
 
1752
 
1753
======================================================================
-
 
1754
=============== Function 32 - delete file from ramdisk. ==============
-
 
1755
======================================================================
-
 
1756
Parameters:
-
 
1757
  * eax = 32 - function number
-
 
1758
  * ebx = pointer to the filename
-
 
1759
Returned value:
-
 
1760
  * eax = 0 - success; otherwise file system error code
-
 
1761
Remarks:
-
 
1762
  * This function is obsolete; function 58 allows to fulfill
-
 
1763
    the same operations with the extended possibilities.
-
 
1764
  * The current implementation returns only values 0(success) and
-
 
1765
    5(file not found).
-
 
1766
  * The filename must be either in the format 8+3 characters
-
 
1767
    (first 8 characters - name itself, last 3 - extension,
-
 
1768
    the short names and extensions are supplemented with spaces),
-
 
1769
    or in the format 8.3 characters "FILE.EXT"/"FILE.EX "
-
 
1770
    (name no more than 8 characters, dot, extension 3 characters
-
 
1771
    supplemented if necessary by spaces).
-
 
1772
    The filename must be written with capital letters. The terminating
-
 
1773
    character with code 0 is not necessary (not ASCIIZ-string).
-
 
1774
  * This function does not support folders on the ramdisk.
-
 
1775
 
-
 
1776
======================================================================
-
 
1777
================ Function 33 - write file to ramdisk. ================
-
 
1778
======================================================================
-
 
1779
Parameters:
-
 
1780
  * eax = 33 - function number
-
 
1781
  * ebx = pointer to the filename
-
 
1782
  * ecx = pointer to data for writing
-
 
1783
  * edx = number of bytes for writing
-
 
1784
  * should be set esi=0
-
 
1785
Returned value:
-
 
1786
  * eax = 0 - success, otherwise file system error code
-
 
1787
Remarks:
-
 
1788
  * This function is obsolete; function 70 allows to fulfil
-
 
1789
    the same operations with extended possibilities.
-
 
1790
  * If esi contains non-zero value and selected file already exists,
-
 
1791
    one more file with the same name will be created.
-
 
1792
  * Otherwise file will be overwritten.
-
 
1793
  * The filename must be either in the format 8+3 characters
-
 
1794
    (first 8 characters - name itself, last 3 - extension,
-
 
1795
    the short names and extensions are supplemented with spaces),
-
 
1796
    or in the format 8.3 characters "FILE.EXT"/"FILE.EX "
-
 
1797
    (name no more than 8 characters, dot, extension 3 characters
-
 
1798
    supplemented if necessary by spaces).
-
 
1799
    The filename must be written with capital letters. The terminating
-
 
1800
    character with code 0 is not necessary (not ASCIIZ-string).
-
 
1801
  * This function does not support folders on the ramdisk.
-
 
1802
 
-
 
1803
======================================================================
1753
======================================================================
1804
======= Function 35 - read the color of a pixel on the screen. =======
1754
======= Function 35 - read the color of a pixel on the screen. =======
1805
======================================================================
1755
======================================================================
1806
Parameters:
1756
Parameters:
1807
  * eax = 35
1757
  * eax = 35