Search found 4225 matches

by deltarho[1859]
Apr 15, 2024 21:45
Forum: Community Discussion
Topic: Seeding PRNGs with the Time Stamp Counter
Replies: 1
Views: 71

Seeding PRNGs with the Time Stamp Counter

“The uncertainty principle, also known as Heisenberg's indeterminacy principle, is a fundamental concept in quantum mechanics. It states that there is a limit to the precision with which certain pairs of physical properties, such as position and momentum, can be simultaneously known. In other words,...
by deltarho[1859]
Apr 12, 2024 9:11
Forum: Libraries & Headers
Topic: gcc built_in functions
Replies: 6
Views: 387

Re: gcc built_in functions

marcov wrote:If I can do it, why can't you?
Bit too early in the morning for you to employ a civil tongue?
by deltarho[1859]
Apr 12, 2024 8:16
Forum: Libraries & Headers
Topic: gcc built_in functions
Replies: 6
Views: 387

Re: gcc built_in functions

ar is a GNU Binary Utility, apparently.

srvaldez knocked out some great instructions recently regarding toolchains and made no assumptions about the reader's expertise.

'ar rcs libbuilt_in.a built_in.o' without further ado is not helpful.
by deltarho[1859]
Apr 12, 2024 7:20
Forum: Libraries & Headers
Topic: gcc built_in functions
Replies: 6
Views: 387

Re: gcc built_in functions

@srvaldez If you want some feedback on this thread, you'll have to 'dumb it down' a bit. > 'gcc -c -O2 built_in.c' You have obviously learnt a few undocumented shortcuts to command lines, but that will not work as a command line, and it will not produce an 'o' file expected in the next statement. > ...
by deltarho[1859]
Apr 08, 2024 19:49
Forum: General
Topic: -gen clang
Replies: 64
Views: 3100

Re: -gen clang

> I am only using fbc 1.20.0 with gcc/clang work. For that, I use WinFBE plus SCS III. SCS III will build the clang command line for me. I can also use WinFBE plus SCS and that will build a gcc command line. We get the benefit of the much improved fbc 1.20.0 with gcc 11.2.0. The latter does not do m...
by deltarho[1859]
Apr 08, 2024 17:58
Forum: General
Topic: -gen clang
Replies: 64
Views: 3100

Re: -gen clang

Xusinboy Bekchanov reported a serious issue with fbc 1.20.0. This was corrected in the latest build. The following uses the latest 1.20.0 build. I am only using fbc 1.20.0 with gcc/clang work. OK, with 32-bit and 64-bit; after a compilation fail on both with previous fbc 1.20.0 build. FreeBASIC-1.20...
by deltarho[1859]
Apr 05, 2024 21:14
Forum: Sources, Examples, Tips and Tricks
Topic: Waterfall effect
Replies: 18
Views: 1271

Re: Waterfall effect

Trust dodicat to come up with a 'cracker'. I have two monitors. Everybody's graphics end up with half on my secondary monitor and half on my primary monitor. I should have mentioned this ages ago, but I include #include "fbgfx.bi" and ScreenControl fb.SET_WINDOW_POS, 100, 10 That way I get...
by deltarho[1859]
Apr 05, 2024 16:48
Forum: General
Topic: -gen clang
Replies: 64
Views: 3100

Re: -gen clang

@srvaldez You are going deeper than I am prepared to go. I will stay with your previous instructions unless you advise otherwise. I should imagine most will do the same. Your opening post did not bode well for gcc/clang, but with 11.2.0 gcc/clang we have a different story. It is a serious competitor...
by deltarho[1859]
Apr 05, 2024 12:53
Forum: General
Topic: -gen clang
Replies: 64
Views: 3100

Re: -gen clang

Found one. :)

Release Notes
by deltarho[1859]
Apr 05, 2024 10:59
Forum: General
Topic: -gen clang
Replies: 64
Views: 3100

Re: -gen clang

fbc 1.20.0 [2 April 2024] LLVM 18.1.3 [5 April 2024]

FreeBASIC-1.20.0-gcc-11.2.0cl (162MiB)

I have tried to find a 'changelog' for LLVM 18.1.3, but I cannot find one.
by deltarho[1859]
Apr 03, 2024 11:15
Forum: General
Topic: -gen clang
Replies: 64
Views: 3100

Re: -gen clang

Blimey — feedback! I need a lie down. :D

Thank you, antarman.

srvaldez should get the credit. He supplied the engine — I just did the coachwork. :)
by deltarho[1859]
Mar 31, 2024 15:24
Forum: Sources, Examples, Tips and Tricks
Topic: Waterfall effect
Replies: 18
Views: 1271

Re: Waterfall effect

Sleep 1, Sleep 2, …, Sleep 15 all give a Sleep of 15 because Sleep is linked to the System Clock (64Hz). To get Sleep n to sleep for n milliseconds, then use: Declare Function settimer Lib "winmm" Alias "timeBeginPeriod"(As Ulong=1) As Long settimer That uses a timer with a frequ...
by deltarho[1859]
Mar 31, 2024 0:49
Forum: Sources, Examples, Tips and Tricks
Topic: Waterfall effect
Replies: 18
Views: 1271

Re: Waterfall effect

Use Randomize , 5

Why? Why not :)
by deltarho[1859]
Mar 27, 2024 23:49
Forum: Sources, Examples, Tips and Tricks
Topic: Cairo animated spiral
Replies: 11
Views: 592

Re: Cairo animated spiral

Tee surface — Redirect input to multiple surfaces.
by deltarho[1859]
Mar 27, 2024 21:30
Forum: Sources, Examples, Tips and Tricks
Topic: Cairo animated spiral
Replies: 11
Views: 592

Re: Cairo animated spiral

What would we do without srvaldez?

Image