Skip to content

semuhphor/S1130

Repository files navigation

S1130

IBM 1130 Emulator in C#

This is an IBM 1130 emulator modified to build and run with .NET Core, compatible with Linux, Mac, and Windows.

The emulator provides a complete IBM 1130 system simulation including:

  • CPU instruction set implementation
  • Device emulation (2501 card reader, 2310 disk drive)
  • Memory management
  • Interrupt handling

Getting Started

Prerequisites

Building the Project

  1. Clone the repository:

    git clone https://github.com/semuhphor/S1130.git
    cd S1130
  2. Restore dependencies and build:

    dotnet build

Running Tests

Execute the comprehensive test suite:

dotnet test

The project includes 335+ unit tests covering CPU instructions, device operations, and system integration scenarios. Test execution typically completes in under 2 seconds.

Test Output

  • Passed/Failed/Skipped counts: Summary of test execution results
  • Performance metrics: The test suite includes performance benchmarks (e.g., "1M Instructions in 1000ms")
  • Coverage: Tests validate instruction execution, device behavior, and edge cases

Project Status

  • CPU Core: Fully functional instruction set implementation
  • 2501 Card Reader: Complete with test coverage
  • 🚧 2310 Disk Drive: Partial implementation in progress
  • 📋 PowerShell Integration: Legacy script available but untested

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines on:

  • Code style and conventions
  • Testing requirements
  • Pull request process

Development Guidelines

  • Test-Driven Development: All new code should include comprehensive unit tests
  • Documentation: Public APIs should include XML documentation comments
  • Error Handling: Exception-prone areas require robust error handling and clear failure modes

Useful Links

License

This project maintains the original licensing terms. Please see the repository for specific license information.


Thanks,
Bob Flanders and contributors

About

IBM 1130 Emulator in C#

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •