Search found 3405 matches

by marcov
Aug 15, 2023 12:15
Forum: General
Topic: glGenFramebuffers command crash
Replies: 6
Views: 1502

Re: glGenFramebuffers command crash

(glGenFramebuffers is opengl4, do you have a opengl 4 card and do you create a opengl4 context ?)
by marcov
Jul 08, 2023 14:41
Forum: General
Topic: QB64 faster than FB ?
Replies: 41
Views: 2270

Re: QB64 faster than FB ?

Munair, you can indeed divide by a constant using magic numbers but not if dividing by a variable Yes, and that is useful if you don't do anything else. If it is just about doing the most div/mod in a tight loop, consider SIMD. SARG, I find it hard to believe that the chip makers haven't optimized ...
by marcov
Jun 21, 2023 10:56
Forum: Linux
Topic: under linux how create buttons and others widgets?
Replies: 5
Views: 2009

Re: under linux how create buttons and others widgets?

Note that Lazarus itself is based on either QT or GTK under Linux. (usually distros ship GTK, but most application developers use QT due to better stability)
by marcov
May 28, 2023 15:31
Forum: DOS
Topic: Chain/Exe/Run Problem
Replies: 4
Views: 2006

Re: Chain/Exe/Run Problem

It is possible that the extender has snapped up all extended memory. IIRC you could tell it to allocate less using environment variables. (DPMI_MAXMEM or something similar)
by marcov
May 27, 2023 22:59
Forum: DOS
Topic: Chain/Exe/Run Problem
Replies: 4
Views: 2006

Re: Chain/Exe/Run Problem

Dos always executes in the parent's memory space as it is a single process OS. Afaik this is normal
by marcov
May 22, 2023 7:44
Forum: Beginners
Topic: speed of FB 1.10 on a Win10 64 bit 2 core sys
Replies: 5
Views: 1987

Re: speed of FB 1.10 on a Win10 64 bit 2 core sys

You system is simply underspeced. 4GB for Windows 10 is not workable. That might not even provide a gigabyte free for applications, the rest is eaten up by the system
by marcov
May 16, 2023 6:12
Forum: Community Discussion
Topic: FreeBASIC 1.10.1 Release Discussion
Replies: 154
Views: 28137

Re: FreeBASIC 1.10.0 Release Discussion

Congratulations!
by marcov
May 10, 2023 20:59
Forum: General
Topic: need help translating from PowerBasic
Replies: 15
Views: 2012

Re: need help translating from PowerBasic

It probably depends if your FB supports SEH exception handling (Windows native table driven excceptions), rather than SJLJ.

Note that that question might vary depending on 32-bit/64-bit windows target.

For non Windows targets it is meaningless, and the code would need to be totally rewritten
by marcov
May 10, 2023 8:25
Forum: General
Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
Replies: 33
Views: 4824

Re: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs

marcov wrote: Mar 15, 2023 10:41 E.g. the 5700g is Zen2 (related to the laptop 4xxx series) and the 5700x is Zen3.
(Correction: the 5700g is Zen3, at half the cache and slightly higher freqs as the 5700X. It is the desktop -U series that is derived from Zen2)
by marcov
Apr 23, 2023 10:23
Forum: Windows
Topic: Try to use the ZMM register
Replies: 3
Views: 1143

Re: Try to use the ZMM register

Mostly the supporting processors are On the Intel side: - Certain 8th generation Cannon Lake products (low end server?) have AVX-512 - in the 10th and 11th generation Core with codename "Ice Lake" and "Rocket Lake", typically with a letter in the typename. The Skylake derived des...
by marcov
Apr 13, 2023 21:04
Forum: DOS
Topic: DOS Editor
Replies: 5
Views: 2665

Re: DOS Editor

Most Vesa cards afaik go up to 132x60, with ATI cards said to be the exception.
by marcov
Apr 13, 2023 20:20
Forum: General
Topic: IF (Thinking outside the Box?)
Replies: 9
Views: 1386

Re: IF (Thinking outside the Box?)

NorbyDroid wrote: Apr 13, 2023 16:29 There is just somethin quite satisfying usin plain text editors. Yes the new ide programs are great and pack full of handy features but usin plain text like DOS editor, Pedit, Notepad, etc. is just as good.
A text editor can do auto completion too.
by marcov
Apr 13, 2023 20:20
Forum: General
Topic: IF (Thinking outside the Box?)
Replies: 9
Views: 1386

Re: IF (Thinking outside the Box?)

marcov for n:=0 to 10 do writeln(n); Surely you wouldn't advise for n:=0 to 10 do begin writeln(n); end; The begin is to signal a multiline block. If it is _always_ a multiline block it can be omitted for non procedural blocks (and indeed Pascal's successor Modula-2 did just that). Compilable Basic...
by marcov
Apr 13, 2023 12:05
Forum: General
Topic: IF (Thinking outside the Box?)
Replies: 9
Views: 1386

Re: IF (Thinking outside the Box?)

Many things like "END IF" were probably originally added to lessen the dependency of formatting (line-based, identation or otherwise) on syntax, and thus avoid bugs. I mostly lean towards "no single line block" principle nowadays. It is safer, and because in that case a block alw...
by marcov
Apr 07, 2023 9:27
Forum: Linux
Topic: Linux Screen Resolution
Replies: 15
Views: 4525

Re: Linux Screen Resolution

A common forum bot creates user names with camel cased first names and random suffixes (not names per se). Like all attempts at AI they are recognizable that they don't really answer the question, and/or lack details. Some parts look like copy and past. Chatgpt is a next level in the sense that it i...