mirror of
https://github.com/fadden/6502bench.git
synced 2024-08-17 07:29:01 +00:00
The previous code output a character in single-quotes if it was standard ASCII, double-quotes if high ASCII, or hex if it was neither of those. If a flag was set, high ASCII would also be output as hex. The new system takes the character value and an encoding identifier. The identifier selects the character converter and delimiter pattern, and puts the two together to generate the operand. While doing this I realized that I could trivially support high ASCII character arguments in all assemblers by setting the delimiter pattern to "'#' | $80". In FormatDescriptor, I had previously renamed the "Ascii" sub-type "LowAscii" so it wouldn't be confused, but I dislike filling the project file with "LowAscii" when "Ascii" is more accurate and less confusing. So I switched it back, and we now check the project file version number when deciding what to do with an ASCII item. The CharEncoding tests/converters were also renamed. Moved the default delimiter patterns to the string table. Widened the delimiter pattern input fields slightly. Added a read- only TextBox with assorted non-typewriter quotes and things so people have something to copy text from. |
||
---|---|---|
.. | ||
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 | ||
EditLongComment.xaml | ||
EditLongComment.xaml.cs | ||
EditNote.xaml | ||
EditNote.xaml.cs | ||
EditProjectProperties.xaml | ||
EditProjectProperties.xaml.cs | ||
EditStatusFlags.xaml | ||
EditStatusFlags.xaml.cs | ||
FindBox.xaml | ||
FindBox.xaml.cs | ||
FontPicker.xaml | ||
FontPicker.xaml.cs | ||
FormatSplitAddress.xaml | ||
FormatSplitAddress.xaml.cs | ||
GotoBox.xaml | ||
GotoBox.xaml.cs | ||
MainWindow.xaml | ||
MainWindow.xaml.cs | ||
NewProject.xaml | ||
NewProject.xaml.cs | ||
ProjectLoadIssues.xaml | ||
ProjectLoadIssues.xaml.cs |