Hi ramxis;
Sorry but I cannot help. I don't have (and don't like) HITECH C, I'm working in assembly, also using Proton compiler
but only as a very smart assembler, without its high level (library) routines. Rather, I'm writing myself these.
And ... Hitech's asm output is horrible, Proton's is very clear and useful (at least in my opinion ...)
Other: I use only the Proteus simulator, unfortunately my eyes are weak now.
However, I looked your code but it is not clear for me. I see you are not using the compiler's library (but I don't have i2c.h)
for the HW I2C, but - for example - how to control the leds? I don't understand your code good enough.
Your generated COF file is unable to debugging at source level in ISIS. Says it's for PIC18 (?). Proton's is usable.
Maybe someone who knows this C compiler, can help you.