1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-04 15:05:03 +00:00
6502bench/SourceGen/WpfGui
Andy McFadden 03a0fc13fd Expand max local variable width to 257
Code generated by one of the C compilers sets up the stack frame and
then maps the direct page on top of it.  If the value at the top of
the stack is 16 bits, it will be referenced via address $ff.  The
local variable editor was regarding this as illegal, because lvars are
currently only defined for direct page data, and the value doesn't
entirely fit there (unless you're doing an indirect JMP on an NMOS
6502, in which case it wraps around to $00... but let's ignore that).

The actual max width of a local variable is 257 because of the
possibility of a 16-bit access at $ff.

Older versions of SourceGen don't seem to have an issue when they
encounter this situation, as worrying about (start+width) is really
just an editor affectation.  The access itself is still a direct-page
operation.  You won't be able to edit the entry without reducing the
length, but otherwise everything works.  I don't think there's a need
to bump the file version.
2021-07-20 13:08:19 -07:00
..
AboutBox.xaml Version 1.7.4 2021-06-08 13:15:19 -07:00
AboutBox.xaml.cs
CodeListItemStyle.xaml
DataFileLoadIssue.xaml
DataFileLoadIssue.xaml.cs
DiscardChanges.xaml
DiscardChanges.xaml.cs
EditAddress.xaml
EditAddress.xaml.cs
EditAppSettings.xaml Add toolbar button for "show cycle counts" 2020-09-04 17:49:28 -07:00
EditAppSettings.xaml.cs Split "show cycle counts" in two 2020-08-27 13:59:53 -07:00
EditBitmapAnimation.xaml
EditBitmapAnimation.xaml.cs
EditComment.xaml
EditComment.xaml.cs
EditDataBank.xaml
EditDataBank.xaml.cs
EditDataOperand.xaml
EditDataOperand.xaml.cs
EditDefSymbol.xaml Expand max local variable width to 257 2021-07-20 13:08:19 -07:00
EditDefSymbol.xaml.cs Expand max local variable width to 257 2021-07-20 13:08:19 -07:00
EditInstructionOperand.xaml
EditInstructionOperand.xaml.cs Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
EditLabel.xaml
EditLabel.xaml.cs
EditLocalVariableTable.xaml Add Ctrl+Enter as a way to close the LVTable edit dialog 2020-08-27 17:09:18 -07:00
EditLocalVariableTable.xaml.cs Add Ctrl+Enter as a way to close the LVTable edit dialog 2020-08-27 17:09:18 -07:00
EditLongComment.xaml
EditLongComment.xaml.cs
EditLvTableLocation.xaml
EditLvTableLocation.xaml.cs
EditNote.xaml
EditNote.xaml.cs
EditProjectProperties.xaml Add W65C02S support, part 1 2020-10-10 15:46:34 -07:00
EditProjectProperties.xaml.cs Add W65C02S support, part 1 2020-10-10 15:46:34 -07:00
EditStatusFlags.xaml
EditStatusFlags.xaml.cs Set owner of status flags edit window 2021-06-03 17:16:07 -07:00
EditVisualization.xaml
EditVisualization.xaml.cs
EditVisualizationSet.xaml
EditVisualizationSet.xaml.cs
Export.xaml
Export.xaml.cs
ExportVisualization.xaml
ExportVisualization.xaml.cs
FindBox.xaml
FindBox.xaml.cs
FontPicker.xaml
FontPicker.xaml.cs
FormatAddressTable.xaml Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
FormatAddressTable.xaml.cs Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
GotoBox.xaml
GotoBox.xaml.cs
MainWindow.xaml Rename "hints" to "analyzer tags" 2020-10-15 16:55:29 -07:00
MainWindow.xaml.cs Work around minor column width update issue 2021-06-03 15:03:22 -07:00
NewProject.xaml
NewProject.xaml.cs
ProjectLoadIssues.xaml
ProjectLoadIssues.xaml.cs
ShowWireframeAnimation.xaml
ShowWireframeAnimation.xaml.cs