Commit Graph

22 Commits

Author SHA1 Message Date
nisimura 21636a326b Fill always erased regions with bg color. Fix an issue revealed by
"print -n '\033[7m'; ls".
1999-10-22 07:42:05 +00:00
nisimura fd3561cc02 Preliminary import of 'SFB enhanced' text renderer with many caveats
to be corrected.  Text drawing is now improved significantly, but;
cursor is drawn incorrectly, copycols() trashes a screen, 'standout
(\033[7m)' results in lines reversed entirely until '\033[0m', and
possibly more issues.  Not multi-colour, 8bpp only this moment.  Costly
write memory barrier instrunctions should be eliminated using framebuffer
address aliasing technique for NetBSD/alpha.
1999-10-19 09:51:17 +00:00
nisimura 72de8abb0c Arrange loop invariants and fix comment description error. 1999-10-08 02:08:15 +00:00
nisimura 9c2fdffad2 SFB video base register is assigned with an inialial value before use;
according to ULTRIX/OSF1 code.
1999-10-05 09:13:30 +00:00
nisimura 09a2fed6f9 - Show 1bpp for MX during configuration stage.
- Replace memory layout 'struct' with array/pointer access.
1999-06-25 03:33:20 +00:00
nisimura e3b1b88d76 - Errors in case analysis... 1999-06-11 01:44:47 +00:00
nisimura f4be9af151 - Rework copycols() with SFB ASIC calls. 1999-06-11 00:56:09 +00:00
nisimura 1d082ddc15 - Sweep abit preparing for code merge to have common 'vdacops' across
various graphics cards.
1999-05-07 08:00:30 +00:00
nisimura ed7699b360 - Unnecessary to have '#include <machine/autoconf.h>' for those. 1999-03-29 07:22:02 +00:00
mrg d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
nisimura e19cedee17 - Make sfb_emulops standard feature of sfb wscons. Scrolling is now
acceptable.  Still lacks of horizontal copy and glyph rendering with
SFB ASIC assistance.  TGA could be benefitted in the similiar way.
1999-03-02 00:22:42 +00:00
nisimura f85c9832ac - Fix cursor image validity check error in set_cursor(). 1999-03-01 02:45:04 +00:00
nisimura d6715660b7 - Introduce the first cut of faster wsdisplay_emulops exploiting SFB
accelerator potential.  Need more work to finish replacing rcons.
Premilinary tests were done with DECstation and TC Alpha.
1999-02-23 06:34:49 +00:00
nisimura c07be2882b - Make sure SFB ROP register initialized with value 3.
- Turn off video signal during hardware initialization.
1999-02-19 03:42:42 +00:00
thorpej 8ce7166aa3 __pmax__ -> pmax, like other ports. 1999-01-15 23:29:55 +00:00
drochner 1eba733d91 remove dummy "load_font" entries 1999-01-11 21:35:54 +00:00
mrg db3051d720 fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
1998-11-19 15:38:20 +00:00
nisimura 4184d87669 - Fix cursor image handling bugs escaped in last commit. 1998-11-18 12:26:31 +00:00
drochner 047a7756d8 use mi register definitions 1998-11-14 16:31:34 +00:00
nisimura 9d716ec821 - Fix many errors in cursor image manipulation. Hardware expect 2
bit/pixel format, not planer format.  Assign MSB for cursor mask and
LSB for cursor image, where 10 means mask color and 11 for image color.
Image bit order of Bt431 and Bt459 are opposite to MIPS/Alpha processors
while IMS G332 and DC503 (PCC) are indentical.
- Assume that cursor images are 32 pixel padded as ULTRIX/DU ws interface
do.  It's natural to X server.
- XXX Vast majority of codes are duplicated between mfb<->tfb and cfb<->sfb.
Code sharing might be achieved in the context of TGA/SFB+ merge.
1998-11-09 03:58:05 +00:00
nisimura 6020153959 - Assign copyright terms. 1998-10-30 00:53:12 +00:00
nisimura e29350c92c - Introduce MI NWSCONS drivers for TURBOchannel framebuffer option cards.
N.B., Digital UNIX never supports neither PMAG-AA (mfb) nor PMAG-BA (cfb)
for TC Alphas.  PMAG-DV (xcfb) is Personal DECstation built in.  All should
be good for console, but need much works for cursor/colormap completeness.
1998-10-29 12:24:24 +00:00