question about color and HBlankInt

For anything related to VDP (plane, color, sprite, tiles)

Moderators: BigEvilCorporation, Mask of Destiny

zhengyaxin_8bit
Very interested
Posts: 101
Joined: Thu Sep 04, 2008 2:57 am
Location: China

Post by zhengyaxin_8bit » Mon Feb 25, 2013 4:11 pm

Yes, I can do this. But in NTSC, if you can't raise the cpu-speed, Best update 2 rows color(total 16*2=32 color)。Because the last color palette, Hint not had time to update

greatkreator
Very interested
Posts: 158
Joined: Sat May 12, 2012 7:37 pm
Location: Ukraine

Post by greatkreator » Mon Feb 25, 2013 4:14 pm

i have an ordinary sega genesis 1. i am not sure i can increase its cpu speed.
i am just software developer not hardware-man.

it would be very nice if you do it.

zhengyaxin_8bit
Very interested
Posts: 101
Joined: Thu Sep 04, 2008 2:57 am
Location: China

Post by zhengyaxin_8bit » Mon Feb 25, 2013 5:39 pm

You have to download the source code?You can modify the code

Code: Select all

$811c-->$8114
$810c-->$8104
$817c-->$8174
$816c-->$8164
https://www.box.com/s/tu2n6spnl5i2d9eczb1s

greatkreator
Very interested
Posts: 158
Joined: Sat May 12, 2012 7:37 pm
Location: Ukraine

Post by greatkreator » Mon Feb 25, 2013 5:47 pm

thanks a lot zhengyaxin! it works very well.
are four palettes switched each tile row vertically? right?
aren't margins between images to hide the palette artifacts?

zhengyaxin_8bit
Very interested
Posts: 101
Joined: Thu Sep 04, 2008 2:57 am
Location: China

Post by zhengyaxin_8bit » Fri Mar 01, 2013 12:41 am

greatkreator wrote: are four palettes switched each tile row vertically? right?
aren't margins between images to hide the palette artifacts?
Total 64 color,I just changed the next 48 colors., the before 16 colors are shared.The vertical spacing of icon for run multiple H-Interrupt.
each H-Interrupt just change three colors.

greatkreator
Very interested
Posts: 158
Joined: Sat May 12, 2012 7:37 pm
Location: Ukraine

Post by greatkreator » Fri Mar 01, 2013 12:50 am

What reason to do palette switching to get 64 colors?
Can you make a single solid image with more than 64 colors?

zhengyaxin_8bit
Very interested
Posts: 101
Joined: Thu Sep 04, 2008 2:57 am
Location: China

Post by zhengyaxin_8bit » Fri Mar 01, 2013 2:28 am

We need to reduce the running time of V interrupt.So that it can leave more time for HINT.Actual picture may be complicated.For example
,8 rows with 64 colors, the following eight rows of the other 64 color.
We will not have time to update all 64 colors(Maximum 8 Hinterrupt)

greatkreator
Very interested
Posts: 158
Joined: Sat May 12, 2012 7:37 pm
Location: Ukraine

Post by greatkreator » Fri Mar 01, 2013 2:33 am

it's clear.

do you do it just for "demo-fun" or do you have a purpose for the functionality?

Post Reply