A high-performance, 8-bit CPU emulator, designed as a drop-in replacement for ByteCore, offering enhanced speed while maintaining full compatibility with the original ByteCore interfaces.
Project description
ByteCoreFast Emulator
ByteCoreFast is a high-performance drop-in replacement for the ByteCore Emulator. It extends the ByteCore classes and replaces the emulator engine with a custom engine written in C for enhanced speed. This project aims to maintain 100% compatibility with the public interfaces of the ByteCore Emulator. If you encounter any incompatibilities, please create an issue detailing the discrepancy.
Key Features
- Fast performance for long-running programs.
- Seamless integration with ByteCore Emulator projects.
- Simple installation and usage.
Installation
Using pip
To install ByteCoreFast, run:
pip3 install bytecorefast
Manual Setup
- Ensure you have Python 3.11 or newer installed.
- Clone the repository and navigate into the root directory.
- (Optional) Create a Python virtual environment to isolate dependencies.
- Install the necessary dependencies:
pip3 install -r requirements.txt
Gitpod Setup
You can also use Gitpod to run the emulator by clicking here.
How to Use
To use ByteCoreFast, replace the import statement in your project:
# Original import
from bytecore.emulator import ByteCore
# New import for faster performance
from bytecorefast.emulator import ByteCore
You should now see improved performance for long-running programs. Note that small programs or step-by-step execution might be slower due to overhead.
Running the Emulator
To run the emulator, follow the instructions provided in the ByteCore project.
Troubleshooting
If the C code is not compiled for your system, you may encounter issues. In such cases, please revert to the original ByteCore Emulator written entirely in Python.
License
This project is licensed under the terms of the MIT License. See the LICENSE file for the full text.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bytecorefast-1.0.2.tar.gz.
File metadata
- Download URL: bytecorefast-1.0.2.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df5d8aaa0d4acebbb1d1d88e0e50ecf82635f3f83c145207e116aa1036f0bad2
|
|
| MD5 |
cdcf3ae2ddf16fce5854ecd14ea5ce3e
|
|
| BLAKE2b-256 |
bb98a19a45a74e2625f0cff51b312062a8296cb85a5a8f813f09c863d75c621e
|
File details
Details for the file bytecorefast-1.0.2-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: bytecorefast-1.0.2-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 19.7 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e84f6043443f4a06b6638ff7779d148de528990f1968ada5d97398af2dd771aa
|
|
| MD5 |
d4b1c38f91465b95e7dce7fba204de10
|
|
| BLAKE2b-256 |
129811f64e49b9f93cb7e595cf6b108fb89298eebdd1e3e7ecc7946e2fd98b8d
|
File details
Details for the file bytecorefast-1.0.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: bytecorefast-1.0.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 42.6 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce75ec2a0fc0e61cd5930ba6e5bdcdb59692c8dda1428ab87515d5c0cbe818a8
|
|
| MD5 |
530dc12fb39180e1499ab7f66d62cb22
|
|
| BLAKE2b-256 |
1481d44352d9b80f6f7d53611b879a731301e6af7a8c246d3ad3cec2262a1edd
|
File details
Details for the file bytecorefast-1.0.2-cp311-cp311-macosx_10_9_universal2.whl.
File metadata
- Download URL: bytecorefast-1.0.2-cp311-cp311-macosx_10_9_universal2.whl
- Upload date:
- Size: 22.5 kB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5873289f07cb58f3363631f1e1e62489f78c178849715d5e238d1abf87abd156
|
|
| MD5 |
c9339d4dbf11816fbd11618781f4b4ca
|
|
| BLAKE2b-256 |
e0da69113001f06665f49597cf70a2a38b6d53638a2a62b82daa029a334e03a0
|