Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #1224
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Newsgroups | comp.sys.apple2.programmer |
| Subject | Re: Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) |
| Date | 2014-05-30 18:35 -0500 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <lmb4kr$6hj$1@speranza.aioe.org> (permalink) |
| References | (1 earlier) <2066765970422593667.536686mjmahon-aol.com@news.giganews.com> <llp5mn$vrj$1@speranza.aioe.org> <566746936422639355.532019mjmahon-aol.com@news.giganews.com> <llqrth$umm$1@speranza.aioe.org> <lmasn5$fe7$1@online.de> |
"Oliver Schmidt" <ol.sc@web.de> wrote: >In 2010 we had a sort of similiar discussion and I provided you with a linker config file that takes full advantage of what cc65 as-is can do today: https://groups.google.com/d/msg/comp.sys.apple2.programmer/LMdw_kBbhMU/pp9Ik_kFahcJ Thank you for reminding me. It seems I have an error in my latest linker configs. >That linker config file doesn't work as-is with the current cc65 but it >should provide you with all info you need to build a BIN file that loads at >$803, contains code both at $803-$2000 and $4000-<HIMEM> and contains a >hires image at $2000-$4000. Yes, at this point it does. After reading the thread in its entirety much more makes sense now. >A meaningful enhancement for the cc65 linker would be to allow a "segment" >(like CODE) to be placed not only into one "memory area" but into several >memory areas. Meaning that the memory areas are used in the given order >until one is found that isn't already too full to hold the content to be placed next. Yes, and from the old Aztec C65 documentation, that's how the LN65 linker almsot works except that it puts data and code together from each object module from the sounds of things. Keeping code together with code seems to make the most sense for tighter fitting of smaller code especially. >With that enhancement in place one could create another apple2 linker >config for graphics programs coming with cc65 that contains the three >memory areas >- 0803-2000 >- 2000-4000 >- 4000-<HIMEM> >and have all the default segments use the first _and_ third memory area. The way it is now, graphics library routines could be below the screen and program code above. Bill
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) "Bill Buckels" <bbuckels@mts.net> - 2014-05-23 21:45 -0500
Re: Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) Michael J. Mahon <mjmahon@aol.com> - 2014-05-23 22:20 -0500
Re: Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) "Bill Buckels" <bbuckels@mts.net> - 2014-05-23 23:03 -0500
Re: Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) David Schmidt <schmidtd@my-deja.com> - 2014-05-24 00:18 -0400
Re: Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) "Bill Buckels" <bbuckels@mts.net> - 2014-05-24 08:49 -0500
Re: Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) "Bill Buckels" <bbuckels@mts.net> - 2014-05-24 10:58 -0500
Re: Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) Michael J. Mahon <mjmahon@aol.com> - 2014-05-24 11:04 -0500
Re: Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) "Bill Buckels" <bbuckels@mts.net> - 2014-05-24 14:28 -0500
Re: Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) ol.sc@web.de (Oliver Schmidt) - 2014-05-30 21:20 +0000
Re: Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) "Bill Buckels" <bbuckels@mts.net> - 2014-05-30 18:35 -0500
csiph-web