Search found 1289 matches

by jj2007
Feb 06, 2020 0:55
Forum: Community Discussion
Topic: SSD's life expectancy
Replies: 26
Views: 689

Re: SSD's life expectancy

deltarho[1859] wrote:I use CrystalDiskInfo
....
My CPU temperature is 45°C and that is warmer than it used to be, so I will be looking at the fans.

I just installed CrystalDisk but I see only the disk temperature, not the CPU temperature. Am I missing something?
by jj2007
Feb 05, 2020 19:05
Forum: Community Discussion
Topic: SSD's life expectancy
Replies: 26
Views: 689

Re: SSD's life expectancy

Keep in mind is that it is not just a matter of having multiple copies, but also that they are not in the same house when it burns down, gets water damage etc etc. Yep. I keep a stick in the house, one in my wallet, and one in the car. And I rotate the backups, i.e. week 1 to the wallet, week 2 to ...
by jj2007
Feb 05, 2020 14:07
Forum: Community Discussion
Topic: SSD's life expectancy
Replies: 26
Views: 689

Re: SSD's life expectancy

My USB sticks all look OK, in 20 or so years I had one failure. Rumour has it, though, that flash memory is no good for longtime archival.

Two days ago my external hard drive (Verbatim 1TB) failed, and I hope nobody steals my notebook until I've found a replacement.
by jj2007
Feb 05, 2020 0:44
Forum: Community Discussion
Topic: substrings
Replies: 39
Views: 1327

Re: substrings

An interesting overview of various slicing syntaxes and methods can be found here: https://en.wikipedia.org/wiki/Array_slicing Strange that the only Basic dialect mentioned is Sinclair Basic. Which was cute in a way, but shortly after you had e.g. GfaBasic, which played in a different league, synta...
by jj2007
Feb 04, 2020 3:00
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 110
Views: 20348

Re: Gas64 (no more use of gcc, only gas) :-)

Oh, now I got it: You used "qword" as a function name... yep, that won't work ;-)
by jj2007
Feb 01, 2020 22:36
Forum: General
Topic: Brexit day.
Replies: 7
Views: 339

Re: Brexit day.

Compliments, dodicat - great code!
by jj2007
Feb 01, 2020 10:47
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 110
Views: 20348

Re: Gas64 (no more use of gcc, only gas) :-)

The issue comes from --> lea rax, QWORD[rip] The syntax is correct in assembly. However the address gets by lea (load address) is wrong. It's the adress in the middle of the instruction not the proc adress... Which assembler are you using? MASM can't handle this, but with UAsm , lea rax, QWORD[rip]...
by jj2007
Feb 01, 2020 10:34
Forum: Beginners
Topic: Conversion/computation from integer to single/floating in qb dialect.
Replies: 8
Views: 173

Re: Conversion/computation from integer to single/floating in qb dialect.

Perhaps the best solution is to get rid of #lang "qb". FreeBasic has advanced against QBasic, but much of the old QB stuff is fully compatible. Often, it's zero or just a few lines to correct, and members here can help you in case of problems.
by jj2007
Jan 31, 2020 17:53
Forum: Beginners
Topic: Conversion/computation from integer to single/floating in qb dialect.
Replies: 8
Views: 173

Re: Conversion/computation from integer to single/floating in qb dialect.

Here's what happens under the hood, compiled with GAS: #lang "qb" DIM AS INTEGER A DIM AS SINGLE B A=1000 B=A*100! PRINT B SLEEP B=A*100 mov word ptr [ebp-8], 3E8 ; A=1000 mov ax, [ebp-8] imul ax, ax, 64 ; *100=-31072 push eax fild word ptr [esp] ; load as integer -31072 add esp, 4 fstp dw...
by jj2007
Jan 28, 2020 19:45
Forum: General
Topic: ON ERROR GOTO to display problem line
Replies: 52
Views: 1173

Re: ON ERROR GOTO to display problem line

Normally when that happens, I simply run the exe with a debugger like Olly and wait until it stops. Can you upload a working example somewhere?
by jj2007
Jan 26, 2020 15:14
Forum: Libraries
Topic: Accessing GIF Frames and Displaying GIF Images/Animations
Replies: 24
Views: 7223

Re: Accessing GIF Frames and Displaying GIF Images/Animations

I don't think that GDI+ v1.1 needs a special initialization or manifest but let me check it out. I will reply as soon as I've some results... You are right - I've tested it now with GdipFindFirstImageItem, one of the very few new functions. In my XP VM, GetProcAddress returns zero, while Win7 finds...
by jj2007
Jan 24, 2020 15:51
Forum: Libraries
Topic: Accessing GIF Frames and Displaying GIF Images/Animations
Replies: 24
Views: 7223

Re: Accessing GIF Frames and Displaying GIF Images/Animations

UEZ wrote:GDIPlus.dll v1.1 is required aka Windows 7+.
May I ask what you are using as a manifest? I've never been able to activate version 1.1
Btw here is an excellent documentation of the GIF format.
by jj2007
Jan 24, 2020 7:58
Forum: Libraries
Topic: Accessing GIF Frames and Displaying GIF Images/Animations
Replies: 24
Views: 7223

Re: Accessing GIF Frames and Displaying GIF Images/Animations

I will add an example how to add images (frames) to a GIF file That sounds interesting. SOF says that "it is not possible to create Multi-frame or Animated GIFS using GdiPlus.dll version 1 image encoders. The SaveAdd method which can be used to add frames to a multi-frame TIFF image does not w...
by jj2007
Jan 24, 2020 1:12
Forum: Libraries
Topic: Accessing GIF Frames and Displaying GIF Images/Animations
Replies: 24
Views: 7223

Re: Accessing GIF Frames and Displaying GIF Images/Animations

Great job, UEZ! In the meantime, I also got inspired by this post and wrote Save frames of a GIF file - under the hood there are many functions that I see in your version, too ;-)
by jj2007
Jan 20, 2020 10:36
Forum: General
Topic: Off Topic Form
Replies: 9
Views: 342

Re: Off Topic Form

There are some FreeBasic FB pages, but... - one is a local page in Cotonou, Benin - the second is in german, last post 2017 - the third one is empty Only this one shows some activity: https://www.facebook.com/groups/freebasic/ Not much code there, though, so I suppose your best bet is posting questi...

Go to advanced search