chiark / gitweb /
ditto, fixes for make
authorceb <ceb>
Sun, 15 May 2005 23:07:25 +0000 (23:07 +0000)
committerceb <ceb>
Sun, 15 May 2005 23:07:25 +0000 (23:07 +0000)
cebpic/common.inc
cebpic/morsepanic.asm

index fd58783fabf73cf0f06d8a3425db1e5108527206..8df410868ae33059fb050741b533ca5d3b3ed146 100644 (file)
@@ -16,6 +16,8 @@
 WREG2          equ     0x000
 WREG3          equ     0x001
 WREG4          equ     0x002
+TESTFLASH       equ     04h     ; test LED flash pattern
+
 
 ;==============================
 ; Program (flash) memory regions
index 84e9428c52c91072b132142801e3caea9e4550ec..4b2e20d199188aff9e6ac58025074ea53ca22267 100644 (file)
@@ -9,6 +9,7 @@
 ; 10 10 10 00 | 1110 1110 | 1110 00 10 | 10 10
 
        include common.inc
+       include morse-auto.inc
        include ../iwjpictest/insn-aliases.inc
 
        extern  led_green
@@ -165,7 +166,7 @@ panic_routine
        movlw   4
        mulwf   PANIC_ADDRESS
        movff   PRODL,TBLPTRL           
-       movff   PRODU,WREG
+       movff   PRODH,WREG
        add_lw  (morse_messages_start)/256
        movwf   TBLPTRH
        clr_f   TBLPTRU