ad
fc8ea8f0c5
Misplaced #endif.
2000-02-12 22:06:54 +00:00
ad
59748e7e55
Fix the unaligned accesses discovered by dbj.
2000-02-12 21:58:58 +00:00
shin
66198937f8
replace WSFONT_L2R by WSDISPLAY_FONTORDER_L2R to compile again.
2000-01-06 05:27:19 +00:00
ad
624ebb55cb
Dispatch another nit.
1999-12-16 13:27:24 +00:00
ad
977e07ff58
Note that per-depth initialization functions shouldn't be called by mere
...
mortals.
1999-12-14 22:25:13 +00:00
ad
88ad70226e
The ri_hw member was added to 'struct rasops_info'. This does the same thing
...
as ri_priv; since ri_priv is not used anywhere in the kernel, nuke it.
1999-12-14 22:20:28 +00:00
drochner
f0b63a4aa2
-use the right namespace for screen capabilities
...
-make attribute decomposing a bit more friendly if the caller doesn't
care about underlines
1999-12-04 13:57:35 +00:00
drochner
5c69a4c489
-initialize the colormap completely at compile time, to allow drivers
...
to use it early
-now we can declare it "const" (as "rasops_isgray[]", while we are here)
-don't use the fg/bg colors in ...alloc_attr() if the WSATTR_WSCOLORS
flag was not given - use reasonable defaults instead
-add an opaque "ri_hw" member to "rasops_info", for driver use
1999-12-02 22:57:13 +00:00
enami
6b2ae05f21
Possible typo.
1999-11-06 01:01:20 +00:00
ad
341c38ac01
In rasops_do_cursor(), don't pull the mask from ri_devcmap[], just use ~0.
...
Needed to make cursor DTRT on NetBSD/hpcmips - from takemura.
1999-11-05 10:16:11 +00:00
ad
419ec27c34
Wrap a line properly.
1999-10-24 15:14:57 +00:00
ad
c5542264f1
- New option (RASOPS_SMALL) for the tight-fisted.
...
- Don't use int32_t/u_int32_t unless we must.
- Remove C++ single line comment delimeters that crept in.
- Remove defs pertaining to byte granularity 'ragged-edge' bitmasks.
- Move all declarations of per-depth initialization functions to rasops.h.
- Other minor cleanup.
1999-10-23 23:14:13 +00:00
ad
033a99c5ae
Note some ideas from Toru Nishimura.
1999-10-07 09:04:10 +00:00
ad
adff5c3f3c
Use proper mask when RI_FORCEMONO is set and XORing cursor.
1999-10-04 22:52:13 +00:00
ad
54943e8584
- Collapse forward and reverse cases in rasops_copyrows() into one
...
- Pull in opt_rasops.h so we know if clipping is enabled
- Some KNF
1999-09-17 00:22:07 +00:00
ad
da0cbab431
Clean up attribute allocation some more.
1999-09-17 00:09:34 +00:00
ad
78d4510ba0
Pass color value through ri->ri_devcmap before writing.
1999-08-31 10:11:52 +00:00
thorpej
43c0128089
Small consistency nit.
1999-08-26 22:44:29 +00:00
thorpej
f2a165de01
Make monochrome attribte allocation a bit more obvious.
1999-08-26 21:48:11 +00:00
ad
9a61ce5bff
When clearing the entire display, point to the start of the framebuffer,
...
not start of console output. Also, do not advance by ri_delta every row.
1999-08-25 08:45:25 +00:00
ad
7f2b1ba8f2
- Change the semantics of rasops_init slightly
...
- Re-name rasops_setfont to rasops_reconfig
- Add some new run-time 'features'
- Bring all run-time 'features' under control of rasops_info::ri_flg
- Some cosmetic changes
1999-08-24 11:07:31 +00:00
mouse
1705bbe96b
Get rid of ugly vertical bars which occurred when
...
character-cell boundaries != byte boundaries.
("width" (despite the poor name) should be computed based on the
*old* value of bg, not the *new* one.)
Fixes PR 8221.
1999-08-20 06:46:44 +00:00
ad
afb0c7b853
Make this compile. Patch from Simon Burge.
1999-08-19 11:20:34 +00:00
ad
a7510095cc
Pass color index through ri_devcmap; don't assume that it already
...
matches the device's color map.
1999-08-13 09:45:46 +00:00
ad
e6216650d8
Use unsigned integer to hold font bits in putchar(). [This looks like the
...
source of glyph corruption].
1999-07-25 17:36:40 +00:00
ad
a41907cbf8
- Style nits
...
- Kill some of the dainbramage in variable-depth copycols()
1999-07-21 19:19:03 +00:00
ad
10b0c75443
- Don't even try to emulate WSATTR_HILIT on mono displays
...
- WSATTR_REVERSE is a capability of both mono/color
1999-06-15 22:34:45 +00:00
ad
05a0ca4737
Fix stupid alignment bug. The 'slop' stuff is due for replacement with masks
...
RSN per the README.
1999-06-15 21:34:05 +00:00
pk
d256dc6c3c
`rasops_glue' is only here to force the header file's name hence it must
...
be mentioned first in the expression.
Shudder..
1999-06-05 10:42:11 +00:00
christos
f2393e39f3
Don't include rasops files unconditionally; only when we have rasterconsole or
...
wsdisplay.
1999-06-02 23:24:54 +00:00
ad
bb3a510fa2
Assign ownership & copyright to TNF. There is probably a procedure for this
...
that I am unaware of. Also some KNF.
1999-05-18 21:51:57 +00:00
ad
0d472fafcc
Add diagnostic measures to check for missing font.
1999-05-15 12:56:46 +00:00
ad
f4fedb6139
wsfont cookies <= 0 are invalid, not just those < 0.
1999-05-15 12:54:53 +00:00
ad
90d35111e1
In rasops_erasecols(), try word aligned case before halfword aligned.
1999-05-09 17:50:27 +00:00
ad
53af2d0054
Initialize db in copycols() to zero to pacify gcc, as noted by Simon Burge.
...
This doesn't change anything until it's fixed.
1999-04-29 03:38:39 +00:00
ad
34480e41c4
Add cookie for wsfont to rasops_info.
1999-04-29 02:49:40 +00:00
ad
a6f7f56fde
Remove crud remaining from userland mockup.
1999-04-26 04:29:12 +00:00
ad
f9510a4f4b
Innumerable fixes and improvements. README contains list of remaining bugs
...
that need to be squashed.
1999-04-26 04:27:47 +00:00
ad
d8a02e8017
Code cleanup. Add ri_bswap member to 'struct rasops_info' to indicate that
...
framebuffer endianness differs from CPU (for 15,16,32-bit displays).
1999-04-13 03:02:40 +00:00
ad
de43e7cc8d
Fixed licensing due to a foobar on my behalf.
1999-04-13 00:40:07 +00:00
ad
14d2ed835e
Initial import of 'rasops', the new raster operations set for wscons/rcons.
1999-04-13 00:17:57 +00:00