diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2000-05-08 14:55:21 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2000-05-08 14:55:21 +0000 |
| commit | b95b56c7a06bd268299c6d3b1104e09831e600dc (patch) | |
| tree | 6811900b99491e15b7d912b9447c4937f473c4ee /sys/dev/syscons | |
| parent | 2d41e34a07f6ab1ce444958ca1a68fb451cf0b7e (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/daemon/daemon_saver.c | 10 | ||||
| -rw-r--r-- | sys/dev/syscons/snake/snake_saver.c | 4 | ||||
| -rw-r--r-- | sys/dev/syscons/star/star_saver.c | 4 |
3 files changed, 18 insertions, 0 deletions
diff --git a/sys/dev/syscons/daemon/daemon_saver.c b/sys/dev/syscons/daemon/daemon_saver.c index b056b486a039..5d5c5393b1fd 100644 --- a/sys/dev/syscons/daemon/daemon_saver.c +++ b/sys/dev/syscons/daemon/daemon_saver.c @@ -43,6 +43,10 @@ #include <dev/fb/splashreg.h> #include <dev/syscons/syscons.h> +#ifdef PC98 +#include <pc98/pc98/pc98_machdep.h> +#endif + #define DAEMON_MAX_WIDTH 32 #define DAEMON_MAX_HEIGHT 19 @@ -200,9 +204,15 @@ draw_string(sc_softc_t *sc, int xpos, int ypos, int xoff, char *s, int len) int x; for (x = xoff; x < len; x++) { +#ifdef PC98 + sc_vtb_putc(&sc->cur_scp->scr, + ypos*sc->cur_scp->xsize + xpos + x, + sc->scr_map[s[x]], (FG_GREEN | BG_BLACK) << 8); +#else sc_vtb_putc(&sc->cur_scp->scr, ypos*sc->cur_scp->xsize + xpos + x, sc->scr_map[s[x]], (FG_LIGHTGREEN | BG_BLACK) << 8); +#endif } } diff --git a/sys/dev/syscons/snake/snake_saver.c b/sys/dev/syscons/snake/snake_saver.c index e4277e3beee2..a9a067ac4ee7 100644 --- a/sys/dev/syscons/snake/snake_saver.c +++ b/sys/dev/syscons/snake/snake_saver.c @@ -43,6 +43,10 @@ #include <dev/fb/splashreg.h> #include <dev/syscons/syscons.h> +#ifdef PC98 +#include <pc98/pc98/pc98_machdep.h> +#endif + static char *message; static int *messagep; static int messagelen; diff --git a/sys/dev/syscons/star/star_saver.c b/sys/dev/syscons/star/star_saver.c index 27e992133ee7..00088528c8c3 100644 --- a/sys/dev/syscons/star/star_saver.c +++ b/sys/dev/syscons/star/star_saver.c @@ -41,6 +41,10 @@ #include <dev/fb/splashreg.h> #include <dev/syscons/syscons.h> +#ifdef PC98 +#include <pc98/pc98/pc98_machdep.h> +#endif + #define NUM_STARS 50 static int blanked; |
