Jump to content



0

Another one pixel scroll


7 replies to this topic

#1 moulinaie OFFLINE  

moulinaie

    Chopper Commander

  • 185 posts
  • Location:France, Burgundy

Posted Fri Nov 25, 2011 6:10 PM

Just for the pleasure to do it!



Guillaume.

#2 kl99 OFFLINE  

kl99

    Chopper Commander

  • 118 posts

Posted Sat Nov 26, 2011 4:32 AM

nice demo, why do the chars seem to have one pixelcolumn missing (=black)?

#3 moulinaie OFFLINE  

moulinaie

    Chopper Commander

  • 185 posts
  • Location:France, Burgundy

Posted Sat Nov 26, 2011 4:37 AM

View Postkl99, on Sat Nov 26, 2011 4:32 AM, said:

nice demo, why do the chars seem to have one pixelcolumn missing (=black)?

Thanks!

I noticed that! I think it's because the copy from CPU to VDP ram is slow, so the leftmost characters are defined *before* the rightmost ones.
So they scroll left one pixel before the next character is scrolled and this makes a black column appear.

If I could synchronize the transfert with the display... But I don't know how to do.

Guillaume.

#4 sometimes99er OFFLINE  

sometimes99er

    Stargunner

  • 1,922 posts
  • Location:Denmark

Posted Sat Nov 26, 2011 5:03 AM

Very nice.

Quote

... seem to have one pixelcolumn missing

I would definitely have to say that it's a programming error, and one that can be resolved. I even think I ran into the same "effect" (error) when doing my Hellraiser demo back in April 2005.

:)

#5 moulinaie OFFLINE  

moulinaie

    Chopper Commander

  • 185 posts
  • Location:France, Burgundy

Posted Sat Nov 26, 2011 5:07 AM

View Postkl99, on Sat Nov 26, 2011 4:32 AM, said:

nice demo, why do the chars seem to have one pixelcolumn missing (=black)?

Well, you were right, that was a bug in the program..!!
I fixed it and posted a new video with colors inverted.



Thanks for pointing at the problem.

Guillaume.

#6 RXB OFFLINE  

RXB

    Dragonstomper

  • 539 posts
  • Location:Vancouver, Washington, USA

Posted Sat Nov 26, 2011 3:18 PM

Cool, very nice work.

#7 moulinaie OFFLINE  

moulinaie

    Chopper Commander

  • 185 posts
  • Location:France, Burgundy

Posted Sun Nov 27, 2011 3:00 AM

Thanks!
Here is the ZIP file with sources codes (TXT = precompiler, BAS = Extended Basic and the TIDisk file for emulators)
http://gtello.pagesp...r/mlcscroll.zip

Guillaume.

#8 RXB OFFLINE  

RXB

    Dragonstomper

  • 539 posts
  • Location:Vancouver, Washington, USA

Posted Sun Nov 27, 2011 7:45 AM

I am working on a similar project thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users