Mercurial > public > hwos_code
comparison src/ostc3.asm @ 50:ec4d8503ec45
NEW: user-selectable color schemes
author | heinrichsweikamp |
---|---|
date | Fri, 27 Sep 2013 23:45:57 +0200 |
parents | fcaf94b913db |
children | c4876e4b3563 |
comparison
equal
deleted
inserted
replaced
49:fe01bbaf6014 | 50:ec4d8503ec45 |
---|---|
230 movlw .248 | 230 movlw .248 |
231 movwf TMR7H ; -> Rollover after 2048 cycles -> 62,5ms | 231 movwf TMR7H ; -> Rollover after 2048 cycles -> 62,5ms |
232 | 232 |
233 banksel common | 233 banksel common |
234 ; Interrupts | 234 ; Interrupts |
235 movlw b'11110000' | 235 movlw b'11010000' |
236 movwf INTCON | 236 movwf INTCON |
237 movlw b'10001000' ; BIT7=1: Pullup for PORTB disabled | 237 movlw b'10001000' ; BIT7=1: Pullup for PORTB disabled |
238 movwf INTCON2 | 238 movwf INTCON2 |
239 movlw b'00101000' ; Bit5: INT3 | 239 movlw b'00100000' |
240 movwf INTCON3 | 240 movwf INTCON3 |
241 movlw b'00000001' ; Bit0: TMR1 | 241 movlw b'00000001' ; Bit0: TMR1 |
242 movwf PIE1 | 242 movwf PIE1 |
243 movlw b'00000010' ; Bit1: TMR3 | 243 movlw b'00000010' ; Bit1: TMR3 |
244 movwf PIE2 | 244 movwf PIE2 |