34 lines
379 B
C
34 lines
379 B
C
|
//
|
||
|
// Provides a PRINT and INPUT for our graphical display.
|
||
|
// Uses the FONT module and takes control of the display.
|
||
|
//
|
||
|
|
||
|
#ifndef _CONSOLE_
|
||
|
#define _CONSOLE_
|
||
|
|
||
|
|
||
|
|
||
|
//
|
||
|
// Iniailises the CONSOLE output.
|
||
|
//
|
||
|
|
||
|
void CONSOLE_init(void);
|
||
|
|
||
|
|
||
|
|
||
|
//
|
||
|
// Prints the text.
|
||
|
//
|
||
|
|
||
|
void CONSOLE_print(CBYTE *fmt, ...);
|
||
|
|
||
|
//
|
||
|
// Gets a line of input from the user.
|
||
|
//
|
||
|
|
||
|
CBYTE *CONSOLE_input(void);
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|