@CHIP-RTOS C Library V2.06 - External Disk API
Extdisk_install_drive2
Install a drive D: int Extdisk_install_drive2 ( unsigned long totalsectors ); Parameters
totalsectors
- Total sector count of disk
Return Value
- = 0: success
!= 0: failed
Comments
- Prior to this call the application must provide a disk read/write
function installed at interrupt 0xB2. This installed handler
function should expect:
AX 1 for write, 0 for read.
BX,DX Sector number (BX is MSH of unsigned long)
CX Number of sectors to read/write
ES:DI Segment:Offset of memory area to read/write
The handler should return 0 in AX if OK.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
n/a | n/a | n/a | V1.07 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|