Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
d760470
Update ci.yml
julerobb1 Jul 15, 2025
298ba65
Update CI workflow to use single-line test command
julerobb1 Jul 15, 2025
b1c8c5c
Create launch.json
julerobb1 Jul 16, 2025
48e85aa
Update tasks.json
julerobb1 Jul 16, 2025
174cbd9
Update ArchiveExtractor.cs
julerobb1 Jul 16, 2025
28a0653
Update ProcessorEmulator.exe
julerobb1 Jul 16, 2025
810f8eb
Update MainWindow.xaml.cs
julerobb1 Jul 16, 2025
3a64f9b
Update apphost.exe
julerobb1 Jul 16, 2025
a2e6825
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 16, 2025
de7246e
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 16, 2025
809916a
Update ProcessorEmulator.assets.cache
julerobb1 Jul 16, 2025
9a99f16
Update ProcessorEmulator.GeneratedMSBuildEditorConfig.editorconfig
julerobb1 Jul 16, 2025
54293a4
Update ProcessorEmulator.genruntimeconfig.cache
julerobb1 Jul 16, 2025
829f73a
Update ProcessorEmulator.sourcelink.json
julerobb1 Jul 16, 2025
f0c545f
Update ProcessorEmulator_MarkupCompile.cache
julerobb1 Jul 16, 2025
c3fcfd2
Update ProcessorEmulator.csproj.nuget.dgspec.json
julerobb1 Jul 16, 2025
cf1833c
Update project.nuget.cache
julerobb1 Jul 16, 2025
c6936bb
Update ProcessorEmulator.csproj
julerobb1 Jul 16, 2025
8e55ead
Update tasks.json
julerobb1 Jul 17, 2025
700dada
Update ArchiveExtractor.cs
julerobb1 Jul 17, 2025
717de9a
Update ProcessorEmulator.deps.json
julerobb1 Jul 17, 2025
cf2658e
Update ProcessorEmulator.exe
julerobb1 Jul 17, 2025
bf3f233
Update apphost.exe
julerobb1 Jul 17, 2025
fa45486
Create Processo.4E19C3D8.Up2Date
julerobb1 Jul 17, 2025
e055d7a
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 17, 2025
7632991
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 17, 2025
199cd2a
Update ProcessorEmulator.assets.cache
julerobb1 Jul 17, 2025
8ffffb9
Create ProcessorEmulator.csproj.AssemblyReference.cache
julerobb1 Jul 17, 2025
4aba259
Update ProcessorEmulator.csproj.CoreCompileInputs.cache
julerobb1 Jul 17, 2025
c67406c
Add SharpCompress dependency to project
julerobb1 Jul 17, 2025
99b2382
Add SharpCompress package to project dependencies
julerobb1 Jul 17, 2025
7ab0d51
Update ProcessorEmulator.csproj
julerobb1 Jul 17, 2025
0d1c807
Update ArchiveExtractor.cs
julerobb1 Jul 17, 2025
217946a
Update ProcessorEmulator.exe
julerobb1 Jul 17, 2025
1e284ec
Update apphost.exe
julerobb1 Jul 17, 2025
e64bc66
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 17, 2025
f90f2a0
Update ArchiveExtractor.cs
julerobb1 Jul 17, 2025
52edd7d
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 17, 2025
b978515
Update ProcessorEmulator.sourcelink.json
julerobb1 Jul 17, 2025
049a0db
Update ArchiveExtractor.cs
julerobb1 Jul 17, 2025
2ad30e0
Down the rabbithole we go.
julerobb1 Jul 17, 2025
8bf82fc
Sometimes you gotta wipe it and start fresh
julerobb1 Jul 17, 2025
bb5f401
Update ArchiveExtractor.cs
julerobb1 Jul 17, 2025
ab20390
Update ProcessorEmulator.exe
julerobb1 Jul 17, 2025
43741f3
Update apphost.exe
julerobb1 Jul 17, 2025
80c7e36
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 17, 2025
ace0c16
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 17, 2025
d178790
Update ProcessorEmulator.assets.cache
julerobb1 Jul 17, 2025
7847daf
Update ProcessorEmulator.GeneratedMSBuildEditorConfig.editorconfig
julerobb1 Jul 17, 2025
37e1503
Update ProcessorEmulator.genruntimeconfig.cache
julerobb1 Jul 17, 2025
1d236cb
Update ProcessorEmulator.sourcelink.json
julerobb1 Jul 17, 2025
f10b690
Update ProcessorEmulator_MarkupCompile.cache
julerobb1 Jul 17, 2025
714b477
Update ProcessorEmulator.csproj.nuget.dgspec.json
julerobb1 Jul 17, 2025
301389b
Update project.nuget.cache
julerobb1 Jul 17, 2025
e28b714
D'oh!
julerobb1 Jul 18, 2025
4d5e387
Update AssemblyInfo for new build
julerobb1 Jul 18, 2025
7f921f9
Workin' for MCA
julerobb1 Jul 18, 2025
9df8219
Create Program.cs
julerobb1 Jul 18, 2025
57a7681
Update build output paths to use uppercase drive letter
julerobb1 Jul 18, 2025
21a7352
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 18, 2025
670c887
Add YAFFS extraction stub and integrate with ArchiveExtractor
julerobb1 Jul 18, 2025
48efdc2
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 18, 2025
df8eaef
Add YAFFS filesystem extraction support
julerobb1 Jul 18, 2025
ea8590c
We request ... A SHRUBBERY
julerobb1 Jul 18, 2025
3cf402b
oh brave sir robin
julerobb1 Jul 18, 2025
263ee88
Update CI workflow to use correct solution file
julerobb1 Jul 19, 2025
bedbf52
Add support for TRX and XMI archive extraction
julerobb1 Jul 19, 2025
61b2540
Add DiscUtils.Core and related dependencies
julerobb1 Jul 19, 2025
652a8a8
Update ProcessorEmulator executable
julerobb1 Jul 19, 2025
ad515f1
Update apphost.exe binary
julerobb1 Jul 19, 2025
65037c8
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 19, 2025
95129ca
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 19, 2025
c1f9d99
Update ProcessorEmulator.assets.cache
julerobb1 Jul 19, 2025
0f3a808
Update ProcessorEmulator.csproj.AssemblyReference.cache
julerobb1 Jul 19, 2025
5af2199
Switch .bin extraction to use binwalk
julerobb1 Jul 19, 2025
6c071e3
Update ProcessorEmulator.csproj.CoreCompileInputs.cache
julerobb1 Jul 19, 2025
48c6237
Update ProcessorEmulator.csproj.FileListAbsolute.txt
julerobb1 Jul 19, 2025
3087d76
Update ProcessorEmulator.sourcelink.json
julerobb1 Jul 19, 2025
fe54ab1
Update ProcessorEmulator_MarkupCompile.cache
julerobb1 Jul 19, 2025
8fb935d
Update ProcessorEmulator.csproj.nuget.dgspec.json
julerobb1 Jul 19, 2025
895f5e5
Update project.assets.json
julerobb1 Jul 19, 2025
844f10c
Update project.nuget.cache
julerobb1 Jul 19, 2025
85f5987
Update ProcessorEmulator.csproj
julerobb1 Jul 19, 2025
2961b7f
Create TrxExtractor.cs
julerobb1 Jul 19, 2025
c843b34
Create XmiExtractor.cs
julerobb1 Jul 19, 2025
fa5edd2
Update ArchiveExtractor.cs
julerobb1 Jul 19, 2025
8efa215
Update build outputs and assembly metadata
julerobb1 Jul 19, 2025
b87c1cf
Implement XMI extraction and refactor archive methods
julerobb1 Jul 19, 2025
5ef0d07
Update ArchiveExtractor.cs
julerobb1 Jul 19, 2025
faf7746
Update ProcessorEmulator.exe
julerobb1 Jul 19, 2025
bf1c1ad
Update apphost.exe
julerobb1 Jul 19, 2025
0222c1f
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 19, 2025
93665ba
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 19, 2025
b58ff75
Update ProcessorEmulator.sourcelink.json
julerobb1 Jul 19, 2025
565a91c
Update XmiExtractor.cs
julerobb1 Jul 19, 2025
ca5734d
this is turning into a nightmare.
julerobb1 Jul 20, 2025
1921938
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 20, 2025
b8711b7
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 20, 2025
8b2295b
Update ProcessorEmulator.GeneratedMSBuildEditorConfig.editorconfig
julerobb1 Jul 20, 2025
b8d0395
Update ProcessorEmulator.csproj.nuget.dgspec.json
julerobb1 Jul 20, 2025
df726fb
Update project.assets.json
julerobb1 Jul 20, 2025
819fef6
Update project.nuget.cache
julerobb1 Jul 20, 2025
1a23b6f
Update MainWindow.xaml.cs
julerobb1 Jul 20, 2025
db53855
Update ProcessorEmulator.csproj
julerobb1 Jul 20, 2025
f92d03d
Add Windows CE filesystem mount and improve folder analysis
julerobb1 Jul 20, 2025
98cfee7
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 20, 2025
8ca08cc
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 20, 2025
08eafab
Update ProcessorEmulator.assets.cache
julerobb1 Jul 20, 2025
70e8197
Update ProcessorEmulator.csproj.AssemblyReference.cache
julerobb1 Jul 20, 2025
07f9e7c
Update ProcessorEmulator.csproj.nuget.dgspec.json
julerobb1 Jul 20, 2025
d7db919
Update project.assets.json
julerobb1 Jul 20, 2025
dd1d326
Update MainWindow.xaml.cs
julerobb1 Jul 20, 2025
7be718f
Update project.nuget.cache
julerobb1 Jul 20, 2025
86cca7e
Update ProcessorEmulator.csproj
julerobb1 Jul 20, 2025
4397a67
Update MainWindow.xaml.cs
julerobb1 Jul 20, 2025
bae7198
Update MainWindow.xaml.cs
julerobb1 Jul 20, 2025
533484e
Update ProcessorEmulator.deps.json
julerobb1 Jul 20, 2025
3f815d3
Update ProcessorEmulator.exe
julerobb1 Jul 20, 2025
4a96f5e
Update App.baml
julerobb1 Jul 20, 2025
c8eae21
Update App.g.cs
julerobb1 Jul 20, 2025
a3ddb89
Update apphost.exe
julerobb1 Jul 20, 2025
4c6dca3
Update ClassicStyle.baml
julerobb1 Jul 20, 2025
18636fc
Update MainWindow.baml
julerobb1 Jul 20, 2025
3d9eea4
Update MainWindow.g.cs
julerobb1 Jul 20, 2025
ff74703
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 20, 2025
f579aad
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 20, 2025
13ade17
Update ProcessorEmulator.csproj.CoreCompileInputs.cache
julerobb1 Jul 20, 2025
9165081
Update ProcessorEmulator.csproj.FileListAbsolute.txt
julerobb1 Jul 20, 2025
0928357
Update ProcessorEmulator.g.resources
julerobb1 Jul 20, 2025
ba68f6f
Update ProcessorEmulator.sourcelink.json
julerobb1 Jul 20, 2025
24c15e6
Update ProcessorEmulator_MarkupCompile.cache
julerobb1 Jul 20, 2025
f1cdf22
Minor formatting update in project file
julerobb1 Jul 20, 2025
a5cecbe
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 20, 2025
c361966
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 20, 2025
ea164b3
Update MainWindow.xaml.cs
julerobb1 Jul 20, 2025
e0c63b3
Update ProcessorEmulator.assets.cache
julerobb1 Jul 20, 2025
29d7900
Update ProcessorEmulator.csproj.AssemblyReference.cache
julerobb1 Jul 20, 2025
89c9571
Update ProcessorEmulator.csproj.nuget.dgspec.json
julerobb1 Jul 20, 2025
a2f7494
Update ProcessorEmulator.csproj.nuget.g.props
julerobb1 Jul 20, 2025
8a5dc91
Update project.assets.json
julerobb1 Jul 20, 2025
336c57b
Update project.nuget.cache
julerobb1 Jul 20, 2025
c044ef9
Update ProcessorEmulator.csproj
julerobb1 Jul 20, 2025
f56bf7c
Update MainWindow.xaml.cs
julerobb1 Jul 20, 2025
e0d63db
Update ProcessorEmulator.AssemblyInfo.cs
julerobb1 Jul 20, 2025
c2c12f6
Update ProcessorEmulator.AssemblyInfoInputs.cache
julerobb1 Jul 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ jobs:
dotnet-version: '6.0.x'

