Hi Skimask,
I just received my Color LCD and the breadboard from SparkFun.
I´m trying to convert your source code to run on a 16F877 (8 Kb, 368 byts of RAM, 256 bytes of EEPROM)
I´m doing that just because I can not find the 18F4620 here in Brazil.
So, I did some modifications as you suggested :
1) Changed de OSC to 10 (Mhz)
2) The line :
clcdENDFLASH con $FFFF 'IMPORTANT - change this value to the size of the PICs program space - 1
was changed to :
clcdENDFLASH con $1FFF 'IMPORTANT - change this value to the size of the PICs program space - 1
3) At the end of the code, the Org value was changed to org 0x1F60
4) Removed the 13 last lines used for the modified ASCII characters
But, when I try to compile, the PBP returns some strange error messages :
Warning[207] d:\teste_~1\nokia~2.asm 188 : Found Label after column 1. (bra)
Error[122] d:\teste_~1\nokia~2.asm 188 : Illegal opcode (clcdoverstr)
Message[303] d:\teste_~1\nokia~2.asm 190 : Program word too large. Truncated to core size (5465)
Message[303] d:\teste_~1\nokia~2.asm 190 : Program word too large. Truncated to core size (7374)
Message[303] d:\teste_~1\nokia~2.asm 190 : Program word too large. Truncated to core size (7472)
Message[303] d:\teste_~1\nokia~2.asm 190 : Program word too large. Truncated to core size (696E)
Message[303] d:\teste_~1\nokia~2.asm 190 : Program word too large. Truncated to core size (6723)
I don´t understand why the code doesn´t fit in my 877, since the same source compiled for the 18F4620 takes less than 3 Kb...
Do you have any idea or any tip to fit it on a 877 ?
Thank you !
Bookmarks