Created
June 19, 2016 07:25
-
-
Save bog-dan-ro/51fdcd772594ebb317468bcda71dc2ff to your computer and use it in GitHub Desktop.
ZX emulators flatbuffers file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Flat Buffers ZX file format | |
include "zx_base.fbs"; | |
namespace ZX.FB; | |
enum SnapshotType : byte { | |
SNA, | |
Z80, | |
PLUSD, | |
SP, | |
SNP, | |
ZXS, | |
SZX, // Default | |
} | |
table Snapshot { | |
type: SnapshotType; | |
date: uint; | |
compression: ZX.Compression = DEFLATE; | |
content: string (required); | |
} | |
table Movie { | |
date: uint; | |
compression: ZX.Compression = DEFLATE; | |
content: string (required); | |
} | |
table File { | |
displayInfo: ZX.DisplayInfo; | |
zxFiles: [ZX.File]; | |
scans: [ZX.Scan]; | |
snapshots: [Snapshot]; | |
movies: [Movie]; | |
} | |
root_type File; | |
file_identifier "BDZX"; | |
file_extension "zx"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment