Mail Archives: djgpp/2001/02/26/15:55:16
Hello djgpp AT delorie DOT com!
On the page
http://www.delorie.com/djgpp/doc/ug/graphics/vesa.html
I have learnt some about the VESA graphics modes.
I have a problem when I´m using the VESA graphic modes for my
djgpp-programming.
I have followed the example on the page, and I manage to get a higher
resolution, for example 800*600, thanks to VESA, and I can also put a pixel
on the screen. The problem is the copy_to_vesa_screen function, the function
that makes the drawing process faster. When I´m executing the program with
that function I can no longer see the pixel. I think the problem is that I
don´t know what to write in the line where I call the function, the ?????
below shows what I´m meaning:
copy_to_vesa_screen(?????, 480000);
the void-line looks like this:
void copy_to_vesa_screen(char *memory_buffer, int screen_size)
So, what shall I write where the char *memory_buffer stands? Is it the
address to the memory, and if it is, how can I find out what that address
is?
I would be very happy for an answer, because I don’t know what to do.
Thank you!
Best regards
Hans Jörgensen, Alafors, Sweden E-mail: kruse82 AT hotmail DOT com
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
- Raw text -