diff code_part1/OSTC_code_asm_part1/simulator.asm @ 63:fee7c62b4de1

1.71beta - clock in divemode (CF39)
author heinrichsweikamp
date Wed, 29 Sep 2010 15:25:53 +0200
parents 2972a06b0785
children e8756eba54ee
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/simulator.asm	Mon Sep 20 21:51:18 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/simulator.asm	Wed Sep 29 15:25:53 2010 +0200
@@ -157,6 +157,18 @@
 	call	PLED_ClearScreen
 	call	PLED_simdata_screen
 	call	divemenu_see_decoplan
+
+	call	enable_rs232
+	lfsr	FSR0,0x250
+	movlw	0x20
+	movwf	wait_temp
+xy:						; Clear Deco list
+	movff	POSTINC0,TXREG
+	call	rs232_wait_tx
+	decfsz	wait_temp,F
+	bra		xy
+
+		
 	
 	WIN_INVERT	.1	; Init new Wordprocessor	
 	DISPLAYTEXT	.188		; Sim. Results: