1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-22 16:34:15 +00:00
C02/include/stdio.h02

46 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-01-28 18:30:49 +00:00
/*****************************************
* stdio - Standard I/O Routines for C02 *
*****************************************/
/* Get Character
* Waits for key to be pressed *
* and Returns ASCII key value *
* Returns: char c = Key Value */
char getc();
2018-01-28 18:30:49 +00:00
/* Put Character *
* Prints Character on Screen *
* Args: char c - Character to Print */
void putc();
2018-01-28 18:30:49 +00:00
/* Get String
* Reads String from Keyboard, up *
* to 128 characters until the Return *
* key is pressed. If the Escape key *
* is pressed, input is aborted. *
* Args: int &s - string to read *
* Returns: char n - Length of String *
* $FF = Escape Pressed */
char gets();
2018-01-28 18:30:49 +00:00
/* Put Line *
* Prints String on Screen and moves *
* cursor to beginning of next line *
* Args: int &s - String to Print *
* Returns: char n - Characters Printed */
char putln();
/* Put String
* Prints String on Screen *
* Args: int &s - String to Print *
* Returns: char n - Characters Printed */
char puts();
2018-01-28 18:30:49 +00:00
/* Put Substring *
* Prints String to Screen starting *
* at specified position *
* Args: char p - Starting Position *
* int &s - String to Print *
* Returns: char e - Ending Position */
char putsub();