Rev 585 | Rev 608 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 585 | Rev 588 | ||
---|---|---|---|
Line 1444... | Line 1444... | ||
1444 | Remarks: |
1444 | Remarks: |
1445 | * Previously CD base port must be defined by call to |
1445 | * Previously CD base port must be defined by call to |
1446 | subfunction 3 of function 21. |
1446 | subfunction 3 of function 21. |
Line 1447... | Line 1447... | ||
1447 | 1447 | ||
- | 1448 | ====================================================================== |
|
- | 1449 | ================ Function 24, subfunction 4 - eject tray of disk drive. ============== |
|
- | 1450 | ====================================================================== |
|
- | 1451 | Parameters: |
|
- | 1452 | * eax = 24 - function number |
|
- | 1453 | * ebx = 4 - subfunction number |
|
- | 1454 | * ecx = position of CD/DVD-drive (from 0=Primary Master to 3=Secondary Slave) |
|
- | 1455 | Returned value: |
|
- | 1456 | * Nothing comes back. |
|
- | 1457 | Remarks: |
|
- | 1458 | * The function is supported only for ATAPI devices (CD and DVD). |
|
- | 1459 | * At extract of a tray is made deblocking of handle mechanism of a tray. |
|
- | 1460 | * At extract of a tray the code makes clearing the cache of the appropriate device. |
|
- | 1461 | * An example of usage of the function is the application CD_tray. |
|
- | 1462 | ||
- | 1463 | ====================================================================== |
|
- | 1464 | ============== Function 24, subfunction 5 - load tray of disk drive. ================= |
|
- | 1465 | ====================================================================== |
|
- | 1466 | Parameters: |
|
- | 1467 | * eax = 24 - function number |
|
- | 1468 | * ebx = 5 - subfunction number |
|
- | 1469 | * ecx = position of CD/DVD-drive (from 0=Primary Master to 3=Secondary Slave) |
|
- | 1470 | Returned value: |
|
- | 1471 | * Nothing comes back. |
|
- | 1472 | Remarks: |
|
- | 1473 | * The function is supported only for ATAPI devices (CD and DVD). |
|
- | 1474 | * An example of usage of the function is the application CD_tray. |
|
- | 1475 | ||
1448 | ====================================================================== |
1476 | ====================================================================== |
1449 | =================== Function 25 - set SBPro volume. ================== |
1477 | =================== Function 25 - set SBPro volume. ================== |
1450 | ====================================================================== |
1478 | ====================================================================== |
1451 | Parameters: |
1479 | Parameters: |
1452 | * eax = 25 - function number |
1480 | * eax = 25 - function number |
Line 4075... | Line 4103... | ||
4075 | For CD-drives due to hardware limitations only subfunctions |
4103 | For CD-drives due to hardware limitations only subfunctions |
4076 | 0,1,5 and 7 are available, other subfunctions return error |
4104 | 0,1,5 and 7 are available, other subfunctions return error |
4077 | with code 2. |
4105 | with code 2. |
4078 | At the first call subfunctions 0,1,5,7 to devices ATAPI (CD and DVD) the locking |
4106 | 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 |
4107 | 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 |
4108 | given obtained from a drive. Deblocking is made by call function 24.4 |
4081 | to the appropriate device. |
4109 | to the appropriate device. |
Line 4082... | Line 4110... | ||
4082 | 4110 | ||
4083 | ====================================================================== |
4111 | ====================================================================== |
4084 | === Function 70, subfunction 0 - read file with long names support. == |
4112 | === Function 70, subfunction 0 - read file with long names support. == |
Line 4432... | Line 4460... | ||
4432 | * The function is not supported for CD (returns error code 2). |
4460 | * The function is not supported for CD (returns error code 2). |
4433 | * The parent folder must already exist. |
4461 | * The parent folder must already exist. |
4434 | * If target folder already exists, function returns success (eax=0). |
4462 | * If target folder already exists, function returns success (eax=0). |
Line 4435... | Line 4463... | ||
4435 | 4463 | ||
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 | - | ||
4494 | ====================================================================== |
4464 | ====================================================================== |
4495 | ========== Function 71, subfunction 1 - set window caption. ========== |
4465 | ========== Function 71, subfunction 1 - set window caption. ========== |
4496 | ====================================================================== |
4466 | ====================================================================== |
4497 | Parameters: |
4467 | Parameters: |
4498 | * eax = 71 - function number |
4468 | * eax = 71 - function number |