diff options
author | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-09-06 00:49:27 -0700 |
---|---|---|
committer | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-09-06 00:49:27 -0700 |
commit | 9df3425eb092a1263985d6b5c145c88e41be930c (patch) | |
tree | e57e9e1fd73640ef6f84dbb56fc68d2c9864359c /com32/cmenu | |
parent | 9dbacd3e44d3fc2b745c93689880a739349bfef4 (diff) | |
download | syslinux-9df3425eb092a1263985d6b5c145c88e41be930c.tar.gz |
cmenu: remove obsolete com32io code
Remove legacy scrollupwindow definition and checkkbdbuf declaration.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/cmenu')
-rw-r--r-- | com32/cmenu/libmenu/com32io.c | 11 | ||||
-rw-r--r-- | com32/cmenu/libmenu/com32io.h | 3 |
2 files changed, 0 insertions, 14 deletions
diff --git a/com32/cmenu/libmenu/com32io.c b/com32/cmenu/libmenu/com32io.c index f03043fb..6a27d1a1 100644 --- a/com32/cmenu/libmenu/com32io.c +++ b/com32/cmenu/libmenu/com32io.c @@ -38,17 +38,6 @@ unsigned char sleep(unsigned int msec) return REG_AH(outreg); } -void scrollupwindow(char top, char left, char bot, char right, char attr, - char numlines) -{ - REG_AH(inreg) = 0x06; - REG_AL(inreg) = numlines; - REG_BH(inreg) = attr; // Attribute to write blanks lines - REG_DX(inreg) = (bot << 8) + right; // BOT RIGHT corner of window - REG_CX(inreg) = (top << 8) + left; // TOP LEFT of window - __intcall(0x10, &inreg, &outreg); -} - char inputc(char *scancode) { syslinux_idle(); /* So syslinux can perform periodic activity */ diff --git a/com32/cmenu/libmenu/com32io.h b/com32/cmenu/libmenu/com32io.h index 95135e64..6ff6857e 100644 --- a/com32/cmenu/libmenu/com32io.h +++ b/com32/cmenu/libmenu/com32io.h @@ -65,7 +65,4 @@ static inline char getvideomode(void) // Get the current video mode unsigned char sleep(unsigned int msec); // Sleep for specified time -//unsigned char checkkbdbuf(); // Check to see if there is kbd buffer is non-empty? - - #endif |