commit | 0910ddeb04f050b8800f60c8a4d2757f9cbeeb8d | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Feb 08 16:43:30 2014 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sat Feb 08 16:43:30 2014 -0500 |
tree | aca126cc972f89b1d6b390a9900bbbc982c8a20f | |
parent | e35753ecc9f4557c4ac241bdbbeabfcd4598f062 [diff] |
vgabios: Refactor write_teletype and write_chars. Factor out the common code of writing to the screen and advancing the cursor position to a new function write_char(). Eliminate write_chars() and then simplify write_teletype(). Also, eliminate the separate scroll_one() function as it no longer reduces stack space. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>