RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
CandyMan's DX64 "Flat" and "LV" executable formats. More...
#include <dosexe.h>
Public Types | |
enum | format_type { FORMAT_FLAT , FORMAT_LV } |
Public Member Functions | |
LVFormat (format_type type) | |
void | SetSignature (format_type type) |
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. | |
![]() | |
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. | |
![]() | |
virtual std::shared_ptr< const ActualImage > | AsImage () const |
Retrieves a randomly accessible image. | |
std::shared_ptr< ActualImage > | AsImage () |
Retrieves a randomly accessible image. | |
Public Attributes | |
char | signature [4] |
uint32_t | eip = 0 |
uint32_t | esp = 0 |
uint32_t | extra_memory_size = 0 |
std::shared_ptr< Linker::Image > | image |
![]() | |
offset_t | file_offset |
CandyMan's DX64 "Flat" and "LV" executable formats.
|
overridevirtual |
Display file contents in a nice manner.
Reimplemented from Linker::Format.
|
overridevirtual |
Loads file into memory.
Implements Linker::Format.
|
overridevirtual |
Stores data in memory to file.
Implements Linker::Format.