RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BrocaD3X::D3X1Format Class Reference

Daniel Broca's D3X executable format. More...

#include <dosexe.h>

Inheritance diagram for BrocaD3X::D3X1Format:
Linker::Format Linker::Image

Public Member Functions

void ReadFile (Linker::Reader &rd) override
 Loads file into memory.
 
offset_t WriteFile (Linker::Writer &wr) const override
 Stores data in memory to file.
 
void Dump (Dumper::Dumper &dump) const override
 Display file contents in a nice manner.
 
- Public Member Functions inherited from Linker::Format
 Format (offset_t file_offset=0)
 
virtual void Clear ()
 Resets all fields to their default values, deallocate memory.
 
offset_t ImageSize () const override
 Retrieves size of stored data.
 
offset_t WriteFile (Writer &wr, offset_t count, offset_t offset=0) const override
 Writes data of non-zero filled sections.
 
- Public Member Functions inherited from Linker::Image
virtual std::shared_ptr< const ActualImageAsImage () const
 Retrieves a randomly accessible image.
 
std::shared_ptr< ActualImageAsImage ()
 Retrieves a randomly accessible image.
 

Public Attributes

uint32_t header_size = 0
 
uint32_t binary_size = 0
 
uint32_t extra_size = 0
 
uint32_t entry = 0
 
uint32_t stack_top = 0
 
- Public Attributes inherited from Linker::Format
offset_t file_offset
 

Detailed Description

Daniel Broca's D3X executable format.

Member Function Documentation

◆ Dump()

void BrocaD3X::D3X1Format::Dump ( Dumper::Dumper & dump) const
overridevirtual

Display file contents in a nice manner.

Reimplemented from Linker::Format.

◆ ReadFile()

void BrocaD3X::D3X1Format::ReadFile ( Linker::Reader & rd)
overridevirtual

Loads file into memory.

Implements Linker::Format.

◆ WriteFile()

offset_t BrocaD3X::D3X1Format::WriteFile ( Linker::Writer & wr) const
overridevirtual

Stores data in memory to file.

Implements Linker::Format.


The documentation for this class was generated from the following files: