Mail Archives: djgpp/1998/09/10/03:32:43
On Wed, 9 Sep 1998, Tal Lavi wrote:
> he said that the copied test is bigger than the new test or something)
Maybe it was just too big... Try to make it as short as you can,
without losing the important code fragments.
> a BlankPage routine, which will copy it using movedata(you said it
> will be faster, right?).
Right, movedata and dosmemput are the fastest ways of blitting large
buffers.
> but when I need to write a single pixel, or to put some shape(line,
> rectangle), on screen, I don't see a way that I could use longs instead
> of words, while i'm in 64K modes.
Sorry, I don't understand why a 64K mode prevents you from using
32-bit moves. Why can't you combine two 16-bit words into a single
32-bit word and move it in one piece? The code fragment you posted
suggested that you are moving the 16-bit words to consecutive
addresses, so I don't see what's preventing you from using 32-bit
words.
- Raw text -