mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-04 15:05:03 +00:00
03a0fc13fd
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. |
||
---|---|---|
.. | ||
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 | ||
EditBitmapAnimation.xaml | ||
EditBitmapAnimation.xaml.cs | ||
EditComment.xaml | ||
EditComment.xaml.cs | ||
EditDataBank.xaml | ||
EditDataBank.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 | ||
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 | ||
FormatAddressTable.xaml.cs | ||
GotoBox.xaml | ||
GotoBox.xaml.cs | ||
MainWindow.xaml | ||
MainWindow.xaml.cs | ||
NewProject.xaml | ||
NewProject.xaml.cs | ||
ProjectLoadIssues.xaml | ||
ProjectLoadIssues.xaml.cs | ||
ShowWireframeAnimation.xaml | ||
ShowWireframeAnimation.xaml.cs |