1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-09-30 18:57:25 +00:00
C02/include/stddef.h02
2019-03-22 20:30:49 -04:00

62 lines
1.2 KiB
Plaintext

/* C02 Standard Definitions File *
* Contains common constants and *
* functions used in libraries. */
/* Constant Definitions */
#define TRUE $FF
#define FALSE $00
/* Get Buffer Pointer *
* Returns: Y,X=Buffer address */
char getdst();
/* Get Destination Pointer *
* Returns: Y,X=Destination address */
char getdst();
/* Get Source Pointer *
* Returns: Y,X=Source address */
char getsrc();
/* Retore Destination Pointer */
void resdst();
/* Restore A, X, and Y Registers */
void resreg();
/* Restore X, and Y Registers */
void resrxy();
/* Retore Source Pointer */
void ressrc();
/* Save Destination Pointer */
void savdst();
/* Save A, X, and Y Registers */
void savreg();
/* Save X, and Y Registers */
void savrxy();
/* Save Source Pointer */
void savsrc();
/* Set Buffer Pointer *
* Args: &d - Buffer address */
void setbfr();
/* Set Destination Pointer to Source Pointer */
void setdss();
/* Set Destination Pointer *
* Args: &d - Destination address */
void setdst();
/* Set Source Pointer *
* Args: &d - Source address */
void setsrc();
/* Set Source Pointer to Destination Pointer */
void setsrd();