Crates.io | anima6502 |
lib.rs | anima6502 |
version | 0.1.1 |
source | src |
created_at | 2022-10-23 03:29:59.163488 |
updated_at | 2022-10-23 17:47:19.965608 |
description | An anima6502 subcrate which supplies Python bindings to vm6502. |
homepage | |
repository | https://github.com/GRAYgoose124/emu6502 |
max_upload_size | |
id | 695039 |
size | 5,749 |
Anima provides Python bindings for the virtual machine from crate::vm6502.
Anima uses maturin build tooling.
It's recommended you first create a virtual env in the root of emu6502 before installing.
> cd 6502
> maturin [develop|release] # develoop automatically installs
# To develop the Anima backend python
> pip install -e .
# Tests
> maturin test
S/N: maturin develop will rewrite this pip installation, useful for python only changes.
After building with maturin, you can simply run anima, or use it's bindings in python with anima._anima.
> anima6502
from anima._anima import Animator
animator = Animator()
animator.do_program(0x0000, "690101690101")