public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7209f0
)
coco3: video: make text cursor a inverted block.
author
Brett Gordon
<beretta42@gmail.com>
Thu, 29 Oct 2015 18:44:08 +0000
(14:44 -0400)
committer
Brett Gordon
<beretta42@gmail.com>
Thu, 29 Oct 2015 18:44:08 +0000
(14:44 -0400)
Kernel/platform-coco3/video.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-coco3/video.c
b/Kernel/platform-coco3/video.c
index
1072ec0
..
20b8853
100644
(file)
--- a/
Kernel/platform-coco3/video.c
+++ b/
Kernel/platform-coco3/video.c
@@
-44,9
+44,9
@@
void cursor_off(void)
void cursor_on(int8_t y, int8_t x)
{
map_for_video();
- curpty->csave = *
char_addr(y, x
);
- curpty->cpos = char_addr(y, x);
-
*curpty->cpos = VT_MAP_CHAR('_')
;
+ curpty->csave = *
(char_addr(y, x)+1
);
+ curpty->cpos = char_addr(y, x)
+1
;
+
*curpty->cpos = *curpty->cpos ^ 0x3f
;
map_for_kernel();
}