Re: [cc65] Atari TGI drivers, finally

From: Christian Grössler <chris1groessler.org>
Date: 2009-10-25 01:55:25
Hello Fatih,

nice work. I've only tried your supplied exe (xex) yet, which uses
"graphics 8" mode, but will try out the other modes the next days.

Uz, have you already started integrating the drivers into the
repository? If not, I could do it as well.

I think there are some optimizations possible, e.g. there is
already a routine in the runtime lib which searches for a free IOCB
(see "search" label in atari_tgi_common.inc vs. "findfreeiocb" in
fdtable.s). But these things can be cleaned up later.

Something else (for all):

I have to admit, that I've never tried tgidemo before (probably
because the Atari port didn't have any TGI drivers :-)).

I found it very annoying that it only uses the default driver.
Especially since the Atari now has many drivers and I wanted to try
all of them.

I modified the tgidemo.c sample to print a list of available
drivers (ok, not really available as in "the driver is present
on the disk", but drivers which are available for the platform).
Then the user can select which driver to use.

It's not really foolproof, if you enter garbage for the mode,
it will not complain and use whatever atoi() returns. But I
think it's better than before, since one doesn't need to recompile
the demo in order to try a different mode.

regards,
chris


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Oct 25 01:55:32 2009

This archive was generated by hypermail 2.1.8 : 2009-10-25 01:55:34 CEST