flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > Graphics in Menuet |
Author |
|
Bitdog 19 Jan 2004, 14:09
I'm no MeOS expert, but
REPZ OUTSB REPZ INSB will load a palette practicly instantly if there is no white space (zero bytes) in the array. (like a Dword holding 3 bytes does.) LODSD seems quicker to load the needed 3 RGB bytes, but load to what? Nothing that uses the palette can use it in that form ? If it's a file being loaded, "align 4" each RGB doesn't matter. other than is slows down the load due to the fact that it's 1/4+ bigger. The nitti gritti of asm coding that uses 4 byte Dwords to hold the 3 RGB bytes is that it has to shift, inc, mov, loop, or other garbage that REPZ OUTSB doesn't do. Maybe that's the reason, a RGB color array is best stored in 3 byte chunks. PS, I'm still looking for a general help.txt file for newbee's, plz. |
|||
19 Jan 2004, 14:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.