Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #4695 > unrolled thread
| Started by | Matthew Power <matthewmpower@gmail.com> |
|---|---|
| First post | 2018-08-21 20:02 -0700 |
| Last post | 2018-08-28 13:31 -0700 |
| Articles | 20 on this page of 29 — 10 participants |
Back to article view | Back to comp.sys.apple2.programmer
What C development environment on Apple II do you recommend? Matthew Power <matthewmpower@gmail.com> - 2018-08-21 20:02 -0700
Re: What C development environment on Apple II do you recommend? Marco Verpelli <mverpelli@libero.it> - 2018-08-21 23:37 -0700
Re: What C development environment on Apple II do you recommend? Antoine Vignau <antoine.vignau@laposte.net> - 2018-08-22 05:50 -0700
Re: What C development environment on Apple II do you recommend? Marco Verpelli <mverpelli@libero.it> - 2018-08-22 07:02 -0700
Re: What C development environment on Apple II do you recommend? Antoine Vignau <antoine.vignau@laposte.net> - 2018-08-22 12:11 -0700
Re: What C development environment on Apple II do you recommend? Marco Verpelli <mverpelli@libero.it> - 2018-08-23 01:52 -0700
Re: What C development environment on Apple II do you recommend? Andrew Werner <handyandy802@yahoo.com> - 2018-08-23 09:43 +0000
Re: What C development environment on Apple II do you recommend? Marco Verpelli <mverpelli@libero.it> - 2018-08-23 03:24 -0700
Re: What C development environment on Apple II do you recommend? "Bill Buckels" <bbuckels@mts.net> - 2018-08-23 11:51 -0500
Re: What C development environment on Apple II do you recommend? Andrew Werner <handyandy802@yahoo.com> - 2018-08-23 21:59 +0000
Re: What C development environment on Apple II do you recommend? Antoine Vignau <antoine.vignau@laposte.net> - 2018-08-23 13:01 -0700
Re: What C development environment on Apple II do you recommend? "Bill Buckels" <bbuckels@mts.net> - 2018-08-22 05:02 -0500
Re: What C development environment on Apple II do you recommend? ol.sc@web.de (Oliver Schmidt) - 2018-08-23 09:30 +0000
Re: What C development environment on Apple II do you recommend? "Bill Buckels" <bbuckels@mts.net> - 2018-08-23 10:54 -0500
Re: What C development environment on Apple II do you recommend? Antoine Vignau <antoine.vignau@laposte.net> - 2018-08-23 09:42 -0700
Re: What C development environment on Apple II do you recommend? ol.sc@web.de (Oliver Schmidt) - 2018-08-23 19:12 +0000
Re: What C development environment on Apple II do you recommend? "Bill Buckels" <bbuckels@mts.net> - 2018-08-23 21:14 -0500
Re: What C development environment on Apple II do you recommend? "Bill Buckels" <bbuckels@mts.net> - 2018-08-23 04:22 -0500
Re: What C development environment on Apple II do you recommend? "Bill Buckels" <bbuckels@mts.net> - 2018-08-23 04:27 -0500
What C development environment on Apple II do you recommend? Michael Pohoreski <michael.pohoreski@gmail.com> - 2018-08-24 10:00 -0700
Re: What C development environment on Apple II do you recommend? "Bill Buckels" <bbuckels@mts.net> - 2018-08-24 21:04 -0500
Re: What C development environment on Apple II do you recommend? Egan Ford <datajerk@gmail.com> - 2018-08-26 09:49 -0600
Re: What C development environment on Apple II do you recommend? "Bill Buckels" <bbuckels@mts.net> - 2018-08-27 12:14 -0500
Re: What C development environment on Apple II do you recommend? ol.sc@web.de (Oliver Schmidt) - 2018-08-26 19:06 +0000
Re: What C development environment on Apple II do you recommend? Matthew Power <matthewmpower@gmail.com> - 2018-08-27 16:43 -0700
Re: What C development environment on Apple II do you recommend? Zellyn <zellyn@gmail.com> - 2018-08-28 06:35 -0700
Re: What C development environment on Apple II do you recommend? Matthew Power <matthewmpower@gmail.com> - 2018-08-28 17:16 -0700
Re: What C development environment on Apple II do you recommend? paul.s.macmillan@gmail.com - 2018-08-28 09:24 -0700
Re: What C development environment on Apple II do you recommend? Antoine Vignau <antoine.vignau@laposte.net> - 2018-08-28 13:31 -0700
Page 1 of 2 [1] 2 Next page →
| From | Matthew Power <matthewmpower@gmail.com> |
|---|---|
| Date | 2018-08-21 20:02 -0700 |
| Subject | What C development environment on Apple II do you recommend? |
| Message-ID | <63962db7-6c0b-46bf-ba6d-4ffbbe8cf213@googlegroups.com> |
On Asimov I see Aztec C and Hyper C. Are there others still? I haven't written code very much since switching careers over a decade ago and I'd like to start writing C again. I choose to so on my //e. Maybe write some text-based games or something. Any suggestions?
[toc] | [next] | [standalone]
| From | Marco Verpelli <mverpelli@libero.it> |
|---|---|
| Date | 2018-08-21 23:37 -0700 |
| Message-ID | <2c6c9a50-1fbc-410a-b643-c625db034d1b@googlegroups.com> |
| In reply to | #4695 |
On Wednesday, August 22, 2018 at 5:02:21 AM UTC+2, Matthew Power wrote: > On Asimov I see Aztec C and Hyper C. Are there others still? I haven't written code very much since switching careers over a decade ago and I'd like to start writing C again. I choose to so on my //e. Maybe write some text-based games or something. > > Any suggestions? I like Atzec. Pure K&R style! There is also the cross compiler "cc65". Marco
[toc] | [prev] | [next] | [standalone]
| From | Antoine Vignau <antoine.vignau@laposte.net> |
|---|---|
| Date | 2018-08-22 05:50 -0700 |
| Message-ID | <1d8ed3fb-11c9-404b-8ea9-31a3f8dadec7@googlegroups.com> |
| In reply to | #4696 |
Hi there, Do they generate pseudocode or 6502 or 65c02, please? av
[toc] | [prev] | [next] | [standalone]
| From | Marco Verpelli <mverpelli@libero.it> |
|---|---|
| Date | 2018-08-22 07:02 -0700 |
| Message-ID | <42fe917f-c4ba-4da8-b3da-1029a628cccc@googlegroups.com> |
| In reply to | #4698 |
On Wednesday, August 22, 2018 at 2:50:40 PM UTC+2, Antoine Vignau wrote: > Hi there, > Do they generate pseudocode or 6502 or 65c02, please? > > av Aztec can do both: cc -> 6502, cci -> p-code Marco
[toc] | [prev] | [next] | [standalone]
| From | Antoine Vignau <antoine.vignau@laposte.net> |
|---|---|
| Date | 2018-08-22 12:11 -0700 |
| Message-ID | <0c7cb2a4-e203-44d7-a57c-921f0af8b797@googlegroups.com> |
| In reply to | #4699 |
On Wednesday, August 22, 2018 at 4:02:39 PM UTC+2, Marco Verpelli wrote: > On Wednesday, August 22, 2018 at 2:50:40 PM UTC+2, Antoine Vignau wrote: > > Hi there, > > Do they generate pseudocode or 6502 or 65c02, please? > > > > av > > Aztec can do both: cc -> 6502, cci -> p-code > > Marco Thank you, Marco.
[toc] | [prev] | [next] | [standalone]
| From | Marco Verpelli <mverpelli@libero.it> |
|---|---|
| Date | 2018-08-23 01:52 -0700 |
| Message-ID | <a12ce50e-0423-46f5-bb47-e89fbdaa30c5@googlegroups.com> |
| In reply to | #4700 |
On Wednesday, August 22, 2018 at 9:11:32 PM UTC+2, Antoine Vignau wrote: > On Wednesday, August 22, 2018 at 4:02:39 PM UTC+2, Marco Verpelli wrote: > > On Wednesday, August 22, 2018 at 2:50:40 PM UTC+2, Antoine Vignau wrote: > > > Hi there, > > > Do they generate pseudocode or 6502 or 65c02, please? > > > > > > av > > > > Aztec can do both: cc -> 6502, cci -> p-code > > > > Marco > > Thank you, Marco. You're welcome, talking about C some of you know why the link http://mirrors.apple2.org.za/Apple%20II%20Documentation%20Project/Software/Languages/C/WSM%20Group%20HyperC/Manuals/WSM%20Group%20HyperC%20Manual.pdf leads into Nowhereland Marco
[toc] | [prev] | [next] | [standalone]
| From | Andrew Werner <handyandy802@yahoo.com> |
|---|---|
| Date | 2018-08-23 09:43 +0000 |
| Message-ID | <handyandy802-1535017379@macgui.com> |
| In reply to | #4701 |
Marco Verpelli wrote: > On Wednesday, August 22, 2018 at 9:11:32 PM UTC+2, Antoine Vignau wrote: >> On Wednesday, August 22, 2018 at 4:02:39 PM UTC+2, Marco Verpelli wrote: >> > On Wednesday, August 22, 2018 at 2:50:40 PM UTC+2, Antoine Vignau >> > wrote: >> > > Hi there, >> > > Do they generate pseudocode or 6502 or 65c02, please? >> > > >> > > av >> > >> > Aztec can do both: cc -> 6502, cci -> p-code >> > >> > Marco >> >> Thank you, Marco. > > You're welcome, > talking about C some of you know why the link > > http://mirrors.apple2.org.za/Apple%20II%20Documentation%20Project/Software/Languages/C/WSM%20Group%20HyperC/Manuals/WSM%20Group%20HyperC%20Manual.pdf > > leads into Nowhereland > > Marco > Hello all, I uploaded the HyperC manual after scanning it. I also uploaded the source code for the HyperC operating system. An alternative to the Documentation Project would be here: http://forum.6502.org/viewtopic.php?f=1&t=4314&p=59465#p59465 My apologies, Andy
[toc] | [prev] | [next] | [standalone]
| From | Marco Verpelli <mverpelli@libero.it> |
|---|---|
| Date | 2018-08-23 03:24 -0700 |
| Message-ID | <cbdefca0-9587-4a3e-a47c-e6bd189d0924@googlegroups.com> |
| In reply to | #4705 |
On Thursday, August 23, 2018 at 11:43:02 AM UTC+2, Andrew Werner wrote: > Marco Verpelli wrote: > > On Wednesday, August 22, 2018 at 9:11:32 PM UTC+2, Antoine Vignau wrote: > >> On Wednesday, August 22, 2018 at 4:02:39 PM UTC+2, Marco Verpelli wrote: > >> > On Wednesday, August 22, 2018 at 2:50:40 PM UTC+2, Antoine Vignau > >> > wrote: > >> > > Hi there, > >> > > Do they generate pseudocode or 6502 or 65c02, please? > >> > > > >> > > av > >> > > >> > Aztec can do both: cc -> 6502, cci -> p-code > >> > > >> > Marco > >> > >> Thank you, Marco. > > > > You're welcome, > > talking about C some of you know why the link > > > > http://mirrors.apple2.org.za/Apple%20II%20Documentation%20Project/Software/Languages/C/WSM%20Group%20HyperC/Manuals/WSM%20Group%20HyperC%20Manual.pdf > > > > leads into Nowhereland > > > > Marco > > > > Hello all, > > I uploaded the HyperC manual after scanning it. I also uploaded the source > code for the HyperC operating system. An alternative to the Documentation > Project would be here: > http://forum.6502.org/viewtopic.php?f=1&t=4314&p=59465#p59465 > My apologies, > Andy Downloaded, thanks. Although I have always been more on the side of Aztec, now with the documentation available I will try HyperC Marco
[toc] | [prev] | [next] | [standalone]
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Date | 2018-08-23 11:51 -0500 |
| Message-ID | <plmomr$k2d$1@gioia.aioe.org> |
| In reply to | #4705 |
"Andrew Werner" <handyandy802@yahoo.com> wrote: >I uploaded the HyperC manual after scanning it. I also uploaded the source >code for the HyperC operating system. An alternative to the Documentation >Project would be here: >http://forum.6502.org/viewtopic.php?f=1&t=4314&p=59465#p59465 Thanks for this Andy, and also for the link to the thread. After reading the thread thoroughly and restraining myself from participating since the thing has a life of its own, I feel obligated to tell you that I for one have no intention of writing a C compiler because the work that I have done resurrecting old C compilers is about all I can manage, but it was fun to read about how easy it is to write one :) and easy to bash one as well, I should add. So how is that project coming along I wonder... ? Just kidding. Mostly... >My apologies, Andy Mine too... thanks again for the Hyper C stuff. Bill
[toc] | [prev] | [next] | [standalone]
| From | Andrew Werner <handyandy802@yahoo.com> |
|---|---|
| Date | 2018-08-23 21:59 +0000 |
| Message-ID | <handyandy802-1535061545@macgui.com> |
| In reply to | #4709 |
Bill Buckels wrote: > "Andrew Werner" <handyandy802@yahoo.com> wrote: >>I uploaded the HyperC manual after scanning it. I also uploaded the >>source >>code for the HyperC operating system. An alternative to the Documentation >> >>Project would be here: >>http://forum.6502.org/viewtopic.php?f=1&t=4314&p=59465#p59465 > > Thanks for this Andy, and also for the link to the thread. After reading > the > thread thoroughly and restraining myself from participating since the > thing > > has a life of its own, I feel obligated to tell you that I for one have no > > intention of writing a C compiler because the work that I have done > resurrecting old C compilers is about all I can manage, but it was fun to > read about how easy it is to write one :) and easy to bash one as well, I > should add. So how is that project coming along I wonder... ? > > Just kidding. Mostly... > >>My apologies, Andy > > Mine too... thanks again for the Hyper C stuff. > > Bill > Hi Bill, Yes that link goes to a thread about writing a C compiler for a 6502. I have no intention of writing a compiler either. I do enjoy using HyperC from time to time. My contribution to the thread was to show how one compiler works for example for the original poster. There are source files for the pseudo-code interpreter and operating system there as well but not for the system tools. Cheers! Andy
[toc] | [prev] | [next] | [standalone]
| From | Antoine Vignau <antoine.vignau@laposte.net> |
|---|---|
| Date | 2018-08-23 13:01 -0700 |
| Message-ID | <fb8fa1b6-5de2-4efa-901b-59ba6613912b@googlegroups.com> |
| In reply to | #4705 |
On Thursday, August 23, 2018 at 11:43:02 AM UTC+2, Andrew Werner wrote: > Hello all, > > I uploaded the HyperC manual after scanning it. I also uploaded the source > code for the HyperC operating system. An alternative to the Documentation > Project would be here: > http://forum.6502.org/viewtopic.php?f=1&t=4314&p=59465#p59465 > My apologies, > Andy I cannot make it downloadable on the Apple II Documentation Project. I tried a couple of options but all failed, sorry. Use Andy's link instead, Antoine -:(
[toc] | [prev] | [next] | [standalone]
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Date | 2018-08-22 05:02 -0500 |
| Message-ID | <pljccq$vtd$1@gioia.aioe.org> |
| In reply to | #4695 |
"Matthew Power" <matthewmpower@gmail.com> wrote: >On Asimov I see Aztec C <snip> At www.aztecmuseum.ca (the official Aztec C online museum) I see more Aztec C compilers than on Asimov... that is for sure. (Check at www.appleoldies.ca and www.cpm8680.com for additional Aztec C65 and CP/M projects respectively.) A better alternative than ProDOS or DOS 3.3 based native Apple II compilers is a 6502 cross-compiler that runs on a modern host computer. As far as 6502 cross-compilers, cc65 generates faster and smaller Apple II code than Aztec C, and both provide either inline assembly or linking of external object modules written in 6502 assembly. Mixed-language WELL WRITTEN C with assembly is a more sensible general approach for the Apple II from my view. However, you would need MS-DOS or an MS-DOS emulator to use the Aztec C65 cross-development environment on a modern host. As far as cc65, to recap from some of my previous posts, my cc65 project samples and related documents are roughly organized as follows: Docs - Root Directory - http://www.appleoldies.ca/cc65/docs/ Demos - Root Directory - http://www.appleoldies.ca/cc65/programs/ A PHP script automatically serves these and several other directories related to my Apple II graphics work including my work with my various graphics converters. Some of my "old" work on shr can be found here: http://www.appleoldies.ca/graphics/shr/ Main Page: http://www.appleoldies.ca/graphics/ I have also provided some primitive videos (without soundtrack) on my youtube channel to go along with my cc65 and Apple IIgs Super Hi-Res graphics conversion demos. Some of these are listed below along with some other related articles, but these are by no means complete... and one of these days I am going to get some help from John Brooks to extend cc65 with Brooks loader capability (it's on my bucket list :) In the meantime, I am using Ron Mercer's SHRView for the 200 - palette demos... The A2B Converter Html Docs Using Batch Files and Shell Scripts to Produce Apple IIgs Super-Hi Res (SHR) Screen Images http://www.appleoldies.ca/a2b/SHRConversionUsingBatchFilesandShellScriptsWithA2B2016.htm Everyone's Quick Start Guide for Converting Modern Graphics Images to Apple IIgs Super Hi-Res (SHR) Images using the A2FCBmp (A2B) Converter http://www.appleoldies.ca/a2b/ Apple IIgs Super Hi-Res (SHR) Converter Output Comparison - A2B and Convert3200 - Summer 2015 http://www.appleoldies.ca/a2b/Summer2015/Convert3200A2BComparisonSummer2015.htm Apple IIgs Super Hi-Res (SHR) Converter Output Comparison - A2B and SuperConvert and Special Guest Convert3200 - Summer 2015 http://www.appleoldies.ca/a2b/Summer2015/SuperConvertA2BComparisonSummer2015.htm Apple IIgs Super Hi-Res (SHR) Converter Output Comparison - A2B and Prism - Summer 2015 http://www.appleoldies.ca/a2b/Summer2015/PrismA2BComparisonSummer2015.htm Slideshows http://www.appleoldies.ca/a2b/Summer2015/disks/ http://www.appleoldies.ca/a2b/disks/ Videos Doctor DOOM Apple IIgs SHR conversions of Old School Amiga Pixel Art by A2B https://www.youtube.com/watch?v=h4qYSs6_qnM Old School Version - Amiga and Amiga Inspired Apple IIgs SHR Slideshow https://www.youtube.com/watch?v1ISlJsN2w&ts Amiga and Amiga Inspired Converted Artwork - Apple IIgs 200-palette SHR Slideshow https://www.youtube.com/watch?v=2-p3j7Ay-Vo More Amiga and Amiga Inspired Converted Pixel Art - Apple IIgs 200-palette Slideshow https://www.youtube.com/watch?vÛUg6HoGbCw Apple IIgs 200-palette SHR Slideshow - Amiga Artwork One - A2B Converter https://www.youtube.com/watch?v=eRDjbbhCFaM Apple IIgs 200-palette SHR Slideshow - Amiga Artwork Two - A2B Converter https://www.youtube.com/watch?v=O3hhC7UvucI Msx Fan conversions - Full-Screen Version - SHR Demo Slideshow https://www.youtube.com/watch?v=X1IrfchFavw Msx Fan conversions - Apple IIgs SHR Demo Slideshow https://www.youtube.com/watch?v=H7uf0_kd8Sk Apple IIgs SHR 16-palette Examples - Wildlife Slideshow - Jan 2016 https://www.youtube.com/watch?v=rxReYz-Qqr0&tDs Apple IIgs 200-palette SHR A2B Conversion Examples - Leopards https://www.youtube.com/watch?v=cXO74sCo8fI Apple IIgs Super Hi-Res David Bowie Short Tribute https://www.youtube.com/watch?v=eGjFa2tBtAo Apple IIgs Super Hi-res 200-Palette Example - Summer 2015 - A2B Converter https://www.youtube.com/watch?v=x-Wh1_KtNl4&t0s Apple IIGS Super Hi-Res Mad Max Fury Road Stills - 200 Palettes https://www.youtube.com/watch?v=RUrtzXvedZ0 Apple IIGS Super Hi-Res Mad Max Fury Road Stills - 16 Palettes https://www.youtube.com/watch?v=L6svnCQavd0 Apple IIGS Brooks SHR Example Transformations - Mad Max Round Two https://www.youtube.com/watch?v=KGftEmCGitc Conventional Sampling Apple IIGS SHR Transformations on images from WOZ.ORG https://www.youtube.com/watch?v=-pJXMa3N2bs Over Sampling Apple IIGS SHR Transformations on images from WOZ.ORG https://www.youtube.com/watch?v=LtEUzMQ7jf8 BIRDCAM 200-Palette Brooks - Apple IIGS Super-Hi Res Transformations by A2B https://www.youtube.com/watch?v=2ncecLmXrY8 BIRDCAM 16-Palette OverSampled - Apple IIGS Super-Hi Res Transformations by A2B https://www.youtube.com/watch?v=Ujr2EQx7sWg BIRDCAM GreyScale - Apple IIGS Super-Hi Res Transformations by A2B https://www.youtube.com/watch?v=Z8XW4yQ5A44 Apple IIGS Super Hi-Res 200-palette Brooks Examples - Dan Piraro Bizarro Cartoons https://www.youtube.com/watch?v¯gc_0RSJKI&tRs An Apple IIGS Super Hi-Res (SHR) Brooks Mode Tribute to John Bridges https://www.youtube.com/watch?v=Yy07H5xS0w4&t4s Thinking Outside the SHR Pixel - An Apple IIGS Brooks Mode Tribute to John Bridges Part Two https://www.youtube.com/watch?v=bvpgqj0HzF4 Meet This Dog - Apple II Super Hi-Res (SHR) 200-palette "Brooks" Example Conversions using A2B https://www.youtube.com/watch?v=2tZdKPv8aiU Apple IIGS SHR Sampler 16-Palette Example - The A2B Converter https://www.youtube.com/watch?v=ej0zsb3XUgU Apple //e + "Video Overlay Card" produced by Stynx (Jonas Grönhagen) https://www.youtube.com/watch?v=oTplc204D5w Regards, Bill Buckels
[toc] | [prev] | [next] | [standalone]
| From | ol.sc@web.de (Oliver Schmidt) |
|---|---|
| Date | 2018-08-23 09:30 +0000 |
| Message-ID | <pllusk$api$1@news.albasani.net> |
| In reply to | #4697 |
Hi Bill, >[...] and one of >these days I am going to get some help from John Brooks to extend cc65 with >Brooks loader capability [...] That's interesting for at least two reasons: 1. In general. What loader? Do you mind to elaborate? 2. John and cc65? Last time I read about those two here John complained about using cc65 for anything in the first place. Regards, Oliver
[toc] | [prev] | [next] | [standalone]
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Date | 2018-08-23 10:54 -0500 |
| Message-ID | <plmlb6$dj3$1@gioia.aioe.org> |
| In reply to | #4704 |
"Oliver Schmidt" <ol.sc@web.de> wrote: >Hi Bill, Hi Oliver. One of these days I am going to find time to get back to my Apple II C programming. But recent years seem to require more attention to real life rather than hobby life... >>[...] and one of these days I am going to get some help from John Brooks >>to extend cc65 with Brooks loader capability [...] >That's interesting for at least two reasons: >1. In general. What loader? Do you mind to elaborate? I was simply hoping (out-loud) that I can somehow convince John Brooks to put together a cc65 Library Routine to load a Brooks Image the same way I have written routines to load multi-palette SHR images in cc65. I suspect he would be better at coding such a thing than I am. (or perhaps I am simply intellectually lazy and I want him to do the work)... >2. John and cc65? Last time I read about those two here John complained >about using cc65 for anything in the first place. Well, then I hope he changes his mind. cc65 is infinetly faster, more modern and smaller than Aztec C65, or some other bloated old C compiler :) I couldn't continue to bash cc65 and ignore the evidence of its excellence, and perhaps someday John will change his mind somewhat... because for those not as hardcore as a bare-metal assembly programmer, cc65 offers a far more elegant and effective alternative to crappy old AppleSoft BASIC. As for me I am not a purist:) Or even historically close... just someone who has had some fun. Regards, Bill
[toc] | [prev] | [next] | [standalone]
| From | Antoine Vignau <antoine.vignau@laposte.net> |
|---|---|
| Date | 2018-08-23 09:42 -0700 |
| Message-ID | <899231c7-1cc7-4285-8b02-4f47a0e55aa0@googlegroups.com> |
| In reply to | #4707 |
For HyperC on the A2 documentation project, Andy wrote to me earlier, I'll check the access rights because the file is there, av
[toc] | [prev] | [next] | [standalone]
| From | ol.sc@web.de (Oliver Schmidt) |
|---|---|
| Date | 2018-08-23 19:12 +0000 |
| Message-ID | <pln0ul$o3t$1@news.albasani.net> |
| In reply to | #4707 |
Hi Bill, >>>[...] and one of these days I am going to get some help from John Brooks >>>to extend cc65 with Brooks loader capability [...] >>That's interesting for at least two reasons: >>1. In general. What loader? Do you mind to elaborate? >I was simply hoping (out-loud) that I can somehow convince John Brooks to >put together a cc65 Library Routine to load a Brooks Image the same way I >have written routines to load multi-palette SHR images in cc65. I see. Is there somewhere a spec of a "Brooks Image"? >>2. John and cc65? Last time I read about those two here John complained >>about using cc65 for anything in the first place. >Well, then I hope he changes his mind. cc65 is infinetly faster, more modern >and smaller than Aztec C65, or some other bloated old C compiler :) :-)) However, it's my fault that there's a misunderstanding: John's statement wasn't about 'cc65 as C cross compiler' but about 'cc65 as cross tool chain including a 6502 macro assembler'. Maybe I should have written ca65 instead but one needs ld65 beside ca65 and instead of writing ca65/ld65 I tend to write cc65 to mean the whole tool chain. For the sake of completeness here's the statement I'm refering to (https://groups.google.com/d/msg/comp.sys.apple2/quyzC9FXXA4/G1G2RkGRBQAJ): ========== We are getting off-topic, so I'll just summarize: Benefits of Merlin src vs ca65: 1) Listings can calc code-block cycle counts for all 65xx processors 2) Assemble to bin or rel on an Apple II,II+,//e,//c,GS with Merlin8 3) Assemble (as 8-bit or 16-bit) to bin/rel/OMF on a IIGS with Merlin16 4) Cross-assemble on Mac/PC/Linux to bin/rel/OMF with Merlin32 5) Share code (same syntax!) to or from other Merlin src apps 6) Easy to migrate 8-bit code to GS apps 7) Large collection of legacy Merlin programs, books, magazines, listings to share with 8) Merlin8 & Merlin32 are open source, so improving them helps all the above Benefits of ca65 src vs Merlin8+Merlin16+Merlin32: ? -JB @JBrooksBSI ==========
[toc] | [prev] | [next] | [standalone]
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Date | 2018-08-23 21:14 -0500 |
| Message-ID | <plnpls$cav$1@gioia.aioe.org> |
| In reply to | #4710 |
"Oliver Schmidt" <ol.sc@web.de> wrote: >>Benefits of ca65 src vs Merlin8+Merlin16+Merlin32: Ha! That's easy... ca65 is compatible with the cc65 toolchain... and that may not be an apparent benefit to an assembly programmer but to a C programmer like me, that is a great plus :) Regards, Bill
[toc] | [prev] | [next] | [standalone]
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Date | 2018-08-23 04:22 -0500 |
| Message-ID | <plluce$12hv$1@gioia.aioe.org> |
| In reply to | #4695 |
"Matthew Power" <matthewmpower@gmail.com> wrote:
>I haven't written code very much since switching careers over a decade ago
>and I'd like to start writing C again. I choose to so on my //e. Maybe
>write some text-based games or something. Any suggestions?
As was said, the cc65 cross-development environment is a better alternative.
So why not write some graphics-based games in cc65? Here, read this...
The Mixed-Up Toy and other Incredible Toys - An Apple II DHGR Programming
Adventure for the C Language Programmer
http://www.appleoldies.ca/bmp2dhr/silly
and also
Creating Double Hi-Res Graphics (DHGR) Image Fragments ("Sprites") in
Bmp2DHR - For the Apple II C Programmer
http://www.appleoldies.ca/bmp2dhr/sprites/
Regards,
Bill
[toc] | [prev] | [next] | [standalone]
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Date | 2018-08-23 04:27 -0500 |
| Message-ID | <pllult$133a$1@gioia.aioe.org> |
| In reply to | #4702 |
"Bill Buckels" <bbuckels@mts.net> wrote: > Here, read this... Especially this part... Writing The Program - An Incredible Journey http://www.appleoldies.ca/bmp2dhr/silly/#_Toc409447939 Regards, Bill
[toc] | [prev] | [next] | [standalone]
| From | Michael Pohoreski <michael.pohoreski@gmail.com> |
|---|---|
| Date | 2018-08-24 10:00 -0700 |
| Message-ID | <a78bade8-8384-4967-b8d1-f4c489be4338@googlegroups.com> |
| In reply to | #4695 |
What type of application(s) are you planning on writing on the Apple 2? I'm a hardcore 6502 assembly and C/C++ programmer (Data-Oriented Design, OpenMP, CUDA, blah blah blah) but W.R.T. using C on the 6502 -- as much as I love C, personally, I wouldn't waste your time with a C compiler on the 6502. C compilers on the 6502 will never produce optimal 6502 code compared to hand-written assembly. Just go directly to the metal and use fantastic cross-assemblers like: * Merlin32, or * SBASM. Or, if you are a sadist, and have time to waste, you could even use ca65 once you fix it's missing Apple 2 string types broken-out-of-the-box functionality. If your heart is set on using C then I would also strongly consider using cc65 as you can integrate assembly with it. Just be prepared to spend a bunch of time on the toolchain, along with the "edit-compile-upload" cycle. I highly recommend Merlin32 as it just works out-of-the-box. For debugging, I would recommend AppleWin's debugger. There is even cycle counting built-in if you need it. If you don't know (or don't want to learn) 6502 assembly then I would recommend: 1. Use Applesoft Basic for quick prototyping (might also want to investigate the Jace emulator on Windows), and then 2. a) Augment the hotspots with 6502 asm. 2. b) If you still need more speed then compile Applesoft using the Beagle Compiler or the Einstein Compiler. In the past there have been some (minor) benchmarks and I've been impressed with fast they have been compared to native asm. I would highly recommend learning 6502 assembly if you don't already know it -- it will make you a better programmer overall both on 6502 and on x86. But without knowing more on the type of application(s) you plan on writing it is hard to recommend C on the 6502. i.e. If you are writing a boot loader, or disk reading/writing code then using C wouldn't be the smartest idea. If you are writing some graphic utilities, and don't care about speed, then C might be an acceptable solution for you. Cheers Michael
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.sys.apple2.programmer
csiph-web