changeset 345:8bb7c901743d ScreenDump

Added screen dumps in simulator mode too.
author JeanDo
date Sat, 21 May 2011 15:12:20 +0200
parents 797e2ac42d24
children 193d1adc97b7
files code_part1/OSTC_code_asm_part1/isr.asm
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/isr.asm	Sat May 21 14:48:07 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/isr.asm	Sat May 21 15:12:20 2011 +0200
@@ -93,6 +93,13 @@
 		return
 
 simulator_int:
+        movlw   'l'                         ; Received 'l' dump-screen command ?
+        xorwf   RCREG,W
+        bnz     simulator_int2              ; NO: skip
+		bsf		uart_dump_screen            ; YES: set flag
+		bra		uartint1                    ; and this is not a depth...
+
+simulator_int2:
 		btfsc	standalone_simulator		; ignore in standalone simulator mode
 		bra		uartint1