Tutorial/Redpower Programming

Setting up
To set up your basic computer you'll need: Next you'll need to connect the monitor, diskdrive and the IO expander to the central prosessing unit by placing it next to it or connecting it using ribbon cable. (make sure you connect the IO expander with the ribbon side and not the Bundled Cable side.
 * Central Processing Unit
 * Disk Drive (RedPower)
 * Monitor (RedPower)
 * FORTH Boot Disk
 * Ribbon Cable
 * and if you want to have a redstone output an IO Expander

Starting up
To start up your computer place the FORTH boot disk in the disk drive, then right click the CPU and click reset and then on start. Now everything is done with the monitor.

Programming
Redpower computers are stack based so in other words it uses rows of number to do calculations for exemple:    when you type 1 2 3 4 5 'enter'

Then + 'enter' you'll see nothing yet but if you type '.S' you'll see 1 2 3 9 because it took the 2 last values of the stack and add them up.

you can keep on doing this to get 15

If you want to make a program you type ': *name of program*' and if you're done type ';'

Redstone outputs
if you want a redstone output use '*value* IOX!'

be careful this uses binairy And also 3 = 1+2 so White and Orange

Simple commands
.S used to display the stack

. used to display and remove the last value of the stack

WORDS used to display all commands

DO value(how many times) 0 'enter' lines of code 'enter' LOOP; will loop a program n many times

...