AtariAge Forums: Session 13: Playfield Basics - AtariAge Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Session 13: Playfield Basics

User is offline antron Icon
Posted Thu Dec 4, 2003 4:08 PM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 194
  • Joined: 12-November 03
Is there a way to get the TIA to end the horizontal blank a little early or late, to shift the playfield (or everything) 1 pixel left or right? I want to scroll the playfield one pixel at a time. Otherwise it will be very jerky (four-pixel jumps).
0

User is offline Andrew Davie Icon
Posted Thu Dec 4, 2003 4:32 PM


  • Icon
  • Stargunner
  • PM this member
  • View blog
  • Posts: 1,109
  • Joined: 22-June 01
  • Location: Tasmania

antron said:

Is there a way to get the TIA to end the horizontal blank a little early or late, to shift the playfield (or everything) 1 pixel left or right?  I want to scroll the playfield one pixel at a time.  Otherwise it will be very jerky (four-pixel jumps).


No. The finest playfield scroll possible is 4 colour clocks.
Cheers
A
0

User is offline antron Icon
Posted Fri Dec 5, 2003 7:36 PM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 194
  • Joined: 12-November 03
what will RSYNC (reset sync) do if called 3 colour clocks into a horizontal blank?

skip that line?
0

User is offline EricBall Icon
Posted Mon Dec 8, 2003 10:52 AM


  • Icon
  • Dragonstomper
  • PM this member
  • View blog
  • Posts: 674
  • Joined: 06-September 02
  • Location: Markham, Ontario, Canada

antron said:

what will RSYNC (reset sync) do if called 3 colour clocks into a horizontal blank? skip that line?


RSYNC resets the TIA's internal horizontal position counter.

Now, if I assume this resets the counter back 0, the same point that WSYNC releases, this would be before the sync pulse. So hitting RSYNC during horizontal blank would probably generate a double sync pulse which would probably throw the TV for a loop, probably causing it to skip down to the next line or half line.

And even if the TV was able to sync properly, it also wouldn't change the object positions since the counters would still put it the same number of clocks after the end of the sync pulse.
0

User is offline antron Icon
Posted Mon Dec 8, 2003 11:33 AM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 194
  • Joined: 12-November 03
I will try it anyway.

thanks everyone
0

User is offline antron Icon
Posted Sat Apr 17, 2004 9:19 AM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 194
  • Joined: 12-November 03
I wrote to RSYNC 3 CPU cycles into a horizontal blank and this is what I got.

I took it a while to find the correct zero point again, so I decided to help it out by calling RSYNC again at the end of that line. It somewhat worked. Player 1 never got back on track, but that could be fixed. I am just trying to get the playfield into new positions.

Attached thumbnail(s)

  • Attached Image
  • Attached Image

0

User is offline Andrew Davie Icon
Posted Sat Apr 17, 2004 9:25 AM


  • Icon
  • Stargunner
  • PM this member
  • View blog
  • Posts: 1,109
  • Joined: 22-June 01
  • Location: Tasmania

antron said:

I wrote to RSYNC 3 CPU cycles into a horizontal blank and this is what I got.

I took it a while to find the correct zero point again, so I decided to help it out by calling RSYNC again at the end of that line.  It somewhat worked.  Player 1 never got back on track, but that could be fixed.  I am just trying to get the playfield into new positions.


Very interesting indeed. Keep up the experiments and let us know the results. I'd suggest you post this to the [stella] list, too :)

Cheers
A
0

User is offline antron Icon
Posted Sat Apr 17, 2004 9:44 AM


  • Icon
  • Chopper Commander
  • PM this member
  • View blog
  • Posts: 194
  • Joined: 12-November 03
Here it is called one cpu cycle (I think) into a h-blank.
I was hoping it wouldn't bounce as much, but it did. The *fix* doesn't help much.

Attached thumbnail(s)

  • Attached Image

0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic


1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users