Re: [cc65] tgi primitives...

From: Karri Kaksonen <karri1sipo.fi>
Date: 2004-10-27 15:47:50
On Wed, 27 Oct 2004, Ullrich von Bassewitz wrote:
> I would suggest to add a simple circle implementation to the driver.

OK. That will be an 8 sided polygon.

> To solve most of your problems, I would suggest to implement the required
> functions in the driver, so people can use it, and otherwise ressort to the
> tgi_ioctl call to implement Lynx specifics.

That is fine with me. I will the add new function defines to lynx.h like:

#define tgi_sprite(spr) tgi_ioctl(0, (void *)(spr))
#define tgi_flipscreen() tgi_ioctl(1, 0)
#define tgi_setbgcolor(col) tgi_ioctl(2, col)

This makes things less portable, but they are really required.

Obviously I also need to write some magic code to transfer cputc
output to a tgi_outtext call if I want to have conio to work on
the Lynx.

--
Regards,

Karri

PS. I know very little about the hardware for other cc65 platforms.
    The Lynx is full of all kind of graphics accelerators as it was
    designed to be a games console. So my views are a bit Lynx-biased.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Oct 27 15:40:46 2004

This archive was generated by hypermail 2.1.8 : 2004-10-27 15:40:56 CEST