This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/draw.h b/draw.h | |
index 9871ba3..b31bd02 100644 | |
--- a/draw.h | |
+++ b/draw.h | |
@@ -1,6 +1,8 @@ | |
/* See LICENSE for licence details. */ | |
static inline void draw_sixel(struct framebuffer *fb, int line, int col, uint8_t *bitmap) | |
{ | |
+ /* XXX: Maybe need to re-write on LUNA */ | |
+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/draw.h b/draw.h | |
index 9871ba3..ad594f8 100644 | |
--- a/draw.h | |
+++ b/draw.h | |
@@ -3,29 +3,68 @@ static inline void draw_sixel(struct framebuffer *fb, int line, int col, uint8_t | |
{ | |
int h, w, src_offset, dst_offset; | |
uint32_t pixel, color = 0; | |
+ int x, y, i; | |
+ uint32_t *p0, *p; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/draw.h b/draw.h | |
index 541688d..afa3ef0 100644 | |
--- a/draw.h | |
+++ b/draw.h | |
@@ -1,6 +1,49 @@ | |
/* See LICENSE for licence details. */ | |
+ | |
+/* | |
+ * LUNA framebuffer support is based on: | |
+ * OpenBSD:src/sys/arch/luna88k/dev/omrasops.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/draw.h b/draw.h | |
index 541688d..afa3ef0 100644 | |
--- a/draw.h | |
+++ b/draw.h | |
@@ -1,6 +1,49 @@ | |
/* See LICENSE for licence details. */ | |
+ | |
+/* | |
+ * LUNA framebuffer support is based on: | |
+ * OpenBSD:src/sys/arch/luna88k/dev/omrasops.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console is keyboard/display | |
Copyright (c) 1982, 1986, 1989, 1991, 1993 | |
The Regents of the University of California. All rights reserved. | |
Copyright (c) 1995-2014 OpenBSD. All rights reserved. http://www.OpenBSD.org | |
OpenBSD 5.6-current (GENERIC) #197: Tue Aug 26 19:38:01 MDT 2014 | |
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC | |
real mem = 671088640 (640MB) | |
avail mem = 645857280 (615MB) | |
mpath0 at root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scsi-initiator-id=7 | |
keyboard-click?=false | |
keymap= | |
ttyb-rts-dtr-off=false | |
ttyb-ignore-cd=true | |
ttya-rts-dtr-off=false | |
ttya-ignore-cd=true | |
ttyb-mode=9600,8,n,1,- | |
ttya-mode=9600,8,n,1,- | |
pcia-probe-list=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/fb/openbsd.h b/fb/openbsd.h | |
index 05903c6..6938097 100644 | |
--- a/fb/openbsd.h | |
+++ b/fb/openbsd.h | |
@@ -14,6 +14,7 @@ typedef unsigned long u_long; | |
#include <dev/wscons/wsksymdef.h> | |
/* some structs for OpenBSD */ | |
+/* XXX: actually not used in OpenBSD/sparc64 */ | |
enum term_size { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: omrasops.c | |
=================================================================== | |
RCS file: /cvs/src/sys/arch/luna88k/dev/omrasops.c,v | |
retrieving revision 1.11 | |
diff -u -r1.11 omrasops.c | |
--- omrasops.c 2 Jan 2014 15:30:34 -0000 1.11 | |
+++ omrasops.c 17 Sep 2014 13:53:16 -0000 | |
@@ -158,7 +158,7 @@ | |
struct rasops_info *ri = cookie; | |
u_int8_t *p; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: sys/arch/luna88k/dev/omrasops.c | |
=================================================================== | |
RCS file: /cvs/src/sys/arch/luna88k/dev/omrasops.c,v | |
retrieving revision 1.11 | |
diff -u -r1.11 omrasops.c | |
--- sys/arch/luna88k/dev/omrasops.c 2 Jan 2014 15:30:34 -0000 1.11 | |
+++ sys/arch/luna88k/dev/omrasops.c 19 Sep 2014 13:22:11 -0000 | |
@@ -175,8 +175,15 @@ | |
width = ri->ri_font->fontwidth + align; | |
lmask = ALL1BITS >> align; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: sys/arch/luna88k/dev/omrasops.c | |
=================================================================== | |
RCS file: /cvs/src/sys/arch/luna88k/dev/omrasops.c,v | |
retrieving revision 1.11 | |
diff -u -r1.11 omrasops.c | |
--- sys/arch/luna88k/dev/omrasops.c 2 Jan 2014 15:30:34 -0000 1.11 | |
+++ sys/arch/luna88k/dev/omrasops.c 24 Sep 2014 11:55:24 -0000 | |
@@ -175,8 +175,15 @@ | |
width = ri->ri_font->fontwidth + align; | |
lmask = ALL1BITS >> align; |