{ "info": { "author": "Rob McMullen", "author_email": "feedback@playermissile.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Topic :: Software Development :: Assemblers", "Topic :: Utilities" ], "description": "========\npyatasm\n========\n\nPython wrapper for ATasm, a mostly Mac/65 compatible 6502 cross-assembler\n\n\nSummary\n========\n\nFrom the ATasm readme::\n\n ATasm is a 6502 command-line cross-assembler that is compatible with the\n original Mac/65 macroassembler released by OSS software. Code\n development can now be performed using \"modern\" editors and compiles\n with lightning speed.\n\npyatasm is a python wrapper that uses the (slightly modified) C code from\nATasm. It provides the front end to the assembler and returns the bytes (and\nother metadata) from the assembly.\n\n\nPrerequisites\n-------------\n\n* python 2.7 (but not 3.x yet) capable of building C extensions\n\nInstallation\n------------\n\npyatasm is available through PyPI::\n\n pip install pyatasm\n\nor you can compile from source::\n\n git clone https://github.com/robmcmullen/pyatasm.git\n cd pyatasm\n python setup install\n\nYour version of python must be able to build C extensions, which should be\nautomatic in most linux and on OS X. You may have to install the python\ndevelopment packages on linux distributions like Ubuntu or Linux Mint.\n\nWindows doesn't come with a C compiler, but happily, Microsoft provides a\ncut-down version of their Visual Studio compiler just for compiling Python\nextensions! Download and install it from\n`here `_.\n\nDevelopers\n----------\n\nIf you check out the pyatasm source from the git repository or you want to\nmodify pyatasm and change the .pyx file, you'll need Cython. The .pyx file is\ncompiled to C as a side effect of using the command::\n\n python setup.py sdist\n\n\n\nUsage\n=====\n\nA simple example::\n\n #!/usr/bin/env python\n\n from pyatasm import Assemble\n\n asm = Assemble(\"tests/works.m65\")\n\n if asm:\n print asm.segments\n print asm.equates\n print asm.labels\n else:\n print asm.errors\n\nBecause pyatasm is a very thin wrapper around ATasm (and very little ATasm code\nwas changed) it needs to creates files to do its work. These files will be\ncreated in the same directory as the source file, so the directory must be\nwriteable.\n\nThe segments attribute will contain a list of 3-tuples, each tuple being the\nstart address, the end address, and the bytes for each segment of the assembly.\nA segment is defined as a contiguous sequence of bytes. If there is change of\norigin, a new segment will be created.\n\n\n\nLicense\n==========\n\npyatasm, python wrapper for ATasm\n\nATasm is Copyright (c) 1998-2014 Mark Schmelzenbach\npyatasm is Copyright (c) 2016 Rob McMullen (feedback@playermissile.com)\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/robmcmullen/pyatasm", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyatasm", "package_url": "https://pypi.org/project/pyatasm/", "platform": "", "project_url": "https://pypi.org/project/pyatasm/", "project_urls": { "Homepage": "https://github.com/robmcmullen/pyatasm" }, "release_url": "https://pypi.org/project/pyatasm/1.4/", "requires_dist": null, "requires_python": "", "summary": "Python wrapper for ATasm, a 6502 cross-assembler using MAC/65 syntax", "version": "1.4" }, "last_serial": 4097178, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "be8697157362bb56922253a4e48c6132", "sha256": "eed1b8c6ec78bda8ea62e7292cbaaa16217d58fca78849ab958cdf6334c25744" }, "downloads": -1, "filename": "pyatasm-1.0.tar.gz", "has_sig": false, "md5_digest": "be8697157362bb56922253a4e48c6132", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 91046, "upload_time": "2016-11-02T19:54:58", "url": "https://files.pythonhosted.org/packages/42/4b/ce80d3f29724ffe4eb319a9d03cbb866f624906ba0f3e7b911860baa4c4c/pyatasm-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "fcc9e2f05f8870cd00c65b5cf7ca666d", "sha256": "5bde565ea0427a33aa2d3d06b09391f4f3bddc31dc7e9b575a27f668ea2b402f" }, "downloads": -1, "filename": "pyatasm-1.1.tar.gz", "has_sig": false, "md5_digest": "fcc9e2f05f8870cd00c65b5cf7ca666d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 91073, "upload_time": "2016-11-02T22:22:00", "url": "https://files.pythonhosted.org/packages/cd/7c/62bc02e62ecb533b9a028e38d92dbbcd9068b4ae594043e2b20f456ddeca/pyatasm-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "1d607b6fa817725a9896b7eb5a08f6f9", "sha256": "46eefe6f78efe6e17281dc57b00110f8f86cde15826c015c3c54f1a996ccddc9" }, "downloads": -1, "filename": "pyatasm-1.2.tar.gz", "has_sig": false, "md5_digest": "1d607b6fa817725a9896b7eb5a08f6f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 91111, "upload_time": "2016-11-03T06:03:48", "url": "https://files.pythonhosted.org/packages/9d/24/d5c04e6af5d131da8ea0f15bcc73c2cbe0e823f742e0141ab435e4a10944/pyatasm-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "8b993dbec745043be42da817e56e7454", "sha256": "993c777cc991c33578e15d0c1a1555621940c4ba454228d7f63a2d0bc4065c67" }, "downloads": -1, "filename": "pyatasm-1.3.tar.gz", "has_sig": false, "md5_digest": "8b993dbec745043be42da817e56e7454", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 91133, "upload_time": "2016-11-20T19:32:07", "url": "https://files.pythonhosted.org/packages/c0/75/9580a7375242638c7655944a65011e45ff85f21a77d49e9b49dd8b4797dc/pyatasm-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "2bb552303e710cf010e36b7886712c2d", "sha256": "499c27091d16beb8fbe2944b5c17da116236a725dc557a64bbc6001d79b9d5f7" }, "downloads": -1, "filename": "pyatasm-1.4.tar.gz", "has_sig": false, "md5_digest": "2bb552303e710cf010e36b7886712c2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 99124, "upload_time": "2018-07-24T14:07:22", "url": "https://files.pythonhosted.org/packages/1b/24/0df02ece724306274ea1f1506c91c9d3d04bd8f08fb26d6d543b41aba301/pyatasm-1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2bb552303e710cf010e36b7886712c2d", "sha256": "499c27091d16beb8fbe2944b5c17da116236a725dc557a64bbc6001d79b9d5f7" }, "downloads": -1, "filename": "pyatasm-1.4.tar.gz", "has_sig": false, "md5_digest": "2bb552303e710cf010e36b7886712c2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 99124, "upload_time": "2018-07-24T14:07:22", "url": "https://files.pythonhosted.org/packages/1b/24/0df02ece724306274ea1f1506c91c9d3d04bd8f08fb26d6d543b41aba301/pyatasm-1.4.tar.gz" } ] }