Okay, yeah I looked for such a thread and couldn't quite locate it. I'm sure it's around somewhere.
To make absolutely sure I wasn't crazy or didn't have some weird fluke, I tried it again today and did a whole slew of value comparisons and combinations.
From my comparisons, 32X green 0x1F matches ...
Search found 24 matches
- Mon Mar 10, 2025 6:53 am
- Forum: Super 32X
- Topic: 32X colors
- Replies: 3
- Views: 6013
- Sun Mar 09, 2025 4:13 am
- Forum: Super 32X
- Topic: 32X colors
- Replies: 3
- Views: 6013
32X colors
By doing some careful color matching between the 32X and the Genesis, I have concluded the following:
1) The 32X uses a linear color ramp.
2) The green seems to need a slight boost (less than a single color step) over the red and blue to come close to a Genesis color.
It's the second point that ...
1) The 32X uses a linear color ramp.
2) The green seems to need a slight boost (less than a single color step) over the red and blue to come close to a Genesis color.
It's the second point that ...
- Tue Feb 25, 2025 5:49 am
- Forum: Super 32X
- Topic: 32X and Genesis frame alignment in H32 mode
- Replies: 1
- Views: 3069
32X and Genesis frame alignment in H32 mode
First off, I am fully aware that H32 is not officially supported for the 32X. But it does work.
What I have noticed though, at least on my setup (NTSC model 2), is when H32 is being used, the 32X frame is shifted to the right about four pixels, revealing a slither of the Genesis graphics on the ...
What I have noticed though, at least on my setup (NTSC model 2), is when H32 is being used, the 32X frame is shifted to the right about four pixels, revealing a slither of the Genesis graphics on the ...
- Fri Jun 21, 2024 5:04 pm
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 36
- Views: 140571
Re: 32X VDP going crazy with my attempts to draw
I just thought of something: palette definitions have a priority bit. That's probably what's giving me trouble. I'll have to play with it later when I have some time.
I still think the hardware manual could be a little clearer. I might have picked this up sooner.
I still think the hardware manual could be a little clearer. I might have picked this up sooner.

- Fri Jun 21, 2024 6:29 am
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 36
- Views: 140571
Re: 32X VDP going crazy with my attempts to draw
This board doesn't have much activity these days. I hope this post gets seen by someone...
I'm trying to understand how to draw 32X graphics in front of the Genesis VDP output. I currently have no tiles mapped to the Genesis VDP. So it's a blank screen with a green background. I write 0x0000 words ...
I'm trying to understand how to draw 32X graphics in front of the Genesis VDP output. I currently have no tiles mapped to the Genesis VDP. So it's a blank screen with a green background. I write 0x0000 words ...
- Sun Jan 16, 2022 5:00 am
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 36
- Views: 140571
Re: 32X VDP going crazy with my attempts to draw
It's no wonder it has problems... you aren't saving r0 or r2.
Close. It is saving the R0 register in 'main_irq'. However, I completely missed R2. Fixed. Thanks!
Static is only for LOCAL variables. This MUST be a global variable.
"volatile unsigned int variable_name;" and this must not be ...
- Fri Jan 14, 2022 6:40 pm
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 36
- Views: 140571
Re: 32X VDP going crazy with my attempts to draw
That variable needs to be set as volatile, for one. Also, have you enabled the vbi? Look at D32XR's crt0.s at about line 390. We enable the vbi and set sr to allow interrupts right before purging the cache and jumping to main().
I got it "working". That is, it calls my C code now! But something ...
- Mon Jan 10, 2022 11:05 pm
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 36
- Views: 140571
Re: 32X VDP going crazy with my attempts to draw
I've been trying to establish an FPS counter to aid me further in screen draw optimizations. I want to increase a counter every time a V-Int occurs. Likewise, I want to increase a frame counter every time I draw to the screen in my logic loop. Then with some math wizardry, I have an FPS count.
The ...
The ...
- Sat Jan 08, 2022 4:51 am
- Forum: Super 32X
- Topic: Untitled 32X Super Scalar Project
- Replies: 34
- Views: 69675
Re: Untitled 32X Super Scalar Project
I've wondered about this for a while now. So if I'm interpreting you correctly, it sounds like unless you want to hinder the system's overall performance, using the Z80 for anything at all does more harm than good in the case of 32X development.
- Thu Jan 06, 2022 9:16 pm
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 36
- Views: 140571
Re: 32X VDP going crazy with my attempts to draw
Oh my gosh... just figured it out:
volatile unsigned short *lineTable16 = &(*(volatile unsigned short *)0x24000000);
volatile unsigned short *frameBuffer16 = &(*(volatile unsigned short *)0x24000200);
Since it's using entries from 'lineTable16' to plug into the offset for 'frameBuffer16', it's ...
volatile unsigned short *lineTable16 = &(*(volatile unsigned short *)0x24000000);
volatile unsigned short *frameBuffer16 = &(*(volatile unsigned short *)0x24000200);
Since it's using entries from 'lineTable16' to plug into the offset for 'frameBuffer16', it's ...
- Thu Jan 06, 2022 7:55 pm
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 36
- Views: 140571
Re: 32X VDP going crazy with my attempts to draw
Good question. I have set the camera position to {0,0} and modified the level layout slightly to get it to draw some things. Should show 128x128 area of waterfall and 128x128 area of wall in the following way:
[water, wall, water]
[wall, water, wall]
The right-most chunks should only show the ...
[water, wall, water]
[wall, water, wall]
The right-most chunks should only show the ...
- Thu Jan 06, 2022 4:42 pm
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 36
- Views: 140571
Re: 32X VDP going crazy with my attempts to draw
So I've been trying to take care of the 0xFF pixel shift bug. I also wanted to take advantage of more frame buffer real estate, thus trying to make each row 578 pixels wide (that number was picked in part because it only allows for a single 0xFF line offset at any given time). I rewrote the drawing ...
- Mon Jan 03, 2022 5:55 pm
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 36
- Views: 140571
Re: 32X VDP going crazy with my attempts to draw
There is only enough fill rate to cover all of the screen once while using all of the CPU power, due to all the wait states on VRAM access. If you want 60FPS you need to limit amount of stuff that gets drawn, both in area and definitely in overdraw. It is faster to check what has to be drawn and ...
- Sun Jan 02, 2022 5:57 pm
- Forum: Super 32X
- Topic: Untitled 32X Super Scalar Project
- Replies: 34
- Views: 69675
Re: Untitled 32X Super Scalar Project
Is that airplane polygon-based, or just a bunch of sprites at different angles? Looks spritey, but angle changes are very fluid like polygons
- Sun Jan 02, 2022 5:51 pm
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 36
- Views: 140571
Re: 32X VDP going crazy with my attempts to draw
Take a look at my research posts about drawing sprites. There are routines that draws 32x32 sprites in various ways. It may give you some ideas.
But realistically chances are you’ll have to settle for a low framerate or draw just the important objects. The 32x doesn’t give you enough pixel ...