mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-18 21:07:28 +00:00
31 lines
1017 B
Plaintext
31 lines
1017 B
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();
|
|
|
|
/* 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();
|