View unanswered posts | View active topics It is currently Fri Jul 03, 2020 3:50 pm



Reply to topic  [ 3 posts ] 
 Father and son build an 8 bit computer (Version 1). 
Author Message

Joined: Tue Dec 18, 2018 11:25 am
Posts: 28
Location: Hampshire, UK.
Fabian and Mark decided to build an 8 bit computer together.
Quote:
A number of years ago (2011), I thought it would be a good idea to share an electronics project with my son aged 10 at the time. We decided to build an 8 bit computer. I myself had doubts we would ever finish it, at best get a basic ALU going, but it was a good excuse to spend some productive time where we both could learn something together.

Image
Quote:
It wasn't until late 2014 that we actually got the ALU soldered and working and that's where it was shelved....

About March of 2015 we developed the oscillator circuit....

By late 2015 we had it adding; subtracting, reading and writing by manually setting RAM addresses simply by enabling or disabling the necessary hardware.

Image
Quote:
The design had many flaws... With the simple as possible concept in mind we kept the addressing and instructions at 4 bits given its basic functionality. The jump command was superfluous as the design did not include comparator circuitry such as zero, minus or carry flags, rendering it useless, but included the instruction nevertheless as the program counter had the option.

http://www.ruby-red.com.au/8bitmachine/Assets/version1/8%20bit%20movie.mp4


Tue May 12, 2020 2:26 pm
Profile

Joined: Tue Dec 18, 2018 11:25 am
Posts: 28
Location: Hampshire, UK.
http://www.ruby-red.com.au/8bitmachine/#
Quote:
The journey continues with a much improved design simply named v2 (version 2). It's intention was to be a trainer machine and therefore it's architecture closely resembles that of v1, but with the following improvements - a complete rehash of the Control Matrix, 8 bit addressing, an additional C register, a 4 bit state register and a larger instruction set.

http://www.ruby-red.com.au/8bitmachine/Assets/version2/schematics

http://www.ruby-red.com.au/8bitmachine/Assets/version2/slides/20190906_144619.html

Quote:
With 8 bit addressing, v2 can access up to 256 bytes of RAM and has the capability to display numbers up to 65535 locally....
The 7 segment LEDs will output decimals from -32768 to 32767 for 2's complement, or 0 up to 65535 for unsigned integers, and has the capability of displaying HEX equivalents. Currently v2 contains 59 instructions up to a maximum of 256, and offers 16 states of micro code, unlike v1 who's Control Unit was purely one state per instruction. Memory and Data share an 8 bit bus with clock speeds varying from zero peaking around 2 MHz. It would have been interesting to have included a memory stack pointer, a shift register, and an interrupt controller, but we decided to leave these for v3, however register C was a neat alternative provided the code is not recursive or contains nested loops for the CALL and RETURN instructions.

http://www.ruby-red.com.au/8bitmachine/Assets/version2/prime.mp4
http://www.ruby-red.com.au/8bitmachine/Assets/version2/guess.mp4
Quote:
This design was developed with the 64k edition (v3) in the pipeline and will always be regarded as a learning tool, a stepping stone if you will, but v3 will have an entirely new architecture

Quote:
V2 incorporates an Arduino Nano acting as a serial monitor which in turn interfaces an SD card with the RAM module, a Bluetooth module and an additional Parallax Propeller board to connect a VGA monitor and USB keyboard.

Quote:
The assembler creates .lst, .bin, .cdm (Cedar Logic format) and Logisim simulator files, along with a binary file for each control ROM if required, all by the click of a button. Once assembled, the much coveted newly generated binary file can simply be written to the RAM chip via an SD card.


And there’s even a foldable cut-out model:-
http://www.ruby-red.com.au/8bitmachine/Assets/version2/cube.pdf


Tue May 12, 2020 3:03 pm
Profile

Joined: Wed Jan 09, 2013 6:54 pm
Posts: 1418
Excellent!


Tue May 12, 2020 7:02 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software