diff --git a/src/dspif.c b/src/dspif.c index 24aa464..80d4642 100644 --- a/src/dspif.c +++ b/src/dspif.c @@ -32,6 +32,13 @@ extern unsigned LispDisplayRequestedHeight; #ifdef DOS extern int dosdisplaymode; + +static VESA_p(void) { + /* Magic. Do a vesa call to determine the current mode. */ + return (VESA_call(3, 0)); +} + +static VGA_p(void) { return (TRUE); } #endif /* DOS */ void make_dsp_instance(DspInterface dsp, char *lispbitmap, int width_hint, int height_hint, @@ -68,15 +75,6 @@ void make_dsp_instance(DspInterface dsp, char *lispbitmap, int width_hint, int h #endif /* DOS | XWINDOW */ } /* Now we know the maximum capabilities of the hardware. */ -#ifdef DOS -VESA_p() { - /* Magic. Do a vesa call to determine the current mode. */ - return (VESA_call(3, 0)); -} - -VGA_p() { return (TRUE); } -#endif /* DOS */ - /*********************************************************************/ /* */ /* G e n e r i c R e t u r n T */