Giter VIP home page Giter VIP logo

Comments (4)

pjdennis avatar pjdennis commented on July 25, 2024

@electrickery could you attach the .pld file that's resulting in an invalid checksum? If you don't mind sharing, of course.

from galasm.

pjdennis avatar pjdennis commented on July 25, 2024

@electrickery could you make sure you have the latest code from master, especially commit c9ae0b9 which introduced a fix for the file checksum calculation to wrap to 16 bits:

*pchecksum = (*pchecksum + (UBYTE) c) % 0x10000;

I've tested INCREMENTER5.pld with the latest code (290d0cf) and it produces the correct file checksum as confirmed by Minipro.

Minipro output for INCREMENTER5.jed with Windows line endings:

Declared fuse checksum: 0xF343 Calculated: 0xF343 ... OK
Declared file checksum: 0xEAE9 Calculated: 0xEAE9 ... OK

... and for INCREMENTER5.jed with mac/unix line endings:

Declared fuse checksum: 0xF343 Calculated: 0xF343 ... OK
Declared file checksum: 0xE804 Calculated: 0xE804 ... OK

from galasm.

electrickery avatar electrickery commented on July 25, 2024

@pjdennis found the problem, my clone was for a different non-fork of the same original code base:

$ git remote -v
origin https://github.com/dwery/galasm.git (fetch)
origin https://github.com/dwery/galasm.git (push)

I'm very sorry I posted the issue to the wrong repository. Git(hub) can be very confusing. The issue does not apply to your repository.

Greetings,
Fred Jan

from galasm.

pjdennis avatar pjdennis commented on July 25, 2024

@electrickery no worries; it was interesting to see the incrementer logic in INCREMENTER5.pld.

Closing since this is not an issue with the code in this repo.

from galasm.

Related Issues (8)

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.