Search found 4228 matches

by deltarho[1859]
Apr 17, 2024 23:55
Forum: Community Discussion
Topic: Seeding PRNGs with the Time Stamp Counter
Replies: 6
Views: 303

Re: Seeding PRNGs with the Time Stamp Counter

True randomness exists in mathematics. Infinity exists in mathematics. In the natural world, I do not believe either exist. I allowed a coin to be tossed an infinite number of times, which of course is not possible. It is often written that at the centre of a black hole space is curved to such an ex...
by deltarho[1859]
Apr 17, 2024 13:36
Forum: Community Discussion
Topic: Seeding PRNGs with the Time Stamp Counter
Replies: 6
Views: 303

Re: Seeding PRNGs with the Time Stamp Counter

.. and I don't know which world I am in. :P That is easy enough. If it is raining outside when you go outside, then the world that you are currently in is the one where it is raining outside and the chance of being in that world is 75%. :) We could be talking true randomness here, as the outcome is...
by deltarho[1859]
Apr 16, 2024 20:12
Forum: Community Discussion
Topic: Seeding PRNGs with the Time Stamp Counter
Replies: 6
Views: 303

Re: Seeding PRNGs with the Time Stamp Counter

And I also think that randomness, compression and intelligence are linked somehow. In Star Trek 'Space-Time continuum' is mentioned several times. Being set in the 23rd century, they should have known better or, perhaps, Gene Roddenberry should have known better. There is no such thing as 'Space-Ti...
by deltarho[1859]
Apr 15, 2024 21:45
Forum: Community Discussion
Topic: Seeding PRNGs with the Time Stamp Counter
Replies: 6
Views: 303

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: 440

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: 440

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: 440

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: 3256

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: 3256

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: 1316

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: 3256

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: 3256

Re: -gen clang

Found one. :)

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

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: 3256

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: 1316

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...