Hmm, don't know then, maybe try 'Nesbox'
I uploaded an example for you, pls check the game and code.
So, in my version car's direction depends of the map tile under the car.
Also I'm using only integer numbers instead floats to avoid number comparsion errors.
Pls try to understand and let me know.
thank you so much!
the code is great :D
on the "JACKJ106 GAMES PRESENTS" i added w/ help of NESBOX