Stationeers tutorial - Easy introduction to MIPS IC10, E1: Assembly programming from the ground up

Описание к видео Stationeers tutorial - Easy introduction to MIPS IC10, E1: Assembly programming from the ground up

You keep hearing about the Stationeers assembly programming language ... but that's hard, right? Out of reach. And why even bother. - Well, it's NOT hard, and even if it were: It's worth any and all effort! So bear with me, please. (Coding lessons begin at 0:30:10)

This video will turn any pedestrian stationeer into a dual-wielding code gunner easily. After this first step into a larger world, you'll no longer fit in the box you were in before. Because of ability. And aspiration. You will want to program ... all the things!

To show you MIPS programming indeed from scratch, we're actually starting with NOTHING: No chip, no housing, no computer/board, ... no base! I built a station entirely from scratch during this video and paused the recording for time-lapse effect. What's definitely shown is the smelting of the required alloys (Solder, Electrum, Steel) and setting up everything needed for programming.

A slightly more advanced video is here, where I made an automatic super fast Moon MIPS airlock:    • Stationeers tutorial - Thorough intro...  

Btw., usually not needed but sometimes a big help: The COPY button in the source editor gets your entire source into the clipboard, so you can edit it e.g. in Notepad++ https://notepad-plus-plus.org (Stationeers MIPS syntax highlighting available e.g. here https://github.com/Hiryus/stationeers... ), and later PASTE will replace the entire source from your clipboard.

In case you wanna play around with this "logic world", here's a (probably permanent) download link:   / discord  
Semi-permanent link: https://fastupload.io/JNCFq9A0gqYYDwo...

*** does not denote important stuff, cause almost everything in this video is pure substance.

0:00:00 - Intro: There will be time-lapsing.
0:01:32 - Still whipping up a new station from scratch for this
0:04:10 - So let's make the required alloys (Solder, Electrum)
0:17:58 - Using the Solder to make a chip Housing
0:21:02 - Chip Housing: Color coding, the screws, connections
0:24:04 - Using Electrum&Solder to make the IC10 chip!
0:24:56 - Installing a Computer and the Housing for programming
0:27:32 - Making an IC programming motherboard
0:29:12 - Running the Computer for the first time
0:30:10 - The code editor / The first most simple code example
0:31:32 - Showing a value on an LED display attached to a housing screw
0:33:33 - The "s" command (writes to a device) / Code tooltips
0:34:29 - Built-in references (commands etc.) / Device slots
0:36:19 - About Logic values listed in the Stationpedia (F1)
0:42:27 - ERROR / When to say "argument" and when "parameter"
0:43:44 - Setting the LED's color / animating the color / the "sleep" command
0:45:40 - Using a loop for animation
0:46:20 - Why to use line labels instead of line numbers / commenting out lines
0:47:33 - The "yield" command (Use it at least once!)
0:49:23 - The Stationeers simulation runs at 0.5s steps
0:50:18 - Let's count up on the LED display
0:51:39 - The "l" command (loads value from device) / registers (Your variables.)
0:54:41 - The "move" command (writes a value to a register)
0:55:42 - The "alias" command (allows using name instead of directly the register)
0:57:57 - Short summary / using multiple chips for convenience
1:02:07 - The all-important concept of "ReferenceId" (see also failing airlock consoles)
1:04:54 - FIRST PRACTICAL USE: Let's automate the Arc Furnace!
1:06:13 - Run ... Umm well, PROPER CABLING is needed.
1:10:06 - Now we have a comfortable automatic Arc Furnace!
1:11:23 - Let's react to whether the outer door is open
1:12:50 - The Logic Mirror chip (to make a device visible on other network)
1:13:36 - A quick Logic IO Chips overview
1:16:23 - Installing the Logic Mirror so we can see the door in the main network
1:19:12 - The super important "HASH" function
1:20:55 - Reading the door via the Logic Mirror
1:24:29 - Turn all lights off automatically!
1:26:32 - Lights behave opposite - let's invert the logic value!
1:27:13 - The BRANCH commands (beq, bne, ...) and the "alias" concept
1:28:39 - Accessing a device by its type combined with its name ("lbn"/"sbn")
1:31:15 - Whoops, made a programming mistake. Wrong register.
1:32:26 - Auto lights work, but let's radically improve that code
1:36:21 - Referring to the Arc Furnace type by name instead of number
1:38:29 - Installing and automating the 300W Beacon
1:41:44 - MIPS subroutines
1:45:45 - Reading out the Arc Furnace content
1:48:10 - More about the Logic values etc. in the Stationpedia (F1)
1:50:19 - Swapping out small LED for a large one
1:54:57 - An example of an absolute object ID number
1:55:41 - Reading Arc Furnace max¤t stack size
1:56:27 - More condition examples / BRANCHING RELATIVE
1:59:31 - Goodbye

Part 1 (this video):    • Stationeers tutorial - Easy introduct...  
Part 2 (NEXT video):    • Stationeers tutorial - Easy introduct...  
Part 3:    • Stationeers tutorial - Easy introduct...  
Part 4: ???

Комментарии

Информация по комментариям в разработке