OC51: FATAL ERROR 204 (INVALID INPUT FILE)
Information in this article applies to:
I'm writing a simple test application and I've enabled code banking (I specified the BANKAREA directive and included the L51_BANK.A51 file in my project). But now, I get the following error from the OC51 program:
*** ERROR 204: INVALID INPUT FILE
When you create a code banking program, the linker emits a special OMF51 object module that includes information for the common area and for each code bank. When you go through the motions of creating a code banking program, but you don't actually specify any code banks, the linker outputs a regular OMF51 object file.
Then, when you run the OC51 Banked Object File Converter (which expects a banked OMF51 file) it chokes (because the object module doesn't have any code banks).
To avoid this error, move at least one function into a code bank or don't specify the BANKAREA directive to the linker.
Last Reviewed: Friday, July 15, 2005
of your data.