RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
xenix.h
1#ifndef XENIX_H
2#define XENIX_H
3
4#include "../common.h"
5#include "../linker/linker.h"
6#include "../linker/reader.h"
7#include "../linker/writer.h"
8
9/* TODO: unimplemented */
10
11/* b.out and x.out file formats */
12namespace Xenix
13{
18 {
19 public:
20 void ReadFile(Linker::Reader& rd) override;
21 void WriteFile(Linker::Writer& wr) override;
22 /* TODO */
23 };
24
29 {
30 public:
31 void ReadFile(Linker::Reader& rd) override;
32 void WriteFile(Linker::Writer& wr) override;
33 /* TODO */
34 };
35}
36
37#endif /* XENIX_H */
A helper class to collect sections into segments.
Definition linker.h:19
A class that provides a general interface to setting up generation for a format.
Definition format.h:56
A helper class, encapsulating functionality needed to import binary data.
Definition reader.h:16
A helper class, encapsulating functionality needed to export binary data.
Definition writer.h:15
Xenix b.out executable.
Definition xenix.h:18
void ReadFile(Linker::Reader &rd) override
Loads file into memory.
Definition xenix.cc:8
void WriteFile(Linker::Writer &wr) override
Stores data in memory to file.
Definition xenix.cc:13
Xenix x.out executable.
Definition xenix.h:29
void ReadFile(Linker::Reader &rd) override
Loads file into memory.
Definition xenix.cc:18
void WriteFile(Linker::Writer &wr) override
Stores data in memory to file.
Definition xenix.cc:23