Close

Node program loader

A project log for TIS-100 (Geiger)

An ATTINY based TIS-100 Clone

big-boy-peteBig Boy Pete 05/03/2016 at 18:490 Comments

Each node must be able to load code on the fly. I have created 3 execution modes in the core.

1. Run mode. In this mode the node will continually load the next instruction after receiving the 'begin cycle' signal.

2. Debug mode. In this mode the node will report its status to MCN after completing work.

3. Program mode. In this mode the node will wait for MCN to transmit a new program.

The program transmission is structured so the node knows exactly how much to load.

1. The number of program bytes is sent.

2. The number of constants is sent.

3. The number of labels is sent.

Then the data for each of these is transmitted and stored in the correct arrays.

Discussions