Jump to content
IGNORED

Display Lists and Scanlines Question


Recommended Posts

Trying to wrap my mind around a few things.

 

"There are a total of 262 rasters per frame (1/60th second). The "visible" screen (during which MARIA attempts display) starts on raster 16 and ends on raster 258."

 

 

What happens if when you set up your DLLs that it doesn't hold enough zones to cover the entire 242 lines Maria tries to do stuff.

 

What happens if you set up your DLLs and it tries to cover more than 242 lines?

 

My assumption would be that in the first case it'd just stop displaying things for the rest of the frame. In the second case it would get cut off after the first 242 lines are cleared, then it would get reset to the beginning of the DLL again at the start of the next frame. (Meaning the excess lines/zones are simply ignored/wasted)

 

Am I correct, or does something else happen.

Link to comment
https://forums.atariage.com/topic/243113-display-lists-and-scanlines-question/
Share on other sites

Unlike the DLs, the DLL doesn't have an end marker. If you don't have enough line coverage, Maria will keep pulling bytes after your DLL and will interpret them as DLL data. This can result in random garbage being displayed and/or crashing or unexpected behavior from NMIs being triggered inappropriately.

 

Having too many DLL lines defined is fine. As you surmise, Maria just gives up after displaying its fill. (NTSC=243, PAL=293) For this reason, if you're making an NTSC game, its a good idea to give it enough blank lines so it will run nicely on a PAL console. (bonus points if you detect PAL and center your display vertically)

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...