Search found 7901 matches

by D.J.Peters
Jun 19, 2021 20:02
Forum: Documentation
Topic: member operator [] in the compiled help file ?
Replies: 5
Views: 137

Re: member operator [] in the compiled help file ?

Thank you I found it :-)

Joshy
by D.J.Peters
Jun 19, 2021 18:59
Forum: Documentation
Topic: member operator [] in the compiled help file ?
Replies: 5
Views: 137

Re: member operator [] in the compiled help file ?

I saw operator [] (index) [ByRef] as Datatype is in the help file but I can't find it any more !

Joshy
by D.J.Peters
Jun 19, 2021 17:59
Forum: Documentation
Topic: member operator [] in the compiled help file ?
Replies: 5
Views: 137

member operator [] in the compiled help file ?

How I can find the class/type member operator [] in the compiled help file ?
(may be I'm blind but I get only the pointer and string [] operator)

Joshy
by D.J.Peters
Jun 19, 2021 16:59
Forum: General
Topic: [solved] Is the FreeBASIC array alignment safe ?
Replies: 37
Views: 812

Re: [solved] Is the FreeBASIC array alignment safe ?

A C/C++ fixed sized array, aligned or not, are simple a pointer as parameter, so all my aligned data types return automatically per "operator cast as data type ptr" the right pointer when used as parameter to the SIMD (Single Instruction Multiple Data) math library. Only to show you an exa...
by D.J.Peters
Jun 19, 2021 16:44
Forum: Libraries
Topic: OpenGL Math library libglmc
Replies: 0
Views: 55

OpenGL Math library libglmc

Today OpenGL C++ coders use the well known OpenGL Mathematics library gml. C++ glm: https://glm.g-truc.net/0.9.9/index.html I created the header file for OpenGL Mathematics for C cglm C cglm: https://github.com/recp/cglm The lib used fast SIMD CPU instruction to speed up vec4,mat2,mat4 ... math. Thi...
by D.J.Peters
Jun 19, 2021 0:11
Forum: Windows
Topic: DXGI BY Freebasic
Replies: 3
Views: 157

Re: DXGI BY Freebasic

FreeBASIC comes with D3D9 include files but not D3D11 !

You should ask in the Windows forum section not here
Or a forum mod can move this post in the right section.

Joshy
by D.J.Peters
Jun 19, 2021 0:06
Forum: Beginners
Topic: Distortion when moving across the screen sprite (Raspberry 4B))
Replies: 67
Views: 1080

Re: Distortion when moving across the screen sprite (Raspberry 4B))

I self tested latest stable FreeBASIC on my old Raspberry PI b and PI 3 and my friend reported no problems on his PI 4.

May be your PI 4[b] has a problem do you use overclocking ? or do you modify something in the video config ?

Joshy
by D.J.Peters
Jun 17, 2021 11:51
Forum: General
Topic: [solved] Is the FreeBASIC array alignment safe ?
Replies: 37
Views: 812

Re: [solved] Is the FreeBASIC array alignment safe ?

This here works as excepted there is only one problem FreeBASIC does not call the overloaded delete operator self Is there a way to call the overloaded delete operator from the destructor ? I mean delete b are not called by the user and the termination of the exe doesn't call delete ? #ifndef NULL #...
by D.J.Peters
Jun 17, 2021 10:35
Forum: Beginners
Topic: Distortion when moving across the screen sprite (Raspberry 4B))
Replies: 67
Views: 1080

Re: Distortion when moving across the screen sprite (Raspberry 4B))

bfuller wrote:I had to delete this line to get Dodicat's code to run on my W10 64bit PC.
Screeninfo ,,,,,refreshrate

Code: Select all

dim as integer unused
Screeninfo unused,unused,unused,unused,unused,refreshrate
by D.J.Peters
Jun 17, 2021 10:20
Forum: General
Topic: [solved] Is the FreeBASIC array alignment safe ?
Replies: 37
Views: 812

Re: Is the FreeBASIC array alignment safe ?

I would be surprised if arrays were aligned 16. The Windows HeapAlloc() etc functions are all align 8. You are right :-( I fixed the mistake and it shows 1 dimensional fixed size arrays are guaranteed only 8 bytes aligned. So array's are not the right option for the high performance math library. B...
by D.J.Peters
Jun 17, 2021 0:17
Forum: Community Discussion
Topic: [offtopic] Low budget but good NVIDIA GTX cards.
Replies: 1
Views: 125

[offtopic] Low budget but good NVIDIA GTX cards.

Sometimes I used 8 PC's as a cluster render mini farm with OpenCL and FreeBASIC or run 8 instances of mitsuba on my local network. I used my old GT 240, GT 610, Radeon HD 4650 and 32 shared Intel cores in the past. Now it was time to upgrade the GPU power in my mini cluster for a small budget. I fou...
by D.J.Peters
Jun 16, 2021 23:38
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 522
Views: 98377

Re: Where can I get a Recent-Git-Build of FreeBASIC?

The daily builds are not fixed fbc 1.08.0 instead it's 1.09.0 (the dreamer/far away future version runtime written in FreeBASIC) !
That means we have only a 1.07.2 stable version but never get a 1.08.0 stable version right ?

Joshy
by D.J.Peters
Jun 16, 2021 23:30
Forum: General
Topic: [solved] Is the FreeBASIC array alignment safe ?
Replies: 37
Views: 812

[solved] Is the FreeBASIC array alignment safe ?

There is a standard C++ high optimized header only math library glm for all platforms. (it based on SSE, NEON, AVX ...) https://github.com/g-truc/glm I compiled a C99 cglm static lib for FreeBASIC which are not usable, the SSE, NEON, AVX stuff are in lined in the headers not in the static lib itself...
by D.J.Peters
Jun 16, 2021 3:32
Forum: Libraries
Topic: Portability carrying shared libraries (and perhaps AppImage)
Replies: 9
Views: 248

Re: Portability carrying shared libraries (and perhaps AppImage)

@caseih while the system is in the init process with different runlevels (after the kernel booted) some permanent paths are "hard coded with root rights" with ldconfig in "/etc/ld.so.conf" ! But if you run for example different desktop managers before a startx command are manuall...
by D.J.Peters
Jun 16, 2021 0:20
Forum: Libraries
Topic: Portability carrying shared libraries (and perhaps AppImage)
Replies: 9
Views: 248

Re: Portability carrying shared libraries (and perhaps AppImage)

Would this mess up with that? No you don't clear or overwrite the var LD_LIBRARY_PATH you add your path to it ! let say LD_LIBRARY_PATH is currently "/lib;usr/lib;/usr/local/lib;" etc ... now you add your path to it $HOME/myapp/lib/ ($HOME is your path I don't know XXX) LD_LIBRARY_PATH lo...

Go to advanced search