COMMODORE PLUS/4 WORLD
  Home  Search  Games  Tapes  Covers  Cheats  Maps  Software  New Stuff 
 Hall Of Fame  Game Endings  Features  Solutions  Remakes  Publications  Magazines  Effects  Top List 
 Members  Groups  Plus/4 Encyclopedia  Hardware  Tools  Options  Forum 
Login
Forum Help



Post Your Message
Username: (Login)

Topic:
Message:
  


Previous Messages
Posted By
rudis
on 2012-01-01
17:34:43
 Re: vsync var in basic?

i make little test

a=0
do until peek(65309)<=120
a=a+1
loop

a is most times if no scrolling appears 4 to 5
with scrolling always 2

so there seems little time

i made little video for 2012 fun..


Posted By
rudis
on 2012-01-01
13:34:20
 Re: vsync var in basic?

thanx for reply

i don't move bitmaps atm. i am a rookie
i check ff1d for <= 120 and it helps in vice
on hardware there is no flicker

here my prog -> http://www.megaupload.com/?d=JJBWQROF

Posted By
Chicken
on 2012-01-01
11:40:07
 Re: vsync var in basic?

No, there isn't. BASIC is just too slow for that. Even checking $ff1d by peeking it wouldn't give you enough time to actually do anything before you reached the visible area again. Though honestly, I haven't tried this

Double buffering to avoid flickering might help a bit - but even then the switching of charsets/bitmaps might happen in the visible area. If you want to avoid flickering, go for assembler.

Nevertheless, there are BASIC programs around where the flickering doesn't hurt too much. It really depends on how much stuff needs to be updated. Poking a few chars to the screen is usually fine, whereas huge softsprites in BASIC - leave alone bitmap shapes - flicker like there's no tomorrow.

For the sake of not being discouraged at the first steps, I wouldn't mind the flickering! Just go ahead and code You can always come back to optimize stuff later.

Posted By
rudis
on 2012-01-01
10:32:45
 vsync var in basic?

hello

is there a vsync variable in basic?
to avoid screenflickering


Copyright © Plus/4 World Team, 2001-2013