Close

Adding the Interrupt Board

A project log for 8 Bit TTA Interpreter

TTA (Transport Triggered Architecture) is very simple CPU type.

agpcooperagp.cooper 04/02/2019 at 09:130 Comments

The Interrupt Board

The Interrupt Board has three functions:

  1. read the interrupt inputs
  2. trigger an INTR7 every 417us (=2.4kHz)
  3. and provide the serial clock (SCLK=38.4kHz).

Notes:


Interrupt Programming

Recoded the Interpreter to call (if there are any interrupts) one ISR after another. Its up to the ISR to check if the interrupt is for it.

As a test to check that the interrupts are actually being called, I wrote a short interpreted infinite loop. Then coded ISR7 to do a 16 bit binary count.

Pretty cool actually. The concern is that interpreted code is much slower than expected and the interrupts timing is perhaps too fast. Roughly five interpreted OpCodes per interrupt.

I may look at redesigning the interrupt card to slow it down.

Otherwise good progress.

AlanX

Discussions