WDCTools Limited C-Compilers
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
WDCTools Limited C-Compilers
WDC have today released free limited 65C02 and 65C816 C compilers for download here:
http://wdc65xx.com/wdctools-limited-c-c ... tter_2016)
I haven't tried them myself. I think the 250 line limit is a bit too restrictive. If you use any of the standard include files most of your line quota will be used up.
http://wdc65xx.com/wdctools-limited-c-c ... tter_2016)
I haven't tried them myself. I think the 250 line limit is a bit too restrictive. If you use any of the standard include files most of your line quota will be used up.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
Re: WDCTools Limited C-Compilers
Indeed, severely limited. Crippled would better describe it. 2kb code size limit, 250 lines. No assembly listing.
Useless alas.
Useless alas.
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Re: WDCTools Limited C-Compilers
HansO wrote:
Indeed, severely limited. Crippled would better describe it. 2kb code size limit, 250 lines. No assembly listing.
Useless alas.
Useless alas.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
Re: WDCTools Limited C-Compilers
I feel like I can almost hear the discussion at WDC; they are torn between getting people interested in their tools and not wanting to give anything away. I'm sure they have not yet found the right balance. They should have confidence that support is what makes for a paying customer.
- GARTHWILSON
- Forum Moderator
- Posts: 8774
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: WDCTools Limited C-Compilers
I think free software tools is a major factor in what made PIC microcontrollers so successful in the 1990's. Part of this is the help it gives to hobbyists who can't afford much. They get cozy with the product, and later when they get into industry and they're now professionals, they bring their interest with them, and design your microprocessor or microcontroller into their products. Sometimes WDC seems to understand that, and sometimes not.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: WDCTools Limited C-Compilers
I think free tools are a good way to build an audience for a toolset. Even for the non-free tools it looks like the license fee isn't too bad.
Do they have other tools besides 'C' / Assembler ?
I've an opinion that for the 6502 one may do almost as well as a compiler by running an interpreter if one wants to work in a high-level language. The focus of the 6502 isn't high speed and heavy duty apps. Is there an interpreter (BASIC ?) that can use more than 64k ?
Do they have other tools besides 'C' / Assembler ?
I've an opinion that for the 6502 one may do almost as well as a compiler by running an interpreter if one wants to work in a high-level language. The focus of the 6502 isn't high speed and heavy duty apps. Is there an interpreter (BASIC ?) that can use more than 64k ?
Re: WDCTools Limited C-Compilers
It may be that the "optimising" aspect of WDC's compiler is worth having - for anyone who finds they have time or space concerns. But one would need to try it to know that it is worthwhile.
John K's patch of Acorn's BBC Basic allows, I think, for 128k total RAM footprint on an '816: the interpreter and the user program live in bank 0 and the program's data lives in bank 1. It's a neat solution as it means the existing code dealing with 16 bit pointers is mostly untouched, and loading and saving can act as if bank 0 is all there is.
John K's patch of Acorn's BBC Basic allows, I think, for 128k total RAM footprint on an '816: the interpreter and the user program live in bank 0 and the program's data lives in bank 1. It's a neat solution as it means the existing code dealing with 16 bit pointers is mostly untouched, and loading and saving can act as if bank 0 is all there is.
Re: WDCTools Limited C-Compilers
Well, this free compiler is frankly useless with those limitations. So I don't see the point of that release at all. On the other hand the full tools aren't very expensive IIRC (I should check again I guess). But let's look at the FPGA market for a moment: Altera (to take one) FPGAs are *everywhere* in the hobby arena. That overflows to the commercial sector too. This would not at all be the case if there was no free (as in beer) version of Quartus II. The deployment would be dramatically different.
Re: WDCTools Limited C-Compilers
I confess I don't understand the business logic behind not releasing the full version to the world for free either.
-
teamtempest
- Posts: 443
- Joined: 08 Nov 2009
- Location: Minnesota
- Contact:
Re: WDCTools Limited C-Compilers
Quote:
Is there an interpreter (BASIC ?) that can use more than 64k ?
Re: WDCTools Limited C-Compilers
I suspect they are providing "just enough" to do simple things with the SXB boards. For commercial purposes, the ($40?) registration fee isn't unreasonable, and the libraries support double-precision floating point, etc. But most people won't need that.
I'm going to try to run the trial version through it's paces in a few days.
I'm going to try to run the trial version through it's paces in a few days.
- barrym95838
- Posts: 2056
- Joined: 30 Jun 2013
- Location: Sacramento, CA, USA
Re: WDCTools Limited C-Compilers
teamtempest wrote:
... all the bank switching required is handled by the interpreter. However at the original 1MHz processor speed, BASIC programs are noticeably slower than on machines which do not bank switch.
Mike B.
-
teamtempest
- Posts: 443
- Joined: 08 Nov 2009
- Location: Minnesota
- Contact:
Re: WDCTools Limited C-Compilers
Quote:
Do you know if the unmodified string literals remain embedded in the code bank, or does the interpreter always copy them to the variable bank at run-time?
Re: WDCTools Limited C-Compilers
joe7 wrote:
I suspect they are providing "just enough" to do simple things with the SXB boards. For commercial purposes, the ($40?) registration fee isn't unreasonable, and the libraries support double-precision floating point, etc. But most people won't need that.
I'm going to try to run the trial version through it's paces in a few days.
I'm going to try to run the trial version through it's paces in a few days.
Re: WDCTools Limited C-Compilers
Gered wrote:
Is it even possible for an individual to buy a license? Their online store says "out of stock" and they don't seem very response to emails when I've tried. It seems kind of unbelievable that, as a customer, I have money I want to give them for their product but they will not accept it. 
http://wdc65xx.com/support/contact-us/