Age | Commit message (Collapse) | Author |
|
* Modified draw loops to use `fbdev_get_index()` less often.
* Created `cons_fast_putch()`, then used it to implement `cons_putch()`
and `cons_putstr()`. This way, when printing an entire string, the
lock acquire/release and cursor hide/show will only happen once,
instead of once per character.
* Modified `syslog_write()` to use `cons_putstr()`.
Signed-off-by: Quinn Stephens <quinn@osmora.org>
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Major console improvements
- Add console buffer framework for managing console input/output in a
more smooth and elegant manner
- Fix cursor bugs
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Was supposed to happen on Jan 1, sorry! Happy late new year!
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Prevents the cursor from being cleared right before a character is drawn
or right after the screen is cleared. Also optimized the cursor drawing
routine to just draw a rectangle instead of rendering a space character.
Additionally renamed `cons_render_char()` to `cons_draw_char()` and
fixed all characters being drawn one pixel too far to the right.
Signed-off-by: Quinn Stephens <quinn@osmora.org>
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|
|
Signed-off-by: Ian Moffett <ian@osmora.org>
|