Skip to main content

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.

Metadata

Release files for machine68k 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for machine68k 0.4.1
File Size Uploaded
machine68k-0.4.1.tar.gz 490.8 kB Details

Release files / machine68k-0.4.1.tar.gz

Download URL machine68k-0.4.1.tar.gz
Size 490.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a58ae3f0f5f32639296e7eaf564f2aa96852462078e35b0c6d8e714d2510a9cb
BLAKE2b-256 checksum
How to use checksums
97682503566b74f87ec968440432463791a75454f56b0f972231cafd13e8a12e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.4.1 This release

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page