• Stars
    star
    65
  • Rank 473,702 (Top 10 %)
  • Language
    C++
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Initialize the 8-bit computer memory with a program to be executed automatically on powering.

Initialize the 8-bit computer memory with a program to be executed automatically on powering. This project is small extension of Ben Eater's computer (SAP-1 architecture).

This picture is the animated picture, wait for it.

Motivation

The goal of the project is to have an option of hanging the 8-bit computer on a wall, connect it to a power supply and see how a program is executed automatically without manually programming the memory.

The picture is lent from this Reddit thread.

Setup

The program was tested with the following systems:

  • macOS Big Sur:
    • Arduino Nano:
      • Board β€” Arduino Nano.
      • Processor β€” ATmega328P (Old Bootloader).
      • Programmer β€” Arduino as ISP.

Instructions

Software

Clone the repository with the following command:

$ git clone [email protected]:dmytrostriletskyi/8-bit-computer-memory-init.git
$ cd 8-bit-computer-memory-init

By default, the Fibonacci number program is defined in the code file on 28th line in the exact same way it's done by Ben Eater in his video. If you want to change it, open the code file and change the program, otherwise skip this step:

$ vim +28 program.ino

Copy the program to the Arduino sketchbook folder with the following command:

$ mkdir ~/Documents/Arduino/program && cp program.ino ~/Documents/Arduino/program

Then connect Arduino to a computer, open and upload the sketch.

Schema

The wiring schema is illustrated below according to the following matching:

  • A1 β€” the chip right from run or programming mode switch.
  • A2 β€” the chip right from writting to memory button.
  • A3 β€” the chip right from resetting computer button.
  • D2-D9 β€” the chips right from the DIP switches for memory values.
  • D10-D13 β€” the chip right from the DIP switches for memory address.

More Repositories

1

threads-net

Unofficial and reverse-engineered Threads (threads.net) Python API wrapper. Created for academic purposes and is not intended to be used in real software.
Python
422
star
2

diagrams-as-code

Diagrams as code: declarative configurations using YAML for drawing cloud system architectures.
Python
303
star
3

accessify

Python design kit: interfaces, declared exception throws, class members accessibility levels (private and protected methods for humans).
Python
108
star
4

django-telegram-login

The reusable Django application for Telegram authorization (also known as Telegram login).
Python
100
star
5

heroku-load-balancer

Inexpensive load balancer to replace Heroku’s built-in one. The way to host CPU-bound.
Python
65
star
6

stale-feature-branch-operator

Delete stale feature branches in a Kubernetes cluster.
Go
51
star
7

DuttyBot

University timetable bot.
Python
28
star
8

pdbe

Debug the whole project, particular app or file with only one terminal command. Also pdbe provides features to work with debugging in the Git style.
Python
23
star
9

Rutetider

iOS, Android, Web-based and Telegram-bots timetable framework for universities. [not supported]
Python
23
star
10

utbone

Bones for faster unit testing based on the command line.
Python
13
star
11

github-story

Chrome and Firefox extension to use pull request description template with a single button click.
JavaScript
10
star
12

acg

Custom API-client based on any existing API from one configuration file.
Python
9
star
13

project-version

Explicit, strict and automatic project version management based on semantic versioning.
Python
5
star
14

DOU

Read dou.ua on your iPhone.
Swift
2
star