Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The HBC-56 (65C02/TMS9918A/AY-3-8910 retro computer) fully emulated on a Raspberry Pi Pico

License

NotificationsYou must be signed in to change notification settings

visrealm/pico-56

Repository files navigation

MyHBC-56, a 65C02/TMS9918A homebrew computer on a backplane, fully emulated on a Raspberry Pi Pico.

HBC-56

Emulating the following HBC-56 hardware

  • 65C02 CPU
  • 65C22 VIA
  • TMS9918A VDP
  • Dual AY-3-8910 PSGs
  • Dual NES controller inputs
  • PS/2 keyboard input
  • 96KB Banked RAM/ROM

Making use of my various emulation libraries (and more):

  • vrEmu6502 - 6502/65C02 CPU emulation library (C99)
  • vrEmu6522 - 6522/65C22 VIA emulation library (C99)
  • vrEmuTms9918 - TMS9918A/TMS9929A VDP emulation library (C99)

Follow along on YouTube here:youtube.com/@TroySchrapel

Development environment

To set up your development environment for the Raspberry Pi Pico, follow theRaspberry Pi C/C++ SDK Setup instructions.

Windows

For Windows users, there is a pre-packaged installer provided by the Raspberry Pi Foundation:https://github.com/raspberrypi/pico-setup-windows/releases/. Once installed, just open the pre-configured "Pico - Visual Studio Code" from your start menu.

The build system expectspython3 to be available. If you have installed Python 3 outside of the Microsoft Store, you may need to alias your Python executable.

You can do this from an elevated (Administator) command prompt in your python directory e.g.C:\Program Files\Python310\ by creating a symlink with the command:mklink python3.exe python.exe.

Episodes

In the Episodes, I build the code from the ground up and provide a number of working demos. These are a work in progress with more to come as the videos come out.

In this episode, I build a VGA circuit on the Raspberry Pi Pico and write an intitial generic VGA output library and a number of VGA test programs from a test pattern through to moving sprites and an 800x600 framebuffer.

In this episode, I incorporate my TMS9918 library and create some test programs to test the TMS9918 functionality on the Pi Pico.

Complete kits

Complete PICO-56 kits are now available on Tindie:

I sell on Tindie

Also featured in HackerBox 0103 for those in the US:

Gerbers

Gerbers for the PICO-56 v1.4 are now available. See/schematics

If you would like to support this project, you canorder your PCBs from my PCBWay project link

Schematics

PICO-56 v1.4

Bill of materials

Qty.DescriptionCode
1PICO-56 PCBPCB
5100nf (104) ceramic capacitorC3,C4,C5,C6,C7
310uf (106) electrolytic capacitorC8,C1,C2
34kΩ 0.25w resistor (3.9kΩ ok)R1,R5,R9
210kΩ 0.25w resistorR20,R21
62kΩ 0.25w resistorR22,R2,R6,R10,R17,R18
91kΩ 0.25w resistorR3,R7,R11,R13,R14,R15,R16,R19,R23
3500Ω 0.25w resistor (510Ω ok)R4,R8,R12
12N4401 transistorQ1
11N5819 diodeD1
1Blue LEDLED1
1Green LEDLED2
1Push buttonKEY1
1Push button (locking)PWR1
1Barrel jack connector5V
1VGA connectorDSUB1
2RCA connectorJ2,J3
2NES connectorNO1,NO2
1PS/2 connectorPS2
1Raspberry Pi Pico (plus headers)U1
1MicroSD card connectorU2

There is a more detailed BOM in the/schematics folder. Alternatively, I have created aMouser project for this which contains everything except for the NES connectors which can be obtained from AliExpress.

3D Printed case

A 3D printed case is available. All STLs are in the/case directory.

PICO-56 case

Videos

PICO-56 - Introduction

PICO-56 - Full Kit Build

Thanks

Thanks toPCBWay for supporting this project.

PICO-56

Resources

License

This code is licensed under theMIT license


[8]ページ先頭

©2009-2025 Movatter.jp