summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authorISSOtm <eldredhabert0@gmail.com>2018-05-29 16:43:04 +0200
committerISSOtm <eldredhabert0@gmail.com>2018-05-29 16:43:04 +0200
commite6c75f2d8487311914abb327a67e183a188df3d7 (patch)
tree1d44142b3879d1736f4c87c1f2e9b6817fd1b2a3 /constants
parentcc4a3e7fe52b043900d7b2f9789cfe3cf1154f77 (diff)
Fix disassembling mistakes
Diffstat (limited to 'constants')
-rw-r--r--constants/serial_constants.asm17
1 files changed, 17 insertions, 0 deletions
diff --git a/constants/serial_constants.asm b/constants/serial_constants.asm
new file mode 100644
index 0000000..e475798
--- /dev/null
+++ b/constants/serial_constants.asm
@@ -0,0 +1,17 @@
+; serial
+
+ESTABLISH_CONNECTION_WITH_INTERNAL_CLOCK EQU $01
+ESTABLISH_CONNECTION_WITH_EXTERNAL_CLOCK EQU $02
+
+USING_EXTERNAL_CLOCK EQU $01
+USING_INTERNAL_CLOCK EQU $02
+CONNECTION_NOT_ESTABLISHED EQU $ff
+
+; signals the start of an array of bytes transferred over the link cable
+SERIAL_PREAMBLE_BYTE EQU $FD
+
+; this byte is used when there is no data to send
+SERIAL_NO_DATA_BYTE EQU $FE
+
+; signals the end of one part of a patch list (there are two parts) for player/enemy party data
+SERIAL_PATCH_LIST_PART_TERMINATOR EQU $FF