- name: Restore dependencies
run: dotnet restore
run: dotnet restore Processor-Emulator.sln

- name: Build solution
run: dotnet build ProcessorEmulator.csproj --configuration Release --no-restore
run: dotnet build Processor-Emulator.sln --configuration Release --no-restore

- name: Run tests (if any)
run: |
echo "Skipping tests: no test projects defined."
run: echo "Skipping tests: no test projects defined."
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Processor Emulator",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "Build Project",
"program": "${workspaceFolder}/bin/Debug/net6.0-windows/ProcessorEmulator.exe",
"cwd": "${workspaceFolder}",
"console": "integratedTerminal"
}
]
}
20 changes: 12 additions & 8 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@
"label": "Build Project",
"type": "shell",
"command": "dotnet build \"${workspaceFolder}/ProcessorEmulator.csproj\" --configuration Debug",
"group": "build",
"problemMatcher": "$msCompile"
},
{
"label": "Watch Build",
"type": "shell",
"command": "dotnet watch build --project \"${workspaceFolder}/ProcessorEmulator.csproj\" --configuration Debug",
"isBackground": true,
"problemMatcher": "$msCompile",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": ["$msCompile"]
"isDefault": false
}
}
]
}
}
46 changes: 45 additions & 1 deletion App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,53 @@
using System;
using System.IO;
using System.Windows;

namespace ProcessorEmulator
{
public partial class App : Application
{
// ...existing code...
protected override void OnStartup(StartupEventArgs e)
{
// If CLI args provided, run extract/analyze logic instead of WPF UI
if (e.Args.Length > 0)
{
int exitCode = 0;
try
{
var args = e.Args;
var cmd = args[0].ToLowerInvariant();
switch (cmd)
{
case "analyze":
if (args.Length != 2)
throw new ArgumentException("Usage: analyze <inputFile>");
ArchiveExtractor.AnalyzeArchive(args[1]);
break;
case "extract":
if (args.Length != 3)
throw new ArgumentException("Usage: extract <inputFile> <outputDirectory>");
var input = args[1];
var outputDir = args[2];
if (!File.Exists(input))
throw new FileNotFoundException(input);
ArchiveExtractor.ExtractArchive(input, outputDir);
Console.WriteLine("Extraction complete.");
break;
default:
throw new ArgumentException($"Unknown command: {cmd}");
}
}
catch (Exception ex)
{
Console.Error.WriteLine(ex.Message);
exitCode = 1;
}
// Exit immediately with code
Environment.Exit(exitCode);
return;
}
// Otherwise start normal WPF UI
base.OnStartup(e);
}
}
}
Loading
Loading