untrusted comment: verify with signify key from exoticsilicon.com

RWRn5d3Yx35u00LD40nCS91rIas1/io+3rMfoK/snIn8lQClMFVaYzW2VVx6Bblt4mhbvymfkBeBdEM3IU3GPIeYpOboQhlnUQg=

--- dev/wscons/wsdisplayvar.h.dist Sun Sep 13 07:05:46 2020

+++ dev/wscons/wsdisplayvar.h Sat May 14 20:13:10 2022

@@ -99,6 +99,9 @@

#define WSATTR_BLINK 4

#define WSATTR_UNDERLINE 8

#define WSATTR_WSCOLORS 16

+#define WSATTR_DIM 32

+#define WSATTR_STRIKE 64

+#define WSATTR_DOUBLE_UNDERLINE 128

};

#define WSSCREEN_NAME_SIZE 16

--- dev/wscons/wsemul_vt100_subr.c.dist Mon May 25 06:55:49 2020

+++ dev/wscons/wsemul_vt100_subr.c Sat May 14 20:13:10 2022

@@ -549,6 +549,9 @@

		case 1: /* bold */

			flags |= WSATTR_HILIT;

			break;

		case 4: /* underline */

			flags |= WSATTR_UNDERLINE;

			break;

@@ -558,17 +561,30 @@

		case 7: /* reverse */

			flags |= WSATTR_REVERSE;

			break;

		case 22: /* ~bold VT300 only */

			flags &= ~WSATTR_HILIT;

			break;

		case 24: /* ~underline VT300 only */

			flags &= ~WSATTR_UNDERLINE;

			break;

		case 25: /* ~blink VT300 only */

			flags &= ~WSATTR_BLINK;

			break;

		case 27: /* ~reverse VT300 only */

			flags &= ~WSATTR_REVERSE;

			break;

		case 30: case 31: case 32: case 33:

		case 34: case 35: case 36: case 37:

--- dev/rasops/rasops.c.dist Thu Jul 23 06:17:03 2020

+++ dev/rasops/rasops.c Sat May 14 20:13:10 2022

@@ -36,6 +36,8 @@

#include <sys/time.h>

#include <sys/task.h>

+int exotic=0;

#include <dev/wscons/wsdisplayvar.h>

#include <dev/wscons/wsconsio.h>

#include <dev/wsfont/wsfont.h>

@@ -545,7 +547,7 @@

int

rasops_pack_cattr(void *cookie, int fg, int bg, int flg, uint32_t *attr)

{

#ifdef RASOPS_CLIPPING

fg &= 7;

@@ -568,6 +570,11 @@

if ((flg & WSATTR_HILIT) != 0)

	fg += 8;

flg = ((flg & WSATTR_UNDERLINE) ? 1 : 0);

if (rasops_isgray[fg])

@@ -576,6 +583,10 @@

if (rasops_isgray[bg])

	flg |= 4;

*attr = (bg << 16) | (fg << 24) | flg;

return (0);

}

@@ -879,6 +890,50 @@

	else

		ri->ri_devcmap[i] = c;

#else

+#define RED ((c & 0xff0000) >> 16)

+#define GREEN ((c & 0x00ff00) >> 8)

+#define BLUE (c & 0x0000ff)

+#define GREY ((int)(((GREEN0.7)+(RED0.2)+(BLUE*0.1))))

+switch (exotic) {

+}

	ri->ri_devcmap[i] = c;

#endif

}

@@ -908,6 +963,9 @@

int32_t *dp, clr;

ri = (struct rasops_info *)cookie;

#ifdef RASOPS_CLIPPING

if (row < 0) {

--- dev/rasops/rasops32.c.dist Mon Jul 20 09:40:45 2020

+++ dev/rasops/rasops32.c Sat May 14 20:13:10 2022

@@ -93,6 +93,12 @@

b = ri->ri_devcmap[(attr >> 16) & 0xf];

f = ri->ri_devcmap[(attr >> 24) & 0xf];

u.d[0][0] = b; u.d[0][1] = b;

u.d[1][0] = b; u.d[1][1] = f;

u.d[2][0] = f; u.d[2][1] = b;

@@ -202,12 +208,36 @@

	}

}

/* Do underline a pixel at a time */

if ((attr & 1) != 0) {

	rp -= step;

	for (cnt = 0; cnt < width; cnt++)

		((int *)rp)[cnt] = f;

}

return 0;

}

--- sys/sysctl.h.dist Fri Feb 25 15:05:49 2022

+++ sys/sysctl.h Sat May 14 20:13:10 2022

@@ -191,7 +191,8 @@

#define KERN_TIMEOUT_STATS 87 /* struct: timeout status and stats */

#define KERN_UTC_OFFSET 88 /* int: adjust RTC time to UTC */

#define KERN_VIDEO 89 /* struct: video properties */

-#define KERN_MAXID 90 /* number of valid kern ids */

+#define KERN_EXOTIC 90 /* alternative framebuffer colour pallette */

+#define KERN_MAXID 91 /* number of valid kern ids */

#define CTL_KERN_NAMES { \

{ 0, 0 }, \

@@ -284,6 +285,7 @@

{ "timeout_stats", CTLTYPE_STRUCT }, \

{ "utc_offset", CTLTYPE_INT }, \

{ "video", CTLTYPE_STRUCT }, \

}

/*

--- kern/kern_sysctl.c.dist Mon Mar 21 06:12:34 2022

+++ kern/kern_sysctl.c Sat May 14 20:13:10 2022

@@ -127,6 +127,8 @@

extern int audio_record_enable;

extern int video_record_enable;

+extern int exotic;

int allowkmem;

int sysctl_diskinit(int, struct proc *);

@@ -451,6 +453,10 @@

}

switch (name[0]) {

case KERN_OSTYPE:

	return (sysctl_rdstring(oldp, oldlenp, newp, ostype));

case KERN_OSRELEASE:

Proxy Information
Original URL
gemini://gemini.exoticsilicon.com/local_patchsets/candlelit_console_patch_7.1.sig
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
318.305893 milliseconds
Gemini-to-HTML Time
3.128277 milliseconds

This content has been proxied by September (ba2dc).