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
import java.util.ArrayList; | |
import java.util.List; | |
import ghidra.app.script.GhidraScript; | |
import ghidra.program.model.address.*; | |
import ghidra.program.model.symbol.*; | |
import ghidra.program.model.listing.*; | |
import ghidra.program.model.lang.*; | |
import java.math.BigInteger; |
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, |
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 database tables | |
include "zx_base.fbs"; | |
namespace ZX.DB; | |
table Entry { | |
displayInfo: DisplayInfo; | |
zxFiles: [ZX.File]; | |
scans: [ZX.Scan]; |
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 tables & enums | |
namespace ZX; | |
enum MachineTypes : uint (bit_flags) { | |
Spectrum_16K, // Spectrum 16K | |
Spectrum_48K, // Spectrum 48K | |
Spectrum_48K_NTSC, // Spectrum 48K (NTSC) | |
Timex_TC2048, // Timex TC2048 | |
Timex_TC2068, // Timex TC2068 | |
Timex_TS2068, // Timex TS2068 |
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
//DEPRECATED, Moved flatbuffers here https://gist.github.com/bog-dan-ro/910cc13f6a5ff2f2649788328717db16 | |
// ZX Spectrum metadata file | |
package ZX.Meta; | |
message Entry { | |
enum MachineType { |