Re: [cc65] TGI blit

From: Groepaz <groepaz1gmx.net>
Date: 2009-11-03 11:39:17
On Dienstag 03 November 2009, Karri Kaksonen wrote:
> Oliver Schmidt wrote:
> > So it seems there is in fact demand for a new tool - even for the C64:
> >
> > - Running on the cc65 host (not target) platforms
> > - Reading a BMP/PNG/...
>
> This is the first problematic area. In real life I probably cannot use
> the colors and resolutions directly on my target. Part of porting a
> project includes fine-tuning the colors and the size of the graphics.
> For me it is enough to do the reduction of colors, dithering etc in
> Gimp. I would then save my graphics as an indexed png file.
>
> I do not want any extra "intelligence" of the conversion tool. Just
> re-pack the data - don't mess with it. This means that the colors,
> indexes and palettes are already suitable for the target when I compile
> my code.
>
> > - Writing a device dependend bitmap (hopefully supporting many TGI
> > drivers) - The bitmap contains some minimal header with height and width
> > and ...
>
> This is very device dependent. Don't define it. Just define a binary
> object that contains the graphics without defining the structure, the
> fields etc.
>
> > - Hopefully many TGI drivers support copying "their" bitmap to a drawpage
>
> The Lynx needs no software for this. Just pass the pointer of the binary
> object to Suzy. The Lynx mandatory sprite header looks like this. You
> don't want to have it in any other target ;)

this isnt about sprites, but arbitrary bitmaps though :)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Ich tippe 3 Zeilen und sehe dann das erste Zeichen ... yay Spass 
<manx>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Nov 3 11:39:21 2009

This archive was generated by hypermail 2.1.8 : 2009-11-03 11:39:23 CET