mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-22 16:34:15 +00:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
/**************************************************
|
|
* filesys - File System Module Template for C02 *
|
|
**************************************************/
|
|
|
|
/* Change Drive *
|
|
* Args: char d - Drive ID | Disk # *
|
|
* Returns: char r - Result, 0=Success *
|
|
* char e - Error, 0=None *
|
|
* 255 = Not Implemented */
|
|
char chdrv();
|
|
|
|
/* Get Drive *
|
|
* Returns: char d - Current Drive/Disk *
|
|
* 0 = None or Error *
|
|
* char e - Error, 0=None *
|
|
* 255 = Not Implemented */
|
|
char getdrv();
|
|
|
|
/* Remove File *
|
|
* Args: char d - Drive ID | Disk # *
|
|
* int &name - File Name *
|
|
* Returns: char r - Result, 0=Success *
|
|
* char e - Error, 0=None *
|
|
* 255 = Not Implemented */
|
|
char remove();
|
|
|
|
/* Rename File *
|
|
* Setup: fsname(&o) - Old File Name *
|
|
* Args: char d - Drive ID | Disk # *
|
|
* int &n - New File Name *
|
|
* Returns: char r - Result, 0=Success *
|
|
* char e - Error, 0=None *
|
|
* 255 = Not Implemented */
|
|
char rename();
|