summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-04-26 13:55:55 -0500
committerBryan Bishop <kanzure@gmail.com>2012-04-26 13:55:55 -0500
commitd09cf6d950ce3ba015c3ac4f74dda68d2b8c0f87 (patch)
tree21a23c041afe509ee904ca2e1d6d00b1643357e8
parent1bba364ba63a347a5188b21b267a66738fa11ff7 (diff)
add param_types to Signpost
-rw-r--r--extras/crystal.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/extras/crystal.py b/extras/crystal.py
index f0cc25310..aef435cf7 100644
--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -2664,6 +2664,14 @@ class Signpost(Command):
macro_name = "signpost"
override_byte_check = True
+ #preprocessor uses this
+ param_types = {
+ 0: {"name": "y", "class": DecimalParam},
+ 1: {"name": "x", "class": DecimalParam},
+ 2: {"name": "function", "class": HexByte},
+ 3: {"name": "pointer", "class": PointerLabelParam},
+ }
+
def __init__(self, address, id, bank=None, map_group=None, map_id=None, debug=True, label=None):
self.address = address
self.id = id