aboutsummaryrefslogtreecommitdiffstats
path: root/menu/biosio.h
diff options
context:
space:
mode:
authorhpa <hpa>2004-06-17 15:14:28 +0000
committerhpa <hpa>2004-06-17 15:14:28 +0000
commit87b3f74737b0bd776643cc6b2bf5b22f083fdf48 (patch)
treec0a7dc0b4123949f2e5a5cf57eeff76ba8f08e5f /menu/biosio.h
parent703d2d3523a3f073a5962418b753684c0e98397a (diff)
downloadsyslinux-elf-87b3f74737b0bd776643cc6b2bf5b22f083fdf48.tar.gz
syslinux-elf-87b3f74737b0bd776643cc6b2bf5b22f083fdf48.tar.xz
syslinux-elf-87b3f74737b0bd776643cc6b2bf5b22f083fdf48.zip
New menu highlight/hotkey interface.syslinux-2.10
Diffstat (limited to 'menu/biosio.h')
-rw-r--r--menu/biosio.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/menu/biosio.h b/menu/biosio.h
index c17cc8f4..ebba2149 100644
--- a/menu/biosio.h
+++ b/menu/biosio.h
@@ -17,6 +17,11 @@
#define NULL ((void *)0)
#endif
+#define BELL 0x07
+// CHRELATTR = ^N, CHABSATTR = ^O
+#define CHABSATTR 15
+#define CHRELATTR 14
+
/* BIOS Assisted output routines */
void csprint(const char *str, char attr); // Print a C str (NUL-terminated)
@@ -27,7 +32,8 @@ void setdisppage(char num); // Set the display page to specified number
char getdisppage(); // Get current display page
-void clearwindow(char top,char left,char bot,char right, char page,char fillchar, char fillattr);
+void clearwindow(char top, char left, char bot, char right,
+ char page, char fillchar, char fillattr);
void cls(void); /* Clears the entire current screen page */
@@ -37,6 +43,9 @@ void getpos(char * row, char * col, char page);
char inputc(char * scancode); // Return ASCII char by val, and scancode by reference
+
+void putch(char x, char attr, char page); // Print one char
+
void cursoroff(void); /* Turns on cursor */
void cursoron(void); /* Turns off cursor */
@@ -63,6 +72,8 @@ static inline char getnumcols(void)
{
return readbiosb(0x44a);
}
+
+void scrollup(); //Scroll up display screen by one line
void setvideomode(char mode); // Set the video mode.