home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.apple2      Discussion about Apple II micros      56,720 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 55,978 of 56,720   
   Oliver Schmidt to All   
   Re: In need of help understanding cc65's   
   21 Dec 22 22:46:16   
   
   From: ol.sc@web.de   
      
   Hi Colin,   
      
   > I'm trying to run a program that requires a bit more RAM than the   
   > default configuration and I can't figure what I'm doing wrong.   
      
   Which is the environment you want to run the program in? DOS3.3, ProDOS,   
   ...?   
      
   > cl65 -c -t apple2 -C apple2-system.cfg -o program.o program.c   
      
   There's no point in having a linker configuration file (-C *.cfg) on a   
   compile-only command line.   
      
   > cl65 -t apple2 -C apple2-system.cfg -m program.bin.map \   
   > 	-o program.bin program.o   
      
   There's no point in having a target definition (-t apple2) beside a linker   
   configuration file on a link-only command line.   
      
   In general, there's no need for separate compile and link command lines   
   when just generating a program from a single source file.   
      
   Apart from that, I don't see that using apple2-system.cfg could help you to   
   have more RAM available. Actually pretty much the opposite.   
      
   > I can see in `appledump` that the header differs and '20 00' appears in   
   > place of '08 03' which means that this configuration seems to change   
   > something.   
      
   For sure it does. If you don't know what it does, why do you use it?   
      
   > But after this, I can neither 'BRUN PROGRAM' (crashes right away) nor   
   > start it from a loader.system named PROGRAM.SYSTEM.   
      
   A program generated with apple2-system.cfg isn't supposed to be invoked in   
   either way.   
      
   > The documentation on internet is sparse and I'd love to get a few   
   > pointers.   
      
   There are diverse environments to run Apple II programs in. Therefore it is   
   hard to provide specific guidance. The existing documentation (authored by   
   me) rather presumes that you exactly know "your" environment and only   
   provides hints on how to make the cc65 linker do what you want it to do.   
      
   Regards,   
   Oliver   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca