RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
Represents an attached RSX file (residential system extension) More...
#include <cpm86.h>
Public Member Functions | |
void | Clear () |
void | Read (Linker::Reader &rd) |
void | ReadModule (Linker::Reader &rd) |
void | Write (Linker::Writer &wr) const |
void | WriteModule (Linker::Writer &wr) const |
offset_t | GetFullFileSize () const |
void | SetOffset (offset_t new_offset) |
void | Dump (Dumper::Dumper &dump) const |
Public Attributes | |
std::string | rsx_file_name |
The host filename of the RSX file, used only for writing. | |
std::string | name |
The filename of the RSX file, 8-byte long. | |
uint16_t | offset_record = 0 |
The offset to the attached RSX file, in 128-byte units. | |
std::shared_ptr< Linker::Image > | contents |
A reference to the stored module, either parsed or a raw block of data. | |
Static Public Attributes | |
static constexpr uint16_t | RSX_TERMINATE = 0xFFFF |
static constexpr uint16_t | RSX_DYNAMIC = 0x0000 |
Represents an attached RSX file (residential system extension)
Any CMD file may contain a number of RSX attachments, either stored within the same file, or on disk
uint16_t DigitalResearch::CPM86Format::rsx_record::offset_record = 0 |
The offset to the attached RSX file, in 128-byte units.
The special value 0x0000 represents that the RSX file is stored separately and must be loaded dynamically. The special value 0xFFFF does not belong to an actual RSX file, but signals the end of an RSX record table.