Commit Graph

30 Commits

Author SHA1 Message Date
augustss 169ac5b3c1 Remove register declarations. 2000-03-30 12:41:09 +00:00
thorpej fc96443d15 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 07:01:25 +00:00
pk 7327fb6f23 Split off tty initialization in rcons_init() into a separate routine
and get rid of `fbconstty'.
2000-03-20 11:24:46 +00:00
ad 3fc9d6b40e Indicate that rcons is a dead end and that doing something more wsconsish is
recommended.
1999-12-17 01:41:52 +00:00
scottr d617933e27 Round out our options with 4bpp framebuffer support, conditional
on RCONS_4BPP.
1999-11-23 01:52:52 +00:00
thorpej f0629e4b90 Change the way the default foreground and background colors are chosen:
require the front-end to initialize rc_deffgcolor and rc_defbgcolor (both
new members), and override these only if RASTERCONSOLE_{FG,BG}COL are
set in the kernel configuration file.
1999-08-26 20:48:09 +00:00
bouyer 29664a379a The options actually used are RASTERCONSOLE_{FG,BG}COL, not
RASTERCONS_{FG,BG}COL. defopt the rigth ones.
1999-07-20 18:05:15 +00:00
ad 080560c8c6 - Setting initial position of cursor is up to caller.
- Set cursor position properly for SPARC. From Juergen Hannken-Illjes.
1999-05-23 17:59:39 +00:00
ad 5bb340fef9 This file is superceded by rcons.h. 1999-05-20 21:16:57 +00:00
thorpej 332dd60029 Fix broken prototype. 1999-05-20 19:56:49 +00:00
ad 02bc362e3e Add arg to rcons_init() that when set causes screen to be cleared. 1999-05-19 20:34:19 +00:00
ad 4bebd3ff7c Don't clear screen upon startup unless we're running on a pmax (remedies
quirky behaviour of px boards). Shuffle come code in rcons_init_ops() in
order to be more clear.
1999-05-19 20:07:34 +00:00
ad 6ee9a851df Let `mapchar' in operations set decide if characters (c > 127) are printable. 1999-04-22 00:46:36 +00:00
ad 9603b90966 Add missing RCONS_2BPP and RCONS_16BPP options for compatibility with code
that has not yet changed over to 'rasops'.
1999-04-14 18:43:24 +00:00
ad 8fe6730f9a Many enchancements to rcons to support ANSI color and all attributes
properly. All output now performed using a 'struct wsdisplay_emulops'.
1999-04-13 18:43:17 +00:00
dbj 9d326d488b defopt RCONS_2BPP and RCONS_16BPP
add support for 16bpp framebuffers as found on color nexten.
1999-03-27 00:07:58 +00:00
drochner 2379551296 add 2bpp support, for sake of NeXT monochrome displays, from
matt debergalis <deberg@mit.edu> KB1CTH per PR kern/6741 and kern/6786,
minimally corrected
1999-01-11 11:08:14 +00:00
thorpej f64a09cf13 Replace a use of << with the LSOP macro, to fix a specific problem on
little-endian machines.  PR #6390, Ben Harris.
1998-12-18 21:59:34 +00:00
cgd 651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
christos 86373f8cf9 backout kprintf changes 1996-10-13 01:37:04 +00:00
christos 3b23328ae6 printf -> kprintf, sprintf -> ksprintf 1996-10-10 21:11:37 +00:00
cgd 01c4e7fb64 include raster_op.c and raster_text.c if 'raster' is defined, as well
as if 'rasterconsole' is defined.  Alpha uses 'raster' to pull in the
raster text and operation code, but doesn't use this console emulator,
etc.
1996-04-11 21:54:38 +00:00
christos 357fb0e430 - add and fix prototypes and warnings.
- remove nested comment in header file.
1996-03-14 19:02:30 +00:00
pk 3b2862c858 Make it work on little-endian monochrome buffers; per Ted. 1995-11-29 22:12:58 +00:00
pk 12bfe2e68e Must change `u_long' to `u_int32_t' as Jason pointed out. 1995-11-29 22:03:53 +00:00
cgd 540ab1b88d since 'long's in this code are meant to be exactly 32-bits wide, use
'int32_t's instead, so that this code is usable on the alpha.
1995-11-24 23:50:51 +00:00
pk 476de93402 Remove `rc_font_ascent' from structure. 1995-10-05 13:17:51 +00:00
pk 6a7edf0b56 Move font defs back into machine-dependent area (per Jonathan Stone).
Integrate patches from der Mouse (8-bit cleanliness, FULLSCREEN option,
SMALLFONT option).
The (MD) caller of rcons_init() is now responsible for initialising `rc_font'.
1995-10-04 23:57:17 +00:00
pk 0e646ae994 Move RCONSOLE files here and rename option to RASTERCONSOLE. 1995-10-04 23:35:31 +00:00
pk a8e925d362 rcons (Raster CONSole) brought over here from the sparc area.
sparc device dependencies have been removed, as well as all references
to `struct fbdevice's. Clients need to #include <dev/rcons/rcons.h>.
1995-09-17 19:56:30 +00:00