Search found 38 matches
Well, if you can combine it to work on multiple pixels at once, it might become worth doing. You suggest to use a bitmask + lookup table for allowing O/W. Why not computing a new bitmask + lookup table ? sprite_mask OR screen_mask + lookup table. This allow O/W too ! By writing front to back, you c...
when the cache is disabled, you can treat the ENTIRE cache as very fast memory. Nice. And performing DMA ? So, using this memory should be a fastest way to copy many bytes to framebuffer ? Compared to the 68K, SH-2 have a lot of registers. Is-it a good way to using two of them for storing a tile an...
I have read again. (sorry for my english) May be, I think that it's possible to do it more faster by using a bit-mask for the screen. (9.8KB) I add sprites & tiles masks to it. Depending this "big mask", it may skip or write pixels to the frame buffer. By this way, you never expand & write hidden pi...
I need to cold my brain. Another way for drawing all using bit-mask... Front to back ! Steps : 1- init the screen mask. 2- sprite mask AND screen mask, then draw sprite to the FB [...] 3- tile mask AND screen mask, then draw B-plane tile to the FB [...] 4- draw A-plane tile to the FB [...] Only uncl...
Overwrite is good if your transparency is all or nothing. Alpha effects are what really slow things down if they aren't in hardware. Yes. Fortunately, no alpha here. :) With bitmask, you may use some "entries" for doing the good task without any test. This stuf can be used for the "screen" too ... ...
Which is precisely why the bit mask is a good idea [...] Using a bit mask means you only need one look up to change from bits to the mask itself, which is fast. I'm sure that bitmask was a nice solution. I just doubt about the O/W. And I think it was more efficient to writting a part of both planes...
It IS actually very clever ! 1 byte per line, containing 8 bits, 1 bit per pixel, 0 = transparent, 1 = not transparent. Then a Lookup Table. Have you read again our previous emails about scrolling, dma, ... If fact, I'm not sure using O/W was the best way to speed up the display. I have more than 1...
- Fri Jul 04, 2008 9:08 pm
- Forum: Tools
- Topic: MML for Genesis
- Replies: 3
- Views: 5582