summaryrefslogtreecommitdiff
path: root/software
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2011-07-23 02:13:58 +0000
committerChristian Pointner <equinox@mur.at>2011-07-23 02:13:58 +0000
commitbc9201ef423bbcb21d3b3a8ed9b156cdd361b80a (patch)
tree4613d35bec2834e9a0a2452b34c1ff5b07ba7b44 /software
parentRFC3548 compliant base32 coding works now (diff)
added send_parity
git-svn-id: https://svn.spreadspace.org/mur.sat@37 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software')
-rw-r--r--software/ttx/ttx.asm14
1 files changed, 10 insertions, 4 deletions
diff --git a/software/ttx/ttx.asm b/software/ttx/ttx.asm
index 5fd15d4..d04381a 100644
--- a/software/ttx/ttx.asm
+++ b/software/ttx/ttx.asm
@@ -514,7 +514,13 @@ caseend
;; -------------------------------------
send_parity
- return ; TODO
+ movf PARITY,w
+ btfsc PARITY,5
+ xorlw b'00000001'
+ andlw b'00011111'
+ call base32
+ call send_char
+ return
;; -------------------------------------
send_beacon
@@ -547,9 +553,9 @@ send_beacon
movlw .10
call send_base32
- ;; movlw WSPACE
- ;; call dottime
- ;; call send_parity
+ movlw WSPACE
+ call dottime
+ call send_parity
bcf GPIO,CWENABLE
return