aboutsummaryrefslogtreecommitdiffstats
path: root/asm/atk16.py
diff options
context:
space:
mode:
Diffstat (limited to 'asm/atk16.py')
-rw-r--r--asm/atk16.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/asm/atk16.py b/asm/atk16.py
index 2a1c0a1..9aa3c55 100644
--- a/asm/atk16.py
+++ b/asm/atk16.py
@@ -4,7 +4,17 @@ Void = Literal[0]
Word16 = int
ConstWord16 = int
-def store(p: Word16, value: Word16) -> Void:
+def store(p: Word16, value: Word16 | Char) -> Void:
+ raise NotImplementedError
+
+@overload
+def store_const_vec(p: Word16, value: list[Word16]) -> Void: ...
+@overload
+def store_const_vec(p: Word16, value: list[Char]) -> Void: ...
+@overload
+def store_const_vec(p: Word16, value: str) -> Void: ...
+
+def store_const_vec(p, value) -> Void:
raise NotImplementedError
def load(p: Word16) -> Word16: