2018-01-28 18:30:49 +00:00
|
|
|
/********************************************
|
|
|
|
* screen - Screen Control Routines for C02 *
|
|
|
|
********************************************/
|
|
|
|
|
2018-09-17 00:30:25 +00:00
|
|
|
/* Clear the Screen */
|
2018-01-28 18:30:49 +00:00
|
|
|
void clrscn();
|
|
|
|
|
2018-09-17 00:30:25 +00:00
|
|
|
/* Move Cursor to Top Left of Screen */
|
2018-01-28 18:30:49 +00:00
|
|
|
void crsrhm();
|
|
|
|
|
2018-09-17 00:30:25 +00:00
|
|
|
/* Get Current Cursor Position *
|
|
|
|
* Returns: cursor column *
|
|
|
|
* cursor row */
|
|
|
|
char getpos();
|
2018-01-28 18:30:49 +00:00
|
|
|
|
2018-09-17 00:30:25 +00:00
|
|
|
/* Get Screen Size *
|
|
|
|
* Returns: width in columns *
|
|
|
|
* height in rows */
|
|
|
|
char getsiz();
|
2018-01-28 18:30:49 +00:00
|
|
|
|
2018-09-17 00:30:25 +00:00
|
|
|
/* Move Cursor to Specified Position *
|
2018-01-28 18:30:49 +00:00
|
|
|
* Args: column - screen column (0 = left) *
|
|
|
|
* row - screen line (0 = top) */
|
2018-09-17 00:30:25 +00:00
|
|
|
void setpos();
|