2017-04-22 18:39:52 +00:00
|
|
|
/******************************
|
|
|
|
* C02 File Handling Routines *
|
|
|
|
******************************/
|
|
|
|
|
|
|
|
FILE *srcfil; //Source File (Input)
|
|
|
|
FILE *outfil; //Assembler File (Output)
|
|
|
|
FILE *logfil; //Log File (Output)
|
|
|
|
FILE *incfil; //Include File Handle
|
|
|
|
FILE *inpfil; //Current Input File
|
|
|
|
|
|
|
|
char srcnam[FNAMLEN]; //Source File Name
|
|
|
|
char outnam[FNAMLEN]; //Assembler File Name
|
|
|
|
char lognam[FNAMLEN]; //Log File Name
|
|
|
|
char incnam[FNAMLEN]; //Include File Name
|
2018-09-09 20:10:21 +00:00
|
|
|
char subnam[FNAMLEN]; //Include File Name (Subdirectory)
|
2017-04-22 18:39:52 +00:00
|
|
|
|
|
|
|
void opnsrc(); //Open Source File
|
2018-02-13 22:25:57 +00:00
|
|
|
void clssrc(); //Close Source File
|
2017-04-22 18:39:52 +00:00
|
|
|
|
|
|
|
void opnout(); //Open Output File
|
2018-02-13 22:25:57 +00:00
|
|
|
void clsout(); //Close Output File
|
|
|
|
|
|
|
|
void opnlog(); //Open Log File
|
|
|
|
void clslog(); //Close Log File
|
2017-04-22 18:39:52 +00:00
|
|
|
|
|
|
|
void opninc(); //Open Include File
|
2018-02-13 22:25:57 +00:00
|
|
|
void clsinc(); //Close Include File
|