[SeaBIOS] [PATCH] vgabios: Don't interpret TAB character.

Kevin O'Connor kevin at koconnor.net
Sat Feb 8 18:33:13 CET 2014


Several sources document that the Bell, Backspace, newline, and
carriage return characters are interpreted by int 10/0e.  There does
not seem to be any references to that function interpreting tab.  The
original "lgpl vgabios" has code for interpreting tab, but the code is
incorrect.  Finally, tests on an ATI vgabios indicate that tab is not
interpreted.

Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
---
 vgasrc/vgabios.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/vgasrc/vgabios.c b/vgasrc/vgabios.c
index b6d9dc2..65d325a 100644
--- a/vgasrc/vgabios.c
+++ b/vgasrc/vgabios.c
@@ -203,13 +203,6 @@ write_teletype(struct cursorpos *pcp, struct carattr ca)
     case '\n':
         cp.y++;
         break;
-    case '\t':
-        ca.car = ' ';
-        do {
-            vgafb_write_char(cp, ca);
-            cp.x++;
-        } while (cp.x < nbcols && cp.x % 8);
-        break;
     default:
         vgafb_write_char(cp, ca);
         cp.x++;
-- 
1.8.5.3




More information about the SeaBIOS mailing list