|
RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
An unparsed record type, if the format is not recognized. More...
#include <omf.h>
Public Member Functions | |
| UnknownRecord (uint8_t record_type=0) | |
| void | ReadRecordContents (OMFFormat *omf, Linker::Reader &rd) override |
| Reads the record contents, except for the type, length and checksum. | |
| uint16_t | GetRecordSize (OMFFormat *omf) const override |
| Calculates the required bytes to write the record, might be less than record_length. | |
| void | WriteRecordContents (OMFFormat *omf, ChecksumWriter &wr) const override |
| Writes the record contents, except for the type, length and checksum. | |
Public Member Functions inherited from OMF::OMFFormat::Record | |
| Record (uint8_t record_type=0) | |
| virtual void | WriteRecord (OMFFormat *omf, Linker::Writer &wr) const |
| Writes the full record. | |
Public Attributes | |
| std::vector< uint8_t > | data |
| Contents of the record, without the type, length and checksum. | |
Public Attributes inherited from OMF::OMFFormat::Record | |
| offset_t | record_offset |
| Offset of record within the file. | |
| uint16_t | record_length |
| Length of record body file, excluding the type byte and 2-byte length field. | |
| uint8_t | record_type |
| A byte value identifying the type of record. | |
An unparsed record type, if the format is not recognized.
|
overridevirtual |
Calculates the required bytes to write the record, might be less than record_length.
Implements OMF::OMFFormat::Record.
|
overridevirtual |
Reads the record contents, except for the type, length and checksum.
Implements OMF::OMFFormat::Record.
|
overridevirtual |
Writes the record contents, except for the type, length and checksum.
Implements OMF::OMFFormat::Record.