Coder Social home page Coder Social logo

c64tools's Introduction

License: BSD PyPI version Downloads Coverage Documentation Status

Donate

c64tools

c64tools is a Python library that helps in dealing with Commodore c64 graphics and memory.

You may find more information at http://www.krajzewicz.de/docs/c64tools/index.html.

The major module is named “c64tools.py”. It contains classes that represent major c64 artifacts — memory, bitmap, char, screen, etc. These classes usually support loading, drawing, and being extracted from a pygame surface.

In addition, you may find some applications which use this module:

Download and Installation

The current version is c64tools-0.18.0.

You may install c64tools using

python -m pip install c64tools

You may download a copy or fork the code at c64tools's github page.

Besides, you may download the current release here:

Links

Note

Let me know if you need any further information or advice. I am not actively developing c64tools currently.

c64tools's People

Contributors

dkrajzew avatar

Stargazers

 avatar aydin demircioglu avatar shazz avatar

Watchers

 avatar  avatar

c64tools's Issues

[question] Can charpacker.py used to convert a png into a multicolor charset?

Hi,
I thought I could use charpacker to convert an image (respecting the multicolor constraints) into a set of custom character data and screen memory data ($0400+) and color RAM data ($d800+) but when trying it only found 1 character:

Charpacking succesfull, needed 1 chars.
saving screen...
saving charset...

Did I misunderstand the goal of this script?

Typo in fromC64Screen method

In

def fromC64Screen(self, screen, chars):
    """Filss the bitmap using the given screen and character set information
    
    :param screen: The screen to use
    :param chars: The character set to use
    """
    for yh in range(0, 25):
      for xh in range(0, 40):
        char = screen.getCharAt(xh, yh)

that should be screen.charAt(xh, yh) if I'm not wrong

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.