Skip to main content

travis appveyor rtfd coverall

pypi-v wheel pyver status

bare68k allows you to write m68k system emulators in Python 2 or 3. It consists of a CPU emulation for 68000/68020/68EC020 provided by the Musashi engine written in native C. A memory map with RAM, ROM, special function is added and you can start the CPU emulation of your system. You can intercept the running code with a trap mechanism and use powerful diagnose functions,

written by Christian Vogelgsang <chris@vogelgsang.org>

under the GNU Public License V2

Features

  • all emulation code written in C for fast speed

  • runs on Python 2.7 and Python 3.5

  • emulates CPU 68000, 68020, and 68EC020

  • use a 24 or 32 bit memory map

  • define memory regions for RAM and ROM with page granularity (64k)

  • special memory regions that call your code for each read/write operation

  • intercept m68k code by placing ALINE-opcode based traps to call your code

  • event-based CPU emulation frontend does always return to Python first

  • provide Python handlers for all CPU emulation events

    • RESET opcode

    • ALINE trap opcode

    • invalid memory access (e.g. write in ROM region)

    • out of memory bounds (e.g. read above memory map)

    • control interrupt acknowledgement

    • watch and break points

    • custom timers based on CPU cycles

  • extensive diagnose functions

    • instruction trace

    • memory access for both CPU and Python API

    • register dump

    • memory labels to mark memory regions with arbitrary Python data

    • all bare68k components use Python logging

  • rich API to configure memory and CPU state

  • store/restore CPU context

Installation

  • use pip:

    $ pip install bare68k
  • or checkout github repository and install:

    $ python setup.py install
  • use dev setup:

    $ python setup.py develop --user

Documentation

Metadata

Release files for bare68k 0.1.2

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

Source distribution (sdist)

Source distribution for bare68k 0.1.2
File Size Uploaded
bare68k-0.1.2.tar.gz 319.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for bare68k 0.1.2
File
bare68k-0.1.2-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
bare68k-0.1.2-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
bare68k-0.1.2-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
bare68k-0.1.2-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
bare68k-0.1.2-cp34-cp34m-win_amd64.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-64 Details
bare68k-0.1.2-cp34-cp34m-win32.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-32 Details
bare68k-0.1.2-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
bare68k-0.1.2-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details
bare68k-0.1.2-cp27-cp27m-macosx_10_12_x86_64.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.12+ x86-64 Details

Total release size: 3.1 MB

Release files / bare68k-0.1.2.tar.gz

Download URL bare68k-0.1.2.tar.gz
Size 319.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d9442f7c8d43c1aceeaab673b09d0e13f019e545de80a8e646749fa4705f8494
BLAKE2b-256 checksum
How to use checksums
63aa6fc8e6ce75ffbc0003a54d3a0ae72c0105aa8ddc5ba61ac0eed8ed378b68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bare68k-0.1.2-cp36-cp36m-win_amd64.whl

Download URL bare68k-0.1.2-cp36-cp36m-win_amd64.whl
Size 354.9 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
74b89138236768e2359704999e59a44046571709fa30c89981a977ed7195fdf1
BLAKE2b-256 checksum
How to use checksums
8f5b38873e1fb4fa08a9827509a276c826bd475239f12cda309e03c71ad6a184
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bare68k-0.1.2-cp36-cp36m-win32.whl

Download URL bare68k-0.1.2-cp36-cp36m-win32.whl
Size 245.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
44f8e593a50e51e241ddf503842ede2ba184fcc73c2bec8cdce32678dbb6a192
BLAKE2b-256 checksum
How to use checksums
fe7657bc8ec38103c7318d64405caaea9f4d1106629f2c8f278d0e3c747879cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bare68k-0.1.2-cp35-cp35m-win_amd64.whl

Download URL bare68k-0.1.2-cp35-cp35m-win_amd64.whl
Size 354.1 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
ac6f6dc4d80e26556cd440ee7148413b7aea45b1af26a34cfa01fcf3c524cc29
BLAKE2b-256 checksum
How to use checksums
93de3228c9fe764bb8761ab235e300223296739ed9a0ebf0d6f959dc9d76c8bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bare68k-0.1.2-cp35-cp35m-win32.whl

Download URL bare68k-0.1.2-cp35-cp35m-win32.whl
Size 244.5 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
031362508f3f54e885e36a0972f254fd6080e932f9ace7fc70e151d9bf5129df
BLAKE2b-256 checksum
How to use checksums
9789cc409f01da44af09c415b7c3291f4972a3cd1f3030208801a3500febbedb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bare68k-0.1.2-cp34-cp34m-win_amd64.whl

Download URL bare68k-0.1.2-cp34-cp34m-win_amd64.whl
Size 351.3 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
1f0ce149a5e9d2a481e551ccac74e49c4674ce39f80c2adbc55b2559cc44726f
BLAKE2b-256 checksum
How to use checksums
425336b00d64ed69af74c89e43b886865f1aa08e1e2db3ae43965ff5bb9525cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bare68k-0.1.2-cp34-cp34m-win32.whl

Download URL bare68k-0.1.2-cp34-cp34m-win32.whl
Size 252.8 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
2d9df40ab1d29ceaf22175b10eeaee1ddbf1beefe6c9c57d90bbbe3408cc163f
BLAKE2b-256 checksum
How to use checksums
e0de12a13aee056faff428adf5f577cefde69cb74e758391a0c487fac428a290
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bare68k-0.1.2-cp27-cp27m-win_amd64.whl

Download URL bare68k-0.1.2-cp27-cp27m-win_amd64.whl
Size 358.0 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
2d5c158ce7a113e9bee9549608e6131aa9be355481522eb27361566f0d082be9
BLAKE2b-256 checksum
How to use checksums
0d43ceed62de7cf20ce95687a60b6f0acdfc9ee3b9b4de8e9b8afd67a5623f1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bare68k-0.1.2-cp27-cp27m-win32.whl

Download URL bare68k-0.1.2-cp27-cp27m-win32.whl
Size 246.6 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
208b7ddd7a391faf25f32cba350c8c1b91a543e7fdae301c5f3ed2e0c3f02601
BLAKE2b-256 checksum
How to use checksums
650b42c9ecb1e2c1cf5253b7241a82430b439acb98e3f2a166d0ffeb54787ab7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bare68k-0.1.2-cp27-cp27m-macosx_10_12_x86_64.whl

Download URL bare68k-0.1.2-cp27-cp27m-macosx_10_12_x86_64.whl
Size 352.6 kB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
1ab13a29578232f2436497435b41fa94fb97672f164d8d3548a34ad83e01d076
BLAKE2b-256 checksum
How to use checksums
a42713ed3e4dfefb11c6b4975f143f9d1ada14efdd4c7e9ec1cd55b7cc5fae7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

10 release files

0.1.1

10 release files

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