Does anyone know of a way to do the equivalent of this, in C51 V5.50? #include "myfile.bin" Where the file isn't source code text but a binary such as a Windows bitmap. It would need to be located at an absolute eprom address, too. Any suggestions are appreciated!
The C language does not support any such thing. Thus, C51 does not either. You can dump the info into a C array and then put it in a C file. The tell the linker where in code space to locate this C array. - Mark
I guess what is really needed is a binary file to object file converter, so that the linker then can handle things. Does any have a reference to the object file makeup?
There are various conversion utilities on the Keil site at: http://www.keil.com/download/utils.htm