Rev 549 | Rev 588 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 549 | Rev 585 | ||
---|---|---|---|
Line 4073... | Line 4073... | ||
4073 | * subfunction 8 - delete file/folder |
4073 | * subfunction 8 - delete file/folder |
4074 | * subfunction 9 - create folder |
4074 | * subfunction 9 - create folder |
4075 | For CD-drives due to hardware limitations only subfunctions |
4075 | For CD-drives due to hardware limitations only subfunctions |
4076 | 0,1,5 and 7 are available, other subfunctions return error |
4076 | 0,1,5 and 7 are available, other subfunctions return error |
4077 | with code 2. |
4077 | with code 2. |
- | 4078 | At the first call subfunctions 0,1,5,7 to devices ATAPI (CD and DVD) the locking |
|
- | 4079 | of handle mechanism of a tray is made. It is connected to algorithm of caching |
|
- | 4080 | given obtained from a drive. Deblocking is made by call subfunction 10 |
|
- | 4081 | to the appropriate device. |
|
Line 4078... | Line 4082... | ||
4078 | 4082 | ||
4079 | ====================================================================== |
4083 | ====================================================================== |
4080 | === Function 70, subfunction 0 - read file with long names support. == |
4084 | === Function 70, subfunction 0 - read file with long names support. == |
4081 | ====================================================================== |
4085 | ====================================================================== |
Line 4428... | Line 4432... | ||
4428 | * The function is not supported for CD (returns error code 2). |
4432 | * The function is not supported for CD (returns error code 2). |
4429 | * The parent folder must already exist. |
4433 | * The parent folder must already exist. |
4430 | * If target folder already exists, function returns success (eax=0). |
4434 | * If target folder already exists, function returns success (eax=0). |
Line 4431... | Line 4435... | ||
4431 | 4435 | ||
- | 4436 | ====================================================================== |
|
- | 4437 | ================ Function 70, subfunction 10 - eject tray of disk drive. ============== |
|
- | 4438 | ====================================================================== |
|
- | 4439 | Parameters: |
|
- | 4440 | * eax = 70 - function number |
|
- | 4441 | * ebx = pointer to the information structure |
|
- | 4442 | Format of the information structure: |
|
- | 4443 | * +0: dword: 10 = subfunction number |
|
- | 4444 | * +4: dword: 0 (reserved) |
|
- | 4445 | * +8: dword: 0 (reserved) |
|
- | 4446 | * +12 = +0xC: dword: 0 (reserved) |
|
- | 4447 | * +16 = +0x10: dword: 0 (reserved) |
|
- | 4448 | * +20 = +0x14: ASCIIZ-name of folder, the rules of names forming are |
|
- | 4449 | given in the general description |
|
- | 4450 | or |
|
- | 4451 | * +20 = +0x14: db 0 |
|
- | 4452 | * +21 = +0x15: dd pointer to ASCIIZ-string with folder name |
|
- | 4453 | Returned value: |
|
- | 4454 | * Nothing comes back. |
|
- | 4455 | Remarks: |
|
- | 4456 | * The function is supported only for ATAPI devices (CD and DVD). |
|
- | 4457 | * At extract of a tray is made deblocking of handle mechanism of a tray. |
|
- | 4458 | * At extract of a tray the code makes clearing the cache of the appropriate device. |
|
- | 4459 | * The path is standard for 70 functions. For serviceability it is possible to be limited to paths: |
|
- | 4460 | db '/cd0/1/',0 |
|
- | 4461 | db '/cd1/1/',0 |
|
- | 4462 | db '/cd2/1/',0 |
|
- | 4463 | db '/cd3/1/',0 |
|
- | 4464 | * An example of usage of the function is the application CD_tray. |
|
- | 4465 | ||
- | 4466 | ====================================================================== |
|
- | 4467 | ============== Function 70, subfunction 11 - load tray of disk drive. ================= |
|
- | 4468 | ====================================================================== |
|
- | 4469 | Parameters: |
|
- | 4470 | * eax = 70 - function number |
|
- | 4471 | * ebx = pointer to the information structure |
|
- | 4472 | Format of the information structure: |
|
- | 4473 | * +0: dword: 11 = subfunction number |
|
- | 4474 | * +4: dword: 0 (reserved) |
|
- | 4475 | * +8: dword: 0 (reserved) |
|
- | 4476 | * +12 = +0xC: dword: 0 (reserved) |
|
- | 4477 | * +16 = +0x10: dword: 0 (reserved) |
|
- | 4478 | * +20 = +0x14: ASCIIZ-name of folder, the rules of names forming are |
|
- | 4479 | given in the general description |
|
- | 4480 | or |
|
- | 4481 | * +20 = +0x14: db 0 |
|
- | 4482 | * +21 = +0x15: dd pointer to ASCIIZ-string with folder name |
|
- | 4483 | Returned value: |
|
- | 4484 | * Nothing comes back. |
|
- | 4485 | Remarks: |
|
- | 4486 | * The function is supported only for ATAPI devices (CD and DVD). |
|
- | 4487 | * The path is standard for 70 functions. For serviceability it is possible to be limited to paths: |
|
- | 4488 | db '/cd0/1/',0 |
|
- | 4489 | db '/cd1/1/',0 |
|
- | 4490 | db '/cd2/1/',0 |
|
- | 4491 | db '/cd3/1/',0 |
|
- | 4492 | * An example of usage of the function is the application CD_tray. |
|
- | 4493 | ||
4432 | ====================================================================== |
4494 | ====================================================================== |
4433 | ========== Function 71, subfunction 1 - set window caption. ========== |
4495 | ========== Function 71, subfunction 1 - set window caption. ========== |
4434 | ====================================================================== |
4496 | ====================================================================== |
4435 | Parameters: |
4497 | Parameters: |
4436 | * eax = 71 - function number |
4498 | * eax = 71 - function number |