KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q41256: ROMable Code Using Microsoft C

Article: Q41256
Product(s): See article
Version(s): 5.10
Operating System(s): MS-DOS
Keyword(s): ENDUSER | SR# G890121-10245 appnote | mspl13_c
Last Modified: 31-MAY-1989

Question:

How can I use the Microsoft C Compiler to produce code that will be
put into ROM?

Response:

The best way is to use a third-party package designed to produce
ROMable code using Microsoft C. The linker supplied with our compiler
only produces code designed to run under the DOS and OS/2
environments. CodeView only runs under DOS or OS/2. Third-party
packages typically include an alternate linker and debugger.

You can find out more about these third-party packages by obtaining a
copy of a technically oriented PC magazine or by talking with a dealer
who sells such packages. Microsoft also provides an application note
called "Writing ROMable Code in Microsoft C," which can be obtained
from Microsoft Product Support Services by calling (206) 454-2030.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.