3 ms·
The cause of those "explosive" side effects is relocations. The JSRs aren't actually jumping to low memory (e.g. 0x000007DE); they're relative to the base of th
by duskwuff 3y ago
The cause of those "explosive" side effects is relocations. The JSRs aren't actually jumping to low memory (e.g. 0x000007DE); they're relative to the base of the CODE resource, and get fixed up at load time based on a list of offsets stored elsewhere. Move one of the JSR instructions, and suddenly the relocation gets applied to the wrong place.