VOGONS

Common searches


Search results

Display options

Re: very slow drawing with DJGPP

First, I think you should add edx to the clobber list ofmthe asm part. Second, instead of &backBuffer[0], simply backBuffer should be enough. Second, did you try to fill edx with a static value, e.g. 0xffffffff to see if it sets four pixels? Start by making your code simpler, then adding …

Re: very slow drawing with DJGPP

Untested, but this is a more generic Makefile. Note that it will compile too often, since the source files depend on ALL header files. But you can add a bit more to compute all header dependencies automatically. I leave that up for practice. If you want to add a new source file, just add it to the …

Re: very slow drawing with DJGPP

Try replacing -Os with -O3. The first optimizes for code size, the latter more for speed. Also you need to put that in every compile target. During linking where you are using it, it's worthless. Also get some documentation on make. You should use generic targets, so you can easily add and compile …

Page 58 of 104