[Coco] CoCoFest Online - For those that just simply could notgo.

William Astle lost at l-w.ca
Wed May 25 11:17:27 EDT 2011


For those wondering where the self-modifying code is:

Color Basic has a routine at $9F which reads the next character to be
interpreted. Within that routine, at $A6, is the address the character
is read from. That address also happens to be the operand of an LDA
extended instruction. The first 6 bytes at $9F increment the address in $A6.


On 2011-05-25 09:04, John Kent wrote:
> Hmmm..
> 
> On 26/05/2011 12:23 AM, Darren A wrote:
>>
>> Probably more than you think.  The Color Basic interpreter uses
>> self-modifying code.
>>
>> Darren
>>
> 




More information about the Coco mailing list