Re[2]: [cc65] Graphics library

Date view Thread view Subject view

From: groepaz (groepaz_at_gmx.net)
Date: 2001-08-13 21:31:05


Hello Ullrich,

UvB> To be honest, I don't expect too many programs that are able to adjust to
UvB> different graphics modes at runtime, since the overhead for such a program
UvB> (different maxx, maxy, color count, aspect ratio) will usually be too high for
UvB> a 6502 machine. The C64 (and maybe some other machines) has additional
UvB> limitations, for example in the 4 color mode, one of the four colors cannot
UvB> change within a 8x8 character cell. It is quite difficult to write portable
UvB> programs with these limitations.

UvB> I'm currently writing a first version of the graphics.h header file. If you
UvB> have any more suggestions, please keep them coming. I will leave for a few
UvB> days tomorrow and finish the API when I'm back, using your comments.

i think a function to query all available modes would be nice to
have... any gfx-app written in C and using a standard-gfx lib will
turn out to be slow as hell anyways ;=D

as for me, i'd like to implement 2 additional gfx-modes besides
standard hires (320x200 b/w that is) ... 80x50x4 colors (simelar to
the 4x4 fli mode often used in demos, but a lot faster) and 40x25x256
shades of grey (fastest mode possible on a c64... this one should
perform somewhat fast even when wrapped into clumsy c-code ;=))

-- 
Best regards,
 groepaz                            mailto:groepaz_at_gmx.net


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:41 CET