Wizard: I brought the wrong system.

Chapter 575 Constructing the Magic Logic Gate

Chapter 575 Constructing the Magic Logic Gate

(This chapter provides a more in-depth explanation of the logic, so over 500 words are free.)

While answering Bevin's questions, Yaro was also busy.

It's been a long time since I've been to the academy. There have been many things that only Aro has the authority to handle in the academy.

For example, collecting the bullets accumulated during this period, the resettlement of the Boone family, and placing the complete set of alchemy tables sent by Ian Boone.

The key is the alchemy table.

With the alchemy table, the first thing to do is to maintain a few of the main battle treasures.

For example, with the Fiery Greatsword, after prolonged use, some blurry runes must be redrawn on an alchemy table.

For example, refilling some of the already dulled buffer structures into the Demon Phoenix Armor.

For example, the metal boots worn under refined everyday clothes to aid in activating magic strikes.

……

After completing these tasks, Yaro was almost done warming up.

What he was about to do next was something he had been longing to make for a long time, but had never had the means, the opportunity, or the time.

—Game console!

The purpose of making game consoles was not to play them, but to lay the foundation for making 'computers'.

Moreover, creating a new pastime for the wizards in the new district of Laner Village not only distracts them and reduces the risk of them causing trouble, but also brings in an extra source of income.

At the same time, this was also a supplementary check and balance that Yaro used to maintain order in Lan'er Village after he left.

Whether it will succeed is hard to say, but that's something to consider after the 'Arcade' is opened. Right now, we haven't even made the first game machine yet, so it's too far off to talk about it now.

After rummaging through his spatial ring, Yaro quickly found the notes he had previously used to record inspirations for game consoles.

The core of it is actually just the most ordinary 'small early warning magic array', which can convert external movements into magic fluctuations.

Secondly, there's the 'Armor of Escape' that Yaro recently mastered, which can transform magic into image-quality information.

Since 'Dunjia' is not a fully developed magic trick, most of its effects are actually manually performed by Yaro, unlike normal magic tricks which are entirely achieved through rune structures. Therefore, when transforming it into a 'display,' it's best not to make it too complex.

Yaro chose the simplest '10*20' monochrome grid 'monitor'.

It's not about repeatedly forcing growth, but rather using a grayish-white algae similar to the mimosa plant. When infused with magic, it turns dark green, becomes more sensitive, and also saves on magic consumption.

With the help of magic and an alchemy table, the 'monitor' was quickly created.

……

Next is the 'graphics card,' which is the structure that converts data into signals that the monitor can display.

The simplest way in this world is to use the remnants of the dead or the magic of activating objects to imbue certain special materials with a certain level of intelligence, so that they can handle some simple problems on their own.

For example, the 'Abyss Contract Technique' mastered by Yaro has a similar effect.

But Yarrow decided to take a roundabout approach and use pure logic to complete this step.

Because his purpose from the beginning was not just for this game console, but to find a way to make a 'computer' and lay the foundation for creating 'intelligent chips'.

The first step in pure logic is to abandon the other effects of magic and simply regard magic as an ordinary form of energy.

As for information storage, you can directly use the magical materials of this world. Many magical materials have their own magical reading effect, which is equivalent to natural memory sticks. The cheapest and most common of these is the blank magic stone of the undead type.

Almost everyone in the past knew that the underlying information in a computer is '0' and '1'. People in the past used electricity to distinguish between them, such as the on/off state of a circuit and the high/low level of an electrical signal.

In this life, magic can also be used as a substitute. For example, the trough of magic can represent '0' and the peak can represent '1'. Alternatively, blank magic stone fragments of the undead type can be used. Those with magic power can represent '1' and those without magic power can represent '0'. This can also be used to construct the underlying logic.

The same principle applies to mental power.

After distinguishing between '0' and '1', the next step is to construct the logic.

Many people in the past knew that computers use binary code, which means:
‘1’是‘1’,‘2’是‘10’,‘3’是‘11’,‘4’是‘100’……

Even if you mark the peak of the magic wave as '1' and the trough as '0', it is impossible to directly produce a logical effect or a binary effect.

Here, we need to use circuits to clarify the logic.

In binary, when you reach two, you carry over one; you only look at one digit at a time, which is the first digit:
‘0’和‘0’得‘0’,‘0’和‘1’得‘1’,‘1’和‘0’得‘1’,‘1’和‘1’得‘0’(也就是10)。

We can conclude that if the two input states are different, the output is '1'; if the two states are the same, the output is '0'.

This is the XOR gate. An XOR gate requires multiple logic gates to function.

……

First is the 'OR gate': the output is '1' as long as one or more inputs are '1'; the output is '0' only when all inputs are '0'.

Solution: Connect two switches in parallel on a circuit. Closing either one will allow the magic to be transported.

An OR gate is a switch connected in parallel.

……

Then there's the AND gate: the output is '1' only when all inputs are '1'; if any input is '0', the output is '0'.

Solution: Both switches are on the same line (in series). Magic can only be transported when both switches are closed. If either switch is disconnected, magic cannot be delivered.

An AND gate is a switch connected in series.

……

Then there's the NOT gate: it yields the opposite result, inputting '0' results in '1', and inputting '1' results in '0'.

Solution: The input terminal is a switch controller with magic input. When the switch is turned off, the magic is disconnected.

……

By using two AND gates, one NOT gate, and one OR gate, you can achieve the effect of an XOR gate.

……

The AND gate is used as the endpoint, and its inputs are connected to an OR gate and a NAND gate, respectively.

Use circuits as an example for understanding.

When OR gates are connected in parallel, they will be energized if there is power at either end.

When an AND gate is connected in series, there is no power if any one of its input terminals is de-energized.

The NOT gate inverts the result.

For example, '0', '0'.

Inputting both an OR gate and an AND gate simultaneously will result in no power regardless of whether they are connected in parallel or in series. The NOT gate following the AND gate will invert the result.

The result received by the AND gate at the endpoint is that one end is powered and the other end is not.

When an AND gate is connected in series, there is no power at one end, so the result is no power, which is '0'.

'0 and 1' versus '1 and 0'.

OR gates connected in parallel will have power on one end; AND gates connected in series will have no power on one end; NOT gates following AND gates will invert the voltage.

The OR gate is powered, the NAND gate is powered, and the two results are then input into the final AND gate. Both ends are powered, the result is powered, and we get '1'.

The last possibility for binary is 1 and 1.

An OR gate connected in parallel is energized, an AND gate connected in series is energized, and a NOT gate following an AND gate is inverted.

The OR gate is powered, the NAND gate is not powered, and the two results are then connected in series through the AND gate, which is not powered.

‘0’和‘0’得‘0’,‘0’和‘1’得‘1’,‘1’和‘0’得‘1’,‘1’和‘1’得‘0’。

The conditions are met, so the result is valid.

……

Once the construction scheme of each logic gate is clarified, these logic gates can be integrated and constructed into binary data using multiple interconnected methods.

Similarly, by using these logic gates, we can build more complex logic, such as performing arithmetic operations, data transmission, storage, and control flow.

However, Yaro did not study computer science in his previous life. Although he had a general understanding of it, he did not know the specific details.

By encoding each display square individually in binary form, the effect of a 'graphics card' can be roughly achieved.

However, there was no direction at all regarding how to use these logic gates to build the core processing unit, that is, how to build a CPU.

Is it possible to deduce the logical structure of the CPU by leveraging the power of the system?

Yarrow fell into deep thought...

(End of this chapter)

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like