05-05-2022, 03:57 PM
Connect up the VSYNC signal to PIO Port B bit #7, the bit that's used for StarNet).
Someone's guessing you're not using StarNet.
Someone will let you have the adventure of setting it up suffice it to say:
An most importantly, remember to reenable interrupts as you exit your ISR.
Someone's guessing you're not using StarNet.
Someone will let you have the adventure of setting it up suffice it to say:
- Configure the CPU to handle interrupts
- Init the PIO to generate interrupts
- Write the appropriate ISR (Interrupt Service Routine).
- Use the RETI instruction for the PIO
An most importantly, remember to reenable interrupts as you exit your ISR.
