vice-driver 0.1.0__py3-none-any.whl
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.
- vice_driver/__init__.py +52 -0
- vice_driver/binmon.py +952 -0
- vice_driver/coverage.py +370 -0
- vice_driver/expect.py +67 -0
- vice_driver/keys.py +281 -0
- vice_driver/screen.py +174 -0
- vice_driver/vice_docker.py +197 -0
- vice_driver-0.1.0.dist-info/METADATA +146 -0
- vice_driver-0.1.0.dist-info/RECORD +12 -0
- vice_driver-0.1.0.dist-info/WHEEL +5 -0
- vice_driver-0.1.0.dist-info/licenses/LICENSE +201 -0
- vice_driver-0.1.0.dist-info/top_level.txt +1 -0
vice_driver/__init__.py
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"""vice-driver — Python automation framework for driving asid-vice (a binmon-
|
|
2
|
+
extended C64 emulator).
|
|
3
|
+
|
|
4
|
+
Public surface:
|
|
5
|
+
|
|
6
|
+
* :mod:`vice_driver.binmon` — wire-level binary-monitor client + the
|
|
7
|
+
asid-vice keymatrix / screen-scrape / cpuhistory extensions.
|
|
8
|
+
* :mod:`vice_driver.keys` — symbolic C64 key-matrix names and
|
|
9
|
+
ASCII → chord conversion.
|
|
10
|
+
* :mod:`vice_driver.screen` — SCREEN_GET response parsing + screencode →
|
|
11
|
+
ASCII rendering.
|
|
12
|
+
* :mod:`vice_driver.vice_docker` — one-shot container management for
|
|
13
|
+
the asid-vice Docker image.
|
|
14
|
+
* :mod:`vice_driver.coverage` — per-action code-coverage harness using
|
|
15
|
+
CHECK_EXEC checkpoints + cpuhistory drains.
|
|
16
|
+
* :mod:`vice_driver.expect` — :class:`Expect` predicate and
|
|
17
|
+
:func:`verify` polling helper for post-action state assertions.
|
|
18
|
+
|
|
19
|
+
See ``README.md`` for installation, container setup, and a worked
|
|
20
|
+
"connect → screen-grab → tap a chord" example.
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
from .binmon import OPCODE, BinMon, BinmonError
|
|
24
|
+
from .coverage import ActionCoverage, Coverage
|
|
25
|
+
from .expect import Expect, ExpectPredicate, verify
|
|
26
|
+
from .keys import KEY, canonical_name, chord_to_keys, lookup, text_to_chords
|
|
27
|
+
from .screen import ScreenSnapshot, parse_screen_response, screencode_to_ascii
|
|
28
|
+
from .vice_docker import DiskMount, ViceContainer, ViceContainerError
|
|
29
|
+
|
|
30
|
+
__all__ = [
|
|
31
|
+
"ActionCoverage",
|
|
32
|
+
"BinMon",
|
|
33
|
+
"BinmonError",
|
|
34
|
+
"Coverage",
|
|
35
|
+
"DiskMount",
|
|
36
|
+
"Expect",
|
|
37
|
+
"ExpectPredicate",
|
|
38
|
+
"KEY",
|
|
39
|
+
"OPCODE",
|
|
40
|
+
"ScreenSnapshot",
|
|
41
|
+
"ViceContainer",
|
|
42
|
+
"ViceContainerError",
|
|
43
|
+
"canonical_name",
|
|
44
|
+
"chord_to_keys",
|
|
45
|
+
"lookup",
|
|
46
|
+
"parse_screen_response",
|
|
47
|
+
"screencode_to_ascii",
|
|
48
|
+
"text_to_chords",
|
|
49
|
+
"verify",
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
__version__ = "0.1.0"
|