Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Working with h-blank interrupt?
#12
(06-24-2020, 07:36 PM)sodthor Wrote: Yes please if you have some code to check, it will easier.
Even full code, I'll sign a NDA to keep it secret Wink


Let's start a little smaller.  Tongue 

The attached code draws a gradient, and even with all the other stuff from my game removed, the gradient still misbehaves on real hardware.

Edit:  I attached even simpler code that exemplifies the issue I'm having.  It has scroll plane 2 segmented into 3 sections.  Some text is printed in the top, middle and bottom.  The middle section moves SCR2_X by 1, and the bottom section moves SCR2_X by 2, so the bottom section scrolls faster than the middle.  The top section stays still.

When the scrolling code is introduced into the hblank in addition to gradient, that's when things misbehave on real hardware.  I can get the gradient working with no issues, if I do only the gradient and forego split scrolling.


Attached Files
.zip   hblanktest.zip (Size: 28.11 KB / Downloads: 3)
Reply


Messages In This Thread
Working with h-blank interrupt? - by Nnnn - 03-26-2020, 05:30 PM
RE: Working with h-blank interrupt? - by Flavor - 03-27-2020, 01:47 AM
RE: Working with h-blank interrupt? - by Nnnn - 03-27-2020, 02:23 AM
RE: Working with h-blank interrupt? - by Flavor - 03-27-2020, 03:07 AM
RE: Working with h-blank interrupt? - by sodthor - 03-27-2020, 03:20 AM
RE: Working with h-blank interrupt? - by Nnnn - 03-27-2020, 04:00 PM
RE: Working with h-blank interrupt? - by sodthor - 03-28-2020, 04:05 AM
RE: Working with h-blank interrupt? - by Flavor - 03-28-2020, 04:11 AM
RE: Working with h-blank interrupt? - by Nnnn - 03-28-2020, 10:20 PM
RE: Working with h-blank interrupt? - by sodthor - 06-24-2020, 07:36 PM
RE: Working with h-blank interrupt? - by winteriscoming - 06-25-2020, 12:14 AM
RE: Working with h-blank interrupt? - by sodthor - 06-25-2020, 02:44 AM
RE: Working with h-blank interrupt? - by sodthor - 06-25-2020, 04:29 AM
RE: Working with h-blank interrupt? - by sodthor - 06-26-2020, 06:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)