Search found 1809 matches

by srvaldez
Mar 18, 2019 0:10
Forum: Beginners
Topic: Compiling the runtime library
Replies: 14
Views: 454

Re: Compiling the runtime library

I tried to compile FB for Cygwin without success, but I have but one problem when building for windows see viewtopic.php?t=24868
perhaps it will be useful to you
by srvaldez
Mar 15, 2019 16:56
Forum: Tips and Tricks
Topic: Layered Parallax Effect v0.70
Replies: 14
Views: 382

Re: Layered Parallax Effect v0.6

@dodicat
if nothing else works, I suggest factory reset, not sure that's the right phrase but you get the idea
by srvaldez
Mar 15, 2019 15:15
Forum: Community Discussion
Topic: ShaderToy
Replies: 2
Views: 135

ShaderToy

by srvaldez
Mar 14, 2019 20:11
Forum: Tips and Tricks
Topic: Layered Parallax Effect v0.70
Replies: 14
Views: 382

Re: Layered Parallax Effect

compiles and runs ok on my Mac :-)
by srvaldez
Mar 14, 2019 13:13
Forum: General
Topic: ghidra decompiler
Replies: 8
Views: 215

Re: ghidra decompiler

dodicat wrote:(How can you switch off strip from freebasic .exe files?)

just a thought, not tested, perhaps with the -g switch?
it would seem counterproductive to strip an exe with debug information.
[edit]
confirmed, with the -g switch the strip command is omitted.
by srvaldez
Mar 13, 2019 21:38
Forum: General
Topic: ghidra decompiler
Replies: 8
Views: 215

ghidra decompiler

saw this at the Purebasic forum, the ghidra reverse engineering tool is free https://ghidra-sre.org I tested this simple FB program, compiling with -gen gcc print "hello world" the decompiled C code undefined8 entry(undefined8 uParm1,undefined8 uParm2) { undefined8 uVar1; _fb_Init(uParm1,u...
by srvaldez
Mar 07, 2019 14:06
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 22
Views: 992

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

I don't have any problems unzipping the archive, try windows explorer instead of 7z
by srvaldez
Mar 06, 2019 13:06
Forum: Projects
Topic: FreeBalistic - physical app to calculate ballistic curves
Replies: 4
Views: 273

Re: FreeBalistic - physical app to calculate ballistic curves

hello peter-cat :-)
your project look really good.
I would like to compile the program myself so that the menu would be in English, but there are missing bmp files, would you be so kind and add the necessary files for your project?
also, what IDE are you using?
by srvaldez
Mar 05, 2019 17:56
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 22
Views: 992

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

hello SARG this program ioldouble.bas fails to compile, compiler gives the following output C:\dev\FreeBASIC-1.06.0-win64\fbc64_gas64 -RR -R -gen gas64 -g -v "ioldouble.bas" (in directory: F:\FreeBASIC Programs) FreeBASIC Compiler - Version 1.06.0 (03-05-2019), built for win64 (64bit) Copy...
by srvaldez
Mar 05, 2019 16:20
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 22
Views: 992

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

@SARG I have many examples that don't compile, here's one however that compiles ok but gives the wrong result nbody.bas 'https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-gcc-1.html ' The Computer Language Benchmarks Game ' https://benchmarksgame-team.pages.debian.net/benchma...
by srvaldez
Mar 05, 2019 10:34
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 22
Views: 992

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

hello SARG :-)
this is exciting news, will test asap.
thank you for the initiative.
by srvaldez
Mar 03, 2019 10:23
Forum: General
Topic: online compiler
Replies: 0
Views: 112

online compiler

this has probably been mentioned before, but in response to Does FBC compile some small code in command line? https://www.freebasic.net/forum/viewtopic.php?f=2&t=27456 perhaps an online compiler may be of interest https://www.jdoodle.com/execute-freebasic-online there are other sites as well as ...
by srvaldez
Feb 27, 2019 11:44
Forum: Hardware Interfaces / Communication
Topic: Raspberry Pi and FreeBASIC
Replies: 18
Views: 2668

Re: Raspberry Pi and FreeBASIC

besides wiringPI, you can access the gpio using files, see this tip by D.J.Peters viewtopic.php?f=8&t=26536&p=244960&hilit=wiringPi.bi#p244960
by srvaldez
Feb 20, 2019 12:53
Forum: Tips and Tricks
Topic: Numerical optimizer
Replies: 25
Views: 571

Re: Numerical optimizer

perhaps you should add type suffix to the constants
by srvaldez
Feb 15, 2019 11:38
Forum: General
Topic: Checking if a computer is ON on the network
Replies: 11
Views: 313

Re: Checking if a computer is ON on the network

assuming your OS is Windows, perhaps you could use the IsNetworkAlive function https://docs.microsoft.com/en-us/windows/desktop/api/sensapi/nf-sensapi-isnetworkalive I am not a Windows API expert, so this is only an Idea that you may want to consider I ran winapifamily.h through FBfrog, and this is ...

Go to advanced search