01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Index page<br />

Interrupt 0x21 service 0x35: Get IRQ Vector<br />

Parameters<br />

AH<br />

AL<br />

Gets the address of an interrupt service routine.<br />

0x35<br />

Specifies vector number.<br />

Return Value<br />

Returns the vector in ES:BX<br />

Related Topics<br />

Top of list<br />

Index page<br />

Set IRQ vector<br />

Interrupt 0x21 service 0x36: Get Disk Free Space<br />

Parameters<br />

AH<br />

DL<br />

DOS function for detecting disk free space.<br />

0x36<br />

Drive (0 current drive, 1=A, ...)<br />

Return Value<br />

Comments<br />

AX: -1 Invalid drive number<br />

else<br />

AX: number of sectors per cluster<br />

BX: number of free clusters<br />

CX: number of bytes per sector<br />

DX: number of clusters per drive<br />

When call is successful (AX=1), free disk space can be computed from the return values as:<br />

free disk space (bytes) = AX * BX * CX<br />

Page 260 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!