Files
byte-pusher-emu/README.md

39 lines
961 B
Markdown
Raw Permalink Normal View History

2024-02-16 19:51:43 +05:30
# BytePusher Emulator
2024-02-19 14:29:44 +05:30
This is a play at emulating a BytePusher machine developed by [Javamannen](https://esolangs.org/wiki/User:Javamannen).
2024-02-20 22:58:44 +05:30
Binary builds for linux x86_64 is available in GitHub Action runs.
2024-02-19 14:29:44 +05:30
![Screen test](assets/screen_test.png)
Screenshot program author: [Javamannen](https://esolangs.org/wiki/User:Javamannen)
2024-02-16 19:51:43 +05:30
2024-02-17 13:04:41 +05:30
## Status
2024-02-19 13:03:33 +05:30
- [X] Memory
2024-02-17 13:04:41 +05:30
- [X] Color
2024-02-19 13:03:33 +05:30
- [X] CPU
2024-02-18 22:05:16 +05:30
- [X] Inner loop - 65536 instructions
2024-02-19 13:03:33 +05:30
- [X] Outer loop - 60fps display loop
- [X] Display adapter
- [X] SDL2 adapter
2024-02-20 12:38:53 +05:30
- [X] Keyboard
- [X] Audio
2024-02-20 22:58:44 +05:30
- [X] Load a ROM
2024-02-19 13:03:33 +05:30
2024-02-19 13:41:49 +05:30
## Usage instructions
2024-02-20 22:58:44 +05:30
For help on how to use, please refer
```sh
./byte-pusher-emu --help
```
2024-02-19 13:41:49 +05:30
2024-02-20 22:58:44 +05:30
To load a program, use the following command.
```sh
./byte-pusher-emu -f rom.BytePusher
```
Loads a rom from the file specified. If `-f` is not mentioned, the VM will run with an empty memory (which will cause it to cycle endlessly).
2024-02-19 13:41:49 +05:30
2024-02-16 19:51:43 +05:30
## More information about the BytePusher VM
https://esolangs.org/wiki/BytePusher