GLBasic forum

Main forum => GLBasic - en => Topic started by: gifmaster on 2015-Aug-04

Title: 6809 CPU (COCO)
Post by: gifmaster on 2015-Aug-04
CAN GLBASIC COMPILE CODE TOR THE 6809 CPU (COCO)?
Title: Re: 6809 CPU (COCO)
Post by: Ian Price on 2015-Aug-04
The list on the "About" page is actually out of date - http://www.glbasic.com/main.php?lang=en&mobile=0&site=about

GLBasic currently compiles for Windows, Apple Mac OS X, iPhone, iPad, Android, Linux, PocketPC, GP2X, Wiz, Caanoo and Pandora. There is some support for HTML too, although this may not be complete or working 100%
Title: Re: 6809 CPU (COCO)
Post by: MrPlow on 2015-Aug-04
BTW- Welcome to GLBasic! It's a great language
Title: Re: 6809 CPU (COCO)
Post by: sf-in-sf on 2015-Aug-04
I believe you could get the generated c++ code from glB and inject it into a rich c++ compiler like gcc. Don't ask me any details, I never do such jobs. you could look at the stand-alone glB compiler for a start? Good luck!   -oh, what machine uses this processor, by the way?
Title: Re: 6809 CPU (COCO)
Post by: MrPlow on 2015-Aug-04
BTW - I am curious too where to get the generated c++ code from GLB?!
Title: Re: 6809 CPU (COCO)
Post by: erico on 2015-Aug-04
Maybe you are looking for this:
http://www.uelectronics.info/2014/11/15/an-introduction-to-asm80/

I heard about some IDEs for old computers, coco included, but ASM or C only.
I haven“t seen a BASIC one as of yet.

GLBasic is made to work with modern computer.
Title: Re: 6809 CPU (COCO)
Post by: MrTAToad on 2015-Aug-05
Quote from: MrPlow on 2015-Aug-04
BTW - I am curious too where to get the generated c++ code from GLB?!

Its in %temp%\glbasic

QuoteCAN GLBASIC COMPILE CODE TOR THE 6809 CPU (COCO)?
Directly no; indirectly almost certainly no : I dont think SDL is available for any homebrew 6809 computers - nor DirectX (for obvious reason).
In addition all graphic and sound setup would be completely incompatible.  It certainly wouldn't be worth adding in a compiler for it either.
Title: Re: 6809 CPU (COCO)
Post by: MrPlow on 2015-Aug-05
Thanks Mr.T!
Title: Re: 6809 CPU (COCO)
Post by: MrTAToad on 2015-Aug-06
No problem!
Title: Re: 6809 CPU (COCO)
Post by: matchy on 2015-Aug-09
The fresh OP asks a strange question. I have created utilities to produce Coco Basic code but not machine code.
Title: Re: 6809 CPU (COCO)
Post by: erico on 2015-Aug-09
Would the OP ever come back to collect the sum of our knowledge? :P
Title: Re: 6809 CPU (COCO)
Post by: MrTAToad on 2015-Aug-09
It wouldn't take long :)
Title: Re: 6809 CPU (COCO)
Post by: kanonet on 2015-Aug-11
Quote from: MrTAToad on 2015-Aug-09
It wouldn't take long :)
:D