8 |
|
*/ |
9 |
|
|
10 |
|
#include "standard.h" |
11 |
< |
|
11 |
> |
#include "platform.h" |
12 |
|
#include "color.h" |
13 |
– |
|
13 |
|
#include "font.h" |
14 |
|
|
15 |
|
#ifndef SSS |
34 |
|
int xsiz, ysiz; /* bitmap dimensions */ |
35 |
|
int xdim; /* size of horizontal scan (bytes) */ |
36 |
|
|
37 |
+ |
/* conflicting def's in param.h */ |
38 |
+ |
#undef tstbit |
39 |
+ |
#undef setbit |
40 |
+ |
#undef clrbit |
41 |
+ |
#undef tglbit |
42 |
+ |
|
43 |
|
#define bitop(x,y,op) (ourbitmap[(y)*xdim+((x)>>3)] op (1<<((x)&7))) |
44 |
|
#define tstbit(x,y) bitop(x,y,&) |
45 |
|
#define setbit(x,y) bitop(x,y,|=) |
64 |
|
char *argv[]; |
65 |
|
{ |
66 |
|
int an; |
67 |
< |
#ifdef MSDOS |
63 |
< |
setmode(fileno(stdout), O_BINARY); |
64 |
< |
#endif |
67 |
> |
SET_FILE_BINARY(stdout); |
68 |
|
for (an = 1; an < argc && argv[an][0] == '-'; an++) |
69 |
|
switch (argv[an][1]) { |
70 |
|
case 'c': /* color */ |