Ok, that's almost what I thought. Good to have confirmation though, thanks.
So with the following modifications it works:
1. Gradient_setNextColor() looks one ahead for the skip value. (because for clarity I want to keep my LUT format the same)
2. The skip value of the first entry gets halved ...
Search found 8 matches
- Fri Jul 19, 2013 12:04 pm
- Forum: Video Display Processor
- Topic: HInt Counter timing
- Replies: 2
- Views: 4999
- Fri Jul 19, 2013 11:32 am
- Forum: Video Display Processor
- Topic: HInt Counter timing
- Replies: 2
- Views: 4999
HInt Counter timing
Here I am again. Didn't think I would run into the next issue so quickly...
I have now extended my color switching solution to use a lookup table that has two entries, one for color and one for the next line skip value (HInt counter). I'll just show you some code, it's simple:
typedef struct ...
I have now extended my color switching solution to use a lookup table that has two entries, one for color and one for the next line skip value (HInt counter). I'll just show you some code, it's simple:
typedef struct ...
- Thu Jul 18, 2013 2:08 pm
- Forum: Video Display Processor
- Topic: Palette color switching in HBlank
- Replies: 14
- Views: 36596
- Thu Jul 18, 2013 1:55 am
- Forum: Video Display Processor
- Topic: Palette color switching in HBlank
- Replies: 14
- Views: 36596
- Wed Jul 17, 2013 10:27 pm
- Forum: Video Display Processor
- Topic: Palette color switching in HBlank
- Replies: 14
- Views: 36596
- Wed Jul 17, 2013 4:38 pm
- Forum: Video Display Processor
- Topic: Palette color switching in HBlank
- Replies: 14
- Views: 36596
- Wed Jul 17, 2013 1:40 pm
- Forum: Video Display Processor
- Topic: Palette color switching in HBlank
- Replies: 14
- Views: 36596
- Tue Jul 16, 2013 9:46 pm
- Forum: Video Display Processor
- Topic: Palette color switching in HBlank
- Replies: 14
- Views: 36596
Palette color switching in HBlank
Hi guys.
First of all, I'm new here. But I have read quite a lot of posts already and lots of other Genesis info. I'm currently starting to port an existing iPhone retro game to the Genesis. It's not very far yet, just some level scrolling code and a couple music prototypes using Echo and sgdk ...
First of all, I'm new here. But I have read quite a lot of posts already and lots of other Genesis info. I'm currently starting to port an existing iPhone retro game to the Genesis. It's not very far yet, just some level scrolling code and a couple music prototypes using Echo and sgdk ...