View Single Post
Old 16th Jun 2019, 7:54 am   #17
julie_m
Dekatron
 
Join Date: May 2008
Location: Derby, UK.
Posts: 7,735
Default 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.
julie_m is offline