# Minecraft Redstone Computer Tutorial S/Redstone Computers, Minecraft Redstone Computer Tutorial

Designs more than two blocks high are represented by animated gifs or labeled side by side. A full legend is on the MCRedstoneSim schematics page.

Đang xem: Minecraft redstone computer tutorial

This article aims to examine the design and implementation of redstone computers in wtbblue.com.

See Chapter 1, Tutorial on Building a Computer, for a detailed tutorial on building a computer in wtbblue.com and how to expand and improve on the example. Does not require any extensive knowledge of computer science. NOT FINISHED.

See Chapter 2, Planning a Redstone Computer, for basic computer concepts of designing and understanding a redstone computer in wtbblue.com. Does not require any extensive knowledge of computer science.

## Contents

1 Overview2 Chapter 1: Tutorial on Building a Computer2.4 Step 1: Memory and Address Decoders (PRACTICE)2.5 Step 2: Building an Arithmetic Logic Unit (THEORY)2.5.1 Adding two numbers2.7 Step 3: Instruction set and machine architecture (THEORY)3 Chapter 2: Planning a Redstone Computer3.3 Computer Data Storage3.3.1 Primary Storage3.4 Execution Model3.5 Word sizes3.7 Architecture of the Computer4 Chapter 3: Designing a Computer4.1 Instruction-Set-Architecture4.1.1 States4.1.2 Transitions4.2 Classification4.2.2 Mapping4.3 Formalization4.3.3 Hierarchies4.3.4 Semantics4.4 Machine-Architecture4.4.1 Data paths4.4.1.2 Arithmetic Logic Unit4.4.1.3 Storage4.4.1.4 Machine State4.4.2 Control paths4.4.2.1 Processing4.4.2.2 Storage4.4.2.3 Machine State

## Overview

Computers facilitate the implementation of ideas that are communicated from humans through programming.

This article will explain the basics of designing and building a computer in wtbblue.com, assuming the reader is fairly familiar with redstone and computers to a basic level.

There really is no way of building a computer without knowing how a computer works. The tutorial attempts to explain everything that you need to know but does require a bit of understand here and there of computer science, which is stated in the prerequisites section of each tab. The deepest part we cover is up to IGCSE CS.

All computer systems have at least one processing unit. During operation, processing units execute instructions stored in the computer”s memory. For a good start on wtbblue.com computers you should learn computer science. There are many sources and tutorials to learn computer science but for a basic start, it is recommended to watch Crash Course on Computer Science especially episodes 1–8. Although, it isn”t completely thorough it can work as a basis in your understanding of computers.

Most computers in wtbblue.com are made of redstone dust, redstone torches, and repeaters, leading into sticky pistons or redstone lamps which are controlled using a series of buttons, levers, pressure plates, etc. Other proposed ideas (not covered) are to use hoppers, mine carts, or boats with redstone.

See chapter 1, Tutorial on Building a Computer, for a detailed tutorial on building a computer in wtbblue.com and how to expand and improve on the given example. It does not require any extensive knowledge of Computer Science as it will be explained but will delve quite deep into it.

See chapter 2, Planning a Redstone Computer, for basic computer concepts of designing and understanding a redstone computer in wtbblue.com. It does not require any extensive knowledge of Computer Science but will delve quite deep into it.

### Implementations

Computers can be used in many ways, from creating a smart house to using it to run an adventure map. However, due to the limitations of computers in wtbblue.com, stated below, they remain an abstract concept and serve as good tools to understand lower-level concepts of CPU architecture and embedded systems.

The thing that sets apart computers and calculators are that calculators cannot perform multiple instructions in a row without user input. A computer can compare and assess instructions in a flow to perform tasks.

However, in wtbblue.com, they are extremely slow and with their large size, redstone computers are difficult to find practical applications for. Even the fastest redstone computers take seconds to complete one calculation and take up a few thousand blocks of space. Command blocks are far superior to computers in wtbblue.com because of their speed and legible, higher-level commands.

Mods can change the computer”s speed such as TickrateChanger will change the tick rate of the game.

## Chapter 1: Tutorial on Building a Computer

### Introduction & Prerequisites

Redstone logic closely reflects simple binary logic, as redstone can be either on or off, and can, therefore, be interpreted as 1s or 0s. We will be referencing in this tutorial, basic binary logic and various simple computer science terms. There is an excellent article which explains binary and conversion to binary. Please read the Architecture of building the Computer section as we will be following that to plan our computer, it is located in this article, thank you.

This chapter will focus on the application of the knowledge and manipulation of redstone to create a simple 8-bit computer, and will describe how to make one and how it works.

All subjects will be split into (THEORY) and (PRACTICE), THEORY will go in-depth of exactly what will go on. PRACTICE will cover how to build it in wtbblue.com, what it will look like and possibly world downloads.

The computer we will be building (MASIC Computer)

Step 1: Memory and Address Decoders (THEORY) (NOT FINISHED)

Step 1: Memory and Address Decoders (PRACTICE)

Step 2: Building an Arithmetic Logic Unit (THEORY)

Step 2: Building an Arithmetic Logic Unit (PRACTICE) (NOT FINISHED)

Step 3: Instruction set and machine architecture (THEORY)

Step 3: Instruction set and machine architecture (PRACTICE) (NOT FINISHED)

There are three primary design objectives for a computer in wtbblue.com, to make your computer most suitable for your task at hand. There are trade offs to consider, such as the larger the computer, the slower it will get because the number of redstone repeaters will increase by distance. The more memory, the less speed and larger size.

Compactness

How small is the computer? In wtbblue.com, designing a survival computer will most likely emphasize on this point. The number of repeats required will increase as size increases.

Memory

How much memory can it hold? How many bits and numbers can it count up to? This is important for large-scale computers, say ones which can do more complex algorithms and require larger instruction sets (e.g. doing square roots or trigonometry). The larger the memory size or bit architecture, the more complex the computer will get.

Speed/Performance

How fast can it do operations? Is it optimized to run its tasks? Custom designing and building a computer will significantly increase its speed as more redundant wiring and code could be switched to purpose-built hardware and software. This is apparent in some real-world supercomputers which are programmed to run one task very, very efficiently. The speed of computers in wtbblue.com is very slow, therefore a mod could be installed for the client to significantly increase the speed of the game, and therefore the computer.

### The MASIC Computer

The work in progress computer which we will be making in the tutorial.8 bits, 16 bytes of RAM. I/O is a seven-segment display (for hex and decimal) and a control panel which we will make.

The MASIC computer aims to be a one-size-fits-all computer and does not specialize in one task, so it is fully programmable by reading its own memory (explained in Section 2: instruction sets). The simple I/O is great for multipurpose use and the memory is sufficiently sized. It runs at quite a fast speed (because of its small size).

### Step 1: Memory and Address Decoders (THEORY)

Decoders convert binary figures into decimals. For example looking at the 8-bit decoder 00 turns on the first lamp which stands for 0. 01 turns on the second lamp which is 1. 10 turns on the third which is 2. 11 turns on the last one which is 3.