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
DigitalResearch::CPM86Format::LibraryDescriptor Class Reference
module nullptr

A special descriptor to represent the group for imported shared runtime libraries. More...

#include <cpm86.h>

Inheritance diagram for DigitalResearch::CPM86Format::LibraryDescriptor:
DigitalResearch::CPM86Format::Descriptor

Public Member Functions

void Clear () override
 
bool IsFastLoadFormat () const
 Support the newer POSTLINK format.
 
uint16_t GetSizeParas (const CPM86Format &module) const override
 Returns the size of the segment group in 16-byte paragraphs.
 
void WriteData (Linker::Writer &wr, const CPM86Format &module) override
 
void ReadData (Linker::Reader &rd, const CPM86Format &module) override
 
- Public Member Functions inherited from DigitalResearch::CPM86Format::Descriptor
void ReadDescriptor (Linker::Reader &rd)
 
void WriteDescriptor (Linker::Writer &wr, const CPM86Format &module)
 
std::string GetDefaultName ()
 

Public Attributes

std::vector< librarylibraries
 The shared runtime libraries to be imported.
 
- Public Attributes inherited from DigitalResearch::CPM86Format::Descriptor
group_type type = Undefined
 The type of the group.
 
uint16_t size_paras = 0
 Size of the group, as stored on disk, in 16-byte paragraphs.
 
uint16_t load_segment = 0
 Load segment address of the group, or 0 if it can be relocated. Not to be used outside of system drivers.
 
uint16_t min_size_paras = 0
 Minimum required size of the group, when loaded into memory, in 16-byte paragraphs.
 
uint16_t max_size_paras = 0
 Maximum required size of the group, when loaded into memory, in 16-byte paragraphs.
 
uint32_t offset = 0
 Offset to image in file.
 
std::shared_ptr< Linker::Writableimage = nullptr
 The actual binary image of the group.
 
bool attach_zero_page = false
 Set to true if a supplementary 256 bytes of zeros are required. When generating image, it is easier to just insert 256 bytes of 0 instead of modifying the image. This is not required when storing a file loaded from disk.
 

Additional Inherited Members

- Public Types inherited from DigitalResearch::CPM86Format::Descriptor
enum  group_type {
  Undefined , Code = 1 , Data , Extra ,
  Stack , Auxiliary1 , Auxiliary2 , Auxiliary3 ,
  Auxiliary4 , SharedCode , Fixups = Auxiliary4 , FastLoad = 0xFE ,
  Libraries = 0xFF , ActualAuxiliary4 = 0x100 | Auxiliary4 , ActualFixups = 0x200 | Fixups
}
 Group type, stored as the first byte of the descriptor. More...
 

Detailed Description

A special descriptor to represent the group for imported shared runtime libraries.

Member Function Documentation

◆ Clear()

void CPM86Format::LibraryDescriptor::Clear ( )
overridevirtual

◆ GetSizeParas()

uint16_t CPM86Format::LibraryDescriptor::GetSizeParas ( const CPM86Format & module) const
overridevirtual

Returns the size of the segment group in 16-byte paragraphs.

Reimplemented from DigitalResearch::CPM86Format::Descriptor.

◆ ReadData()

void CPM86Format::LibraryDescriptor::ReadData ( Linker::Reader & rd,
const CPM86Format & module )
overridevirtual

◆ WriteData()

void CPM86Format::LibraryDescriptor::WriteData ( Linker::Writer & wr,
const CPM86Format & module )
overridevirtual

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