From: ceb Date: Sun, 15 May 2005 23:07:25 +0000 (+0000) Subject: ditto, fixes for make X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=76938b6f569c11fdc439e852e946816c241df0b1;p=trains.git ditto, fixes for make --- diff --git a/cebpic/common.inc b/cebpic/common.inc index fd58783..8df4108 100644 --- a/cebpic/common.inc +++ b/cebpic/common.inc @@ -16,6 +16,8 @@ WREG2 equ 0x000 WREG3 equ 0x001 WREG4 equ 0x002 +TESTFLASH equ 04h ; test LED flash pattern + ;============================== ; Program (flash) memory regions diff --git a/cebpic/morsepanic.asm b/cebpic/morsepanic.asm index 84e9428..4b2e20d 100644 --- a/cebpic/morsepanic.asm +++ b/cebpic/morsepanic.asm @@ -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