Re: [cc65] TGI bitmap fnts revisited

From: Oliver Schmidt <ol.sc1web.de>
Date: 2011-07-17 14:05:54
Hi Uz,

>> - The parameters to the OUTTEXT driver entry point are changed from a
>> C string to a Pascal string in order to facilitate copy-free clipping
>> for TGI kernel.

> Not a pascal string in the sense that it is preceeded by a length byte. The
> kernel does still pass a C string, but it also passes an additional length.
> Since I don't assume that we encounter screens with a resolution that allows
> display of more than 256 characters in any direction, this will be a byte.

Sorry for being unprecise: It won't be a "Pascal string" as the length
byte won't precede the actual chars. Rather it will be a separate
parameter.

However calling it a "C string" seems misleading too to me because
that implies that the chars are to be used until the zero-terination
is reached. But if the TGI Kernel needs to truncate the string at the
end because of clipping then the string is _NOT_ to be used until the
zero is reached - is it?

Regards,
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 Sun Jul 17 14:06:06 2011

This archive was generated by hypermail 2.1.8 : 2011-07-17 14:06:08 CEST