6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 8:18 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Assembling EhBasic
PostPosted: Fri Nov 25, 2016 3:11 pm 
Offline

Joined: Sun Feb 22, 2004 9:01 pm
Posts: 109
How do you assemble EhBasic?

I've got the source for v2.22 from https://github.com/Klaus2m5
I've tried assembling with Kingswood as65, which barfs out with every line complaining "invalid mnemonic"
I've tried assembling with cc65's assembler, which barfs out with hundreds of "Error: `:' expected".

_________________
--
JGH - http://mdfs.net


Top
 Profile  
Reply with quote  
 Post subject: Re: Assembling EhBasic
PostPosted: Fri Nov 25, 2016 3:31 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Maybe try Jeff Tranter's version which has a cc65 Makefile:
https://github.com/jefftranter/6502/blo ... /basic.asm


Top
 Profile  
Reply with quote  
 Post subject: Re: Assembling EhBasic
PostPosted: Fri Nov 25, 2016 4:47 pm 
Offline

Joined: Sun Feb 22, 2004 9:01 pm
Posts: 109
Wonderful, it was the --feature labels_without_colons that was missing.

_________________
--
JGH - http://mdfs.net


Top
 Profile  
Reply with quote  
 Post subject: Re: Assembling EhBasic
PostPosted: Fri Nov 25, 2016 6:18 pm 
Offline

Joined: Sat Jul 28, 2012 11:41 am
Posts: 442
Location: Wiesbaden, Germany
jgharston wrote:
How do you assemble EhBasic?

I've got the source for v2.22 from https://github.com/Klaus2m5
I've tried assembling with Kingswood as65, which barfs out with every line complaining "invalid mnemonic"
I've tried assembling with cc65's assembler, which barfs out with hundreds of "Error: `:' expected".
This is the original version from Lee's website and can be assembled (and runs) with Kowalski's simulator. AS65 requires all mnemonics to be lowercase, but comes with a conversion utility.

_________________
6502 sources on GitHub: https://github.com/Klaus2m5


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 42 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: