machine68k 0.2.0__tar.gz → 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. machine68k-0.4.0/.editorconfig +14 -0
  2. {machine68k-0.2.0 → machine68k-0.4.0}/.github/workflows/test.yml +1 -1
  3. machine68k-0.4.0/CHANGELOG.md +32 -0
  4. {machine68k-0.2.0 → machine68k-0.4.0}/Makefile +13 -1
  5. {machine68k-0.2.0 → machine68k-0.4.0}/PKG-INFO +3 -3
  6. machine68k-0.4.0/gen/m68kops.c +36818 -0
  7. {machine68k-0.2.0 → machine68k-0.4.0}/pyproject.toml +1 -1
  8. {machine68k-0.2.0 → machine68k-0.4.0}/requirements-dev.txt +1 -0
  9. {machine68k-0.2.0 → machine68k-0.4.0}/requirements-test.txt +1 -0
  10. {machine68k-0.2.0 → machine68k-0.4.0}/setup.py +12 -3
  11. machine68k-0.4.0/src/cpu.c +55 -0
  12. machine68k-0.4.0/src/cpu.h +30 -0
  13. machine68k-0.4.0/src/cpu.pyx +9 -0
  14. machine68k-0.4.0/src/m68k.pyx +38 -0
  15. machine68k-0.4.0/src/mach.c +72820 -0
  16. machine68k-0.4.0/src/mach.pyx +171 -0
  17. {machine68k-0.2.0 → machine68k-0.4.0}/src/machine68k.egg-info/PKG-INFO +3 -3
  18. {machine68k-0.2.0 → machine68k-0.4.0}/src/machine68k.egg-info/SOURCES.txt +14 -0
  19. {machine68k-0.2.0 → machine68k-0.4.0}/src/mem.c +13 -3
  20. {machine68k-0.2.0 → machine68k-0.4.0}/src/mem.h +1 -1
  21. machine68k-0.4.0/src/mem.pyx +37 -0
  22. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/m68k.h +1 -1
  23. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/m68kcpu.c +5 -7
  24. {machine68k-0.2.0 → machine68k-0.4.0}/src/my_conf.h +1 -1
  25. {machine68k-0.2.0 → machine68k-0.4.0}/src/pycpu.pyx +192 -104
  26. {machine68k-0.2.0 → machine68k-0.4.0}/src/pymem.pyx +35 -82
  27. machine68k-0.4.0/src/pytraps.pyx +59 -0
  28. {machine68k-0.2.0 → machine68k-0.4.0}/src/traps.c +35 -31
  29. {machine68k-0.2.0 → machine68k-0.4.0}/src/traps.h +12 -7
  30. machine68k-0.4.0/src/traps.pyx +16 -0
  31. machine68k-0.4.0/test/bench_machine.py +119 -0
  32. machine68k-0.4.0/test/bench_traps.py +107 -0
  33. machine68k-0.4.0/test/conftest.py +53 -0
  34. machine68k-0.4.0/test/opcodes.py +7 -0
  35. machine68k-0.4.0/test/test_cpu.py +118 -0
  36. machine68k-0.4.0/test/test_greenlet.py +100 -0
  37. machine68k-0.4.0/test/test_machine.py +530 -0
  38. {machine68k-0.2.0 → machine68k-0.4.0}/test/test_mem.py +47 -32
  39. machine68k-0.4.0/test/test_traps.py +99 -0
  40. {machine68k-0.2.0 → machine68k-0.4.0}/tox.ini +2 -2
  41. machine68k-0.2.0/CHANGELOG.md +0 -14
  42. machine68k-0.2.0/src/mach.c +0 -68091
  43. machine68k-0.2.0/src/mach.pyx +0 -18
  44. machine68k-0.2.0/src/pytraps.pyx +0 -75
  45. machine68k-0.2.0/test/test_cpu.py +0 -47
  46. machine68k-0.2.0/test/test_traps.py +0 -40
  47. {machine68k-0.2.0 → machine68k-0.4.0}/.gitignore +0 -0
  48. {machine68k-0.2.0 → machine68k-0.4.0}/MANIFEST.in +0 -0
  49. {machine68k-0.2.0 → machine68k-0.4.0}/README.md +0 -0
  50. {machine68k-0.2.0 → machine68k-0.4.0}/setup.cfg +0 -0
  51. {machine68k-0.2.0 → machine68k-0.4.0}/src/machine68k.egg-info/dependency_links.txt +0 -0
  52. {machine68k-0.2.0 → machine68k-0.4.0}/src/machine68k.egg-info/top_level.txt +0 -0
  53. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/Makefile +0 -0
  54. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/history.txt +0 -0
  55. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/m68k_in.c +0 -0
  56. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/m68kconf.h +0 -0
  57. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/m68kcpu.h +0 -0
  58. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/m68kdasm.c +0 -0
  59. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/m68kfpu.c +0 -0
  60. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/m68kmake.c +0 -0
  61. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/m68kmmu.h +0 -0
  62. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/readme.txt +0 -0
  63. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/softfloat/README.txt +0 -0
  64. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/softfloat/mamesf.h +0 -0
  65. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/softfloat/milieu.h +0 -0
  66. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/softfloat/softfloat-macros +0 -0
  67. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/softfloat/softfloat-specialize +0 -0
  68. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/softfloat/softfloat.c +0 -0
  69. {machine68k-0.2.0 → machine68k-0.4.0}/src/musashi/softfloat/softfloat.h +0 -0
  70. {machine68k-0.2.0 → machine68k-0.4.0}/src/win/stdint.h +0 -0
  71. {machine68k-0.2.0 → machine68k-0.4.0}/test/pytest.ini +0 -0
