Rev 5967 | Rev 6030 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5967 | Rev 5983 | ||
---|---|---|---|
Line 239... | Line 239... | ||
239 | and does not make any operations at all. If it is really required |
239 | and does not make any operations at all. If it is really required |
240 | to transfer control to the next process (to complete a current |
240 | to transfer control to the next process (to complete a current |
241 | time slice), use subfunction 1 of function 68. |
241 | time slice), use subfunction 1 of function 68. |
Line 242... | Line 242... | ||
242 | 242 | ||
243 | ====================================================================== |
- | |
244 | ============== Function 6 - read the file from ramdisk. ============== |
- | |
245 | ====================================================================== |
- | |
246 | Parameters: |
- | |
247 | * eax = 6 - function number |
- | |
248 | * ebx = pointer to the filename |
- | |
249 | * ecx = number of start block, beginning from 1; |
- | |
250 | ecx=0 - read from the beginning of the file (same as ecx=1) |
- | |
251 | * edx = number of blocks to read; |
- | |
252 | edx=0 - read one block (same as edx=1) |
- | |
253 | * esi = pointer to memory area for the data |
- | |
254 | Returned value: |
- | |
255 | * eax = file size in bytes, if the file was successfully read |
- | |
256 | * eax = -1, if the file was not found |
- | |
257 | Remarks: |
- | |
258 | * This function is out-of-date; function 70 allows |
- | |
259 | to fulfil the same operations with the extended possibilities. |
- | |
260 | * Block = 512 bytes. |
- | |
261 | * For reading all file you can specify the certainly large value |
- | |
262 | in edx, for example, edx = -1; but in this case be ready that |
- | |
263 | the program will "fall", if the file will appear too large and can |
- | |
264 | not be placed in the program memory. |
- | |
265 | * The filename must be either in the format 8+3 characters |
- | |
266 | (first 8 characters - name itself, last 3 - extension, |
- | |
267 | the short names and extensions are supplemented with spaces), |
- | |
268 | or in the format 8.3 characters "FILE.EXT"/"FILE.EX " |
- | |
269 | (name no more than 8 characters, dot, extension 3 characters |
- | |
270 | supplemented if necessary by spaces). |
- | |
271 | The filename must be written with capital letters. The terminating |
- | |
272 | character with code 0 is not necessary (not ASCIIZ-string). |
- | |
273 | * This function does not support folders on the ramdisk. |
- | |
274 | - | ||
275 | ====================================================================== |
243 | ====================================================================== |
276 | =============== Function 7 - draw image in the window. =============== |
244 | =============== Function 7 - draw image in the window. =============== |
277 | ====================================================================== |
245 | ====================================================================== |
278 | Paramters: |
246 | Paramters: |
279 | * eax = 7 - function number |
247 | * eax = 7 - function number |
Line 3159... | Line 3127... | ||
3159 | the corresponding bit in the exception mask with subfunction 25. |
3127 | the corresponding bit in the exception mask with subfunction 25. |
3160 | Also user handler is responsible for clearing exceptions flags in |
3128 | Also user handler is responsible for clearing exceptions flags in |
3161 | FPU and/or SSE. |
3129 | FPU and/or SSE. |
Line 3162... | Line 3130... | ||
3162 | 3130 | ||
3163 | ====================================================================== |
3131 | ====================================================================== |
3164 | ====== Function 68, subfunction 25 - set FPU exception handler. ====== |
3132 | ======== Function 68, subfunction 25 - set exception activity ======== |
3165 | ====================================================================== |
3133 | ====================================================================== |
3166 | Parameters: |
3134 | Parameters: |
3167 | * eax = 68 - function number |
3135 | * eax = 68 - function number |
3168 | * ebx = 25 - subfunction number |
3136 | * ebx = 25 - subfunction number |