From: Dan White Date: Fri, 6 Jan 2012 18:14:56 +0000 (-0600) Subject: Verified state of r9, holds RAMER count X-Git-Tag: calibrations~383 X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=a4850a70cacbc3f40f8949f68e8a7262f0384898;p=430.git Verified state of r9, holds RAMER count --- diff --git a/rom-label.asm b/rom-label.asm index 770345a..cd7acd8 100644 --- a/rom-label.asm +++ b/rom-label.asm @@ -198,8 +198,10 @@ Disassembly of section .sec1: ;check RAM for errors ;writes error count to 0x263e ;address is not present in fabbed mmap -; FIXME: verify r9 is not modified in bootcode -; (to read count later in early user code) +; r9 is not modified later in bootcode +; (to read count later in early user code) +; all function calls push/pop r9 +; user code may initially read r9 to get the RAM error count 304e: 09 43 clr r9 3050: 35 40 aa aa mov #-21846,r5 ;#0xaaaa 3054: 37 40 00 40 mov #16384, r7 ;#RAMStart @@ -356,7 +358,7 @@ gotoMain: 315c: a4 f2 ;set SCG1 = 1 315e: 32 d0 80 00 bis #128,sr ;#0x0080 -; FIXME: +; FIXME: ^^^ BUG ^^^ BUG ^^^ BUG ^^^ BUG ^^^ BUG ^^^ BUG ^^^ ; *** IN FABBED CHIP: *** ; this makes SCG[1:0] = 10b ; SCG0 = 0 **selects** the HF crystal @@ -693,7 +695,7 @@ PrintString: 3360: 6f 72 3362: 00 -'string errorMessages[5] = "Flash writing problem" +;string errorMessages[5] = "Flash writing problem" 3363: 46 3364: 6c 61 3366: 73 68