- custom .tar archive reader/writer to preserve unix file metadata (in case it matters to the TV)

- cleaned up structure definition files for HDD Hex Editor Neo
This commit is contained in:
Horst Beham
2023-01-08 01:50:34 +01:00
parent aab1fa495a
commit dd96064d20
9 changed files with 372 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
#include <stddefs.h>
#include "chansort.h"
// CRCs are calculated MSB first (left-shift with initial mask 0x80000000), polynomial 0x04C11DB7, init-value 0xFFFFFFFF and exit-XOR 0x00000000

View File

@@ -1,8 +1,30 @@
typedef unsigned char byte;
typedef unsigned short word;
typedef unsigned int dword;
typedef unsigned __int64 qword;
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef unsigned int DWORD;
typedef unsigned __int64 QWORD;
typedef big_endian unsigned short uc16be;
#ifndef stddef
typedef char int8;
typedef short int16;
typedef long int32;
typedef __int64 int64;
typedef unsigned int uint;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned long uint32;
typedef unsigned __int64 uint64;
#endif
enum ServiceType : byte
{
SDTV = 1,
@@ -11,4 +33,5 @@ enum ServiceType : byte
SDTV_MPEG4 = 22,
HDTV = 25,
Option = 211
};
};

View File

@@ -1,4 +1,4 @@
#include <stddefs.h>
#include "chansort.h"
struct StringChar
{

View File

@@ -1,4 +1,4 @@
#include <stddefs.h>
#include "chansort.h"
#pragma byte_order(LittleEndian)

View File

@@ -1,4 +1,4 @@
#include <stddefs.h>
#include "chansort.h"
#pragma byte_order(LittleEndian)

View File

@@ -1,4 +1,4 @@
#include <stddefs.h>
#include "chansort.h"
#pragma byte_order(LittleEndian)