Wednesday, November 25, 2015

Update on MKHBC-R1, 6502 based home-brew computer: UART - finished!

I finished assembling the UART card. At this time I test the system outside of the mother-board. I also added (temporarily) ZIF sockets to CPU card for EPROM (since the system is still in development, this will be very useful) and for CPU. You may be wondering why did I have a need to have a ZIF socket for a CPU? Well, some time ago I bought from e-bay a lot of eighteen R6502P chips very cheap. I have never had a chance to test them. Now came their time. I dropped each in the ZIF socket and tested them in my system. All worked fine, so future looks bright for any new 6502 based projects.
I've published a short demo on youtube of my working system.

Working system with one of R6502P CPU-s I've been testing in the ZIF socket and CPU speed jumper set to 0.9 MHz (my standard configuration is R6502AP with 1.8 MHz clock). The voltage is a bit low here (4.6V). I improved the connections a little bit and later got 4.8V, a bit more acceptable and within tolerance.
I use my port of Meadow Operating System (which is really a monitor program working over serial port) to control the system, upload and run programs on it. Above - Tiny BASIC is being uploaded to RAM.
Tiny BASIC uploaded and running. Time to play some game. Euphoria is a small kingdom simulator written in Tiny BASIC.
Lot of 18 6502 CPU-s.
11/25/2015
MK

Monday, November 23, 2015

Update on MKHBC-R1, 6502 based home-brew computer: UART

I made some changes to the circuit diagram. In order to generate proper net list, I replaced labels connected to CPU bus with labels connected to buffered I/O bus in slot #4. I included detailed comments on the diagram drawing. The UART card of course can be connected to any I/O slot or directly to the CPU card, with proper programming changes. The concept is explained in design document that I referenced earlier in this blog.
I also corrected PCB layout as I missed two components when I updated it last time: jumper JP8 and resistor R7.
I started to assemble the board, it should be finished soon. I made most of the GND connections for now. Updated circuit diagram, PCB layout and pictures of the board are included below.




11/23/2015
MK

Thursday, November 12, 2015

Update on MKHBC-R1, 6502 based home-brew computer: UART

I made some modifications to the circuit diagram (added jumper switches) and created a PCB component layout for my UART card. The layout is not too elegant and appears wasteful, because I will make the circuit on the slightly over-sized prototyping board which has some traces and padded holes on the bottom side. I originally planned to make all expansion cards for my computer on such boards, since they have some traces in addition to pads and padded holes (which BTW do not cover all the board's surface evenly). Due to that they are suitable for less dense component placement than is required on CPU bus cards. If you care to compare this one to my CPU card board, which is made on the different prototyping board, smaller but equipped with padded holes spread evenly across the entire surface and no traces, you will understand why. I simply can make more point to point connections and pack components closer together on the board with padded holes only versus a bigger board but with less holes and with some traces on the bottom.
Next step - point to point soldering of the UART card. This should be far less work than CPU card.

Circuit.

Layout.
 
Testing CPU card in the mother-board. The "mobo" still lacks power supply, interrupt controller and I/O port - just passive CPU bus and buffered I/O bus (black slots in the back).


In front, the prototyping board which will host UART circuit.

11/12/2015

MK

Sunday, November 1, 2015

Update on MKHBC-R1, 6502 based home-brew computer.

It took me awfully long time to get back to this project, but I finally did.
I finished assembly and verification of the CPU card. After checking all connections with a multi-meter, I populated the board with IC-s and assembled simple power supply (5V stabilizer) and testing circuit (just 3 LED-s with resistors and a reset switch) on the bread-board. Then I burned test program on EPROM that just selects 3 of the I/O selection outputs in a loop and I put the EPROM chip in the board. The other 32K EPROM chip for now is not in the board. The test worked. See it here.
This test verified following basic CPU board functionality:
* clock circuit
* reset circuit
* I/O address selection circuit
Next step is to assemble the serial communication circuit on the bread-board and test the CPU and serial communication with a bit more advanced but still rudimentary operating system (Monitor program). After that, serial communication card assembly on a permanent board (I/O card).

MKHBC-R1, back in business.

Chips populated, only EPROM to burn and face the truth.

It worked!
Thanks for looking.

Marek Karcz
11/1/2015