Running QB64 on a Raspberry PI (And known issues)
#5
Even with my machine I occasionally ran into race conditions at the very start of the program. I put a .5 second delay at the start of the "SUB initScreen (engine AS tENGINE, w AS LONG, h AS LONG, bbp AS LONG)" and that fixed or masked the issue.  I can see that you did that already.

The other delays I saw, in particular after "SUB vector2dSet (v AS tVECTOR2d, x AS _FLOAT, y AS _FLOAT)" might tank your FPS, if you manage to get it running.

I'm not sure if this would help, but you might change all of the _FLOAT to SINGLE and change the Hashes from _INTEGER64 to LONG that would put most everything into 32bits, which might help the alignment issue.

I realize you might be using my program as a torture test, so it may not be in your interest to repair the program, but look at the compiler instead.
Reply


Messages In This Thread
RE: Running QB64 on a Raspberry PI (And known issues) - by justsomeguy - 04-21-2022, 12:28 PM



Users browsing this thread: 2 Guest(s)