VGA output on ChibiTerm |
The first character of each line is missing for some reasons. Other than that, it is what I saw on the console log.
Text pasted that was supposed to be the output |
The fun part about a text character buffer in memory is that standard C library memory routines can be used for text functions. memmove() is a smart optimized memory copy routine that can deal with overlapping source/destination and is perfect for text scrolling.
Found the bug for the missing first character!
The line should have been "if(Cursor_Pos >= VGA_TEXT_X*VGA_TEXT_Y)" as it is a 0 based array. The last character it added is outside of the buffer and thus not showing up.
With that fixed, the left most column is where it should be.
I haven't worked on the PS/2 driver beyond getting the raw key codes. I haven't written the more advanced terminal escape sequence characters and yet to figure out the minimum amount I need to actually use this as a terminal to edit a file.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.