mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-11 14:05:12 +00:00
4981c3cdbb
ACME has a "real" PC and a "pseudo" PC. The "real" PC determines the initial position in a 64KB buffer used to hold assembler output. If the amount of code generated runs off the end, the assembler fails with "produced too much code". The source code generator in SourceGen was outputting a "real" PC for the first address range and "psuedo" PCs for any address ranges that followed. This produced nice results for code with a single range, but caused problems for multi-range sources if the initial range was high in memory and a later range was lower in memory. While the assembler isn't actually generating more than 64KB of code, ACME's buffer management was detecting an overflow. Now, if a source file has multiple address ranges, we set the "real" PC to $0000 and use a "pseudo" PC for all ranges. Output for projects with a single address range is unmodified. |
||
---|---|---|
.. | ||
WpfGui | ||
AsmAcme.cs | ||
AsmCc65.cs | ||
AsmMerlin32.cs | ||
AsmTass64.cs | ||
AssemblerConfig.cs | ||
AssemblerInfo.cs | ||
AssemblerVersion.cs | ||
GenCommon.cs | ||
IAssembler.cs | ||
IGenerator.cs | ||
LabelLocalizer.cs |