aboutsummaryrefslogtreecommitdiffstats
path: root/menu/biosio.h
diff options
context:
space:
mode:
Diffstat (limited to 'menu/biosio.h')
-rw-r--r--menu/biosio.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/menu/biosio.h b/menu/biosio.h
index c7da3ff2..e9bd5046 100644
--- a/menu/biosio.h
+++ b/menu/biosio.h
@@ -19,7 +19,7 @@
/* BIOS Assisted output routines */
-void csprint(const char *str); // Print a C str (NUL-terminated)
+void csprint(const char *str, char attr); // Print a C str (NUL-terminated)
void cprint(char chr,char attr,int times,char disppage); // Print a char
@@ -58,6 +58,7 @@ static inline char getnumrows()
{
return readbiosb(0x484);
}
+
static inline char getnumcols(void)
{
return readbiosb(0x44a);
@@ -65,4 +66,12 @@ static inline char getnumcols(void)
void setvideomode(char mode); // Set the video mode.
+unsigned char sleep(unsigned int msec); // Sleep for specified time
+
+void beep(); // A Bell
+
+unsigned char checkkbdbuf(); // Check to see if there is kbd buffer is non-empty?
+
+void clearkbdbuf(); // Clear the kbd buffer (how many chars removed?)
+
#endif