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

Represents a segment within the module. More...

#include <cpm8k.h>

Public Types

enum  segment_type {
  BSS = 1 , STACK , CODE , RODATA ,
  DATA , MIXED , MIXED_PROTECTABLE
}
 The type of a segment.
 

Public Member Functions

void Clear ()
 
bool IsPresent () const
 

Public Attributes

uint8_t number = 0xFF
 Each segment has an associated number. For 0xFF, the linker can assign a value. For segmented executables, this is the segment number that will be used.
 
segment_type type = segment_type(0)
 The type of the segment.
 
uint16_t length = 0
 Length of segment in bytes.
 
std::shared_ptr< Linker::Writableimage = nullptr
 Storage for segment.
 

Detailed Description

Represents a segment within the module.


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