Build your own "old school" mini computer that runs BASIC and more..
Ever want to experience 70s and 80s computing without fiddling with creaky old hardware and 5.25 floppy disks?
In this tutorial, I'll teach you how to build and program your own pocket mini computer.
Explore micro computing with a machine which:
- Can be successfully assembled in an evening.
- Can be programmed in BASIC. (and other languages)
- Can play games and run programs.
- Most importantly: Can be understood.
- Pocket Mini Computer Kit
- A PS2 Keyboard
- A Wii Controller (Classic or ClassicPro)
- A microSD card
- A VGA Monitor
- A set of computer speakers
The Pocket Mini Computer is a small and versatile computer running a full featured BASIC interpreter with 32K of ram. It will work with a standard VGA monitor and PC compatible keyboard. Because the Pocket Mini Computer has its own built in microSD memory card slot and BASIC language you need nothing more to start writing and running BASIC programs. A Wii(TM) compatible gameport as well as stereo audio output create a compelling enviroment to write programs and games.
I'm the designer of the Pocket Mini Computer. I wanted to create a product which would give those in the younger generation a chance to see what computing was like in the early days before the PC. I also wanted to re-create the experience as closely to the original Commodore and Atari computers so that us "old timers" could enjoy a trip back to yesteryear when we were young.
The Pocket Mini Computer has been a labor of love from board design to preparing the BASIC programming language.
You'll be able to do more than enjoy a simple "HELLO WORLD" program. The BASIC is full featured and powerful!
About The Kit:
In the 70s if you wanted a computer of your own, you bought a kit. These kits would take days or months to complete and if you did everything correct. (and the parts were good!) you had your own computer! The Pocket Mini Computer is a simple kit that will give you a taste of creating your own computer. It's designed around solid hardware and simple components, so you are guaranteed success!
The Pocket Mini Computer consists of two interlocking boards, A CPU board, and an I/O board. The CPU board arrives pre assembled. The I/O board is an easy-to-assemble kit which can be assembled by a beginner with minimal soldering skills in a single evening.
Assembly: Placing the resistors:
The resistors are marked with numbers printed on the silkscreen of the I/O board.
Solder them in from the bottom side of the board.
We'll be using 5 different resistors in this build.
- 10k resistors (Brown, black, orange)
- 1k1 resistors (Brown, brown, red)
- 100ohm resistors (Brown, black, brown)
- 240ohm resistors (Red, yellow, black)
- 470ohm resistors (Yellow, violet, brown)
Assembly: Creating the audio circuit
Step 2 in assembly is inserting and soldering the audio circuit.
- Insert the two 1k1 resistors (Brown, brown, red)
- Insert the two caps at C4 and C4.
- Insert the two electrolytic caps at C2 & C3.
Important! The two electrolytic caps must be inserted with proper orientation. The negative side of each cap should be facing away from the plus sign on the board silk screen. Follow the image below and you'll be fine.
Assembly: Adding the ports
Step 3 in assembly is inserting and soldering the I/O ports to the board.
- Insert the VGA connector and solder.
- Insert the PS/2 keyboard connector and solder.
- Insert the Audio Jack and solder.
If the jacks are loose and want to fall out when you flip the board over,
simply use a piece of scotch tape to hold them in position while you are soldering.
Assembly: Adding the 40pin connector
Step 4 in assembly is inserting and soldering the 40pin connector.
The next step will install the 40pin connector which connects the I/O board to the CPU board.
An easy way to do this is to insert the 40pin connector into the CPU board as shown in the picture, then place the top board in place and solder. You may have to hold onto the board to make the first couple of connections.
Assembly: Installing the microSD module:
Finally, you need to assemble and install the microSD header.
- Insert the 2 pin headers into either of rows on the microSD card and solder them into place.
- Insert the assembled microSD into the I/O board and solder it into place.
- Cut the long pins on the bottom of the board when finished.
The microSD header provides us the "mass storage" for our Pocket Mini Computer.
Old timers will remember using 5.25 floppy disks and some seniors will remember paper tape!
You'll want a 2gb microSD card to take advantage of this option.
You don't have to install this for BASIC to work, but you will want it to LOAD and SAVE files.
Installing the BASIC firmware:
Congratulations! You've assembled you own "old school" Pocket Mini Computer!
Now it's time to install BASIC on it!
Download all of the files from:
Using your PC, copy the two files, basic.bin and basedit.bin to the 2gb microSD card.
The additional files are the source code to both BASIC (already loaded on the CPU board) and it's full screen editor. These files are MIT licensed and are free for you to modify and distribute.
Using the Pocket Mini Computer:
Time to play!
Connect your Pocket Mini Computer to a standard VGA monitor, a PC keyboard, (Speakers & Wii Classic Controller if you have them!)
Connect the USB cable and power supply to power it up!
You should see a boot screen like the one pictured.
Your first BASIC program:
If you grew up in the 90's you might have never had the opportunity to program in BASIC on an early computer. If you are a few years older, then you'll probably remember BASIC.
BASIC stands for B(eginner's) A(ll-purpose) S(ymbolic) I(nstruction) C(ode).
In the 70s, 80s and early 90s, all computers come with BASIC built-right-in and simply turning them on meant that you were ready to start using your computer within 2 seconds! (My how things have changed.)
See the READY. prompt? Good! You are "Ready" to type in your first BASIC program!
Type the following and press ENTER after each line.
10 PRINT "HELLO WORLD!"
20 GOTO 10
Now type RUN and press ENTER.
Your second BASIC program:
So you've got a bunch of HELLO WORLD's scrolling down the screen.
Hit the ESC key (the break key) to make it stop.
Type NEW and press ENTER. It's time to type into something a little more interesting.
You'll need to grab a Wii Classic or Wii ClassicPro Controller for this program. Plug it in and reset the power on your mini computer.
Type each line below and press ENTER after each one.
10 REM ** Wii Controlled Drawing in BASIC **
15 COLOR 111,0
60 REM ** START OF LOOP **
70 IF JOY = 64 THEN A=A+1
80 IF JOY = 256 THEN A=A-1
90 IF JOY = 2048 THEN C=C+10
100 IF JOY= 128 THEN B=B-1
110 IF JOY= 32 THEN B=B+1
200 PLOT A,B,C
210 GOTO 60
Type RUN and press ENTER.
Draw on the screen with the controller's DPAD. Change colors with the A button.
The BASIC included on your Pocket Mini Computer is fully featured!
Be sure and read the BASIC Manual.pdf for all of it's features!
More cool programs!
Because your Pocket Mini Computer is based on the Parallax Propeller CPU, you can run other binary programs as well!
Grab a few programs from this archive!
Your Pocket Mini Computer can be programmed in C, Spin, and Assembly. To find out more about the processor powering your machine visit the following forums and websites:
Parallax Propeller Forums