Search found 2714 matches

by marcov
Sep 17, 2019 14:41
Forum: Projects
Topic: Full RGB image to DOS CGA and EGA
Replies: 9
Views: 268

Re: Full RGB image to DOS CGA and EGA

Yes that's what I said a few posts back. Commander-X16 is a completely different thing. It's a hardware prototype of an 8-bit computer they he plans to sell to 8-bit enthusiasts. It's like an Apple II or Commodore 64, but without some of the quirks these old designs had. Will have BASIC built into ...
by marcov
Sep 16, 2019 11:02
Forum: Projects
Topic: Full RGB image to DOS CGA and EGA
Replies: 9
Views: 268

Re: Full RGB image to DOS CGA and EGA

The CGA algorithm just screams for SSE expansion. 1. load 4 pixels ( 8 bytes, AVX2 could do 8 at once) 2. and mask the alpha bytes to 0 3. expand them (punpacklow and -hiw or so) to two register word values. 4. phaddw them horiztontally together. (adds two color values) 5. phaddw again. 6 divide by ...
by marcov
Sep 11, 2019 19:14
Forum: Community Discussion
Topic: Unicode file names
Replies: 2
Views: 137

Re: Unicode file names

This is not entirely correct. Basically the Linux kernel just stores bytes, and assume the higher level libraries maintain some system in encoding. On most distros this is indeed utf-8, but on older and embedded (uclibc) libraries it might still be some ansi encoding. Specially on e.g. filer firmwar...
by marcov
Sep 05, 2019 17:53
Forum: Community Discussion
Topic: __FB_BUILD_DATE__ should be changed to ISO-Date
Replies: 12
Views: 400

Re: __FB_BUILD_DATE__ should be changed to ISO-Date

Maybe this: Sorry, but you don't seem to understand: we speak about a Compiler-Intrinsic , which should be usable "as-is", and not first needing to be converted, before use. (Which would defeat the purpose of having them, in the first place.) Worse, if it emits strange formats like mm-dd-...
by marcov
Sep 02, 2019 12:46
Forum: Documentation
Topic: documentation epub format or (odt)
Replies: 4
Views: 565

Re: documentation epub format or (odt)

If you search from keywords on the web, you will easily find free converters (eg from chm to epub). For example: https://www.freefileconvert.com/chm-epub (be a little patient to wait for the result) I tested with the largest CHM I could find (a 14MB, 25000 lemma FPC helpfile), and the conversion to...
by marcov
Aug 12, 2019 22:30
Forum: General
Topic: FBIDE
Replies: 1
Views: 1060

Re: FBIDE

Maybe the antivirus keeps a lock on the generated exe. Try excluding related directories from the antivirus
by marcov
Aug 07, 2019 19:08
Forum: General
Topic: Quadra decimal
Replies: 8
Views: 1169

Re: Quadra decimal

How about it? How would it be useful?

(and then I assume relative to simple library implementations like bit packed records like struct { int quadra:4})
by marcov
Jul 23, 2019 21:14
Forum: Beginners
Topic: Advantages of different GUI libraries
Replies: 18
Views: 2289

Re: Advantages of different GUI libraries

I miss QT. Together with Winapi and GTK I'd say those are the major options.
by marcov
Jul 22, 2019 9:24
Forum: General
Topic: Let us talk about memory layout of classes Microsost C++ vs gnu g++ vs FreeBASIC !
Replies: 6
Views: 1193

Re: Let us talk about memory layout of classes Microsost C++ vs gnu g++ vs FreeBASIC !

I've no clue of C++ vtable layout, but if vtable[0] is not a method, it might also be a pointer to some other descriptor table (like for multiple inheritance or RTTI).
by marcov
Jul 21, 2019 20:42
Forum: General
Topic: Let us talk about memory layout of classes Microsost C++ vs gnu g++ vs FreeBASIC !
Replies: 6
Views: 1193

Re: Let us talk about memory layout of classes Microsost C++ vs gnu g++ vs FreeBASIC !

I don't see the constructor declared as virtual, so why would it be in the vtable? Are constructors always virtual by default?
by marcov
Jul 12, 2019 8:18
Forum: General
Topic: NUL device in DOS and Windows
Replies: 6
Views: 1045

Re: NUL device in DOS and Windows

MrSwiss wrote:Try this: If FileExists( blockdir & "\." ) Then


(minor detail: afaik that doesn't work for roots)
by marcov
Jun 20, 2019 15:54
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 51
Views: 4475

Re: fb 1.07 tests

Debug info by default. strip can be always done afterwards on release.

Unstripping is hard :-)
by marcov
Jun 06, 2019 20:03
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 45
Views: 3825

Re: FreeBASIC-1.06.0-Win gcc-9.1

And debuginfo, make sure they are properly stripped.
by marcov
Jun 01, 2019 21:12
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 68
Views: 6718

Re: Creating (scientific) plots via gnuplot

Carlos Herrera wrote:If an old and buggy fbgfx form is replaced by the gnuplot engine, we will have something
that matches TAChart from Lazarus. After all, Maxima, Octave, nextnano, ... use gnuplot engine,
so its not a shame.


TAChart doesn't use gnuplot or anything external.
by marcov
May 22, 2019 16:48
Forum: Community Discussion
Topic: Wiindows 10
Replies: 24
Views: 3306

Re: Wiindows 10

Low memory devices (e.g. 4GB AND integrated graphics) are no picnic ether. For 1709 update: Core2 6600 (2.4GHz) 6GB with SSD: about 2.5 hrs. (now has been junked) 1809 update i7-3770 12GB SSD : 50min-1hr. Ryzen 2600 24GB with (old) SSD: 35-40 minutes added later: these are rough magnitude only figur...

Go to advanced search