Unfortunately I ran into a problem, and have no idea where it lies. I'm currently using Z26 as my emulator. Here's the link to the "Our First Kernel" section, where the source code in question is listed:
http://www.atariage....r-first-kernel/
According to that post, the end result should have been this:

But the one I get - by merely copying and pasting the code - gives me this:

Now the reason I'm bringing this up is because I'm at a point in the guide where I can't move on without fixing it. Trying the same code in StellaX gives me a completely different end result entirely, so I'm not even going to post it. The worst part is that Andrew's own compiled code does the same thing (kernel1.zip attachment), so I know it's not a copy and paste error.
What Z26 looks like it's doing is drawing the last line of the background color (or possibly the second to last one), filling 30 or so lines of overscan, then copying/finishing the last line of color which carries back over the top. So using my newfound knowledge I tried clearing these lines in different sections, but for some reason none of them seem to have any effect. I'm really stuck, and I don't know if it's a problem with the code, or if the emulator got updated since the guide was made that changed the way the chips handle certain things... But unless it's just me, I'd like to fix this not only so I may continue, but so no one else runs into this problem.
Please help, and thanks in advance
-TM














