Re: [cc65] TGI pixel aspect ratio

From: Oliver Schmidt <ol.sc1web.de>
Date: 2009-10-28 21:02:25
Hi,

>> I think a way for the driver to share the pixel aspect ratio information
>> with the main program could be a nice addition.

> the c64 has a pixel aspect ratio of 0.936:1 ...
>
> somehow it sounds overengineered to me to support that :)

The C128 standard (!) driver has a resolution of 640x200 - and a
potential future Apple2 double-hires driver would have 560x192 so I
tend to think it's in general not that devious.

I would however certainly not try to have any tgi coding "correct"
things but rather purely provide the application with the information
in the style of tgi_getcolorcount and tgi_getpagecount...

Regarding the overengineering: We should find a way to describe it in
one (signed ?) char.

>> It could be just a signed char, negative values meaning that
>> height > width. I know it's mathematically incorrect but it's handy.

I'm not sure if I fully understand. The C64 driver (and most others)
would have a value of 1. And the two drivers mentioned above would
have a value of 2 - correct?

My two cents: Seems very little effort to me and might turn out useful
for certain programs...

Best, Oliver
----------------------------------------------------------------------
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 28 21:02:33 2009

This archive was generated by hypermail 2.1.8 : 2009-10-28 21:02:35 CET