Search found 7385 matches

by D.J.Peters
Aug 21, 2019 7:01
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 941
Views: 150822

Re: MiniB3d for FreeBasic

@angros47 in PostFX::AddRenderTarget() you use GL_FLOAT for all iFormats: glTexImage2D(GL_TEXTURE_2D, 0, iFormat, pass[pass_no].width, pass[pass_no].height, 0, GL_RGBA, GL_FLOAT, 0); Isn't it ? iFormat = GL_RGBA16F = GL_FLOAT iFormat = GL_RGBA32F = GL_FLOAT iFormat = GL_RGBA8 = GL_UNSIGNED_BYTE <-- ...
by D.J.Peters
Aug 20, 2019 19:10
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 941
Views: 150822

Re: MiniB3d for FreeBasic

I'm sure this isn't an error ! (again I changed nothing on LoadXYZ()) if your content are in the same folder make sure that the app folder is the current use: chdir(exepath()) var aAnimMesh = LoadAnimMesh("ninja.b3d") if the content you will load are not in the current folder you use somet...
by D.J.Peters
Aug 20, 2019 17:11
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 941
Views: 150822

Re: MiniB3d for FreeBasic

Gunslinger wrote:After problems with loadmesh from DJpeters in openB3D-xx.dll
If no once report any problem's how we should fix them ?

I fixed only small bugs and never touched the load function what is the problem ?

Joshy
by D.J.Peters
Aug 20, 2019 17:01
Forum: General
Topic: Inine assembler intel syntax with fallback x86 vs x86_64 and Windows vs Linux ABI.
Replies: 5
Views: 162

Re: Inine assembler intel syntax with fallback x86 vs x86_64 and Windows vs Linux ABI.

So yours is a private FreeBASIC MAC build not an official Open Darwin build right ?

Joshy
by D.J.Peters
Aug 20, 2019 1:37
Forum: General
Topic: Inine assembler intel syntax with fallback x86 vs x86_64 and Windows vs Linux ABI.
Replies: 5
Views: 162

Re: Inine assembler intel syntax with fallback x86 vs x86_64 and Windows vs Linux ABI.

I was thinking on darwin __FB_ASM__ is always "att" !

by the way which version is your Darwin ?
I read the latest are V 19.0.0 wikipedia
Can I install a darwin.iso as virtual box (eg. QEMU) if so where is the FreeBASIC Darwin build you use ?

Thank you

Joshy
by D.J.Peters
Aug 20, 2019 0:36
Forum: General
Topic: Inine assembler intel syntax with fallback x86 vs x86_64 and Windows vs Linux ABI.
Replies: 5
Views: 162

Inine assembler intel syntax with fallback x86 vs x86_64 and Windows vs Linux ABI.

Here are simple test of inline assembler it makes no sense in scope of speed but ! 1) if the target OS not support (ARM,ARCH64,DARWIN) or not compield with -asm intel you can #redefine naked to nothing 2) in case of sub_min(result,x,y) you have to distinguish between Windows and Linux X86_64 ABI 3) ...
by D.J.Peters
Aug 19, 2019 19:53
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 65
Views: 965

Re: Array Descriptor (split from Wiki Improvements)

gothon wrote:The way VB size locks an array is probably through reference counting.
Sure in VB an array is always an object also. (so far I remember)

Joshy
by D.J.Peters
Aug 14, 2019 22:10
Forum: Libraries
Topic: FBGUI library for Windows 2
Replies: 774
Views: 115010

Re: FBGUI library for Windows 2

Windows9 Linux resizeWindowSub "cdecl" are missing !

Joshy

Code: Select all

Declare sub resizeWindowSub (Gwindow as GtkWidget ptr, allocation as GdkRectangle ptr, user_data as gpointer)

Code: Select all

Declare sub resizeWindowSub cdecl (Gwindow as GtkWidget ptr, allocation as GdkRectangle ptr, user_data as gpointer)
by D.J.Peters
Aug 14, 2019 2:44
Forum: Tips and Tricks
Topic: Tiny C64 (old school)
Replies: 57
Views: 17079

Re: Tiny C64 (old school)

I added "A little bit about C64 BASIC" see first post.

Joshy
by D.J.Peters
Aug 13, 2019 23:48
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 351
Views: 39422

Re: FLTK-C-1.3.3 for FreeBASIC

I found online C++ code that use the second form of Fl_WindowSdow()

Code: Select all

mainWindow->icon(my_icon);
mainWindow->show(argc,argv);
It's Fl_WindowShowArgs(win,argc,argv) in C or FreeBASIC may be you give it a try also.

Joshy
by D.J.Peters
Aug 13, 2019 23:11
Forum: Community Discussion
Topic: Running FreeBASIC on virtual or real Raspberry Pi.
Replies: 3
Views: 2166

Re: Running FreeBASIC on virtual or real Raspberry Pi.

I published a new 2019 version. I created a ~4GB sd-card image and upgraded Debian wheezy. Of course at first I installed the latest version of FreeBASIC and all the dev libs on the fresh running wheezy. I added geany, mc the midnight commander, gimp, gftp etc ... download: qemu_pi.zip extract the a...
by D.J.Peters
Aug 13, 2019 21:24
Forum: Community Discussion
Topic: [offtopic]What was at Jul 24, 2019 something special ?
Replies: 10
Views: 622

Re: [offtopic]What was at Jul 24, 2019 something special ?

~300 robots per day not bad !
Looks like FreeBASIC is more popular for machines as for humans ;-)

Joshy
by D.J.Peters
Aug 13, 2019 21:12
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 351
Views: 39422

Re: FLTK-C-1.3.3 for FreeBASIC

May be you can try the other set icon[s] stuff also. declare sub Fl_WindowIcon (byval win as Fl_Window ptr, byval icon as const Fl_RGB_Image ptr) declare sub Fl_WindowIcons (byval win as Fl_Window ptr, byval icons as const Fl_RGB_Image ptr ptr, byval count as long) declare sub Fl_WindowDefaultIcons ...
by D.J.Peters
Aug 13, 2019 10:44
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 351
Views: 39422

Re: FLTK-C-1.3.3 for FreeBASIC

I published a new fltk-c.1.3.3.zip file ! I fixed a bug in the C++ wrapper (Windows 32 and 64 bit) I fixed an error in the "fltk-main.bi" file (Linux 32 and 64-bit) I added many more comments in "flt-main.bi" (complete HTML reference of the Fl_HelpView, Fl_Window and more ...) I ...

Go to advanced search