Re:How I learned to program a Commodore 64 in BASIC and comp...
by royjacobs on Sunday February 26, 2023 @10:25AM
(#34946227)
What kind of stuff do you want to do on a 6502 that requires emulated floating point support?
[ Parent
| on HN ]
Re:How I learned to program a Commodore 64 in BASIC and comp...
by AlexeyBrin on Sunday February 26, 2023 @10:28AM
(#34946250)
It is nice to have, most BASIC versions that run on 6502 micros had floating point support.
Re:How I learned to program a Commodore 64 in BASIC and comp...
by zozbot234 on Sunday February 26, 2023 @12:03PM
(#34947091)
The "floating point" support that's in 6502 BASIC ROMs is not real IEEE 754 floating point though, see https://en.wikipedia.org/wiki/Microsoft_Binary_Format So it shouldn't be used to replace that, though of course one can use it for other purposes with some care. (It goes without saying that this is not hardware floating point, so the only potential gain from piggybacking on these ROM routines will be some saving in code size.)