Search found 871 matches

by SARG
Mar 18, 2019 20:27
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 24
Views: 1244

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

Hi all, I'll try to update one time by week according found bugs and fixed.... New version : http://users.freebasic-portal.de/sarg/fbcgas64.zip @frisian, @dodicat It seems that all bugs you reported are fixed. There was a big mistake sometimes with arrays and more a tricky optimization used in x86 t...
by SARG
Mar 12, 2019 0:53
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 24
Views: 1244

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

Hi all, Thanks again for the time you spend and are going to spend ;-) New version : http://users.freebasic-portal.de/sarg/fbcgas64.zip About the zip file Maybe the reason of the issue is that I updated directly new versions in it so the result is ok for windows but not for 7zip or other tools. Sorr...
by SARG
Mar 07, 2019 9:02
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 24
Views: 1244

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

Frisian, dodicat thanks you for your reportings. @frisian The undefined reference error is fixed. Too strong optimization.....Just one line to remove. Updated exes in the zip file. I understand why the other bugs but I need a bit of time to fix them. @Others who posted Not enough time to find the re...
by SARG
Mar 05, 2019 14:04
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 24
Views: 1244

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

Thank you for posting. With complicated porjects, like mine, with several big modules, can't compile it. It's still WIP. As I wrote complex lines may use more registers than available, in this case split them if possible. Could you send me an example, at least small parts of the a64 file. Also don't...
by SARG
Mar 05, 2019 13:39
Forum: Projects
Topic: FB debugger : 2.93 32/64 BIT ..... (Sept 5th, 2018)
Replies: 612
Views: 107178

Re: FB debugger : 2.93 32/64 BIT ..... (Sept 5th, 2018)

Hi VANYA, No need to test with 1.05. When executable code is inside an include file BUT out of a procedure (sub/function) the associated debugging data is wrong. It's the case for those 5 lines. A workaround is to put them in a proc and do a call. This issue has been fixed (by myself) in 1.06 versio...
by SARG
Mar 05, 2019 0:05
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 24
Views: 1244

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

Hi all, Since about 5 months I'm coding a 64bit gas version, no more use of gcc only gas.exe. It's well advanced however still a bit of work, mostly tests. For now it's only for Windows but our Linux's friends are not forgotten and I hope be able to extend this option for them. The changes are handl...
by SARG
Mar 04, 2019 13:09
Forum: Projects
Topic: FB debugger : 2.93 32/64 BIT ..... (Sept 5th, 2018)
Replies: 612
Views: 107178

Re: FB debugger : 2.93 32/64 BIT ..... (Sept 5th, 2018)

Hi VANYA,

No problem on my side. I'm using FBC 1.06 but I guess it doesn't matter.
Image

Try the option "Mark no executable lines". These lines are green displayed.

Can you execute step by step ?
by SARG
Mar 03, 2019 11:05
Forum: Projects
Topic: FB debugger : 2.93 32/64 BIT ..... (Sept 5th, 2018)
Replies: 612
Views: 107178

Re: FB debugger : 2.93 32/64 BIT ..... (Sept 5th, 2018)

Hi vic7tar, These 2 files, brought by window9.bi, are too big to be loaded in a buffer (a local variable) with a size limit of 700 000 bytes. The message is enough clear :-) I have changed that using a shared variable and now the limit is set at 5Mo. http://users.freebasic-portal.de/sarg/FBdebugger2...
by SARG
Feb 28, 2019 13:31
Forum: General
Topic: how can you separate this string please
Replies: 8
Views: 303

Re: how can you separate this string please

Dim As String strg="12345: 123.7: 98765.0: 77778:",str_sep(10) Dim As Long p1,p2,scount p1=1 p2=InStr(strg,":") While p2 scount+=1 Str_sep(scount)=LTrim(Mid(strg,p1,p2-p1))''ltrim to remove first blank p1=p2+1 p2=InStr(p1,strg,":") Wend For icount As Long = 1 To scount...
by SARG
Dec 29, 2018 17:44
Forum: General
Topic: [solved]Short form of the NOT operator with Boolean ?
Replies: 5
Views: 155

Re: Short form of the NOT operator with Boolean ?

With other dataypes the same.
Simply use bool = not bool ......

I also lost the race :-)
by SARG
Dec 19, 2018 11:29
Forum: Documentation
Topic: Hello fxm :-) => for updating the ASM documentation page on wiki
Replies: 11
Views: 439

Re: Hello fxm :-) => for updating the ASM documentation page on wiki

@D.J.Peters,

About x86_64 only true for windows. Under Linux rules are a bit different (more registers used for parameters, "Red zone", volatile/non volatile).
I would post later for Linux later.
by SARG
Dec 18, 2018 9:53
Forum: General
Topic: Is screensync not ~60 Hz ?
Replies: 20
Views: 469

Re: [solved] Is screensync not ~60 Hz ?

Obviously your screen can't displays 3000 frames by second. Data is sent to the screen but not really displayed. The snippet below displays the refresh rate used by fb. Or look at the configuration panel of the video card as I previously said. Dim driver_name As String Dim As Integer w,h,depth,bpp,p...
by SARG
Dec 17, 2018 23:14
Forum: General
Topic: Is screensync not ~60 Hz ?
Replies: 20
Views: 469

Re: Is screensync not ~60 Hz ?

Maybe the screen of your laptop can't display more than 32 frames by second so the prog is waiting between each frame.
You should find the frequency in the configuration panel of the video card.

On my laptop about 6000 fps then about 60. The parameter is 60hz
by SARG
Sep 26, 2018 19:33
Forum: General
Topic: Assembly syntax varable type PTR confusing
Replies: 2
Views: 225

Re: Assembly syntax varable type PTR confusing

Is UBYTE allowed ?
Changed by BYTE it works...
by SARG
Sep 12, 2018 11:26
Forum: General
Topic: Bug fix for debugging lines inside include files
Replies: 15
Views: 895

Re: Bug fix for debugging lines inside include files

Hi coderjeff, The issue with bincl and eincl is that even debug data is not duplicated the linker removed it just because it's based on the file name (include files) not on the data itself. Test with the test files I have provided or look at the small example below. As some lines from include files ...

Go to advanced search