1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-24 15:31:17 +00:00
C02/include/stdiox.h02

61 lines
1.5 KiB
Plaintext
Raw Normal View History

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();
/* Print Formatted Byte to Screen *
* Args: b - byte to format *
* &s - formatting string */
2018-07-27 18:11:39 +00:00
void printf();
/* 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();
/* 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();
/* Print Byte as Hexadecimal Number *
* Args: b - Number to print */
void puthex();
/* Print a Space Character */
void putspc();
/* 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();