Jump to content
IGNORED

vertical timing ?


Tom

Recommended Posts

one thing i don't really understand is how you get all the vertical timing stuff *correct*:

 

according to the stella manual, you do it like this:

 

- generate 3 lines of vsync, by setting VSYNC to 2 for the duration of 3 scanlines

- generate 37 lines of vblank, by setting VBLANK to 2 for the duration of 37 lines

- draw your image (192 or 242 lines)

- 30 lines of overscan

 

what confuses me is the vblank stuff: in the tutorials, VBLANK is set to 01000001b during overscan, vsync and vblank period. so what's correct now ? or doesn't it matter at all ? and why is bit 6 of VBLANK set ?

Link to comment
Share on other sites

what confuses me is the vblank stuff: in the tutorials, VBLANK is set to 01000001b during overscan, vsync and vblank period. so what's correct now ? or doesn't it matter at all ? and why is bit 6 of VBLANK set ?

Bit 6 dumpes (resets) the paddles ports. So it is only necessary for paddle games, but there is no problem if you also set it for joystick games.

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