Jump to content
IGNORED

Stella - Monitoring Scanlines and Flagging


Recommended Posts

I'm using developer settings to show scanlines in real time, however it can be difficult to pay attention to both the information overlay and whatever is happening onscreen (ie; if interacting with game to test collision detection)

 

I'm also setting a breakpoint using breakIf _scan==#263 to flag if the screen ever exceeds 262 scanlines but this won't trap cases where the screen is below 262 scanlines.

 

Is there a way to make it really obvious in Stella that there's been a scanline issue? Doesn't necessarily need to be a breakpoint (the problem likely occurred well before the bottom of the screen anyhow). Could be a flash or a pause in emulation. Just something to make it obvious.

 

I may be approaching this completely ass backwards so if anyone has strong methodology for testing picture stability that isn't "run it on a real TV and watch for roll" :) please share.

 

 

 

 

 

 

 

 

Edited by Christopher Tumber
Link to comment
Share on other sites

My emulator, Gopher2600, has a timeline window in the debugger. This shows the history of the scanline count over recent frames.

 

For example, when running your ROM I can see there was a scanline issue during the switch from the title screen to the play screen. The red line gives a general idea of what is happening to the scanline count each frame and the red triangle draws attention to it.

 

image.png.4e9c5565884158155d9ece890f39a334.png

 

Hovering over the timeline gives numeric detail and thumbnail of the offending frame

 

Untitled.png.89eff25ddb9004227a73c8981884d1c1.png

 

I've played the game a little and I didn't encounter any other scanline issues.

 

 

edit: You can also set a breakpoint with BREAK JITTER that will halt execution whenever the scanline count changes.

 

Edited by JetSetIlly
  • Like 3
Link to comment
Share on other sites

2 hours ago, Christopher Tumber said:

I'm also setting a breakpoint using breakIf _scan==#263 to flag if the screen ever exceeds 262 scanlines but this won't trap cases where the screen is below 262 scanlines.

breakif _scanEnd!=#262

 

_scanEnd is the scanline count at the end of the last frame.

 

Link to comment
Share on other sites

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...