aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons/fire
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/syscons/fire')
-rw-r--r--sys/dev/syscons/fire/fire_saver.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/syscons/fire/fire_saver.c b/sys/dev/syscons/fire/fire_saver.c
index de60a20a58f9..4c995efcd640 100644
--- a/sys/dev/syscons/fire/fire_saver.c
+++ b/sys/dev/syscons/fire/fire_saver.c
@@ -55,7 +55,7 @@
#define SET_ORIGIN(adp, o) do { \
int oo = o; \
if (oo != last_origin) \
- set_origin(adp, last_origin = oo); \
+ vidd_set_win_org(adp, last_origin = oo); \
} while (0)
static u_char *buf;
@@ -118,14 +118,14 @@ fire_saver(video_adapter_t *adp, int blank)
/* switch to graphics mode */
if (blanked <= 0) {
pl = splhigh();
- set_video_mode(adp, scrmode);
- load_palette(adp, fire_pal);
+ vidd_set_mode(adp, scrmode);
+ vidd_load_palette(adp, fire_pal);
blanked++;
vid = (u_char *)adp->va_window;
banksize = adp->va_window_size;
bpsl = adp->va_line_width;
splx(pl);
- (*vidsw[adp->va_index]->clear)(adp);
+ vidd_clear(adp);
}
fire_update(adp);
} else {
@@ -141,11 +141,11 @@ fire_init(video_adapter_t *adp)
video_info_t info;
int i, red, green, blue;
- if (!get_mode_info(adp, M_VGA_CG320, &info)) {
+ if (!vidd_get_info(adp, M_VGA_CG320, &info)) {
scrmode = M_VGA_CG320;
- } else if (!get_mode_info(adp, M_PC98_PEGC640x480, &info)) {
+ } else if (!vidd_get_info(adp, M_PC98_PEGC640x480, &info)) {
scrmode = M_PC98_PEGC640x480;
- } else if (!get_mode_info(adp, M_PC98_PEGC640x400, &info)) {
+ } else if (!vidd_get_info(adp, M_PC98_PEGC640x400, &info)) {
scrmode = M_PC98_PEGC640x400;
} else {
log(LOG_NOTICE,