Sunday, September 11, 2011

Building Assembler - Activity 1

I've finished writing the assembler in CoffeeScript (on Node, of course).  It compiles Add, Max, Rect and Pong.  The Pong one ran, but didn't show anything on the screen...  maybe it was too slow?  I used the provided Assembler.bat and compiled it, then compared it to my output and it was identical, so it the assembler is definitely done.

Wednesday, September 7, 2011

Building the Entire Computer - Activity 3

Computer is completed...  Sorta.  The hack files on the site are 404.  The ComputerRest.tst file (and hack file) errors on line 64.  I tried this with my code, and with  Mark Bernard's and got the same result, so I'm going to assume I've done everything right, and the tests are bad.

Tuesday, September 6, 2011

Building the Entire Computer - Activity 2

The CPU is finished.  Some pieces ended up being easier than I thought (the alu stuff lined up nicely, if in reverse from expected) but some of it was harder than I thought it should be.  I ended up guessing at a lot (like which order things were in) and I didn't really like that.  However, I can say I know how it works, so I guess that's what counts.

Sunday, September 4, 2011

Building the Entire Computer - Activity 1

Finished creating 'memory'.  Turns out I was using the address bits backwards in the past.  I'll eventually go back and correct my old HDLs when I'm optimizing them.

Friday, September 2, 2011

Designing Assembly - Activity 3

Finished the screen fill program.  I tested it visually and it works.  Tried it from the command prompt with the .tst file and I'm STILL waiting for it to finish.  lol

Actually, sometimes the CPU emulator crashes...  Bleh.  But whatever.  It's done.

Designing Assembly - Activity 2

Took a bit of a break there...  Hehe.  I ended up just jumping into things this morning before work and got the Mult program almost completely working.  (Forgot to increment the counter and output to @2.)  But it's done now!

Monday, August 29, 2011

Designing Assembly - Activity 1

Read the chapter, verified the programs will run...  Couldn't find the tutorials to read them.  I'm going to assume I can figure it out on my own and continue.