comparison src/hwos.asm @ 612:6dd6b37da7c8

TODO: screendump debug
author heinrichsweikamp
date Wed, 09 Jan 2019 21:53:02 +0100
parents cd7991986ace
children a32212cd5ea9
comparison
equal deleted inserted replaced
611:cd7991986ace 612:6dd6b37da7c8
48 48
49 movlw d'2' ; coding for speed normal 49 movlw d'2' ; coding for speed normal
50 movff WREG,cpu_speed_request ; CPU shall run with normal speed 50 movff WREG,cpu_speed_request ; CPU shall run with normal speed
51 movff WREG,cpu_speed_state ; CPU does run with normal speed 51 movff WREG,cpu_speed_state ; CPU does run with normal speed
52 52
53 bcf RCON,SBOREN ; brown-out off (Not needed, set in bootloader) 53 ; bcf RCON,SBOREN ; brown-out off (Not needed, set in bootloader)
54 bcf RCON,IPEN ; priority interrupts off 54 bcf RCON,IPEN ; priority interrupts off
55 55
56 banksel WDTCON 56 banksel WDTCON
57 movlw b'10000000' 57 movlw b'10000000'
58 movwf WDTCON ; setup watchdog 58 movwf WDTCON ; setup watchdog