I've got 2 graphics- and dos-related problems:
About using a screen-buffer: i made a pointer called ptr to (enough) free space using calloc. Then I need to copy the buffer to the real screen, but i don't know the video memory adress. I tried 0XA0000000L, is this wrong? And how do I have to copy the screen buffer to the real screen memory? i tried memcopy but then the system crashed and i had to reboot.
My standard video mode in DOS is 640*480*16 colors, how can i get to 256 color-mode? my screen can handle it
. I asume it has something to do with 'palettes' (of which i don't understand **** btw).
Thanks a lot to anybody who can solve one of my problems! I'm a young programmer from Belgium (Eastern Europe), and I like to work in DOS (because in Windows everything's done for you), now I'm "working" on a 3D-"engine" (for the fun, of course).