;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
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
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