Jump to content



1

playfield not matching up WTF?


2 replies to this topic

#1 tschak909 OFFLINE  

tschak909

    Chopper Commander

  • 159 posts
  • Location:USA

Posted Fri Mar 9, 2007 7:57 PM

Okaaaaaay, I'm making progress, and this is fun as hell, but I am a bit stumped here.........

first, I had a completely stable kernel drawing just playfield.. it would change the playfield, draw six lines, then change the playfield data.....

I since revised this a bit, after a lot more experimentation, and decided to try 6 digit/logo player graphics.. after considerable effort, I was able to "Get" what was going on, and produce a stable display (with no cycles left).... and was very happy there.. :-)

I then decided to turn on the PF2 algorithm (I had it commented out), and after doing so, the first copies of P0 disappeared, and I get a display like below: .... I have attached the current code, and current pic... wtf is going on????

.... more importantly, why is the playfield starting to draw where it is (and thus why is PF2 mismatched?) it shouldn't be....

Attached File  salmonrun.zip   15.39K   55 downloads <-- the code

salmonrun_05.png <-- pic.

WTF?

-Thom

#2 tschak909 OFFLINE  

tschak909

    Chopper Commander

  • 159 posts
  • Location:USA

Posted Fri Mar 9, 2007 9:23 PM

further debugging is shown, that when i remove the color cycling, the flashing bit in the middle disappears...confirming a suspicion I had.. I'm obviously mangling my X register... tracking it down :-P

p.s. I love Stella's debugger :-D (I'm sure that Atari would have loved to have had this at their disposal, instead of something like a KIM) hehe

-Thom

#3 tschak909 OFFLINE  

tschak909

    Chopper Commander

  • 159 posts
  • Location:USA

Posted Fri Mar 9, 2007 10:32 PM

bwahahahahaha! I am SUCH a tool :-P

I really um..should pay attention to how i allocate my ZP :-P DEE DEE DEEEE!

it's fixed now... ONTO vertical scrolling!

-Thom




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users