[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::atarist

Title:Atari ST, TT, & Falcon
Notice:Please read note 1.0 and its replies before posting!
Moderator:FUNYET::ANDERSON
Created:Mon Apr 04 1988
Last Modified:Tue May 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1433
Total number of notes:10312

165.0. "ROM/RAM separated C-code" by MUNICH::HEUBERGER () Tue Jul 19 1988 14:34

Hi at arist's

Has anyone experience with a "C" compiler which is able to
generate ROM/RAM separated code like the u-Power-Pascal 
compiler on PDP11 systems ??

I use the MCC assembler successfully but I must switch over
to a High-Level language because of complex arithmetic functions.

Any comments and inputs are welcome.

 Regards, Reinhard

T.RTitleUserPersonal
Name
DateLines
165.1It's mentioned in the MWC documentationPRNSYS::LOMICKAJJeff LomickaTue Jul 19 1988 15:239
Mark Williams C's linker has a "-R" switch that is used to set the
"relocation base", and according to the documentation, is "used primarily
to produce output files that can be burned into ROM.".  I don't know
exactly what it does for you, but you may wish to investigate it.

The compiler does keep separate Psect's for code and data, and even
keeps a separate Psect for readonly data.  It shouldn't be too hard to
post-process the relocatable image into the proper format for ROMs, but
you don't get it for free, you'd have to write some code.
165.2Thanks, GEM support ?MUNICH::HEUBERGERThu Jul 21 1988 14:2612
    Many thanks for this info !
    
    I will order the Mark Williams "C" compiler a.s.a.p. 
    There is only the problem here in Germany to get the
    new version V3.0 ( as far as I know ).
    By the way, does anyone know to get GEM support and
    "C"-ANSI support included in V3.0. ?
    
    Regards, Reinhard