Re: Fun with 6502 Assembler
I've avoided self-changing code up to now; not so much because I think it's an inherently bad technique (conceptually, it's little different from the eval() function provided by any modern interpretator), but because I wanted the ability to run the same code from ROM or RAM with only address changes.
To make splitting the BASIC Source Code easier, I have a section full of just EQUB / EQUW / EQUD / EQUS statements with labels which I can include in each section, for my variable storage.
__________________
If I have seen further than others, it is because I was standing on a pile of failed experiments.
Last edited by julie_m; 16th Jun 2019 at 7:59 am.
|