6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 6:08 pm

All times are UTC




Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Tue Apr 19, 2016 8:42 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
WDC have today released free limited 65C02 and 65C816 C compilers for download here:

http://wdc65xx.com/wdctools-limited-c-compiler/?ct=t(2016_WDC_Digital_65xx_Voice_Newsletter_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


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 19, 2016 9:07 pm 
Offline
User avatar

Joined: Fri Oct 31, 2003 10:00 pm
Posts: 200
Indeed, severely limited. Crippled would better describe it. 2kb code size limit, 250 lines. No assembly listing.

Useless alas.


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 19, 2016 9:09 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
HansO wrote:
Indeed, severely limited. Crippled would better describe it. 2kb code size limit, 250 lines. No assembly listing.

Useless alas.

Enough to make a LED flash but not much more.

_________________
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


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 19, 2016 9:25 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
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.


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 19, 2016 9:59 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8543
Location: Southern California
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?


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 20, 2016 8:14 am 
Offline
User avatar

Joined: Sun Dec 29, 2002 8:56 pm
Posts: 460
Location: Canada
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 ?

_________________
http://www.finitron.ca


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 20, 2016 8:20 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
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.


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 20, 2016 8:45 am 
Offline

Joined: Sun Apr 10, 2011 8:29 am
Posts: 597
Location: Norway/Japan
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.


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 20, 2016 4:24 pm 
Offline

Joined: Mon Jan 07, 2013 2:42 pm
Posts: 576
Location: Just outside Berlin, Germany
I confess I don't understand the business logic behind not releasing the full version to the world for free either.


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 20, 2016 9:46 pm 
Offline

Joined: Sun Nov 08, 2009 1:56 am
Posts: 411
Location: Minnesota
Quote:
Is there an interpreter (BASIC ?) that can use more than 64k ?


The C-128 uses a similar scheme as what I understand the BBC referenced above does. Program code lives in bank zero and variables are stored in bank one. This is all transparent to the user, as 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.


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 20, 2016 10:33 pm 
Offline

Joined: Sun Feb 23, 2014 2:43 am
Posts: 78
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.


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 21, 2016 3:32 am 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1949
Location: Sacramento, CA, USA
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.

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?

Mike B.


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 21, 2016 3:00 pm 
Offline

Joined: Sun Nov 08, 2009 1:56 am
Posts: 411
Location: Minnesota
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?



Good question. It seems to me the C128 interpreter would be simpler if it knew that every string manipulation was performed on a value in the variable bank (I'm thinking specifically of concatenation). Getting a string literal into the variable bank every time its value is requested would add considerable overhead time, but the alternative would seem to be to write every string manipulation routine to operate on values in either bank (which would take space).


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 23, 2016 7:30 pm 
Offline

Joined: Sat Apr 23, 2016 7:27 pm
Posts: 3
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.


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. :?


Top
 Profile  
Reply with quote  
PostPosted: Sun Apr 24, 2016 5:57 pm 
Offline

Joined: Sun Feb 23, 2014 2:43 am
Posts: 78
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. :?


I tried to order it also, and wasn't able to add it to the cart either. Maybe give them a call, it could be a website bug or perhaps they had other reasons for pulling it.

http://wdc65xx.com/support/contact-us/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: