Search found 3405 matches

by marcov
Jan 21, 2023 13:08
Forum: Community Discussion
Topic: McAfee antivirus says my FB .exe files are viruses?
Replies: 6
Views: 1323

Re: McAfee antivirus says my FB .exe files are viruses?

Maybe it's a lost cause but you can submit the exes to McAfee as a false positive in hopes they can correct the issue. For whatever reason many EXEs produced by lesser-known compilers trip AV on Windows and have for years. Antiviruses have (at least) two layers. The classic layer scanning for known...
by marcov
Jan 13, 2023 11:14
Forum: General
Topic: Please help to make inline ASM jumptable
Replies: 8
Views: 826

Re: Please help to make inline ASM jumptable

Use an array of pointers to point to the integers and then simply arrptr[0]=&a : arrptr[1]=&b: arrptr[2]=&c: etc then For MYSELECT=0 To 7 *arrptr +=1 No jumps, much faster. I assumed the printing was only for debugging. (and if not, print() is much slower than any case table optimization...
by marcov
Jan 06, 2023 12:53
Forum: Community Discussion
Topic: [offtopic] List of the most known display resolutions.
Replies: 5
Views: 1218

Re: [offtopic] List of the most known display resolutions.

For non gaming applications: many programmers have 90' rotated monitors, so I think the rotated resolutions of the most common resolutions also are quite common, like 1080x1920 (which I'm using) and 1440x2560.
by marcov
Dec 30, 2022 13:15
Forum: General
Topic: What is an "UNDEFINED REFERENCE" ?
Replies: 14
Views: 3551

Re: What is an "UNDEFINED REFERENCE" ?

(iirc there is a header x86intr.h that declares iopl and ioperm to request permissions, after which you can use normal port I/O)
by marcov
Dec 29, 2022 13:25
Forum: Sources, Examples, Tips and Tricks
Topic: Programming Languages Benchmark
Replies: 71
Views: 12838

Re: Programming Languages Benchmark

Pure (not fast-) CGIs are only interesting because they are the simplest native form of webserver<-> application communication. In reality you always use some fastcgi, isapi or mod_cgi thingy. I did ISAPI dll frameworks in Delphi almost two decades ago, and it ran circles around PHP The core advanta...
by marcov
Dec 26, 2022 22:20
Forum: Sources, Examples, Tips and Tricks
Topic: Programming Languages Benchmark
Replies: 71
Views: 12838

Re: Programming Languages Benchmark

Keep in mind that there was a reason for interpreted BASICs in minis. It was not for some language advantage, but simply because the tokenized program would be very compact and the interpreter in ROM, making good utilization of RAM. Also it allowed things like CHAINing. This might not be what users ...
by marcov
Dec 07, 2022 10:37
Forum: Community Discussion
Topic: The forum's search function is useless
Replies: 17
Views: 2571

Re: The forum's search function is useless

You don't know how lucky you are. Our most wellknown regional delicacy is used as a biological weapon in Roadrunner and other cartoons:

Image
by marcov
Dec 06, 2022 14:49
Forum: DOS
Topic: SOLVED: dxe_tmp.o: linker output file has more than one section
Replies: 10
Views: 4472

Re: dxe_tmp.o: linker output file has more than one section

(afaik dxe files are a limited runtime loadable entity, and generated from .o's by dxe3gen or so)
by marcov
Dec 06, 2022 8:45
Forum: Community Discussion
Topic: The forum's search function is useless
Replies: 17
Views: 2571

Re: The forum's search function is useless

deltarho[1859] wrote: Dec 05, 2022 16:23 where Yorkshire was
It is something you put in pudding or so. :D
by marcov
Dec 02, 2022 15:04
Forum: Community Discussion
Topic: Multiplatform coroutines in C and also in FreeBasic
Replies: 32
Views: 6429

Re: Multiplatform coroutines in C and also in FreeBasic

For the rest, when I refer to a 16-bit executable it means that the interpreter executes it in 16-bit real mode, the fact that it then loads 32-bit data into memory in protected mode this in fact does not make it a 32-bit NT executable or Linux But it doesn't make it an all 16-it process either. No...
by marcov
Dec 01, 2022 14:29
Forum: Community Discussion
Topic: Multiplatform coroutines in C and also in FreeBasic
Replies: 32
Views: 6429

Re: Multiplatform coroutines in C and also in FreeBasic

Surely there is a misunderstanding due to the fact that you refer to the executable as if it were 32bit while I distinguish between 16Bit Binary and 32Bit Instruction, The Binary file (executable) is 16 bit while the instructions that go to create in memory are 32Bit for this requires a protected m...
by marcov
Dec 01, 2022 14:09
Forum: Community Discussion
Topic: Multiplatform coroutines in C and also in FreeBasic
Replies: 32
Views: 6429

Re: Multiplatform coroutines in C and also in FreeBasic

Except that Dos will only use one core and no HT ? Hyper Threading is a feature of the new generation CPUs New generation since the Pentium 4 HT 2002 ? That is twenty years on x86 alone. of Doubling the number of executable threads for each Core this technology is interpreted as a second CPU or Cor...
by marcov
Dec 01, 2022 12:02
Forum: Community Discussion
Topic: Multiplatform coroutines in C and also in FreeBasic
Replies: 32
Views: 6429

Re: Multiplatform coroutines in C and also in FreeBasic

angros47 wrote: Nov 30, 2022 11:39 If you want to use Free basic for DOS you can create threads, and have then running in the background, exactly like you would do on Windows and Linux.
Except that Dos will only use one core and no HT ?
by marcov
Nov 29, 2022 9:48
Forum: Community Discussion
Topic: Ram Disks
Replies: 2
Views: 855

Re: Ram Disks

Wear is measured in total bytes written, which is typically in the magnitude of the whole drive written 200-300 times (for a typical cheap QLC SSD as the Intel 660p). If you have a gig in in temporary files on a 1TB SSD, and they are completely rewritten each day, you need to become 666-1000 years o...
by marcov
Nov 26, 2022 21:16
Forum: Emscripten
Topic: Will FreeBASIC support web?
Replies: 23
Views: 6750

Re: Will FreeBASIC support web?

But every time we add it to a quote, it gets struck down by customer's accountants. Every customer wants, no customer wants to pay. An acute situation with respect to open source where the currency is typically free time, imho. Ah, I should maybe qualify that the "we" in this thread is no...