RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DOS16M::BWFormat::DummySegment Class Reference
Inheritance diagram for DOS16M::BWFormat::DummySegment:
DOS16M::BWFormat::AbstractSegment

Public Member Functions

 DummySegment (uint32_t total_length, unsigned access=TYPE_DATA, unsigned flags=0)
 
void SetTotalSize (uint32_t new_value) override
 Modifies the total size of the segment, including the bss. Note that this is not guaranteed to work for all segment types.
 
uint32_t GetSize (BWFormat &bw) override
 Retrieves size of segment. Some subclasses might calculate this dynamically.
 
void WriteContent (Linker::Writer &wr, BWFormat &bw) override
 Produces the binary contents of the segment.
 
- Public Member Functions inherited from DOS16M::BWFormat::AbstractSegment
 AbstractSegment (unsigned access=TYPE_DATA, unsigned flags=0, uint32_t total_length=0)
 
uint32_t GetTotalSize ()
 Retrieves the total size of the segment, including the bss.
 
void WriteHeader (Linker::Writer &wr, BWFormat &bw)
 Produces the GDT entry for the header.
 

Additional Inherited Members

- Public Types inherited from DOS16M::BWFormat::AbstractSegment
enum  access_type { TYPE_DATA = 0x92 , TYPE_CODE = 0x9A }
 
enum  flag_type { FLAG_EMPTY = 0x2000 , FLAG_TRANSPARENT = 0x8000 }
 
- Public Attributes inherited from DOS16M::BWFormat::AbstractSegment
access_type access
 
flag_type flags
 
uint32_t address = 0
 
uint32_t total_length
 

Member Function Documentation

◆ GetSize()

uint32_t BWFormat::DummySegment::GetSize ( BWFormat & bw)
overridevirtual

Retrieves size of segment. Some subclasses might calculate this dynamically.

Implements DOS16M::BWFormat::AbstractSegment.

◆ SetTotalSize()

void BWFormat::DummySegment::SetTotalSize ( uint32_t new_value)
overridevirtual

Modifies the total size of the segment, including the bss. Note that this is not guaranteed to work for all segment types.

Reimplemented from DOS16M::BWFormat::AbstractSegment.

◆ WriteContent()

void BWFormat::DummySegment::WriteContent ( Linker::Writer & wr,
BWFormat & bw )
overridevirtual

Produces the binary contents of the segment.

Implements DOS16M::BWFormat::AbstractSegment.


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