Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/wait.asm @ 521:33abbc08f01e
Minor cleanups for TESTING=1 emulator mode.
author | JeanDo |
---|---|
date | Fri, 09 Dec 2011 20:43:39 +0100 |
parents | c7b663939737 |
children | e33a8ac4b660 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/wait.asm Fri Dec 09 20:43:35 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/wait.asm Fri Dec 09 20:43:39 2011 +0100 @@ -90,6 +90,9 @@ WAITMSX movwf waitms_temp ; Holds number of ms to wait + Ifdef TESTING + return ; In emulation, just skips waits + Endif WAITMSX1: movf TMR1L,W addlw d'66' ; 66*15,26µs ~ 1ms