On 29/07/15 05:42, Segher Boessenkool wrote:
> On Wed, Jul 29, 2015 at 01:05:48PM +1000, Alexey Kardashevskiy wrote:
>>> : fb8-toggle-cursor ( -- )
>>> line# fb8-line2addr column# fb8-columns2bytes +
>>> - char-height 0 ?DO
>>> + char-height 3 - screen-width screen-depth * * +
>>> + 3 0
On Wed, Jul 29, 2015 at 01:05:48PM +1000, Alexey Kardashevskiy wrote:
> > : fb8-toggle-cursor ( -- )
> > line# fb8-line2addr column# fb8-columns2bytes +
> >-char-height 0 ?DO
> >+char-height 3 - screen-width screen-depth * * +
> >+3 0 ?DO
>
> Why not just:
>
> - char-height 0
On 07/28/2015 08:19 PM, Thomas Huth wrote:
Drawing the cursor in the frame buffer memory is a very, very
slow operation. So let's simply switch to a "underscore" cursor
instead of the full block cursor to save some precious cycles.
Signed-off-by: Thomas Huth
---
slof/fs/fbuffer.fs | 3 ++-
1
Drawing the cursor in the frame buffer memory is a very, very
slow operation. So let's simply switch to a "underscore" cursor
instead of the full block cursor to save some precious cycles.
Signed-off-by: Thomas Huth
---
slof/fs/fbuffer.fs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)