Porting EhBASIC to gcc?

Talk about the operating system (EhBASIC, FAT library, ...)
simon
Site Admin
Posts: 744
Joined: Thu Sep 13, 2012 9:35 am
Location: Luedenscheid, Germany
Contact:

Re: Porting EhBASIC to gcc?

Postby simon » Thu Oct 31, 2013 1:52 pm

Hi Chris,

thank you!!
I looked in my archives again and found the V3.52 sources too. It was still in my old download folder and not in my Basic project folder. :roll:
Well, I just put it into the download section for everyone.

Simon

e2k001
Posts: 15
Joined: Sun Sep 29, 2013 3:41 pm

Re: Porting EhBASIC to gcc?

Postby e2k001 » Wed Nov 06, 2013 6:27 pm

Hello SImon,
do you know about vasm?
http://sun.hasenbraten.de/vasm/
you get an elf file, which can be linked with the other gcc stuff

Chris
Developer
Posts: 286
Joined: Thu Apr 04, 2013 7:53 pm
Location: England, UK

Re: Porting EhBASIC to gcc?

Postby Chris » Wed Nov 06, 2013 10:39 pm

Thanks for posting that e2k001, the vbcc also looks interesting.

Regards

Chris

simon
Site Admin
Posts: 744
Joined: Thu Sep 13, 2012 9:35 am
Location: Luedenscheid, Germany
Contact:

Re: Porting EhBASIC to gcc?

Postby simon » Thu Nov 07, 2013 10:50 am

Indeed. Very interesting. Thank you, e2k001!
Have you tried to assemble EhBASIC with vasm?

The vbcc might a woth a look too. Maybe it produces less blown code as the gcc does.

Simon

e2k001
Posts: 15
Joined: Sun Sep 29, 2013 3:41 pm

Re: Porting EhBASIC to gcc?

Postby e2k001 » Thu Nov 07, 2013 11:12 am

simon wrote:Indeed. Very interesting. Thank you, e2k001!
Have you tried to assemble EhBASIC with vasm?
Simon


I only took a very fast shot at it. All I had to do is to enter a start address, and there is one mistake in the source
"move. " without the size in the source (BTW, it is in both versions, 3.49 and 3.52)
but it assembled without other complains.

IBut I have no chance of testing it, so that's how far I got...

simon
Site Admin
Posts: 744
Joined: Thu Sep 13, 2012 9:35 am
Location: Luedenscheid, Germany
Contact:

Re: Porting EhBASIC to gcc?

Postby simon » Thu Nov 07, 2013 1:31 pm

Great news! :-) I might try that. That would be a great improvement over my Makefile construct. And much cleaner... :-)

e2k001
Posts: 15
Joined: Sun Sep 29, 2013 3:41 pm

Re: Porting EhBASIC to gcc?

Postby e2k001 » Sun Nov 10, 2013 3:37 pm

simon wrote:Great news! :-) I might try that. That would be a great improvement over my Makefile construct. And much cleaner... :-)

Tell me when you tried. Until then, I don't even check the possibility to rewrite it ;-)

simon
Site Admin
Posts: 744
Joined: Thu Sep 13, 2012 9:35 am
Location: Luedenscheid, Germany
Contact:

Re: Porting EhBASIC to gcc?

Postby simon » Mon Nov 11, 2013 8:17 am

This can take a little while because I have some other tasks to do. But you could test the assembled object with BSVC or/and Easy68K.
The pure EhBASIC should be easy to test with a simulator. ;)

Simon

legacy

Re: Porting EhBASIC to gcc?

Postby legacy » Mon Jan 05, 2015 2:33 pm

are they for gas-68k (gnu assembly) ?

simon
Site Admin
Posts: 744
Joined: Thu Sep 13, 2012 9:35 am
Location: Luedenscheid, Germany
Contact:

Re: Porting EhBASIC to gcc?

Postby simon » Mon Jan 05, 2015 2:39 pm

The EhBASIC source code as-is is for the EASy68K or unix68k assembler. Latter is linked at the links page.

Simon


cron