RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
as86obj.h
1#ifndef AS86OBJ_H
2#define AS86OBJ_H
3
4#include "../common.h"
5#include "../linker/reader.h"
6#include "../linker/writer.h"
7
8/* TODO: unimplemented */
9
10/* as86 object format (input only) */
11namespace AS86Obj
12{
16 class AS86ObjFormat : public virtual Linker::InputFormat
17 {
18 public:
19 void ReadFile(Linker::Reader& in) override;
20 void WriteFile(Linker::Writer& out) override;
21 void ProduceModule(Linker::Module& module, Linker::Reader& rd) override;
22 /* TODO */
23 };
24}
25
26#endif /* AS86OBJ_H */
Output format for as86, used as an output by Bruce's C compiler from the dev86 package.
Definition as86obj.h:17
void ProduceModule(Linker::Module &module, Linker::Reader &rd) override
Reads a file and loads the information into a module object.
Definition as86obj.cc:18
void ReadFile(Linker::Reader &in) override
Loads file into memory.
Definition as86obj.cc:8
void WriteFile(Linker::Writer &out) override
Stores data in memory to file.
Definition as86obj.cc:13
A class that provides a general interface to loading a module.
Definition format.h:161
Encodes an object module file as a collection of sections, symbols and relocations.
Definition module.h:20
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