to disable the Timer 1 interrupt. I would expect the cursor to stop flashing with this interrupt disabled.
But it persists in flashing. Why? And what is the proper way to signal that I want to ignore that interrupt?
VIC-20 Projects: wAx Assembler, TRBo: Turtle RescueBot, Helix Colony, Sub Med, Trolley Problem, Dungeon of Dance, ZEPTOPOLIS, MIDI KERNAL, The Archivist, Ed for Prophet-5
Mike wrote: ↑Wed Sep 15, 2021 8:18 am
The KERNAL IRQ (jiffy clock/cursor/keyboard) 'sits' on the VIA #2 Timer 1, so LDA #%01000000:STA $912E does what you want.
Yes it does, wrong VIA. Thanks!
Last edited by chysn on Wed Sep 15, 2021 8:47 am, edited 1 time in total.
Disabling the VIA#2 Timer 1 interrupt stopped my data reception from working, so I had to delve into why.
Interrupts coming into VIA#2 use the IRQ vector at $0314/5, while interrupts coming into VIA#1 use the NMI vector at $0318/9.
So my code was only working "accidentally" until now. It also explains the speed problems I had. I only gained speed when I bypassed the BIT $9124 at the end of the service routine.
This is all falling into place. I have to go back to the lab, but I think I understand what I need to do...