Coder Social home page Coder Social logo

82s100replacement's Introduction

82S100replacement

A CPLD implementation of the classic 82S100/82S101 as used in for example C64

82S100 replacement

The WinCUPL code is taken directly from the VHDL made by Thomas 'skoe' Giesel and simply translated into WinCUPL. Skoe made an excellent description on the C64 PLA which is very well worth reading.

The small board is available as a shared project at OSHPark. Anyone is welcome to use the production files, Diptrace files and WinCUPL the way they like. But don't blame me if you get problems (or destroy your computer or someone else's computer...). It works fine for me and your mileage may vary.

Yes. I am aware that I did a small mistake in that the JTAG connector doesn't have 0.1" pitch.

In C64

Compared with other C64 PLA replacements this one is more generic 82S100 or 82S101 replacement since the #OE signal is provided at pin 19 and there is no special buffering on the outputs so they can be either tristate or open collector as the designer of the WinCUPL file wishes.

The CPLD used is an Atmel ATF1502ASL-25AU44. The good thing with this Atmel part is that it is 5V. Not just 5V tolerant. The L variant is also Low power and the slowest part which is good when emulating old parts. Mouser order# 556-AF1502ASL25AU44. The decoupling capacitor is a 0.22uF ceramic. Mouser order# 80-C0805C224K5R. The cheapest way to get the connecting pins is to order them from Aliexpress. Search for "Gold Plated 2.54mm Male 40 Pin Single Row Straight Round Pin Header Strip"

Since EPM7032S is pin compatible it can be used as well as far as I can see. However the vendor has discontinued their 5V line. Although devices can probably be found from surplus sellers.

To program the part you need to download the WinCUPL software fomr Atmel site. It is free and runs under Windows. Then to download your design to the chip you need a JTAG ISP cable, ATDH1150USB-K.

jamarju contributed with information on a cheaper way to program the Atmel devices:

As an alternative, if you have an old computer with LPT1, you can build this cable:

Atmel CPLD LPT programmer

I used a cut out USB cable to get the 5V for VREF and tied the DB-25 and USB GNDs together. Also pin 13 out of the DB-25 is not needed, so the only components needed are 1x 33 ohm and 1x DB-25 male connector.

DIY byteblaster

Use the older XP/2000 ATMISP v6.7 version and choose "ByteBlasterMV" as programmer:

ATMISP setup

82s100replacement's People

Contributors

mattislind avatar ranger81 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

82s100replacement's Issues

Converting .PLD file to Jedec .JED

Hi @MattisLind and @jamarju
I'm trying to program my ATF1502ASL with the PLA code in Atmel ISP with the LPT1 programmer. So far everything seems to be ok, cable works, chip recognized.
However, I cannot use the provided .PLD file in the Atmel ISP software. It keeps telling me to use a .JED Jedec File format.

Could you please tell me how to convert the .PLD to .JDE? A simple rename was not working.

Thanks

Equation for Commodore 16

Hi, your project is amazing. I have made PLAs for myself and my friends.

Since the PLA is the same only changes as programmed, I would like to make a version for the Commodore 16 / Plus4.
I don't know where to start from. I tried to understand something but it was in vain.
Would it be too much for you to convert the equations of the commodore 16? Thanks in advance for what you want to do.

Unable to program

I had some pcb's made and tried to build the 82s100 replacement.
I build the lpt cable to program the cpld but I keep getting an error.
"hardware and software settings mismatch"
Any suggestions?
I use a PCIe card with a parallel port, it's lpt1 and the adress is CEFC-CEFF (I/O Range)
I use windows 8, and also tried it on a virtual machine running xp. Same problem...

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.