Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/start.asm @ 576:ab2686087bce
faster font display, code cleaning
author | heinrichsweikamp |
---|---|
date | Sun, 22 Apr 2012 14:38:10 +0200 |
parents | 3091628b2742 |
children | fbd5e2b75a63 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm Sat Apr 21 15:08:09 2012 +0200 +++ b/code_part1/OSTC_code_asm_part1/start.asm Sun Apr 22 14:38:10 2012 +0200 @@ -362,8 +362,7 @@ movlw d'10' ; timeout for startup screen movwf temp1 WAITMS d'200' - bcf switch_left - bcf switch_right + call wait_switches ; Waits until switches are released, resets flag if button stays pressed! screen1_loop: btfsc uart_dump_screen ; Asked to dump screen contains ? call dump_screen ; Yes! @@ -395,8 +394,7 @@ startup_screen3a:; WARNING: Also used for decodescriptions and CF Warning screen! movwf temp1 WAITMS d'200' - bcf switch_left - bcf switch_right + call wait_switches ; Waits until switches are released, resets flag if button stays pressed! screen3_loop: btfsc uart_dump_screen ; Asked to dump screen contains ? call dump_screen ; Yes!