On Mon, 28 Nov 2005, Don Bruder wrote:
Wait'll you bang head-first into full-blown self-modifying machine language... Trying to trace that stuff can REALLY knock you for a loop! - pun unintentional!
I've done some simple self-modifying stuff but it was just modifying LDA addresses and stuff.
I would suppose stuff that XORs itself and stuff like that would just kill me dead :/
That's *LIKELY* (but not certain) to be because the BRK vector (lives on Page 3) either hasn't been properly set up, or is set to something totally bogus temporarily during the boot sequence. Once the boot completes, the BRK vector should be set to something useful.
Eek. Forgot about the RAM vectors. On systems of my own design the BRK vector is strictly ROM. (The Handicom and Pluscom, which use modified Apple monitors with EHBASIC.)
-uso.