|
libsidplayfp
2.0.2
|
#include <reloc65.h>
Public Types | |
| enum | segment_t { WHOLE, TEXT, DATA, BSS, ZEROPAGE } |
Public Member Functions | |
| void | setReloc (segment_t type, int addr) |
| void | setExtract (segment_t type) |
| bool | reloc (unsigned char **buf, int *fsize) |
reloc65 – A part of xa65 - 65xx/65816 cross-assembler and utility suite o65 file relocator.
| bool reloc65::reloc | ( | unsigned char ** | buf, |
| int * | fsize | ||
| ) |
Do the relocation.
| buf | beffer containing o65 data |
| fsize | size of the data |
| void reloc65::setExtract | ( | segment_t | type | ) |
Select segment to extract.
| type | the segment to extract |
| void reloc65::setReloc | ( | segment_t | type, |
| int | addr | ||
| ) |
Select segment to relocate.
| type | the segment to relocate |
| addr | new address |
1.8.18