comparison code_part1/OSTC_code_asm_part1/dump_screen.asm @ 687:a8a36c85e031

ignore screenshots with display1 (for now)
author heinrichsweikamp
date Sat, 26 Jan 2013 16:25:19 +0100
parents 6e456a6398e0
children
comparison
equal deleted inserted replaced
686:8ffbd5cb4b42 687:a8a36c85e031
43 bcf PIE1,RCIE ; no interrupt for UART 43 bcf PIE1,RCIE ; no interrupt for UART
44 bcf PIR1,RCIF ; clear flag 44 bcf PIR1,RCIF ; clear flag
45 bsf LED_blue ; LEDusb ON 45 bsf LED_blue ; LEDusb ON
46 call rs232_wait_tx ; wait for UART 46 call rs232_wait_tx ; wait for UART
47 47
48 call dump_screen_0 48 movff win_flags,WREG ; BEWARE: bank0 bit-test
49 btfss WREG,1 ; Display1?
50 call dump_screen_0 ; No, dump screen
49 51
50 bcf no_sensor_int ; Restore Sensor Interrupt 52 bcf no_sensor_int ; Restore Sensor Interrupt
51 bcf LED_blue ; Clear led 53 bcf LED_blue ; Clear led
52 bcf LED_red ; Clear led 54 bcf LED_red ; Clear led
53 bsf PIE1,RCIE ; Interrupt for RS232 55 bsf PIE1,RCIE ; Interrupt for RS232