bmp2sprite
----------
by fieserWolF



description
-----------
With this little tool you can simply
convert bmp images to hires or
multicolour sprites suitable for
the c64.



usage
-----
bmp2sprite <inname.bmp> <outname.prg> <startaddress in hex of output binary, "none" for no address> <colour1> <colour2> <colour3> <colour4>



explanation
-----------
<inname.bmp>	- this is the 1bit or 4bit bmp file, 24x21 dimensions
<outname.prg>	- this is the name of the output c64 sprite
<startaddress in hex of output binary, "none" for no address>	- you can give a startaddress for the c64 prg file or "none" for no start address

colours: You can redefine the colours of the sprite easily:
<colour1>	- colour 1 (0,1,2 or 3)
<colour2>	- colour 2 (0,1,2 or 3)
<colour3>	- colour 3 (0,1,2 or 3)
<colour4>	- colour 4 (0,1,2 or 3)



example
-------
bmp2sprite bob.bmp bob.prg 2000 0 1 2 3
This creates a c64 sprite prg with the start address $2000.
The colours are in the same order as in the original bmp file.



description of files
--------------------
bmp2sprite	- i386 linux executable
bmp2sprite.exe	- i386 windows executable
hires.bmp	- example black/white (1bit) bmp for a hires sprite
hires.prg	- example converted hires sprite
multicolor.bmp	- example 4 colour (4bit) bmp for a multicolour sprite
multicolor.prg	- example converted multicolour sprite
readme.txt	- this file
sprite.asm	- example asm source (xa crossassembler used)
sprite.prg	- example program for c64



closing words
-------------
Contact me over csdb if you need assistance.

Have fun!

wolf
