VERA Line IRQ

Get help from the community & developers with the X16 hardware if you can't find the solution elsewhere
Post Reply
Elektron72
Posts: 137
Joined: Tue Jun 30, 2020 3:47 pm

VERA Line IRQ

Post by Elektron72 »


Looking at the VERA Programmer's Reference, it appears that the line at which the raster interrupt occurs is specified by the contents of VERA register $9F28 and one additional bit in register $9F26. However, given that the Commander X16 can have a maximum of 640 lines, shouldn't there be another bit to allow triggering an IRQ on lines past 511?

Guybrush
Posts: 63
Joined: Fri Jul 10, 2020 10:38 pm

VERA Line IRQ

Post by Guybrush »


VERA's native resolution is 640x480. That's 640 pixels horizontally by 480 pixels vertically. So, there are no 640 lines, only 480.

Of course, there's also the part where there's no image output, but according to http://www.tinyvga.com/vga-timing/640x480@60Hz, even then there's only 525 scanlines. Anyway, I believe we can ignore those extra 13 scanlines we are not able to set the IRQ for.

Elektron72
Posts: 137
Joined: Tue Jun 30, 2020 3:47 pm

VERA Line IRQ

Post by Elektron72 »


Thank you for reminding me that I somehow mixed up the vertical and horizontal resolution.

Post Reply