Jump to content
IGNORED

Setting up CC65 & VScode


Preppie

Recommended Posts

36 minutes ago, Preppie said:

The build file is in the .bin folder, if I put it anywhere else it doesn't recognise it when I type 'build'

I'd advise against that, the build batch script should be in the folder/project it is associated with.

You have to be 'in' that folder in order to run it.

As you now have the CC65 path in the global environment then that batch file can be run directly from the project folder, even via Explorer and not a command prompt.

 

  • Like 1
Link to comment
Share on other sites

OK, put it in my project folder and had to cd into c:\cc65\project but it works now.

 

Only thing is powershell is making me type .\build instead of just build.  Not a problem, as soon as i click . it autocompletes.

 

And I edited the batch file to read:

 

cl65 -o test1.xex -t atari test1.c
test1.xex

 

Now with a couple of clicks it compiles and runs in Altirra - WE DID IT!!!

 

OMG I'm so happy.  Thanks for holding my hand guys.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...