1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-17 09:04:43 +00:00

Minor tweaks

Added a blank line after local variable tables.  Otherwise they
just sort of blend in with the stuff around them.

Put prefixes before the DOS 3.3 platform symbols.

Added a BAS_HBASH entry.  We were getting BAS_HBASL and MON_GBASH
paired up, which looks weird.

Apply a very light tint to the preview section of the Edit Long
Comment dialog, to hint that the window is read-only.
This commit is contained in:
Andy McFadden 2019-09-25 16:10:07 -07:00
parent 0877857e7e
commit 7739f640f5
5 changed files with 13 additions and 8 deletions

View File

@ -956,6 +956,7 @@ namespace SourceGen {
Line line = new Line(offset, 0, Line.Type.LocalVariableTable, i);
lines.Add(line);
}
lines.Add(GenerateBlankLine(offset));
}
if (attr.IsInstructionStart) {

View File

@ -13,7 +13,8 @@ BAS_VALTYP @ $11 ;flag for last FAC operation ($00=num, $FF=str)
BAS_SUBFLG @ $14 ;subscript flag ($00=allowed, $80=not)
BAS_HCOLOR1 @ $1C ;hi-res color mask
BAS_COUNTH @ $1D ;hi-res high-order byte of step for line
BAS_HBASL @ $26 ;base address for hi-res drawing (2b)
BAS_HBASL @ $26 ;base address for hi-res drawing (lo part)
BAS_HBASH @ $27 ;base address for hi-res drawing (hi part)
BAS_HMASK @ $30 ;hi-res graphics on-the-fly bit mask
BAS_LINNUM @ $50 ;line number (2b)
BAS_TEMPPT @ $52 ;temporary point (2b)

View File

@ -5,9 +5,9 @@
*SYNOPSIS DOS 3.3 public addresses and constants.
DOSWRM @ $3d0 ;DOS warmstart entry point
DOSCLD @ $3d3 ;DOS coldstart entry point
FM @ $3d6 ;DOS file manager entry point
RWTS @ $3d9 ;RWTS entry point
LOCFPL @ $3dc ;loads Y/A with address of FM param list
LOCRPL @ $3e3 ;loads Y/A with address of RWTS IOB
DOS_WRM @ $3d0 ;DOS warmstart entry point
DOS_CLD @ $3d3 ;DOS coldstart entry point
DOS_FM @ $3d6 ;DOS file manager entry point
DOS_RWTS @ $3d9 ;RWTS entry point
DOS_LOCFPL @ $3dc ;loads Y/A with address of FM param list
DOS_LOCRPL @ $3e3 ;loads Y/A with address of RWTS IOB

View File

@ -43,6 +43,9 @@ namespace SourceGen {
///
/// The type comparison ensures that project symbols appear before platform symbols,
/// so that you can "overwrite" a platform symbol with the same value.
///
/// TODO(someday): sort by symbol file load order, so you can choose which set of
/// symbols gets to represent a given address. Mostly useful for zero-page variables.
/// </summary>
private class CompareByValue : IComparer<Symbol> {
public int Compare(Symbol a, Symbol b) {

View File

@ -68,7 +68,7 @@ limitations under the License.
Text="{Binding TextOutput,
FallbackValue=01234567890123456789012345678901234567890123456789012345678901234567890123456789}"
FontFamily="{StaticResource GeneralMonoFont}" VerticalScrollBarVisibility="Visible"
IsReadOnly="True"/>
IsReadOnly="True" Background="#f8f8f8"/>
<StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,8,0,0">
<Button Content="OK" IsDefault="True" Width="70" Click="OkButton_Click"/>