2018-02-02 23:02:06 +00:00
|
|
|
/******************************************
|
|
|
|
* stdiox - Extended I/O Routines for C02 *
|
|
|
|
******************************************/
|
|
|
|
|
2018-07-27 18:11:39 +00:00
|
|
|
/* Display "Press any key to continue" *
|
|
|
|
* prompt and wait fo keypress *
|
|
|
|
* Returns: ASCII value of key pressed */
|
|
|
|
void anykey();
|
|
|
|
|
|
|
|
/* Display prompt and wait for keypress *
|
|
|
|
* Args: &s - string to display *
|
|
|
|
* Returns: ASCII value of key pressed */
|
|
|
|
void getcpr();
|
|
|
|
|
2018-09-17 23:44:47 +00:00
|
|
|
/* Print Formatted Byte to Screen *
|
|
|
|
* Args: b - byte to format *
|
|
|
|
* &s - formatting string */
|
2018-07-27 18:11:39 +00:00
|
|
|
void printf();
|
|
|
|
|
2018-09-17 23:44:47 +00:00
|
|
|
/* Print Byte as Binary Number *
|
|
|
|
* Args: b - Number to print */
|
|
|
|
void putbin();
|
|
|
|
|
|
|
|
/* Print Byte as Decimal Number *
|
|
|
|
* Args: b - Number to print */
|
2018-02-02 23:02:06 +00:00
|
|
|
void putdec();
|
|
|
|
|
2018-02-03 17:43:05 +00:00
|
|
|
/* Print Byte as Left Justified Decimal *
|
|
|
|
* Args: b - Number to print */
|
|
|
|
void putdel();
|
|
|
|
|
|
|
|
/* Print Byte as Right Justified Decimal *
|
|
|
|
* Args: b - Number to print */
|
|
|
|
void putder();
|
|
|
|
|
2018-07-19 04:27:50 +00:00
|
|
|
/* Print Destination String */
|
|
|
|
void putdst();
|
|
|
|
|
2018-09-17 23:44:47 +00:00
|
|
|
/* Print Byte as Hexadecimal Number *
|
|
|
|
* Args: b - Number to print */
|
|
|
|
void puthex();
|
|
|
|
|
2018-02-03 17:43:05 +00:00
|
|
|
/* Print a Space Character */
|
|
|
|
void putspc();
|
|
|
|
|
2019-05-27 21:12:10 +00:00
|
|
|
/* Print /* Print Byte as Hexadecimal Number *
|
|
|
|
* Args: b - Number to print */
|
|
|
|
void puthex();
|
|
|
|
|
|
|
|
/* Print Byte as Hexadecimal Number *
|
|
|
|
* Args: b - Number to print */
|
|
|
|
void puthex();
|
|
|
|
|
|
|
|
/* Print Byte as Hexadecimal Number *
|
|
|
|
* Args: b - Number to print */
|
|
|
|
void puthex();
|
|
|
|
|
|
|
|
/* Print Word as Hexadecimal Number *
|
|
|
|
* Args: int w - Number to print */
|
|
|
|
void putwrd();
|