mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-30 23:50:04 +00:00
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
/*****************************************************
|
|
* filesys - FIle System Module for run6502 emulator *
|
|
*****************************************************/
|
|
|
|
/* Change Drive *
|
|
* Args: char d - Drive ID | Disk # *
|
|
* Returns: char r - Result, 0=Success *
|
|
* char e - Error, 0=None */
|
|
char chdrv();
|
|
|
|
/* Drive Name *
|
|
* Args: char d - Drive ID | Disk # *
|
|
* Returns: char n - Drive Name *
|
|
* 0 = Invalid Device *
|
|
* char e - Error, 0=None */
|
|
char drvnam();
|
|
|
|
/* Get Drive *
|
|
* Returns: char d - Current Drive/Disk *
|
|
* 0 = None or Error *
|
|
* char e - Error, 0=None */
|
|
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 */
|
|
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 */
|
|
char rename();
|