Message-ID: <38029759.685E@TU-Berlin.DE> Date: Mon, 11 Oct 1999 19:05:13 -0700 From: Klaus Reinhardt X-Mailer: Mozilla 3.04Gold (Win95; I; 16bit) MIME-Version: 1.0 To: djgpp AT Delorie DOT com Subject: Re: bmp->screen function References: <37FD56E5 DOT 17F8 AT TU-Berlin DOT DE> <7tluug$7nq$1 AT solomon DOT cs DOT rose-hulman DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Damian Yerrick wrote: > If you want to put a graphic on the screen, try the Allegro library. ----------------- mailto:K DOT Rdt AT TU-Berlin DOT DE start ------------------- Hello! Well, I'm still trying to get a simplest(!) way of loading a *.bmp to screen. That means I thankfully use the hints about allegro and the examples for tp6 (from Uphoff), but want to have the following: 1.) Plain DOS(-16) switches to a (non-VESA-) gaph-mode, to 2.) load a *.bmp, on which I draw with ASM(-16) or the like some menue, to get some input for running an application. Now the problem: The logo.sys is a 320x400 pix with 256 colors. When I load it with an allegro-test-prog (as pointed out in the thread) I can find out a vid-mode 13h. vga.c: /* standard mode 13h */ r.x.ax = 0x13; __dpmi_int(0x10, &r); When I load it in DOS-16-non-VESA-int10(0x13)-mode, then I got the wrong colors: Is generally 0x13 a legal DOS-16-mode? Klaus. ----------------- mailto:K DOT Rdt AT TU-Berlin DOT DE !end! -------------------