9fans archive / 1998 / 09 / 80 /    prev next

From: Russ Cox rsc@pla...
Subject: [9fans] screenblanker
Date: Fri, 18 Sep 1998 08:09:50 -0400

> I'd like to apply Russ's cmap version to Sparc ELC,  and
> got fails.  Can I do it?

I don't see why not.  You'll need to create the map "black"
in /lib/fb/cmap though, I think.  It's just 768 zeros: 

#include <u.h>
#include <libc.h>

char c[3*256];
void main(void) { write(1, c, sizeof c); }

8.out >/lib/fb/cmap/black