|
RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
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::Image > | image = nullptr |
| Storage for segment. | |
Represents a segment within the module.