1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-22 01:31:33 +00:00
C02/include/run6502/args.h02
2021-09-25 15:28:49 -04:00

20 lines
624 B
Plaintext

/*************************************
* Command Line Parameters Processor *
*************************************/
#define ARGFLG $00 //Argument Parser Flag
#define ARGSEP $20 //Argument Delimiter
#define ARGEND $00 //Argument Terminator
#define ARGMSK $FF //Argument Mask
/* Set up Argument List *
* Returns: char $00 = Success *
* $FF = No Args */
void argset();
/* Get Next Argument *
* Setup: argset() Before First Call *
* Args: &s - String to Populate *
* Returns: char Length of String *
* 0 = End of List */
void argget();