Skip to main content

A Cython binding for a m68k system emulator

Project description

machine68k - m68k Emulator and Machine Binding for Python

Introduction

machine68k is a Python package that offers a system binding for the Musashi Motorola 68000 CPU emulator with memory binding and support for ALine opcode exception traps.

The package is currently used by the amitools project and supplies the CPU emulation for vamos.

Prerequisites

  • Python >= 3.8
  • pip3

Optional Packages

  • cython: (version >= 3.0.0) required to rebuild the native module

Installation

Stable/Release Version

pip3 install machine68k

Note:

  • on Linux/macOS may use sudo to install for all users
  • requires a host C compiler to compile the extension.
  • the version may be a bit outdated. If you need recent changes use the current version.

Current Version from GitHub

Ensure you have Cython installed:

pip3 install cython

Then install machine68k directly from the git repository:

pip3 install -U git+https://github.com/cnvogelg/machine68k.git

Or if you have a local clone of the repository:

pip3 install .

Note:

  • This will install the latest version found in the github repository.
  • You find the latest features but it may also be unstable from time to time.
  • Repeat this command to update to the latest version.

Developers

  • Follow this route if you want to hack around with the codebase
  • Clone the Git repo: machine68k@git
  • Ensure you have Cython installed:
pip3 install cython
  • Enter the directory of the cloned repo and install via pip:
pip3 install -U -e .

This install machine68k in your current Python environment but takes the source files still from this repository. So you can change the code there and directly test the machine.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

machine68k-0.2.0.tar.gz (398.1 kB view details)

Uploaded Source

File details

Details for the file machine68k-0.2.0.tar.gz.

File metadata

  • Download URL: machine68k-0.2.0.tar.gz
  • Upload date:
  • Size: 398.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for machine68k-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c9fabeb17dbb8a7970b7b137bbc6674b8d4824e77f2df176a127acf8e87ee5a6
MD5 7b65911da9e0061d8b9d2d5733cde962
BLAKE2b-256 59cba5161129004477d65df06763138b00f56e11a0b1394d0380317a306602bc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page