Search found 2345 matches

by MrSwiss
Apr 19, 2018 21:35
Forum: Community Discussion
Topic: Differences between 32 bit and 64 bit
Replies: 16
Views: 272

Re: Differences between 32 bit and 64 bit

So a link can be done between type of variable and pointers behaviour ? This is only the case, with Integer/UInteger (behaves like a ptr) since, all other data-types, are *fixed-size*: Byte/UByte (8 bits) Short/UShort (16 bits) -- [Integer in: -lang "QB" (fixed size)] Long/ULong and Singl...
by MrSwiss
Apr 19, 2018 20:35
Forum: Community Discussion
Topic: Differences between 32 bit and 64 bit
Replies: 16
Views: 272

Re: Differences between 32 bit and 64 bit

The behaviour of (any sort of) Pointer and U/Integer, are identical: ' fbc-bitness_test.bas -- 2018-04-19, MrSwiss ' ' compile: -s console ' ' SizeOf() returns the size (of the checked data-type, struct etc.), as *number of Bytes* 'Dim As Byte bitness = SizeOf(Any Ptr) ' uncomment any one but, _ Dim...
by MrSwiss
Apr 19, 2018 19:12
Forum: Community Discussion
Topic: Differences between 32 bit and 64 bit
Replies: 16
Views: 272

Re: Differences between 32 bit and 64 bit

A INT (in C) usually means: Long (in FB).
I assume, that it is a C lib. See: C/C++ to FB table in manual.
by MrSwiss
Apr 19, 2018 17:28
Forum: Community Discussion
Topic: Windows 10 updates
Replies: 11
Views: 395

Re: Windows 10 updates

BascCoder2 wrote:I thought of blocking updates but my understanding is you get virus protection updates?
That only matters, if you use M$'s virus scanner.
(another advantage of: "not putting all the eggs into the same basket")
I use a 3rd party virus scanner, with windows-updates "switched OFF".
by MrSwiss
Apr 19, 2018 16:00
Forum: Libraries
Topic: fbSound Linux Windows 32/64-bit (wav mp3 ogg mod it xm s3m)
Replies: 204
Views: 44176

Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)

Is it possible, that parameter passing, has a influence? In x64, first 4 param's
in Registers, instead of, on the Stack (as in 32 bit's).
by MrSwiss
Apr 19, 2018 9:57
Forum: Community Discussion
Topic: Differences between 32 bit and 64 bit
Replies: 16
Views: 272

Re: Differences between 32 bit and 64 bit

Thats why i am asking if there are a few general rules what to avoid in order to produce code that is still usable with fbc 32. There is, from my point of view, one that is important to remember: - in Types (used as struct), don't use U/Integer , since its size isn't fixed (ptr behaviour). - any ot...
by MrSwiss
Apr 18, 2018 17:09
Forum: Community Discussion
Topic: Differences between 32 bit and 64 bit
Replies: 16
Views: 272

Re: Differences between 32 bit and 64 bit

1. What exactly to do to program in such a way that it compiles in both fbc 32 and 64? That depends on a lot of things ... can you please, be more specific? e.g. do both .exe's use the same data (files), lib's: are both versions available e.t.c. 2. How to compile 32 bit programs with fbc 64? If thi...
by MrSwiss
Apr 18, 2018 15:46
Forum: Game Dev
Topic: Gamer PC headset?
Replies: 5
Views: 110

Re: Gamer PC headset?

... and I always bought the hear-through kind that allowed air in. I've never been comfortable, with any of those "over the head" contraptions. Actually, all of them, also got a Sony with 5m cord, to watch TV *silently*. This may be, because I'm wearing glasses ... Btw. the latest in-ears...
by MrSwiss
Apr 18, 2018 14:27
Forum: Game Dev
Topic: Gamer PC headset?
Replies: 5
Views: 110

Re: Gamer PC headset?

... I don't see a way to move it to General by myself. I'd say the best place would be: "Community Discussion" (for non coding related matters). I'm NOT a gamer, but on Headphones: closed type, giving "HOT" ears, in a short time! Personally, I prefer for long time wear: in ear t...
by MrSwiss
Apr 18, 2018 13:39
Forum: Game Dev
Topic: Gamer PC headset?
Replies: 5
Views: 110

Re: Gamer PC headset?

Wrong forum for such, specific HW questions (IMHO). You'll only get *opinions*.

Read test-reports in Journals, specializing in testing HW (with independent test-lab).
by MrSwiss
Apr 18, 2018 11:19
Forum: Community Discussion
Topic: Speed of FreeBasic
Replies: 26
Views: 917

Re: Speed of FreeBasic

Well, it appears to be based generally on two, different *frames of mind*. 1) making lots of money (without caring for quality: speed/size/bug-free code): This is usually achieved by: using huge libraries [mono/.net/gtk] which themselves are not likely, to be bug-free, but surely add plenty overhead...
by MrSwiss
Apr 17, 2018 17:41
Forum: Tips and Tricks
Topic: Dispatching a string
Replies: 5
Views: 116

Re: Dispatching a string

Lost Zergling wrote:little bit puritan
Not puritan, it's for solutions, instead of problems.
by MrSwiss
Apr 17, 2018 17:22
Forum: Tips and Tricks
Topic: Dispatching a string
Replies: 5
Views: 116

Re: Dispatching a string

FYI -- Tips & Tricks states:
Source-code only - please, don't post questions here.
(seen on Mouse hover, over Title)

For questions use: (in Programming)
Beginners
General (more involved problems)
or (on platforms)
DOS / Linux / Windows (for OS depending stuff)
by MrSwiss
Apr 15, 2018 11:04
Forum: Libraries
Topic: fbSound Linux Windows 32/64-bit (wav mp3 ogg mod it xm s3m)
Replies: 204
Views: 44176

Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)

With: me.nCores = (r Shr 24) And &hFF

I'm gettig results: from 0 To 3 cores (obviously, a highly shaky affair ...)
while 1 and 3 (if 0 based), could be accepted, otherwise: 2 and 4 (if 1 based)
Windows reports: 2 cores, 4 logical processor's, Intel Core I7-7500 @ 2.70 GHz
by MrSwiss
Apr 14, 2018 20:33
Forum: Libraries
Topic: fbSound Linux Windows 32/64-bit (wav mp3 ogg mod it xm s3m)
Replies: 204
Views: 44176

Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)

GenuineIntel, X86_64, 16 cpu cores, CPUID, FPU, RDTSC, CMOVxx, FCMOVxx, MMX I,II, SSE,2,3,4.1,4.2 ~2903 MHz
A I7 mobile (7th Gen.), 2 phys. cores, 4 virt. cores ... (something is wrong, with CPU core's count!)

Go to advanced search