04-22-2022, 03:54 AM
(04-21-2022, 12:28 PM)justsomeguy Wrote: 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.
I will give that a try. Right now I am testing a mySQL/mariaDB client connector I wrote in C to implement SQL into QB64, but sometime next week I'll give it a try. Thanks.
—————————————————————————————
George McGinn
Theoretical/Applied Computer Science Specialist
Member: IEEE, IEEE Computer Society
Technical Council on Software Engineering
IEEE Standards Association
Society of American Baseball Research
George McGinn
Theoretical/Applied Computer Science Specialist
Member: IEEE, IEEE Computer Society
Technical Council on Software Engineering
IEEE Standards Association
Society of American Baseball Research