I made quite some changes, updates, improvements to the whole CastleRunner system that it stopped working. My first incling was that it was something hardware related, as I added both the 6522 IO chip, and a new reset circuit. So I checked all wires, rewired where needed, but the thing still wouldn’t start up. So I started checking signals, lines, connections. Everything was fine on the hardware side, but somehow, the wrong code ran. So (with a little help of Gemini for ideas) I remembered I also updated my EEPROM programmer to make it faster. In that change, I found that I never correctly wrote my RESB and IRQB vectors! So I fixed that, and now the CR001 as happy as a clam again. With the new reset circuit, it boots better than ever!
So, I could continue with the software I was actually building, which is the keyboard loop. And I got that (kind of) working. Typing works, but timing goes very wrong still, as you can see on the photo below…

So, from here, onwards to keyboard interrupts, or something along those lines. And I think I need to revamp my video code as well, as this is rewriting everything every program loop now.
0 reacties