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.

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

BX contains the PSP segment address, if BX=0, PSP was not found<br />

This function will not work if called from tasks created within programs.<br />

This function is identical to interrupt 0x21 service 0x62.<br />

Interrupt 0x21 service 0x56: Change Directory Entry, Rename File<br />

Parameters<br />

AH<br />

Rename a file by changing its directory entry<br />

0x56<br />

DS:DX<br />

Pointer to null terminated old file name<br />

ES:DI<br />

Pointer to null terminated new file name (without path name!)<br />

Return Value<br />

Top of list<br />

Index page<br />

Success: Carry flag cleared<br />

Failure: Carry flag set, AX holds error code<br />

AX: 1 - File not found<br />

AX: 4 - New file name already exists<br />

AX: 5 - Internal error<br />

AX: 7 - Directory update failed<br />

Interrupt 0x21 service 0x57: Get/Set File Date and Time<br />

Parameters<br />

AH<br />

Get or set file date and time. The file is specified by file handle.<br />

0x57<br />

Page 276 / 400

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

Saved successfully!

Ooh no, something went wrong!