# HG changeset patch
# User JeanDo
# Date 1305983540 -7200
# Node ID 8bb7c901743d1124336b3771ab38e2d0b0bcce38
# Parent  797e2ac42d24d1331f453e951701b4a11af8ebd0
Added screen dumps in simulator mode too.

diff -r 797e2ac42d24 -r 8bb7c901743d code_part1/OSTC_code_asm_part1/isr.asm
--- 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