I'm trying to decide on what I can get rid of from the zero page, so that I can keep my own data there. Looking at this page, documenting what each of the zeropage locations do, I'm trying to figure out why there are pointers to the ROM routines for converting to floating point from integers and back in locations $03 through $06.
I can't imagine we'd need to change the value of these pointers, so the addresses to those routines would be better off as operands to a jsr
or whatever, wouldn't they?
$62
and$6d
, unless you want to use the C64 BASIC floating point routines, of course. – JeremyP Jan 3 '19 at 14:56$fb
-$fe
and$2
available, or b) your program makes use of KERNAL routines, then you shouldn't touch the upper half of ZP. Otherwise, you can just use the entire ZP. If a clean exit should be possible, it's easy to do a save and restore loop for ZP :) – Felix Palmen Jan 7 '19 at 14:51