What does Gens 32X VDP debug tell you?

Ask anything your want about the 32X Mushroom programming.

Moderator: BigEvilCorporation

Post Reply
ammianus
Very interested
Posts: 124
Joined: Sun Jan 29, 2012 2:10 pm
Location: North America
Contact:

What does Gens 32X VDP debug tell you?

Post by ammianus » Mon Feb 27, 2012 12:38 pm

I have gotten a basic set of images drawing on 32X in emulators, there is a background image and a set of frames of animation for a foreground "sprite". I think I've figured out how to set the CRAM palette correctly.


I noticed the Debug features in Gens let you see the VDP data. Maybe there is something I am not getting, why does it look like the images are repeated in Raw data? What does this actually tell you?

Image

I am using Gens KMod 0.7c

When I use the latest version of Gens/GS the only VDP debug is it seems to show are the color palettes at the bottom of the game screen.

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Tue Feb 28, 2012 8:55 am

32X has 2x framebufffers. While you update one, you show the other.
EDIT: not the case there...
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Tue Feb 28, 2012 9:05 am

I would say the debugger display the VRAM data as 8 bpp bitmap with the colormap colors but in your case i guess the VRAM contains 15/16 bpp bitmap, it's why you see that sort of image duplication.

ammianus
Very interested
Posts: 124
Joined: Sun Jan 29, 2012 2:10 pm
Location: North America
Contact:

Post by ammianus » Wed Feb 29, 2012 12:35 am

Stef wrote:I would say the debugger display the VRAM data as 8 bpp bitmap with the colormap colors but in your case i guess the VRAM contains 15/16 bpp bitmap, it's why you see that sort of image duplication.
Hmm, I've actually set VDP Mode to 8bpp too. When I look at a few other demo roms, I see the same thing, along with distorted colors, so I'll assume that I'm not doing something wrong.

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Wed Feb 29, 2012 6:54 pm

Hmm well, so maybe it is exactly the contrary :p
the debugger shows 15/16 bit bitmap while you use 8 bit one :)

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Thu Mar 01, 2012 2:20 am

It might be handy to have the ability to set what mode the frame buffer is shown in regardless of what the VDP is set to.

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Fri Mar 02, 2012 7:07 pm

hmm, bot which copy older message ?

sega16
Very interested
Posts: 251
Joined: Sat Jan 29, 2011 3:16 pm
Location: U.S.A.

Post by sega16 » Fri Mar 02, 2012 7:58 pm

What the heck what does this have to do with fm if this is a bot that would be a weird bot?

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Fri Mar 02, 2012 8:04 pm

It's just spam - the current spam bots actually try to derive something that SOUNDS like it might fit the thread to keep from getting deleted.

Huge
Very interested
Posts: 197
Joined: Sat Dec 13, 2008 11:50 pm

Post by Huge » Sun Mar 04, 2012 1:06 am

Chilly Willy wrote:It's just spam - the current spam bots actually try to derive something that SOUNDS like it might fit the thread to keep from getting deleted.
And now that they reached the point of sensible replies, they'll be able to reply to each other as well. Soon they will become self-aware and take over.

also,
Image

KanedaFr
Administrateur
Posts: 1139
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Post by KanedaFr » Sun Mar 04, 2012 8:25 am

to replay back to original post, I'm not a 32X pro so I don't even remember how I made the 32X part !
I assume, like the CD part, I did what Fonzie asked me ;)

I'm not sure I'll change anything on KMod for 2 reasons :
1/ lack of time
2/ waiting for Meradrin version

sorry

ammianus
Very interested
Posts: 124
Joined: Sun Jan 29, 2012 2:10 pm
Location: North America
Contact:

Post by ammianus » Sun Mar 04, 2012 7:07 pm

Huge wrote: And now that they reached the point of sensible replies, they'll be able to reply to each other as well. Soon they will become self-aware and take over.
Now I want to know what the spammer said.

Post Reply