summaryrefslogtreecommitdiff
path: root/sys/dev/rasops
AgeCommit message (Collapse)Author
2006-12-02Oops, prevent a warning if rasops_bswap is not required.Miod Vallat
2006-12-02On frame buffers which endianness differs from the host CPU, we can not affordMiod Vallat
using ovbcopy() in the erasecols emulop, as the ovbcopy implementation might do larger-than-byte loads and store, which will not have the expected result if the source and destination addresses are not similarly aligned. Instead, roll our own byte-only ovbcopy() in this case. This is made dependent on a config(8) attribute to avoid bloating platforms which do not need this, thus frame buffers which may set RI_BSWAP in ri_flg need to depend on this attribute. Problem spotted by matthieu@ using tcsh on sparc64 console.
2006-11-29Add an unpack_attr function to struct wsdisplay_emulops, to match theMiod Vallat
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers.
2006-08-04More simplification for little-endian systems.Miod Vallat
2006-08-03Since rasops is big-endian internally (because it's the logical choiceMiod Vallat
for frame buffer work), it is no surprise that the less-than-8-bpp code is completely wrong when run on a little endian machine, and only works by accident if character cells are 8-bit wide. Fix the BE<->LE conversions, so that now rasops1 works in all cases. rasops2 and rasops4 might still need some help, but I'm not in a hurry to meet a 4bpp big-endian frame buffer on a little-endian system...
2006-03-10Omit specific depth in rasops_init_devcmap() if not compiling for them.Miod Vallat
2006-03-04Add a generic putchar() implementation, which will work with fonts up to 16Miod Vallat
bits wide.
2006-01-08Big-endian fix here too.Miod Vallat
2006-01-08Fix stamp creation for big-endian systems. Makes mac68k happy at 16bpp.Miod Vallat
2006-01-08Correctly initialize ri_devcmap at 4bpp.Miod Vallat
2005-09-15Stop compiling the texte console rotation code #ifdef __zaurus__, but useMiod Vallat
a flag in the rasops_info structure; drivers which may use it shall declare a specific attribute for the config(8) machinery, so that the necessary code is compiled in. In addition to this, rotated font computation is now done on-demand, and a list of unrotated-rotated font cookie pairs is kept, rather than rotating all built-in wsfonts at initialization time. No user-perceptible functional change. Tested matthieu@ uwe@, ok uwe@
2005-05-01Another evil hack to turn sidelining into underlining on the Zaurus console.Christopher Pascoe
tested dlg@
2005-04-30Temporary hack to (un)rotate the Zaurus console until a proper rasopsChristopher Pascoe
rotation framework is ready.
2005-03-08Cosmetics...Thierry Deval
Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
2005-01-14TypoMiod Vallat
2003-12-17Provide a real inverted cursor for rasops-based consoles; inspired byMiod Vallat
a similar diff in NetBSD.
2003-04-14Remove dead attribute "rasterconsole".Miod Vallat
2003-02-12It is not clear that the order of operations will be what the programmerHenric Jungheim
intended. (This fixes a gcc3 warning.) ok jason, millert
2002-08-12Add a callback routine for when the cursor position is updated (this allowsJason Wright
for updating prom cursor locations).
2002-07-28Define RASOPS_SMALL when SMALL_KERNEL is also defined.Miod Vallat
Shaves a few more KB out of alpha (and others) ramdisks.
2002-07-27Fix PIXEL_SHIFT value for 4bit displays.Miod Vallat
2002-07-27Unstaticize functions, for my ddb sessions pleasure.Miod Vallat
Plus it makes hangman more difficult.
2002-07-25If passed RI_BSWAP, swap32 the stampJason Wright
2002-07-23Do not use bcopy() when you mean ovbcopy(); found the hard way by aaron@Miod Vallat
2002-07-17No newline in panic messagesMiod Vallat
2002-07-02inital -> initialNathan Binkert
2002-05-29remove unneeded header.Federico G. Schwindt
2002-05-28o spaces, tabs, spelling cleanup.Federico G. Schwindt
o remove unneeded headers. o makes this to compile if RASOPS_SMALL is defined. o makes rasops2 to compile.
2002-05-28make this compile; jason@ ok.Federico G. Schwindt
2002-05-02use the gallant 12x22 font by default on screens that are moreMatthieu Herrb
than 960 pixels wide if !SMALL_KERNEL, like rcons does. Ok drahn@, mickey@, miod@.x
2002-03-14First round of __P removal in sysTodd C. Miller
2001-03-18Import rasops from NetBSD. This gives improved performance for rasterNathan Binkert
operations.