Main
   Home
   About
   DiscussionBoard
Files
   About
   Submit
   Search
Downloads
   Action
   QB64
Links
   Link to us
QB45.org
[ Back to QB45 | FAQ | Search a message | Reply to this message | Back to messages ]

gablea on 08/19/11 - 17:31:40

hi all,

is there something I can use in QB to stop the screen from flicking when I do a update? I am using screen 11 and when ever I call a update to the screen it flickers as it writes (you can see the screen clearing and the data being re written)

In FreeBasic I could use LockScreen (when I start the update to the screen) and when i am done i called UnlockScreen and this then displayed the completed screen (and no flickering)

IS There something like that in QB? the only thing I HAVE to say I can not change is the screen size (640x480) I have tried to use the Futre libary BUT no luck. (Keeps saying sub not defind on Set640x480 16)

I would also like to say I would use QB64 but that only makes Windows apps I have to have this in pure DOS.

Cyperium on 08/20/11 - 05:47:42

' Either statement can be used to try to reduce screen flickering.
' If both statements are used, try changing the order.

WAIT &H3DA, 8 ' finishes whenever the screen isn't being written to
WAIT &H3DA, 8, 8 ' finishes whenever the screen is being written to



To be honest I haven't had much luck with WAIT &H3DA but it is what they did back then.

I wonder why you can't use the future library, I remember using it with success, the sub should be defined in the .bi file (you have to '$include it at the beginning). If the sub isn't found in the .bi file then try just adding it (it should be plain text). Otherwise re-download it and follow the instructions one-by-one.

Cyperium on 08/20/11 - 05:48:55

The WAIT information was taken from:
WAIT - QB64 Wiki (don't mind it being QB64, the Wiki documents QB 4.5 too and the statement works the same way).

gablea on 08/20/11 - 10:34:58

I am using The IDE from VBDOS (as I can not get QuickBasic 7.1 to format the date correctly) but in VBDOS it works with no problems.

I can load the Future libary and all that with no problems I just Keep running out of data space if I do use it.

gablea on 08/20/11 - 10:36:48

@Cyperium
where do I place the wait command then? before or after I start writing to the screen?

TopGun on 08/20/11 - 15:28:44

I've never had much luck using the wait command, let me know if you can get it to work!

gablea on 08/20/11 - 16:59:18

I am not having any LUCK at all with it (I can not even figure this out)

it looks like if i want to use the Future libary i would have to start from scrach with the application as It would take longer to update the app then to re wite (something I am not happy about)

unless someone has any other idea's?

gablea on 08/20/11 - 17:37:41

Word someone be intrested in converting my Screen 11 app into a Future 3.5 SVGA one?

I would pay $50 to who ever can do it as I am about to RIP my hair out

Cyperium on 08/29/11 - 07:56:08

I haven't had much luck with it either. It waits until the screen "pointer" is at the lower right corner (vsync), I guess the picture should be displayed when it is there as it starts over then?

Reply to this message
Name:
Message:
Please enter this number:
No HTML allowed. You may use BB-code in your posting.
Members
Login
Register
QB45 Members
Member List