Updated Tutorial BasicComputer (markdown)

Florian Nücke 2014-02-02 16:55:15 -08:00
parent a980af948a
commit 629ff45709

@ -1,21 +1,21 @@
This tutorial will demonstrate how to build a simple computer.
The first step is getting all the materials: you'll need a [[Basic Case|Blocks#basic-case]], a [[Basic Screen|Blocks#basic-screen]], a [[Keyboard|Blocks#keyboard]], a [[Basic Graphics Card|Blocks#basic-graphics-card]], some [[RAM|Items#memory]], a [[Power Converter|Blocks#power-converter]] and lastly, some power source. We'll use a BuildCraft Stirling Engine in this example.
The first step is getting all the materials: you'll need a [[Basic Case|Blocks#basic-case]], a [[Basic Screen|Blocks#basic-screen]], a [[Keyboard|Blocks#keyboard]], a [[Basic Graphics Card|Blocks#basic-graphics-card]], a [[CPU|Items#cpu]], some [[RAM|Items#memory]], a [[Power Converter|Blocks#power-converter]] and lastly, some power source. We'll use a BuildCraft Stirling Engine in this example.
![Items](http://i.imgur.com/CErHpCu.png)
Now place them like in this image:
![Placement](http://i.imgur.com/fcWUzZY.png)
Note that you can actually place them in any constellation you wish, as long as the blocks are next to each other. Just keep in mind that the keyboard can *only be attached to a screen*.
Note that you can actually place them in any constellation you wish, as long as the blocks are next to each other.
Make sure your energy source actually produces energy and feeds it into the converter (e.g. when using Thermal Expansion energy cells make sure the right faces *emit* power).
Now open the inventory of the Basic Case you just placed and insert the graphics card and the RAM into it:
![Inventory](http://i.imgur.com/8fwanGy.png)
Now open the inventory of the Basic Case you just placed and insert the graphics card, CPU and the RAM into it:
![Inventory](http://i.imgur.com/LiSsEpZ.png)
After you've done that, press the power button (the big button in the middle of the GUI). And that's it, you *should* have a running computer!
![Terminal](http://i.imgur.com/qWXliN8.png)
The most direct (but in the long run suboptimal) way of playing around with it is via the Lua interpreter. Type `lua` and hit enter to open it. When you're done, press Ctrl+C do quit it (or Ctrl+D if the prompt is empty). Another useful key combination is Ctrl+Alt+C, which lets you break out of sleeps. For example, if you started something like `while true do os.sleep(1) end`, that's the key combination that'll break that loop. Alternatively just turn it off and on again.
![Lua](http://i.imgur.com/47nIvmk.png)
![Lua](http://i.imgur.com/mnf2I2Y.png)
**Next up: [[writing programs|Tutorial/WritingCode]].**