1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-09-29 16:54:50 +00:00
6502bench/SourceGen
Andy McFadden 2065f4ef9e Attempt to generate segment names for cc65
This worked, sort of.  The problem is that SourceGen will revert to
hex output in certain situations, such as a broken symbolic
reference.  There happens to be one in the ZIPPY example, and it's
on a relative branch.

The goal with the segment stuff is to allow cc65 to treat the
source as relocatable code.  In that context, a relative branch to
an absolute address doesn't make any sense, so the assembler reports
a range error.

We don't currently have a mechanism that guarantees no references
are broken (and no affordance for finding them), so we can't make
this mode the default yet.

Instead, we continue to use the generic config, but generate the
correct set of lines as comments.

(issue #39)
2018-11-18 15:11:29 -08:00
..
AppForms Add Actions > Format As Word (Ctrl+W) 2018-11-11 17:25:02 -08:00
AsmGen Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
Examples
Properties Add Actions > Format As Word (Ctrl+W) 2018-11-11 17:25:02 -08:00
RuntimeData Add Actions > Format As Word (Ctrl+W) 2018-11-11 17:25:02 -08:00
Sandbox Update some comments 2018-10-10 16:41:03 -07:00
Setup Code cleanup 2018-10-29 15:48:19 -07:00
SGTestData Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
Tests Progress toward new assembler configuration 2018-10-20 21:24:28 -07:00
Tools Hex dump shows file offset, not address 2018-10-15 17:24:32 -07:00
AddressMap.cs Attempt to generate segment names for cc65 2018-11-18 15:11:29 -08:00
Anattrib.cs
App.config
AppSettings.cs Optionally add spaces in the "bytes" column 2018-10-21 21:08:48 -07:00
ChangeSet.cs
CodeAnalysis.cs
DataAnalysis.cs Expand set of things that work with double-click on opcode 2018-11-03 15:03:25 -07:00
DefSymbol.cs
DisasmProject.cs Expand set of things that work with double-click on opcode 2018-11-03 15:03:25 -07:00
DisplayList.cs Code cleanup 2018-10-29 15:48:19 -07:00
ExternalFile.cs
FormatDescriptor.cs
HelpAccess.cs
MultiLineComment.cs
NavStack.cs
PlatformSymbols.cs
Program.cs Version 1.1.0-dev2 2018-11-12 10:12:27 -08:00
ProjectFile.cs
ProjectProperties.cs
PseudoOp.cs Improve the "common" expression formatter 2018-10-26 15:45:39 -07:00
RuntimeDataAccess.cs
SourceGen.csproj Upgrade "discard changes" dialog 2018-11-03 14:36:01 -07:00
SourceGenIcon.ico
Symbol.cs Expand set of things that work with double-click on opcode 2018-11-03 15:03:25 -07:00
SymbolTable.cs
SymbolTableSubset.cs
UndoableChange.cs
VirtualListViewSelection.cs
WeakSymbolRef.cs
XrefSet.cs