Giter Site home page Giter Site logo

esp8266-c64-tape-emulator's Introduction

ESP8266-based C64 datasette emulator

Yes. An ESP8266-based datasette emulator. For the Commodore 64. In 2017.

contraption

Work in progress!!

This is a proof of concept. Planned features are:

  • Upload TAP files via an embedded web server and be able to store them in the SPI flash
  • Same with PRG files, useful to cross-develop on a PC then transfer the PRG over to real hardware for testing.
  • OTA upgradable
  • PCB + 3D enclosure CAD files so that you can build your own.

Compiling

Install platformio.

Edit ~/.platformio/packages/framework-esp8266-rtos-sdk/ld/eagle.app.v6.ld so that the MEMORY block looks like this:

MEMORY
{
  dport0_0_seg :                        org = 0x3FF00000, len = 0x10
  dram0_0_seg :                         org = 0x3FFE8000, len = 0x14000
  iram1_0_seg :                         org = 0x40100000, len = 0x8000
  irom0_0_seg :                         org = 0x40220000, len = 0x3db000
}

Compile:

pio run

To flash:

pio run -t upload

Wiring

Again, work in progress.

R = 47K. Transistor = any NPN. Datasette pin 6 is /SENSE (low if key pressed on datasette), let's force it low for now. Will be eventually driven by the ESP8266.

Power the NodeMCU either from a PC's USB port (easiest), or from the datasette port (pin B-2 <-> Vin).

schematic

Testing

  1. Turn on the C64 first
  2. LOAD + RETURN
  3. Turn on the NodeMCU
  4. Roland Hermans' PSID64 with one of DRAX's finest tunes, Caught in the Middle, will play. Take delight :)

psid64

Do NOT turn the ESP8266 contraption on before the C64. I don't think the 6510 likes any of its pins driven with its power off.

esp8266-c64-tape-emulator's People

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.