Page 26 of 42
Re: PureBasic 6.00 Beta 3 released !
Posted: Mon Jan 31, 2022 3:06 pm
by mdp
netmaestro wrote: Thu Jan 27, 2022 8:14 pm
Thanks team! Comprehensive and solid, as always. PureBasic is the best investment I ever made, nothing comes even close.
I am 2003 - though the aside says 2005 (out of a small account mess) - and a daily user, though largely absent in these pages owing to time constraints. So, contextually,
> PureBasic is the best investment I ever made
Yes, absolutely.
Re: PureBasic 6.00 Beta 3 released !
Posted: Mon Jan 31, 2022 3:08 pm
by mdp
thyphoon wrote: Sun Jan 30, 2022 8:34 pm
Do you think with the C Backend it will be Amiga Version return ?
I can say I have an idea to try and see I will be able to use the C intermediates to code for MenuetOS - just to see if it works well.
Re: PureBasic 6.00 Beta 3 released !
Posted: Mon Jan 31, 2022 3:21 pm
by mk-soft
mdp wrote: Mon Jan 31, 2022 3:08 pm
I can say I have an idea to try and see I will be able to use the C intermediates to code for MenuetOS - just to see if it works well.
That not work with MenuetOS, because its not Linux base
Re: PureBasic 6.00 Beta 3 released !
Posted: Mon Jan 31, 2022 3:36 pm
by mdp
mk-soft wrote: Mon Jan 31, 2022 3:21 pm
That not work with MenuetOS, because its not Linux base
Not in that sense: I do not expect to "compile from PB and directly run". MenuetOS uses special functions to "Define and draw window", "Putpixel", "Get key" etc. (
http://menuetos.net/syscalls.txt ). I had ideas to have some code process intermediate PB output to link the two worlds, of our "comfortable largely hi-level coding" and those syscalls - to see if one could comfortably write the hi-level way for MenuetOS.
In a way, that is to see if tricks could be deployed to adapt the intermediates to create a partial custom backend, and see if this is enables for more comfort than just writing C (or assembly).
Of course nothing vital, but if a rapid, time efficient (within all constraints of good practice) coding worked for those arcane but promising systems (small, lean, controllable, trustable - where do you get that today?), they could be actually populated with applications, towards full usefulness.
__
EDIT: I mentioned MenuetOS. But the same is valid for BeOS/Haiku, and probably others. Maybe the forthcoming¹ PB intermediates can be adapted to facilitate coding for less mainstream systems, maybe not... It's worth taking a look.
Re: PureBasic 6.00 Beta 3 released !
Posted: Thu Feb 03, 2022 12:57 pm
by Armoured
In the actual beta 3 with the C Backend the keyword "data" is supported?
I need it to test the new beta version with my code.
Thanks
Re: PureBasic 6.00 Beta 3 released !
Posted: Thu Feb 03, 2022 1:11 pm
by Lebostein
PureBasic - Linker error
error: linker command failed with exit code 1 (use -v to see invocation)
Mac OS 10.13.6
Re: PureBasic 6.00 Beta 3 released !
Posted: Thu Feb 03, 2022 3:15 pm
by Fred
It's fixed for beta 4
Re: PureBasic 6.00 Beta 4 released !
Posted: Fri Feb 04, 2022 6:00 pm
by Fred
Beta 4 is out ! Here is the change log:
Code: Select all
- Added new optional 'Color' parameter to CreateMaterial()
- Added new optional 'SpecularColor' parameter to MaterialShininess()
- Added new optional 'u' and 'w' parameter to MeshTextureCoordinate()
- Added new optional 'Lod' parameter to CreateCamera()
- Added new mode for AddMaterialLayer(): #PB_Material_ModulateX2, #PB_Material_ModulateX4, #PB_Material_AddSigned, #PB_Material_Substract, #PB_Material_BlendDiffuseAlpha, #PB_Material_BlendCurrentAlpha
Re: PureBasic 6.00 Beta 4 released !
Posted: Fri Feb 04, 2022 7:28 pm
by Psychophanta

waw, finally a revision with some new in 3D stuff !
Many thanks

Re: PureBasic 6.00 Beta 4 released !
Posted: Sat Feb 05, 2022 9:08 am
by Joris
Re: PureBasic 6.00 Beta 4 released !
Posted: Sat Feb 05, 2022 10:27 am
by Psychophanta
Please update the manual, for example, I can't use material 3D related commands.

Re: PureBasic 6.00 Beta 4 released !
Posted: Sun Feb 27, 2022 12:12 am
by Armoured
Threads are fully functional with the C backend in Beta 4 release?
Re: PureBasic 6.00 Beta 4 released !
Posted: Sun Feb 27, 2022 9:14 am
by mk-soft
Armoured wrote: Sun Feb 27, 2022 12:12 am
Threads are fully functional with the C backend in Beta 4 release?
Yes, works fine
Re: PureBasic 6.00 Beta 4 released !
Posted: Sun Feb 27, 2022 1:36 pm
by Armoured
mk-soft wrote: Sun Feb 27, 2022 9:14 am
Armoured wrote: Sun Feb 27, 2022 12:12 am
Threads are fully functional with the C backend in Beta 4 release?
Yes, works fine
I have a strange problem my program compiles fine without errors and works correctly with C backend and the ASM backend but if I chose to enable the option to optimize the code, in the compiler options, the program generated with the C backend stops to working. My program makes an heavy use of threads, so I thought this was the cause of my problem. I don't get any debug error message if I enable the debugger.
Re: PureBasic 6.00 Beta 4 released !
Posted: Sun Feb 27, 2022 3:16 pm
by mk-soft
The GCC optimisation tends to optimise a little too much.
What does not work, for example, is the declaration 'Procedure.b xxx()' as a Boolean function.
Otherwise create a C-backend bug report with a runnable short code.