6502 code generator for sprites, fonts, images and more
Go to file
2017-08-17 10:44:32 -07:00
.gitignore Added support for the color white 2016-12-21 14:03:28 -08:00
apple-sprite9x11.png WIP for multiple sprites 2017-06-25 08:29:10 -07:00
apple-sprite15x15.png Initial code fork to new repository from Quinn's HiSprite 2017-07-17 10:59:00 -07:00
asmgen.py Added argument to convert raw data to assembly source .byte (or equivalent) directives 2017-07-28 09:28:22 -07:00
bwtest.s WIP for multiple sprites 2017-06-25 08:29:10 -07:00
colortest.s Added simple movement for sprite 2017-06-22 11:17:31 -07:00
cpbg.s Removed debug background stuff (unnecessary now that lots more is working) 2017-07-09 21:19:06 -07:00
fatfont128.dat fatfont: fixed 0 and 1 for consistency 2017-07-06 22:22:33 -07:00
fatfont.s Added fast font demo 2017-07-04 13:36:36 -07:00
LICENSE Initial code fork to new repository from Quinn's HiSprite 2017-07-17 10:59:00 -07:00
LICENSE.generated_code Initial code fork to new repository from Quinn's HiSprite 2017-07-17 10:59:00 -07:00
Makefile Rename to asmgen; added WIP for RLE compression 2017-07-26 23:58:45 -07:00
moldy_burger.png Made color selection in PNGs a little more forgiving 2017-06-30 14:13:42 -07:00
multitest.s Fixed push/pull framework. Works on page1 2017-07-03 07:54:40 -07:00
README.rst Updated README 2017-08-17 10:44:32 -07:00
setup.py Rename to asmgen; added WIP for RLE compression 2017-07-26 23:58:45 -07:00

===========
AsmGen
===========



Abstract
========

AsmGen - code generator for sprites, fonts, and images for Apple ][ hi-res and
Atari 8-bit computers

This program creates 6502 (or 65c02) code that draws sprites using unrolled
loops for each shifted shape. By removing data shifts, image lookups, and loops
the images can be drawn much faster than otherwise possible.

Other utilities include generating code for reporting screen damage, a fast
bitmap font renderer, and generation for all the row/column lookup tables for
each supported bitmap mode.


Installing From Source
======================

The autogenerator code is written in Python and should run on any platform
that can use python

Prerequisites
-------------

* python 2.7 (but not 3.x yet)
* numpy
* pypng


Fork me!
========

The source is free and open, and lives on `github
<https://github.com/robmcmullen/asmgen>`_, so clone and enhance at will!


Credits
=======

The sample font is modified from Michael Pohoreski's `excellent tutorial on
Apple II fonts <https://github.com/Michaelangel007/apple2_hgr_font_tutorial>`_.


Disclaimer
==========

AsmGen, the 6502 code generator sponsored by the Player/Missile Podcast
Copyright (c) 2017 Rob McMullen

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


Generated Code License
----------------------

While the code for AsmGen itself is licensed under the GPLv3, the code it
produces is licensed under the the Creative Commons Attribution 4.0
International (CC BY 4.0), so you are free to use the generated code for
commercial or non-commercial purposes.