PureBasic 4.40 Beta 4 available !

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

PureBasic 4.40 Beta 4 available !

Post by Fred »

Hello,

It's the fourth beta release of the forthcoming 4.40 version, and it's mostly bug fixes. We encourage anyone who can to test its program on it, it will help to have a stable final version. Thanks a lot to all the current beta testers, it's very much appreciated !

Here are the few changes:

Code: Select all

- OpenScreen() now accepts FlipMode, RefreshRate (see quickhelp)
- SetRefreshRate() has been removed
- FlipBuffers() doesn't take an optional parameter anymore
- 2DDrawing library optimized for size
Theses changes were needed to have perfect DX9 screen synchronization.

For other beta news:

http://www.purebasic.fr/english/viewtop ... 524#295524

You can grab it on your online account.
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: PureBasic 4.40 Beta 4 available !

Post by rsts »

4.4 has been great so far - timers helped me a lot.

cheers
User avatar
Randy
User
User
Posts: 29
Joined: Sat Sep 30, 2006 11:36 pm
Location: Atlanta, Georgia

Re: PureBasic 4.40 Beta 4 available !

Post by Randy »

Thanks a lot to all the current beta testers, it's very much appreciated !
Fred, I'm sure most of the community feels the same way when I say, "No. Instead I Thank you!" 4.40 as some features that have made my programming simpler and more powerful than before. And I've seen programs that are "production ready" that have more bugs than your betas. (Think of anything by Micky$oft.)

So again, thanks Fred.

Randy

[Edit] My phrase in quotes above may have been mistaken for the true intent which is a sincere thank you.
Last edited by Randy on Tue Oct 13, 2009 11:05 pm, edited 1 time in total.
Seymour Clufley
Addict
Addict
Posts: 1264
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Re: PureBasic 4.40 Beta 4 available !

Post by Seymour Clufley »

Thanks for the beta, and all your work on PureBasic. It is a wonderful language to use!
2DDrawing library optimized for size
What does that mean exactly?
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Re: PureBasic 4.40 Beta 4 available !

Post by nco2k »

FlipBuffers() doesn't take an optional parameter anymore
bad idea.. im using #PB_Screen_WaitSynchronization AND #PB_Screen_NoSynchronization in the same app, depending on the situation. with the new behavior, we cant mix anymore. :?

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Re: PureBasic 4.40 Beta 4 available !

Post by GeoTrail »

Grabbed :)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: PureBasic 4.40 Beta 4 available !

Post by blueznl »

Fred wrote: It's the fourth beta release of the forthcoming 4.40
...

Code: Select all

- OpenScreen() now accepts FlipMode, RefreshRate (see quickhelp)
- SetRefreshRate() has been removed
- FlipBuffers() doesn't take an optional parameter anymore
- 2DDrawing library optimized for size
...
Goodie, that's some changes I'll have to look into. Thanks for this update. On to number 5 ;-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 4.40 Beta 4 available !

Post by Fred »

nco2k wrote:
FlipBuffers() doesn't take an optional parameter anymore
bad idea.. im using #PB_Screen_WaitSynchronization AND #PB_Screen_NoSynchronization in the same app, depending on the situation. with the new behavior, we cant mix anymore. :?

c ya,
nco2k
I knew there will be case where it could be bad. Unfortunately DX9 ask at the screen opening the flipmode (don't ask me why). If you specify "no synchro", i didn't found a reliable wait to flip it correctly synchronized, even with the rasterbeam status and verticalblack detection. Anyway, i'm opened to suggestion.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: PureBasic 4.40 Beta 4 available !

Post by srod »

Yep, seems to work fine here. It even found a minor bug in COMatePLUS for me which had thus far gone undetected! :)

These threaded variables are awesome; save me some work.

Thanks team.
I may look like a mule, but I'm not a complete ass.
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: PureBasic 4.40 Beta 4 available !

Post by djes »

First tests with sprites, sync seems good!!! :D

I tried to compile Purebreaker 3 : having to redirect all screenoutput to sprites, only in 32 bits as 16 bits is so slow (not a problem anyway), the menu is a bit slower but seems good. I can't switch back to the desktop with ALT+TAB (have to look further anyway).

I have an ingame black screen for now, back to the IDE got this error : 'An Error has been detected in the IDE ; Error : Invalid Memory access; File: c:\svn\4.40\Fr4k\PureBasicIDE\WindowsMisc.pb Line : 779 Ide build on 10/09/2009 by fred

Please stand by ;)
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: PureBasic 4.40 Beta 4 available !

Post by djes »

In fullscreen, fluidity seems perfect! And the rendering is faster than ever, impressive!
However, how can we set refresh rate in windowed mode?
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 4.40 Beta 4 available !

Post by Fred »

You can't, as you can't change the refresh from the desktop. Only the framerate can be changed, and you can enable or not the vertical synchro.
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: PureBasic 4.40 Beta 4 available !

Post by djes »

Yes, it was what I meant :)
With Ogre activated, framerate is also broken (at least in Purebreaker), and I have big crashes, I'll do some tests to see why. There's maybe also a bug with clipsprite.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: PureBasic 4.40 Beta 4 available !

Post by Psychophanta »

The "few" changes explained are "big" changes for a beta which is mostly a bug fixes release!
But thanks, of course for the bug fixing and the continuous improvements.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: PureBasic 4.40 Beta 4 available !

Post by djes »

Clipsprite is OK :)
Post Reply