Search found 3863 matches

by MrSwiss
Oct 11, 2021 13:30
Forum: Documentation
Topic: Since?
Replies: 49
Views: 18645

Re: Since?

- If above is not enough, still allowable to add in the sections for pages <= 1.00.0 later in future after some discussion I just fear that someone might, at a later stage complain, that the "Version" section is "missing" on some pages. (aka: have it in all pages for consistenci...
by MrSwiss
Oct 11, 2021 13:06
Forum: Documentation
Topic: Since?
Replies: 49
Views: 18645

Re: Since?

fxm wrote:Instead, we couldn't have not inserted this new section for them (or an empty section).
Alternative way: just state "before ver. 1.00.0"
by MrSwiss
Oct 08, 2021 14:39
Forum: Beginners
Topic: Jadogg exe cryptor
Replies: 2
Views: 989

Re: Jadogg exe cryptor

gerry wrote:Does anyone have it? Can you upload it again?
Even if someone still had it, it's likely very much outdated. And also 32-bit only.
(the last post in the thread is +10 years ago, call it 'abandonware')
The compilers have also advanced, bugs fixed, new features added e.t.c. ...
by MrSwiss
Oct 05, 2021 15:06
Forum: Beginners
Topic: load from memory into FMOD?
Replies: 5
Views: 1260

Re: load from memory into FMOD?

maurosebastian91 wrote:what is that asterisk for? I always see it but I never quite understand what it does.
* = dereference operator (of a PTR), to get/set the 'pointed to' data (instead of changing the PTR itself).

Aka: the code is A-OK. See also FB-doc: Operator List --> Pointer Operators
by MrSwiss
Sep 30, 2021 21:42
Forum: Game Dev
Topic: Isometric Cube Liquid Sim
Replies: 16
Views: 4712

Re: Isometric Cube Liquid Sim

If you'd rather not update you could just change the darken function back to this and it will work with your current compiler. Unfortunately only true for FBC 32-bit, NOT SO, for the 64-bit version. It's high time that all start to realize, that certain things (like color) require correct (Interger...
by MrSwiss
Sep 30, 2021 19:45
Forum: Game Dev
Topic: Isometric Cube Liquid Sim
Replies: 16
Views: 4712

Re: Isometric Cube Liquid Sim

@BasicCoder2, get the latest official release: FBC 1.08.1 and everything is OK. It's in fact the 'other way around' this time: new code and, to old compiler ... OS: Windows NT 6.2 (build 9200) says: Windows NT (Y2K [aka: Win 2000], XP and later) 6.2 = Win 8.0 (very old) (if you'd truely had Win 10 i...
by MrSwiss
Sep 30, 2021 16:41
Forum: Game Dev
Topic: Isometric Cube Liquid Sim
Replies: 16
Views: 4712

Re: Isometric Cube Liquid Sim

Seems to be the FBC version then: I'm using 1.08.1 - WIN - 64-bit. (a lot of graphics related stuff, has been updated, since 1.07.n versions) declare function identifier ( byval source_pixel as ulong, byval destination_pixel as ulong, byval parameter as any ptr ) as ulong See: https://www.freebasic....
by MrSwiss
Sep 30, 2021 16:32
Forum: Game Dev
Topic: Isometric Cube Liquid Sim
Replies: 16
Views: 4712

Re: Isometric Cube Liquid Sim

Boromir wrote:Yes, if even one of those is a ulong I get a compiler error.
ALL of them must be ULONG, except the PTR.

What compiler errors are you getting ? (I'll get none ...)
by MrSwiss
Sep 30, 2021 16:06
Forum: Community Discussion
Topic: FreeBASIC IDEs/Editors
Replies: 44
Views: 34891

Re: FreeBASIC IDEs/Editors

Latest FBEdit from KetilO original author, which is version 1.0.7.6c, is available in compiled form, from: freebasic-portal.de the german FreeBASIC site. Works like a charm since years, on various HW (WIN of course). (IMO: the link should be updated to this: https://www.freebasic-portal.de/downloads...
by MrSwiss
Sep 30, 2021 12:28
Forum: Game Dev
Topic: Isometric Cube Liquid Sim
Replies: 16
Views: 4712

Re: Isometric Cube Liquid Sim

Using ulong in the darken function gives me this error -- I'm using 64bit Freebasic on Ubuntu It's NOT what you do in the darken() procedure, it's the 'return type' which must be ULong too (NOT UInteger). Btw: Joshy (D.J.Peters) has already stated that, in his post before. Function darken( ByVal so...
by MrSwiss
Sep 27, 2021 23:01
Forum: General
Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
Replies: 33
Views: 4724

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

I have tried 64-bit FreeBASIC compilers over the years but rejected them as they produce very slow code in my applications. (Plus, 32-bit floating point number are already overkill for this application.) There are no smaller floating point variables, than Single s (binary32), in FBC 32/64. The slow...
by MrSwiss
Sep 27, 2021 22:31
Forum: General
Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
Replies: 33
Views: 4724

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

If you run 32 bit FBC on 64 bit platform (64 bit CPU/FPU and 64 bit OS) then you're likely seeing more of the WoW (emulator for 32 bit programs) then the real performance. For tests to be reliable, optimal HW / OS / Progam compatibility is a must (same bitness preferably). Since I'm assuming the HW ...
by MrSwiss
Sep 22, 2021 16:52
Forum: General
Topic: 2d data structure without fixed boundaries
Replies: 23
Views: 3625

Re: 2d data structure without fixed boundaries

I couldn't resist to write a little example program (use the arrow keys to shift the tiles on the board): What isn't understandable however, in this 'day and age' is, that it only works with FBC 32-bit. :( Hint: all the Cast 's seem to be affected. Also might be a good idea to replace Integer with ...
by MrSwiss
Sep 21, 2021 20:04
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2024.03.03)
Replies: 1283
Views: 359494

Re: FreeBasic IDE-poseidonFB(Update 2021.09.21)

aurelVZAB wrote:so ..problem is in iUP, why not use default file load from windows api?
Maybe because IUP is cross platform ?? (WIN/LIN and, probably more)
by MrSwiss
Sep 21, 2021 16:50
Forum: Libraries & Headers
Topic: IUP Headers for v3.27
Replies: 2
Views: 1530

Re: IUP Headers for v3.27

@Imortis, thanks for sharing. It seems however, you've not tested them, because all I've got was a lenghty list of errors. I first thought it's because the static IUP-libs (I'm using) are 3.28. But that is rather unlikely because they've worked with the 3.15 headers. (except of course, w/o NEWLY add...