Ok so that's not really with rdtsc but with only its lower 32bits.
Maybe I'm too 'punctilious'
Search found 1763 matches
- Apr 18, 2024 19:22
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 10
- Views: 443
- Apr 18, 2024 9:03
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 10
- Views: 443
Re: Seeding PRNGs with the Time Stamp Counter
Why 2^32 ? as 2 32bit registers are used (EDX:EAX). On 64bit RDX:RAX with upper 32 bits cleared.deltarho[1859] wrote: With rdtsc we have 2^32 possible worlds.
- Apr 17, 2024 21:48
- Forum: General
- Topic: [solved] program not able to read data with get() in git local repository
- Replies: 4
- Views: 273
Re: program not able to read data with get() in git local repository
I changed bas extension to bin and still no problem to get data.
So that's weird.
So that's weird.
- Apr 14, 2024 7:25
- Forum: General
- Topic: [solved] program not able to read data with get() in git local repository
- Replies: 4
- Views: 273
Re: program not able to read data with get() in git local repository
Did you solve the issue ?
I just tested on a local git (fbc), no problem opening a bas file and getting data from it.
I just tested on a local git (fbc), no problem opening a bas file and getting data from it.
- Apr 07, 2024 14:31
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24725
- Apr 07, 2024 8:37
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24725
Re: Freebasic 1.20.0 Development
@fxm as no daily build you can test with my own compilation (64bit only)
https://users.freebasic-portal.de/sarg/fb64.zip
https://users.freebasic-portal.de/sarg/fbc64.zip
Edit thank you fxm.
Doing thing too fast before homework in the garden under a nice sun
https://users.freebasic-portal.de/sarg/fbc64.zip
Edit thank you fxm.
Doing thing too fast before homework in the garden under a nice sun
- Apr 07, 2024 8:26
- Forum: Community Discussion
- Topic: Where can I get a Recent-Git-Build of FreeBASIC?
- Replies: 639
- Views: 175620
Re: Where can I get a Recent-Git-Build of FreeBASIC?
Unless I'm wrong no update since April 2.
- Apr 05, 2024 17:07
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24725
Re: Freebasic 1.20.0 Development
My bad. I got the lastest changes but didn't apply them.......
So confirmed now.
So confirmed now.
- Apr 05, 2024 15:08
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24725
Re: Freebasic 1.20.0 Development
Hello Xusinboy,
Compiled with gcc and gas64. No warning and no crash.
edited :
With last daily build 32bit --> warning and crash
Compiled with gcc and gas64. No warning and no crash.
edited :
With last daily build 32bit --> warning and crash
- Mar 29, 2024 9:31
- Forum: Beginners
- Topic: array initialization
- Replies: 8
- Views: 354
Re: array initialization
Good find. I didn'tt think about string * N
- Mar 28, 2024 9:02
- Forum: Beginners
- Topic: array initialization
- Replies: 8
- Views: 354
Re: array initialization
- Not sure you can use const with array. - Use the array as parameter : dim fruitname(0 to 2) as string => {"apple", "orange", "banana"} sub s1(fruitname2() as string) ? fruitname2(0) '''No,failed:Variable not declared,furitname in 'fruitname(0)' ? fruitname2(1) '''No,f...
- Mar 23, 2024 10:56
- Forum: Documentation
- Topic: SmartPointer_UDTname_ segmentation violation
- Replies: 10
- Views: 425
Re: SmartPointer_UDTname_ segmentation violation
Maybe this change : https://github.com/freebasic/fbc/commit/8376250cd7dad11d90cd70bae87b99a66ea84827 There is this call just before printinfo : call _ZN17SMARTPOINTER_ROOTcvP4ROOTEv Returned value is used as parameter. A cast : Operator SmartPointer_##_UDTname_.Cast () As _UDTname_ Ptr Return This.p...
- Mar 19, 2024 10:56
- Forum: Community Discussion
- Topic: Bugs
- Replies: 115
- Views: 21214
Re: Bugs
First call address of P Second call address of g sub test(byref s as integer ptr) print __function__,s dim as integer k s=@k end sub dim as integer g=2024 dim as integer ptr p=@g print " Original pointer value "; p,g test(p) print "Pointer value after sub "; p,g p=@g print "...
- Mar 17, 2024 15:57
- Forum: Windows
- Topic: How to color text created by CreateWindowExa
- Replies: 18
- Views: 755
Re: How to color text created by CreateWindowExa
I can help you for richtextbox. I used it in a previous version of fbdebugger to display the code source of debugged programs. Now it's Scintilla component, easier and multi OS. Yes, please use the code I posted above to add the necessary statements using richtextbox to make the two lines have diff...
- Mar 16, 2024 16:45
- Forum: Windows
- Topic: Gui calculator
- Replies: 17
- Views: 924
Re: Gui calculator
- GetDlgItemText expects a string ptr. And same for SetDlgItemText - You should also add a cast in createwindow to avoid warnings. eg cast(HMENU, IDC_NUM1) - I added a 'case else' for select operation : default addition otherwise result zero ' Freebasic test code, 16-03-2024 ' calculator gui #includ...