Giter Club home page Giter Club logo

picovic's Introduction

PICOVIC

This is a Commodore Vic-20 emulator for the Raspberry Pi Pico

Screen photo

Most of the 6502 emulation code is from fake6502.

A PS/2 keyboard can be plugged in to the pico according to the schematic and is used as an input device.

VGA output is based on the scanvideo code from pico-extra

The emulation is extremely basic and for example the VIAs are only emulated so that the cursor works in BASIC. The VIC chip only has the most simple functionality, in the interest of speed and laziness. However since for the time being the emulated speed is higher than the original VIC-20, more functionality will be added in the future.

running basic

Running BASIC video

Hardware

PCB 3D view I designed a PCB to go with it. You can check out the hardware folder to get the source, or download the schematic and gerber files.

picovic's People

Contributors

jfoucher avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

picovic's Issues

PS/2 Keyboard not working

The keyboard LED flashed once when the power is supplied to the PICO but nothing happened any key pressed/released.

The VGA output is working and cursor was flashing.

Cursor does not work

Need to implement VIA timers / IRQs at least roughly to get the cursor to blink when in basic.

Program code mismatched with the circuit diagram

There are a few issues found:

  • PICO_SCANVIDEO_COLOR_PIN_BASE is set to 2 but the circuit diagram is 0.
  • In the circuit diagram, bits in a video byte is R3 G3 B2. But some of the program code is R3 G2 B3 (rgb[0] to rgb[8]) or B3 G2 R3 (rgb[9]-rgb[15].

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.