Giter VIP home page Giter VIP logo

6502-computer-pcb's Introduction

6502-Computer-PCB

DISCLAIMER: I DELETED ALL OF THE CONNECTIONS FOR GRANT SEARLE'S VIDEO+KEYBOARD INTERFACE BEFORE UPLOADING THE FILES. IF YOU WANT TO ADD IN THE VIDEO+KEYBOARD INTERFACE PLEASE TAKE A LOOK AT HIS WEBSITE (http://searle.x10host.com/MonitorKeyboard/index.html) AND FOLLOW THE DIRECTIONS ON THERE. IT MIGHT BE WORTH IT TO PROTOTYPE THE INTERFACE ON BREADBOARDS FIRST.

I made this Modified version of Ben Eater's 6502 computer PCB and decided instead of adding a VGA video card, I wanted to connect this to a CRT monitor using a composite video cable. I decided to add in a 6551 ACIA (Asyncronous Communications Interface Adapter) to give the computer serial I/O capabilites. I then found Grant Searle's video+keyboard interface and decided to incorporate that into my design. The only issue was that my 6551 was sending and receiving data at 19200 baud, and the video+keyboard interface was running at 115200 baud. Luckily it was an easy fix to go into the software and update the USART_BAUD variable from 115200u1 to 19200u1. However, before uploading the code I changed the fuse bytes to ensure that the 2 AVR chips were running at the correct crystal oscillator frequencies. To upload the code for the keyboard chip I used WinAVR. I found that before uploading the keyboard interface code, I needed to change the file name to main.c and I also had to create my own makefile for the atmega328p. For the video chip I decided to use the .hex file, and burn that directly into the other atmega328p using the command line. When I first prototyped this circuit on breadboards I had a lot of issues which I later discovered were caused by using a low quality breadboard. So if all off your connections and software are correct, try using a more expensive but higher quality BB830 breadboard. When you first connect the circuit to an LCD monitor or CRT monitor you should see a cursor blinking. In order to conduct a loopback test of the circuit, simply connect the Rx pin to the Tx pin on the keyboard chip, then connect the PS2 keyboard and start typing. If it works then you'll see the correct characters on the screen.

I also made a YouTube video briefly documenting my progress and demonstrating the workings of the computer. (https://youtu.be/8I7XNCFC5iU)

20220930_150136 20220930_170826

6502-computer-pcb's People

Contributors

the-invent0r avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.