@@ -0,0 +1,14 @@
1
+ root = true
2
+
3
+ [*]
4
+ end_of_line = lf
5
+ insert_final_newline = true
6
+
7
+ [*.{py,pyx,pyd,c,h}]
8
+ charset = utf-8
9
+ indent_style = space
10
+ indent_size = 4
11
+
12
+ [Makefile]
13
+ indent_style = tab
14
+
@@ -10,7 +10,7 @@ jobs:
10
10
  strategy:
11
11
  matrix:
12
12
  platform: [ubuntu-latest, macos-latest]
13
- python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
13
+ python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
14
14
 
15
15
  steps:
16
16
  - uses: actions/checkout@v3
@@ -0,0 +1,32 @@
1
+ # Change Log
2
+
3
+ ## [0.4.0][4] (2025-12-20)
4
+
5
+ * rewrote machine's execute
6
+ * rewrote and simplified traps
7
+ * more tests
8
+ * add support for rmachine68k
9
+ * added greenlet support
10
+ * added benchmarks
11
+ * applied mushashi time slice fix (#107)
12
+ * removed Python 3.7 and added 3.12
13
+
14
+ ## [0.3.0][3] (2024-08-25)
15
+
16
+ * fixed build with newer setuptools
17
+
18
+ ## [0.2.0][2] (2024-02-18)
19
+
20
+ * Updated musashi code base to 2158f7081001f89145283d291ee501321e8dc26d
21
+ from (2024-02-08)
22
+
23
+ ## [0.1.0][1] (2023-12-31)
24
+
25
+ * First public release
26
+ * Moved machine implementation from `amitools`
27
+
28
+
29
+ [1]: https://github.com/cnvogelg/machine68k/tree/v0.1.0
30
+ [2]: https://github.com/cnvogelg/machine68k/tree/v0.2.0
31
+ [3]: https://github.com/cnvogelg/machine68k/tree/v0.3.0
32
+ [4]: https://github.com/cnvogelg/machine68k/tree/v0.4.0
@@ -1,7 +1,8 @@
1
1
  PYTHON ?= python3
2
2
  PIP ?= pip3
3
3
 
4
- .PHONY: help setup remove test format sdist bdist upload clean clean-all
4
+ .PHONY: help setup remove build test format sdist bdist upload clean clean-all
5
+ .PHONY: html clean-html
5
6
 
6
7
  help:
7
8
  @echo "init install dev packages"
@@ -12,8 +13,10 @@ help:
12
13
  @echo "sdist build source dist"
13
14
  @echo "bdist build binary dist"
14
15
  @echo "upload dist to pypi"
16
+ @echo "html generate cython html output"
15
17
  @echo "clean clean"
16
18
  @echo "clean-all remove all"
19
+ @echo "clean-html clean html files"
17
20
 
18
21
  init:
19
22
  $(PIP) install --upgrade -r requirements-dev.txt
@@ -24,6 +27,9 @@ setup:
24
27
  remove:
25
28
  pip uninstall machine68k
26
29
 
30
+ build:
31
+ python setup.py build
32
+
27
33
  test:
28
34
  pytest test
29
35
 
@@ -39,8 +45,14 @@ bdist:
39
45
  upload: sdist
40
46
  twine upload dist/*
41
47
 
48
+ html:
49
+ cython src/mach.pyx -a
50
+
42
51
  clean:
43
52
  $(PYTHON) setup.py clean
44
53
 
45
54
  clean-all:
46
55
  rm -rf build/ dist/
56
+
57
+ clean-html:
58
+ rm -f src/*.html
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: machine68k
3
- Version: 0.2.0
3
+ Version: 0.4.0
4
4
  Summary: A Cython binding for a m68k system emulator
5
5
  Author-email: Christian Vogelgsang <chris@vogelgsang.org>
6
6
  License: GPL-v2
@@ -9,7 +9,7 @@ Classifier: Development Status :: 4 - Beta
9
9
  Classifier: Intended Audience :: Developers
10
10
  Classifier: Programming Language :: Python
11
11
  Classifier: Topic :: System :: Emulators
12
- Requires-Python: >=3.7
12
+ Requires-Python: >=3.8
13
13
  Description-Content-Type: text/markdown
14
14
 
15
15
  # machine68k - m68k Emulator and Machine Binding for Python