mirror of
https://github.com/fadden/6502bench.git
synced 2024-08-20 11:28:58 +00:00
The ability to give explicit widths to local variables worked out pretty well, so we're going to try adding the same thing to project and platform symbols. The first step is to allow widths to be specified in platform files, and set with the project symbol editor. The DefSymbol editor is also used for local variables, so a bit of dancing is required. For platform/project symbols the width is optional, and is totally ignored for constants. (For variables, constants are used for the StackRel args, so the width is meaningful and required.) We also now show the symbol's type (address or constant) and width in the listing. This gets really distracting when overused, so we only show it when the width is explicitly set. The default width is 1, which most things will be, so users can make an aesthetic choice there. (The place where widths make very little sense is when the symbol represents a code entry point, rather than a data item.) The maximum width of a local variable is now 256, but it's not allowed to overlap with other variables or run of the end of the direct page. The maximum width of a platform/project symbol is 65536, with bank-wrap behavior TBD. The local variable table editor now refers to stack-relative constants as such, rather than simply "constant", to make it clear that it's not just defining an 8-bit constant. Widths have been added to a handful of Apple II platform defs. |
||
---|---|---|
.. | ||
AboutBox.xaml | ||
AboutBox.xaml.cs | ||
CodeListItemStyle.xaml | ||
DataFileLoadIssue.xaml | ||
DataFileLoadIssue.xaml.cs | ||
DiscardChanges.xaml | ||
DiscardChanges.xaml.cs | ||
EditAddress.xaml | ||
EditAddress.xaml.cs | ||
EditAppSettings.xaml | ||
EditAppSettings.xaml.cs | ||
EditComment.xaml | ||
EditComment.xaml.cs | ||
EditDataOperand.xaml | ||
EditDataOperand.xaml.cs | ||
EditDefSymbol.xaml | ||
EditDefSymbol.xaml.cs | ||
EditInstructionOperand.xaml | ||
EditInstructionOperand.xaml.cs | ||
EditLabel.xaml | ||
EditLabel.xaml.cs | ||
EditLocalVariableTable.xaml | ||
EditLocalVariableTable.xaml.cs | ||
EditLongComment.xaml | ||
EditLongComment.xaml.cs | ||
EditLvTableLocation.xaml | ||
EditLvTableLocation.xaml.cs | ||
EditNote.xaml | ||
EditNote.xaml.cs | ||
EditProjectProperties.xaml | ||
EditProjectProperties.xaml.cs | ||
EditStatusFlags.xaml | ||
EditStatusFlags.xaml.cs | ||
Export.xaml | ||
Export.xaml.cs | ||
FindBox.xaml | ||
FindBox.xaml.cs | ||
FontPicker.xaml | ||
FontPicker.xaml.cs | ||
FormatAddressTable.xaml | ||
FormatAddressTable.xaml.cs | ||
GotoBox.xaml | ||
GotoBox.xaml.cs | ||
MainWindow.xaml | ||
MainWindow.xaml.cs | ||
NewProject.xaml | ||
NewProject.xaml.cs | ||
ProjectLoadIssues.xaml | ||
ProjectLoadIssues.xaml.cs |