Git Product home page Git Product logo

hc6502's Introduction

HC6502

HC6502

[自己动手做计算机之HC6502 综述]

这是实验室推出的一个相对较复杂的开源DIY项目,通过自己动手搭建一个小型计算机HC6502,可以让你真正从底层自下而上、从硬件到软件完全理解一个完整的系统,对CPU、内存、外设、软件驱动的原理有一个更加深刻的认识。
HC6502 支持ps/2键盘的输出,以及vga显示输出,通过uart shell可实现更多的控制操作,支持串口、gpio操作。
通过适当的扩展,可以用HC6502来做很多好玩的项目,比如可以使用串口wifi模块接入到internet,将HC6502变成一个web服务器;当然也可以作为一般的单片机使用,用gpio来作一些控制;也可以尝试编写一些小游戏,使用vga显示器和键盘进行游戏显示和操作...。
HC6502全系统分为四片电路板:
1 主板
主板上包括CPU 6502,EEPROM AT28C256、SRAM 61256、译码模块、GPIO 6522,以及UART 6551,两个牛角座用于和键盘、显示器连接。
2 EEPROM 编程器
HC6502使用了一片32KB的并行的EEPROM AT28C256作为非易失存储,也就是相当于是'硬盘',由于市面上用于烧写并行EEPROM的设备并不多,而且价格极为昂贵(价格普遍在百元以上),所以我们自己制作了一个简单的烧录器,使用串口命令来将系统镜像烧录至EEPROM中。
3 PS2 键盘 驱动板
HC6502 可以使用键盘,这里自制了一块驱动板,用于将键盘协议转换成自定义的数据通信协议。
4 VGA驱动板
这里使用了一个STM32单片机来进行VGA的驱动,和主板之间通过自定义数据通信协议来传输控制信息和数据信息。

[自己动手做计算机之HC6502 主板-硬件]

[自己动手做计算机之HC6502 主板-软件]

[自己动手做计算机之HC6502 EEPROM编程器-硬件]

[自己动手做计算机之HC6502 EEPROM编程器-软件]

[自己动手做计算机之HC6502 PS/2键盘驱动板-硬件]

[自己动手做计算机之HC6502 PS/2键盘驱动板-软件]

[自己动手做计算机之HC6502 VGA显示驱动板-硬件]

[自己动手做计算机之HC6502 VGA显示驱动板-软件]

[自己动手做计算机之HC6502 后记]

reference:
6502-home-computer
http://www.grappendorf.net/projects/6502-home-computer/eeprom-and-a-first-program.html
红白机拆机
https://zh.ifixit.com/Guide/%E4%BB%BB%E5%A4%A9%E5%A0%82FC%E6%8B%86%E8%A7%A3/3199
6502 CPU
https://wiki.nesdev.com/w/index.php/CPU_pin_out_and_signal_description
https://wiki.nesdev.com/w/index.php/Nesdev#6502
http://wilsonminesco.com/6502primer/MysteryPins.html
https://user.xmission.com/~trevin/atari/6502_pinout.html
https://ist.uwaterloo.ca/~schepers/MJK/6502.html

hc6502's People

Contributors

wuxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hc6502's Issues

Where can I find the board design files?

I want to manufacture a copy of the PCB but I can only see the shematics PDF , where can I find the actual board design files (Eagle, KiCad, Altium, etc..) ?

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.