Git Product home page Git Product logo

w65c265sxb-bcpl16's Introduction

BCPL for the WDC W65C265SXB

This project builds on the work of JeeLabs (https://jeelabs.org/2017/11/tfoc---a-compiler-in-256-loc/) to create fully self hosted BCPL programming environment on a WDC W65C265SXB single board computer that has been pimped out with at least 128K of additional RAM and a serially connected CH376S USB interface module.

Hardware

Memory Expansion

Adding some additional memory to a W65C265SXB is very easy. The XBUS connector in the side of the SXB board provides access to power, the address bus, the data bus and some control signals.

You can connect a 128K SRAM chip directly to this bus as shown in the following diagram. Note that the chip is wired with the CE2 chip select permanently high and the /OE output enable permanently low. The processors read/write signal (RWB) is connected to the /WE output enable and will override /OE when asserted low. The /CS7 signal generated by the W65C265 is used to control the active low chip select and enable the chip at the write time.

For my development I use a 1MB RAM expansion board that decodes the signals a little better but BCPL will work with this minimal configuration.

USB Interface

The CH376S module acts as an interface between a simple microprocessor or micro-controller and FAT based filing system on a USB disk drive or SD card. They are cheap to buy; typically only ~£2.50 from a Chinese eBay seller.

CH376S modules support three communications interfaces: an 8-bit parallel bus with read/write signals; a four wire SPI bus and two wire asynchronous serial. Not all break out boards provide the pins for SPI.

As the W65C265 has four built in UARTs serial communication is the easiest option.

Bootstrapping BCPL

w65c265sxb-bcpl16's People

Contributors

andrew-jacobs avatar

Stargazers

Dominic Verity avatar  avatar  avatar  avatar David Jade avatar

Watchers

James Cloos avatar  avatar

Forkers

biged

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.