Search found 38 matches

by TotOOntHeMooN
Fri May 15, 2009 11:44 am
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

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...
by TotOOntHeMooN
Fri May 15, 2009 8:36 am
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

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...
by TotOOntHeMooN
Fri May 15, 2009 6:24 am
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

Yes, I'm thinking about.
Else, is it possible to perform "blitting" by permorming data-block transfert, from RAM to FB, by using DMA ?
Is it efficient to using a part of the FB like a buffer ?

Thank you.
by TotOOntHeMooN
Thu May 14, 2009 11:58 pm
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

Yes, I forgot that I have to write pixel per pixel.
by TotOOntHeMooN
Thu May 14, 2009 10:08 pm
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

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...
by TotOOntHeMooN
Thu May 14, 2009 8:39 pm
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

It's possible that I don't realy comes to identify the SH-2 power.
I explain a concept, not the way to program it.
All stufs are not good to take, but can help to go forward.
I'll have to do better. :)
by TotOOntHeMooN
Thu May 14, 2009 8:02 pm
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

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...
by TotOOntHeMooN
Thu May 14, 2009 7:49 am
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

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 ... ...
by TotOOntHeMooN
Thu May 14, 2009 6:32 am
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

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...
by TotOOntHeMooN
Wed May 13, 2009 8:32 pm
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

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...
by TotOOntHeMooN
Tue May 12, 2009 2:57 pm
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

And, you just have to load it for B-Plane. :)
Also, it allow a perfect collision detection.

EDIT:

Else, you can use 48bit :

8 : Transparency Mask
8 : Collision Mask
32 : Tile / Sprite

Very usefull too !
by TotOOntHeMooN
Mon May 11, 2009 10:29 am
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

slowly but surely ...
by TotOOntHeMooN
Thu May 07, 2009 3:00 pm
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

Pleased to see the project move forward ! :)
by TotOOntHeMooN
Mon Jan 26, 2009 1:40 pm
Forum: Super 32X
Topic: Super VDP
Replies: 167
Views: 208111

I trust you ! ;)
by TotOOntHeMooN
Fri Jul 04, 2008 9:08 pm
Forum: Tools
Topic: MML for Genesis
Replies: 3
Views: 5582

All right. Thank you very much ! :)