Search found 4233 matches

by deltarho[1859]
Mar 15, 2024 4:25
Forum: General
Topic: -gen clang
Replies: 64
Views: 3405

Re: -gen clang

This is the nearest that I have got to getting the emoji picker to work. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Input\Settings\proc_1\loc_0809\im_1] "EnableExpressiveInputShellHotkey"=dword:00000001 But that does not work. I had to search for loc_0809 for the English keyboard. The US keybo...
by deltarho[1859]
Mar 15, 2024 3:17
Forum: General
Topic: -gen clang
Replies: 64
Views: 3405

Re: -gen clang

What I did was to keep the original gcc code, in MsWsII, and then added the gcc/clang code. I then wrote this in MsWsII.bas #ifdef clang <gcc/clang code> #else <gcc code> #endif In my plot.bas with '#define clang' before including MsWsII.bas and using the clang command line, it works. Commenting the...
by deltarho[1859]
Mar 15, 2024 2:21
Forum: General
Topic: -gen clang
Replies: 64
Views: 3405

Re: -gen clang

I tried Edge when it failed to work in Firefox but no joy.

You're on Win 11. It is supposed to work on Win10 - perhaps it doesn't. :(
by deltarho[1859]
Mar 15, 2024 1:52
Forum: General
Topic: -gen clang
Replies: 64
Views: 3405

Re: -gen clang

srvaldez wrote:btw, on Windows...
With the focus on my next character to type, I opened the emoji picker and clicked on a smilie, but nothing was inserted into the forum.

I'm on the latest Win10 update.
by deltarho[1859]
Mar 15, 2024 0:07
Forum: General
Topic: -gen clang
Replies: 64
Views: 3405

Re: -gen clang

This is the command line that I am using with clang. -asm att -w all -arch native -gen clang -Wc -O2 With gcc '-arch native' impacted on performance on my machine. srvaldez found it to be faster, some time ago, on his machine. No idea why. With gcc/clang I get better performance with '-arch native'....
by deltarho[1859]
Mar 14, 2024 23:52
Forum: General
Topic: -gen clang
Replies: 64
Views: 3405

Re: -gen clang

Here is the latest. I now have clang with gcc 13.2, gcc 11.2, gcc 9.3, and gcc 8.3. Where did I get 9.3 and 8.3 from? I cannot tell you — don't go there. :) What I have learnt is: The moral here is to use -asm att when using clang in 32-bit mode or 64-bit mode. Any in-line assembly must be in -asm a...
by deltarho[1859]
Mar 13, 2024 5:25
Forum: General
Topic: -gen clang
Replies: 64
Views: 3405

Re: -gen clang

I'm finding a lot of source code will not compile. I checked out a 64-bit asm file, which failed. Here is a typical example. mov Dword Ptr [[rsp + 4]], eax That has too many brackets and will not assemble. There were 14 such instances. Some source code is compiling successfully without errors or war...
by deltarho[1859]
Mar 12, 2024 6:53
Forum: General
Topic: -gen clang
Replies: 64
Views: 3405

Re: -gen clang

Using 13.2.0 is asking for trouble. Using 'GCC 11.2.0 + LLVM/Clang/LLD/LLDB 14.0.0 + MinGW-w64 9.0.0 (UCRT) - release 7' would have been a better bet as it is closer to 9.3.0. I have tried clang on my PRNG plot program in 64-bit mode. It was luck of the draw whether they compiled or not, and some sa...
by deltarho[1859]
Mar 07, 2024 2:52
Forum: Linux
Topic: Problem to compile -dll (solved)
Replies: 6
Views: 417

Re: Problem to compile -dll

While I am at it, I should tell you that using 'randomize' or 'randomize timer' is not the best way to seed, especially if you boot every day. This is what I use. Function GetSeed() As Long Dim As Long Seed Asm rdtsc bswap eax ' fast moving to upper bits mov Dword Ptr [Seed], eax End Asm Return Seed...
by deltarho[1859]
Mar 07, 2024 1:15
Forum: Linux
Topic: Problem to compile -dll (solved)
Replies: 6
Views: 417

Re: Problem to compile -dll

Using 'randomize timer' every time we enter foo is a waste of CPU time. There is also a danger of sequence overlapping.

Use 'randomize' outside the function. timer is not needed either — it is implicit.

So just use 'randomize' before foo is called.
by deltarho[1859]
Mar 05, 2024 5:11
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 347379

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)

We are all getting older and I know my eyes are not what they were when I was younger. Same here. I cannot help regarding WinFBE log file and so on, but there is a setting in Windows 10 which you may find helpful. Settings>Ease of Access>Display At the top is a slider — I have mine set to 125%. Win...
by deltarho[1859]
Mar 04, 2024 22:26
Forum: Windows
Topic: drWinFBE_Tools
Replies: 71
Views: 10445

Re: drWinFBE_Tools

Found a bug in SCS. When we have two forms with a normal font size and a larger font size to facilitate those whose sight is not as good as it was then changing to the larger font size will see Windows trying to resize everything for us. Unfortunately it is not good at it, so we have to make some ad...
by deltarho[1859]
Mar 02, 2024 17:42
Forum: Windows
Topic: drWinFBE_Tools
Replies: 71
Views: 10445

Re: drWinFBE_Tools

The larger form font size has been tidied up and looks OK.

Updated zip in opening post.

The Tips and Tricks topic in the Help file has been replaced with simply Tip.
by deltarho[1859]
Mar 01, 2024 23:47
Forum: Windows
Topic: drWinFBE_Tools
Replies: 71
Views: 10445

Re: drWinFBE_Tools

Found a mistake in SCS. There is a Select/End Select construct which is repeated. I forgot to update the second one. I should have used a macro. The result of the error could report no preset found, which would be false. SCS V1.0.21 :) At the top of our source code, we can add '#Console on, to inclu...
by deltarho[1859]
Mar 01, 2024 8:02
Forum: Windows
Topic: drWinFBE_Tools
Replies: 71
Views: 10445

Re: drWinFBE_Tools

SCS V1.0.20 :) If we choose gas and have the 686 box not checked, then now SCS will check it for us when we click 'Apply'. If we choose gas64 and have the 686 box checked, then now SCS will uncheck it for us when we click 'Apply'. There isn't a computer on the planet which can second guess what we m...