jtothebell / fake-08

A Pico-8 player/emulator for console homebrew
Other
559 stars 49 forks source link

Floating point implementation doesn't load #193

Open GlimmerDev opened 1 year ago

GlimmerDev commented 1 year ago

In making a cart based on a floating point implementation by JWinslow23, I noticed testing on fake-08 gives wildly inaccurate values for the floats. The value in my game, for example, goes up by 1 every second, but by orders of magnitude with fake-08. (Just to be clear, I have confirmed it works properly in official P8). Additionally, the author's sample cart fails to load, giving this error:

"Error! Press (x) to close. Runtime error"

Unfortunately it's a bit beyond me exactly what's going on with it. See below for author's sample cart and my spaghetti code.

float magics p8