mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
74 lines
4 KiB
XML
74 lines
4 KiB
XML
<UserControl
|
|
xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:cfg="using:Mesen.Config"
|
|
xmlns:c="using:Mesen.Controls"
|
|
xmlns:dc="using:Mesen.Debugger.Controls"
|
|
mc:Ignorable="d"
|
|
Design.Width="200"
|
|
Design.Height="600"
|
|
VerticalAlignment="Stretch"
|
|
HorizontalAlignment="Stretch"
|
|
x:DataType="cfg:PceEventViewerConfig"
|
|
x:Class="Mesen.Debugger.Views.PceEventViewerConfigView"
|
|
>
|
|
<Design.DataContext>
|
|
<cfg:PceEventViewerConfig />
|
|
</Design.DataContext>
|
|
|
|
<StackPanel>
|
|
<Grid ColumnDefinitions="10, 1*, 10, 1*" RowDefinitions="Auto,Auto,Auto,Auto,Auto,Auto">
|
|
<c:OptionSection Header="VDC writes" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Margin="0" />
|
|
<c:OptionSection Header="VDC reads" Grid.Row="0" Grid.Column="2" Grid.ColumnSpan="2" Margin="10 0 0 0" />
|
|
<StackPanel Grid.Column="1" Grid.Row="1">
|
|
<dc:EventViewerCategoryControl Text="Reg. Select" Config="{Binding VdcRegSelectWrites}" />
|
|
<dc:EventViewerCategoryControl Text="VRAM" Config="{Binding VdcVramWrites}" />
|
|
<dc:EventViewerCategoryControl Text="Control" Config="{Binding VdcControlWrites}" />
|
|
<dc:EventViewerCategoryControl Text="RCR" Config="{Binding VdcRcrWrites}" />
|
|
<dc:EventViewerCategoryControl Text="X/Y Scroll" Config="{Binding VdcScrollWrites}" />
|
|
<dc:EventViewerCategoryControl Text="Memory Width" Config="{Binding VdcMemoryWidthWrites}" />
|
|
<dc:EventViewerCategoryControl Text="H/V Display" Config="{Binding VdcHvConfigWrites}" />
|
|
<dc:EventViewerCategoryControl Text="DMA Control" Config="{Binding VdcDmaWrites}" />
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="3" Grid.Row="1">
|
|
<dc:EventViewerCategoryControl Text="Status" Config="{Binding VdcStatusReads}" />
|
|
<dc:EventViewerCategoryControl Text="VRAM" Config="{Binding VdcVramReads}" />
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<Grid ColumnDefinitions="10, 1*, 10, 1*" RowDefinitions="Auto,Auto,Auto,Auto,Auto,Auto" Margin="0 15 0 0">
|
|
<c:OptionSection Header="Register writes" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Margin="0" />
|
|
<c:OptionSection Header="Register reads" Grid.Row="0" Grid.Column="2" Grid.ColumnSpan="2" Margin="10 0 0 0" />
|
|
<StackPanel Grid.Column="1" Grid.Row="1">
|
|
<dc:EventViewerCategoryControl Text="VCE" Config="{Binding VceWrites}" />
|
|
<dc:EventViewerCategoryControl Text="PSG" Config="{Binding PsgWrites}" />
|
|
<dc:EventViewerCategoryControl Text="Timer" Config="{Binding TimerWrites}" />
|
|
<dc:EventViewerCategoryControl Text="I/O" Config="{Binding IoWrites}" />
|
|
<dc:EventViewerCategoryControl Text="IRQ" Config="{Binding IrqControlWrites}" />
|
|
<dc:EventViewerCategoryControl Text="CD-ROM" Config="{Binding CdRomWrites}" />
|
|
<dc:EventViewerCategoryControl Text="ADPCM" Config="{Binding AdpcmWrites}" />
|
|
<dc:EventViewerCategoryControl Text="Arcade" Config="{Binding ArcadeCardWrites}" />
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="3" Grid.Row="1">
|
|
<dc:EventViewerCategoryControl Text="VCE" Config="{Binding VceReads}" />
|
|
<dc:EventViewerCategoryControl Text="PSG" Config="{Binding PsgReads}" />
|
|
<dc:EventViewerCategoryControl Text="Timer" Config="{Binding TimerReads}" />
|
|
<dc:EventViewerCategoryControl Text="I/O" Config="{Binding IoReads}" />
|
|
<dc:EventViewerCategoryControl Text="IRQ" Config="{Binding IrqControlReads}" />
|
|
<dc:EventViewerCategoryControl Text="CD-ROM" Config="{Binding CdRomReads}" />
|
|
<dc:EventViewerCategoryControl Text="ADPCM" Config="{Binding AdpcmReads}" />
|
|
<dc:EventViewerCategoryControl Text="Arcade" Config="{Binding ArcadeCardReads}" />
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<c:OptionSection Header="Other events" />
|
|
<StackPanel>
|
|
<dc:EventViewerCategoryControl Text="IRQ" Config="{Binding Irq}" />
|
|
<dc:EventViewerCategoryControl Text="Marked Breakpoints" Config="{Binding MarkedBreakpoints}" />
|
|
</StackPanel>
|
|
|
|
<CheckBox Margin="0 10 0 0" IsChecked="{Binding ShowPreviousFrameEvents}" Content="Show previous frame events" />
|
|
</StackPanel>
|
|
</UserControl>
|