Search found 3405 matches

by marcov
Apr 15, 2024 12:21
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 267
Views: 23927

Re: Freebasic 1.20.0 Development

Our main benchmark is compiler self compilation. It is a large program that does something, and therefore better indicative of real world performances differences than micro benchmarks. However, the problem is that as the compiler mutates in time, timings can't be compared over longer periods, but t...
by marcov
Apr 13, 2024 15:06
Forum: Community Discussion
Topic: FreeBASIC for Apple OS
Replies: 20
Views: 3492

Re: FreeBASIC for Apple OS

Merrifst64 wrote: Apr 13, 2024 13:44 Do you think the BSD version works on macOS as well?
Already answered in this thread.
by marcov
Apr 12, 2024 8:38
Forum: Libraries & Headers
Topic: gcc built_in functions
Replies: 6
Views: 380

Re: gcc built_in functions

deltarho[1859] wrote: Apr 12, 2024 8:16 'ar rcs libbuilt_in.a built_in.o' without further ado is not helpful.
If you had done ar -? you would have read:

r=Add/or replace .o into .a archive
c= do not warn if library has to be created
s=create an archive index (ranlib)

If I can do it, why can't you?
by marcov
Apr 12, 2024 7:49
Forum: Libraries & Headers
Topic: gcc built_in functions
Replies: 6
Views: 380

Re: gcc built_in functions

(afaik ar doesn't respect windows switch char, and must be queried with ar -? )
by marcov
Apr 11, 2024 21:21
Forum: General
Topic: Alternatives to Win32 API IDE's and programming
Replies: 3
Views: 230

Re: Alternatives to Win32 API IDE's and programming

- VS (C++) has MFC as win32 wrapper. Since the community VS editions (+/- 10 years) this is now also available in free editions. Before the free VS parts that came with the SDK lacked it. I don't have much experience with it. - Delphi has the VCL (and Lazarus a mostly compatible LCL) Note that for n...
by marcov
Apr 11, 2024 8:19
Forum: Sources, Examples, Tips and Tricks
Topic: Custom typeface (font)
Replies: 5
Views: 333

Re: Custom typeface (font)

Fonts consisting only out of lines are called stroked fonts, and basically level zero of scalable (non bitmapped(*)) fonts. Turbo Pascal had stroked fonts file (.chr) and the format is available on the net. IIRC Freetype has a function to make stroked fonts for opengl consumption from TTFs, so you m...
by marcov
Apr 04, 2024 9:45
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 267
Views: 23927

Re: Freebasic 1.20.0 Development

At this point why don't you just audit the language for all the crap, broken and obtuse things, gut them, and rebuild them however you like with no regards for what went before (or leave them out altogether) and call it FreeBasic 2.0. I had been wanting to suggest this exact same thing for a while ...
by marcov
Mar 28, 2024 9:52
Forum: Windows
Topic: free basic how to load new form like vb6,and get form.item (public method or value)
Replies: 4
Views: 752

Re: free basic how to load new form like vb6,and get form.item (public method or value)

From version 5 of Windows NT (Windows 2000 Professional) The basic framework is included in the system libraries, instead in the old versions of Windows 98 and NT4. (and afaik went out again in Windows 2008, as there are server commandline versions again since then) But ok, so with the native frame...
by marcov
Mar 27, 2024 9:21
Forum: Windows
Topic: free basic how to load new form like vb6,and get form.item (public method or value)
Replies: 4
Views: 752

Re: free basic how to load new form like vb6,and get form.item (public method or value)

There are native Windows Framework libraries? (or for native app target). Url ?

Or do you mean Microsoft Foundation Libraries?
by marcov
Mar 26, 2024 10:13
Forum: Documentation
Topic: External Graphics File Formats (page to fill in Programmer's Guide)
Replies: 12
Views: 2812

Re: External Graphics File Formats (page to fill in Programmer's Guide)

So top down images (with negative height) ARE supported ? :D ha, I did not know. Turns out yes, negative height flips the image. ( I really was hoping for someone to dig through this. I don't even know what is common or normal with this format) RLE not supported though. So only uncompressed formats...
by marcov
Mar 01, 2024 23:15
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 267
Views: 23927

Re: Freebasic 1.20.0 Development

Side note: For wstrings, fbc generates a kind of wstring descriptor internally, just enough functionality to pass copies of wstring's and get function results. The problems to solve with wstrings and strings are virtually the same except the element size is different but currently each has varying ...
by marcov
Feb 25, 2024 19:37
Forum: Documentation
Topic: External Graphics File Formats (page to fill in Programmer's Guide)
Replies: 12
Views: 2812

Re: External Graphics File Formats (page to fill in Programmer's Guide)

That said, it might be worth specifying what exactly is the "BMP subset". (no RLE? Not all BPP?) You nailed it there. Plus there is some support for reading in gfx files originally saved by QB's BSAVE itself. Code is run time library implemented and doesn't use any win32 api calls so can ...
by marcov
Jan 31, 2024 10:26
Forum: Beginners
Topic: Is this legal?
Replies: 5
Views: 459

Re: Is this legal?

Probably parenthesis due to C style auto testing integers for 0 and same worth for bitwise and logical AND.

I.e. (mybyte) and (8=8) vs (mybyte and 8 )=8
by marcov
Jan 08, 2024 10:06
Forum: General
Topic: Free Basic program size
Replies: 9
Views: 860

Re: Free Basic program size

For most compilers, the limit you are more often practically limited by is the largest block of code (procedure or main program) rather than by the total application size. Register allocation often has some practical limits, which btw are sometimes also encountered when excessively inlining. Well, ...
by marcov
Jan 07, 2024 20:17
Forum: General
Topic: Free Basic program size
Replies: 9
Views: 860

Re: Free Basic program size

For most compilers, the limit you are more often practically limited by is the largest block of code (procedure or main program) rather than by the total application size. Register allocation often has some practical limits, which btw are sometimes also encountered when excessively inlining.