-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Przemyslaw Rachwlal edited this page May 4, 2026
·
1 revision
- .NET 10 SDK
- Linux, macOS, or Windows
# Build everything
dotnet build CmosCpuSimulator.slnx
# Or just
dotnet build# Run all tests
dotnet test
# Run specific project tests
dotnet test tests/CmosCpu.Cpu.Tests
dotnet test tests/CmosCpu.Computer.Tests
dotnet test tests/Symulator.Application.Tests
# Run specific test
dotnet test --filter "FullyQualifiedName~KlausDormann"Note: Full
dotnet testmay hang due to infinite-loop tests inComputerRunControllerTests. Run per-project instead.
dotnet run --project src/Symulator.AvaloniaThis opens an Avalonia UI window where you can:
- Select a machine (Apple-1, KIM-1, Minimal Blink)
- Run, pause, step, and reset the emulator
- Interact with machine-specific panels (terminal, keypad, LED display)
dotnet run --project src/Symulator.Avalonia -- --machine apple1The application uses NLog.config for logging configuration. Machine profiles are in profiles/:
| Profile | Machine | CPU |
|---|---|---|
apple-1.json |
Apple-1 | MOS 6502 @ 1.023 MHz |
kim-1.json |
KIM-1 | MOS 6502 @ 1 MHz |
retro70-mos6502.json |
Retro70 | MOS 6502 @ 1 MHz |
Example programs with solution manifests are in programs/asm/:
# List available programs
ls programs/asm/*.solution.jsonLoad a program through the Minimal Blink machine UI.