mirror of
https://github.com/ksherlock/x65.git
synced 2024-12-27 13:29:18 +00:00
Allow code to be compiled in "zero page"
This commit is contained in:
parent
f3b33acf88
commit
060be58f41
2
x65.cpp
2
x65.cpp
@ -2487,7 +2487,7 @@ uint8_t* Asm::BuildExport(strref append, int &file_size, int &addr) {
|
|||||||
(!i->include_from && allSections[first_link_section].include_from)))))
|
(!i->include_from && allSections[first_link_section].include_from)))))
|
||||||
first_link_section = SectionId(*i);
|
first_link_section = SectionId(*i);
|
||||||
has_relative_section = true;
|
has_relative_section = true;
|
||||||
} else if (i->start_address >= 0x100 && ( i->size() > 0 || i->addr_size() > 0 ) ) {
|
} else if (i->size() > 0 || i->addr_size() > 0) {
|
||||||
has_fixed_section = true;
|
has_fixed_section = true;
|
||||||
bool inserted = false;
|
bool inserted = false;
|
||||||
for (std::vector<Section*>::iterator f = FixedExport.begin(); f != FixedExport.end(); ++f) {
|
for (std::vector<Section*>::iterator f = FixedExport.begin(); f != FixedExport.end(); ++f) {
|
||||||
|
Loading…
Reference in New Issue
Block a user