Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bemu-UE1
========
Bemu-UE1 is cycle accurate emulator for the Usagi Electric's UE1 vacuum tube computer.
It may contain some minor inaccuracies, but it should be accurate enough for most purposes. 
The emulator passes all the DIAPER and other tests. You can download the programs from https://github.com/Nakazoto/UEVTC/tree/main/UE1/Software/Binaries.
It's written in C and and uses standard C library, so no external dependencies are required.
For more information about the machine, see https://github.com/Nakazoto/UEVTC.

Building
========
Requirements: make, gcc(or other compiler), Unix-like environment(eg. Linux or macOS, WSL on Windows).
Just type `make` in the project directory and you're done.

Options
=======
The emulator accepts the following command line options:
- `--pos <positon>`: Set the initial tape position, in hex. Starts executing from this position. Example `--pos 0x1000`.
- `--tape <filename>`: Load a tape file. Example `--tape tape.bin`.
- `--speed <speed>`: Set the target clockspeed(hz) in decimal. Example `--speed 10000`.

Example usage: `./bemu-ue1 --tape tape.bin --speed 1000`
The tape file must be in binary format.

Controls
========
The emulator supports the following controls:
- `q`: Quit the emulator.
- `r`: Reset the emulator. Resets all registers and tape position to 0.
- `h`: Halt the emulator. Toggles the halt flag.
- `g`: Resume the emulator. Clears the halt flag.
- `1-7`: Toggle input pins 1-7.

License
=======
Copyright (c) 2026 Benjamin Helle
Bemu-UE1 is distributed under the GPL v2 license.

About

UE1 Emulator

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages