Shift Register Service Routine

subject:

[mbhp core8]—serial data (simplified SID Shift Register Service Routine[sid_sr.inc (ay_sr.inc)])—>[ay chip]

description:

i had occasionally failures (glitches) with the “Shift Register Service Routine” till i found out, that i have to disable the irq via IRQ_DISABLE for the time-critical period. now it seems that the glitches are gone.

question:

should i also suspend all user tasks (MIOS_UserSuspend) for more operating safety (i’m unsure)?

No, this isn’t required for MIOS8, as there is only a single interrupt level (for MIOS32 it’s a completely different story…)

Disabling interrupts is sufficient for “atomic operations”

Best Regards, Thorsten.

ok, thanks :slight_smile: