DylanSpeiser / Java-6502-Emulator

An emulator for Ben Eater's 65C02 computer written in Java.
47 stars 14 forks source link

VIA interrupt enable register #16

Closed lythd closed 8 months ago

lythd commented 8 months ago

For the pins you have these lines of code if ((IER &= (byte)(0b00000010)) == 0b00000001) You never changed the byte to be anded with, so it only works for ca1, and also using &= instead of & would alter the value of IER which I don't think is what you want

lythd commented 8 months ago

(this issue was addressed in my pull request, along more major additions like the serial interface window and realistic keyboard to be compatible with what ben showed in his videos, so i will close this now)