oh wow I just tested this behavior in the simulator and... it works exactly like i thought it would. so weird! p10–p15 are the i/o pins; i made a little loop in the simulator setup that "pushes" the buttons in either a 1010 pattern or a 1001 pattern at 1MHz. "jp_ticker" is the state of the four flipflops i mentioned earlier, and int_jp going high triggers the joypad interrupt. first image is 1010, and no interrupt happens; second image is 1001, and voila, the interrupt
2 media files