Blaupunkt, Dyon, Hisense, Sharp and many others using DVBS_Program.csv, DVBS_CHANNEL_TABLE.csv, MSxxxx_DVBS_CHANNEL_TABLE.csv:

- added support for Hisense .csv files with 6 columns including "channel number" and "LCN"
- using separate lists for DTV, Radio and Data, which all start with 1
This commit is contained in:
Horst Beham
2021-07-23 21:44:02 +02:00
parent e5d7e5a325
commit 22f9d43adc
5 changed files with 834 additions and 134 deletions

View File

@@ -0,0 +1,43 @@
#include <stddefs.h>
struct StringChar
{
char c;
if (c == 0x0a)
$break_array(true);
};
struct DvbData
{
uint8 unknown[2848];
struct
{
uint8 satData[88];
} satellites[85];
int8 unknown[63343];
struct{
int8 data[146];
} channels[3045]; // 615
};
public struct cvt_database_dat
{
StringChar model[*];
StringChar systemDatabaseKeyword[*];
struct
{
StringChar blockName[*];
big_endian long length;
if (blockName[0].c == 'D')
{
DvbData dvbData;
int8 filler[length - sizeof(dvbData)];
}
else
uint8 data[length];
uint8 extra[3];
} blocklist[*];
};