Jump to content
IGNORED

228 Scanlines in PAL


JAC!

Recommended Posts

Hi,

 

Given the timings below I'd expect 228 scalines for the playfield in a 312 scanlines PAL frame.

 

; Type NTSC PAL/SECAM

; V-Sync 3 3 scanlines

; V-Blank 37 45 scanlines (upper border)

; Picture 192 228 scanlines

; Overscan 30 36 scanlines (lower border)

; Frame Rate 60 50 Hz

; Frame Time 262 312 scanlines

 

But when I try, I get 312 scanlines per frame already with 192 scanlines of playfield.

What am I doing wrong? Here's screenshot and the binary.

 

post-17404-0-59837100-1307573846_thumb.png

 

PAL.bin

Link to comment
Share on other sites

Thanks. I found I had reused the code which was adapted from NTSC to PAL in order to keep the playfield height.

 

One more question regarding the height: Is is OK to preset TIA registers (player positioning, playfield, colors) in the VBLANK phase? Player/missle positioning always takes at least 1 scanline per object, so they would be lost for the playfield. Therefore I'd like to do that stuff before. Will that work?

Link to comment
Share on other sites

The primary purpose of it is to produce an NTSC/PAL compliant signal. The way I understand it, the standards require it because the old CRTs couldn't instantly change the vertical position of the electron beam, so the beam gets hidden while it quickly sweeps to the top and settles back into the downward motion.

 

But yes, shortening or lengthening VBLANK will have the effect of moving the playfield up or down.

Link to comment
Share on other sites

  • 2 weeks later...

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