Closed nurpax closed 5 years ago
Rather than having all c64jasm asm files wrap stuff like Math.floor, sin, etc. figure out a way to pull Math directly into scope in the compiler.
TBD are there some other modules like Math that should also be imported?
Also: Math.random is not great in compilers (unreproducible builds!), so should trampoline this function and issue a warning if it's used.
done in 63595825f1af3a815676015e8677888f9253baeb
Rather than having all c64jasm asm files wrap stuff like Math.floor, sin, etc. figure out a way to pull Math directly into scope in the compiler.
TBD are there some other modules like Math that should also be imported?
Also: Math.random is not great in compilers (unreproducible builds!), so should trampoline this function and issue a warning if it's used.