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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DOS Interface <strong>Documentation</strong> - <strong>SC12</strong> <strong>@CHIP</strong>-<strong>RTOS</strong> <strong>V1.10</strong><br />

<strong>IPC<strong>@CHIP</strong></strong> <strong>Documentation</strong> Index DOS API News<br />

DOS<br />

Here are the DOS interface definitions. DOS uses interrupt 0x21 with a service number in the high order byte of<br />

the AX register (AH).<br />

For some useful comments see also under Programming notes<br />

DOS API News<br />

All implemented DOS services are listed here:<br />

● Interrupt_0x21_function_0x00:_Terminate Program<br />

● Interrupt_0x21_function_0x02:_Output Character to standard output<br />

● Interrupt_0x21_function_0x06:_Direct Console Output<br />

● Interrupt_0x21_function_0x07:_Direct Console Input<br />

● Interrupt_0x21_function_0x08:_Read Keyboard<br />

● Interrupt_0x21_function_0x09:_Send string to standard output<br />

● Interrupt_0x21_function_0x0B:_Character Available Test<br />

● Interrupt_0x21_function_0x0E:_Set Default Drive<br />

● Interrupt_0x21_function_0x19:_Get Current Drive<br />

● Interrupt_0x21_function_0x1A:_Set Disk Transfer Area Address<br />

● Interrupt_0x21_function_0x25:_Set IRQ Vector<br />

● Interrupt_0x21_function_0x2A:_Get System Date<br />

● Interrupt_0x21_function_0x2B:_Set System Date<br />

● Interrupt_0x21_function_0x2C:_Get System Time<br />

● Interrupt_0x21_function_0x2D:_Set System Time<br />

● Interrupt_0x21_function_0x2F:_Get Disk Transfer Area Address<br />

● Interrupt_0x21_function_0x30:_Get DOS Version<br />

● Interrupt_0x21_function_0x31:_Keep Process<br />

● Interrupt_0x21_function_0x35:_Get IRQ Vector<br />

● Interrupt_0x21_function_0x36:_Get Disk Free Space<br />

● Interrupt_0x21_function_0x39:_Create Directory<br />

● Interrupt_0x21_function_0x3A:_Remove Directory<br />

● Interrupt_0x21_function_0x3B:_Set Current Working Directory<br />

● Interrupt_0x21_function_0x3C:_Create New File Handle<br />

● Interrupt_0x21_function_0x3D:_Open an Existing File<br />

● Interrupt_0x21_function_0x3E:_Close File Handle<br />

● Interrupt_0x21_function_0x3F:_Read from File<br />

● Interrupt_0x21_function_0x40:_Write to File<br />

Page 249 / 400

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

Saved successfully!

Ooh no, something went wrong!