BRT Community

General Category => Discussion - EVE => Topic started by: Rudolph on October 05, 2021, 07:06:14 PM

Title: Font-Cache
Post by: Rudolph on October 05, 2021, 07:06:14 PM
There is only a single font-cache, correct?

I am asking because the documentation for CMD_FONTCACHE does not explicitly state that there is only one font-cache.
cmd_fontache(20, 0xa0000, 0x10000);
cmd_fontache(21, 0xb0000, 0x10000);
cmd_fontache(22, 0xc0000, 0x10000);

This could be valid and would perfectly make sense given the bandwidth for the flash is rather limited.

However, then there also is CMD_FONTCACHEQUERY and the API for this one is:
C prototype: void cmd_fontcachequery( uint32_t total, int32_t used );

Which btw. is not valid c-code for the intended functionality as passing these parameters by value would not do much.

Anyways, since there is no parameter to identify a font-cache this probably means that there is only one.