André Fachat wrote: > If you don't use floating points you could use the FAC and other float > registers (IIRC they are in zp, right?) Yes, some possible locations with PET addresses (which are different from VIC/C64): INDEX1: $1F - $20 (utility pointers) INDEX2: $21 - $22 TEMPF3: $4B - $4F (temporary FLPT storage) TEMPF1: $54 - $58 TEMPF2: $59 - $5D FAC: $5E - $63 AFAC: $66 - $6B As André wrote, it depends what the program does and which parts of the ROM it uses. If it doesn't do anything with the FAC, there should be plenty of space, in particular if you store the original ZP content and restore it on exit. Best regards Anders CarlssonReceived on 2020-05-29 23:38:27
Archive generated by hypermail 2.3.0.