Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Working with h-blank interrupt?
#1
Hey all. Been playing more with programming for the NGPC, and it really is a fun system to work with. 

One thing I've been wanting to try next is changing the scroll position at time of HBlank to create raster effects (like stretching vertically, or raster 'haze' effects). I'm having a bit of trouble understanding the timing and requirements  to executing code during the h-interrupt, however.

I'm using the C framework. I tried creating a new HBlankInterrupt routine and installing it to HBL_INT (0x6FD4), but it doesn't seem to execute the code inside. I'm thinking maybe I have to change the interrupt priority setting? But I'm not exactly sure how that works.

If anybody has any tips/sample code to help execute commands during HBlank, that would be a great help.
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 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)