Skip to content

Commit 4cd3829

Browse files
author
Matthias Koeppe
committed
Made 0-7 non bright colors lighter.
1 parent 2c33593 commit 4cd3829

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

graphics.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ int SCROLL[8], OLDSCROLL[8];
3737
unsigned char *vptr; /* real screen buffer */
3838
unsigned char *vbuffer; /* virtual screen buffer */
3939
/* MZ800 colors */
40-
int mzcolors[16] = {0x000000, 0x000020, 0x002000, 0x002020,
41-
0x200000, 0x200020, 0x202000, 0x2a2a2a,
40+
int mzcolors[16] = {0x000000, 0x000030, 0x003000, 0x003030,
41+
0x300000, 0x300030, 0x303000, 0x303030,
4242
0x151515, 0x00003f, 0x003f00, 0x003f3f,
4343
0x3f0000, 0x3f003f, 0x3f3f00, 0x3f3f3f};
4444
int mzgrays[16] = {0x000000, 0x040404, 0x080808, 0x0c0c0c,
@@ -222,7 +222,7 @@ void update_RF(int a)
222222
#define SW (SCROLL[3])
223223
#define SSA (SCROLL[4])
224224
#define SEA (SCROLL[5])
225-
#define BCOL (SCROLL[6])
225+
/* #define BCOL (SCROLL[6]) */
226226
#define CKSW (SCROLL[7])
227227

228228
#define OSOF1 (OLDSCROLL[1])

graphics.h

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ extern int directvideo;
2323
extern int mzbpl;
2424
extern int DMD, RF, WF;
2525
extern int SCROLL[8];
26+
#define BCOL (SCROLL[6])
2627
extern unsigned char *vptr; /* real screen buffer */
2728
extern unsigned char *vbuffer; /* virtual screen buffer */
2829
extern unsigned char *readptr;

0 commit comments

Comments
 (0)