Out of date tools?

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

User avatar
AlterAnubis
Posts: 19
Joined: Wed Mar 29, 2017 3:11 pm

Out of date tools?

Post by AlterAnubis » Wed Mar 29, 2017 3:21 pm

Hello, everyone, I am new here and I vary glad I join this group. I've been looking around for tools to compile code however been unsuccessful I have tried many tools and none have seemed to work I am using windows 8.1. I also was wondering if anyone can help me find any tools that work on my operating system? if so thank you for helping me :)

User avatar
dougeff
Posts: 2750
Joined: Fri May 08, 2015 7:17 pm
Location: DIGDUG
Contact:

Re: Out of date tools?

Post by dougeff » Wed Mar 29, 2017 3:48 pm

My laptop is Windows 8.1. They (the assemblers, and cc65) work fine.

Are you familiar with a 'command line program'?
nesdoug.com -- blog/tutorial on programming for the NES

User avatar
AlterAnubis
Posts: 19
Joined: Wed Mar 29, 2017 3:11 pm

Re: Out of date tools?

Post by AlterAnubis » Wed Mar 29, 2017 3:55 pm

I am not, unfortunately :?

tepples
Posts: 22057
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Out of date tools?

Post by tepples » Wed Mar 29, 2017 4:01 pm

In Before the basics, read the articles linked from "Command-line interface" on down.

User avatar
AlterAnubis
Posts: 19
Joined: Wed Mar 29, 2017 3:11 pm

Re: Out of date tools?

Post by AlterAnubis » Wed Mar 29, 2017 4:07 pm

do you have to use cmd to code the compiler? or can I find tools?

User avatar
dougeff
Posts: 2750
Joined: Fri May 08, 2015 7:17 pm
Location: DIGDUG
Contact:

Re: Out of date tools?

Post by dougeff » Wed Mar 29, 2017 4:12 pm

I write a .bat batch file, and double click that to compile.

Alternatively you can use Gnu Make and write a makefile.
nesdoug.com -- blog/tutorial on programming for the NES

User avatar
AlterAnubis
Posts: 19
Joined: Wed Mar 29, 2017 3:11 pm

Re: Out of date tools?

Post by AlterAnubis » Wed Mar 29, 2017 4:19 pm

Still confused :?

tepples
Posts: 22057
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Out of date tools?

Post by tepples » Wed Mar 29, 2017 5:01 pm

Are you looking for a specialized text editor that lets you type in code, checks the syntax and spelling of variable names in real time, and gives you a big friendly button marked "Run"? Something like what you'd get with Visual Studio?

User avatar
dougeff
Posts: 2750
Joined: Fri May 08, 2015 7:17 pm
Location: DIGDUG
Contact:

Re: Out of date tools?

Post by dougeff » Wed Mar 29, 2017 5:22 pm

Have you ever programmed assembly? Have any interest in learning 6502 assembly? I recommend asm6.

If not, you might want to try cc65 c compiler.

All of the above are command line tools. They have no GUI interface. You can use them by typing commands in the command line. Batch files / makefiles kind of automate this, and are preferred... especially if there are multiple source files.

Also get YY-CHR or Tile Layer Pro.

Also, get NES Screen Tool.

Also, have 100+ hours of free time.
nesdoug.com -- blog/tutorial on programming for the NES

User avatar
AlterAnubis
Posts: 19
Joined: Wed Mar 29, 2017 3:11 pm

Re: Out of date tools?

Post by AlterAnubis » Wed Mar 29, 2017 7:33 pm

I have never programmed in assembly but I know how to code in c++, c# and java although I just wanted to start creating nes games. I have used YY-CHR before to hack snes games. I also use a hex editor HxD. I want to code a nes game but I need a compiler for it because I know you can't just magically make it work without one. I also have Notepad++ and Microsoft visual studio

User avatar
dougeff
Posts: 2750
Joined: Fri May 08, 2015 7:17 pm
Location: DIGDUG
Contact:

Re: Out of date tools?

Post by dougeff » Wed Mar 29, 2017 7:44 pm

Quoting myself...
look for a download on this page https://shiru.untergrund.net/articles/p ... s_in_c.htm
...called "these small example programs"
Notepad++ should work fine.

I also wrote a relevant tutorial.
nesdoug.com -- blog/tutorial on programming for the NES

User avatar
AlterAnubis
Posts: 19
Joined: Wed Mar 29, 2017 3:11 pm

Re: Out of date tools?

Post by AlterAnubis » Wed Mar 29, 2017 7:46 pm

Apparently the link is broken for the download but I am checking out your tutorials

User avatar
tokumaru
Posts: 11870
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: Out of date tools?

Post by tokumaru » Wed Mar 29, 2017 7:54 pm

AlterAnubis wrote:I need a compiler for it because I know you can't just magically make it work without one.
Actually, there's one crazy member here that writes programs directly in hex. I seriously advise against this practice though, because maintainability pretty much goes down the drain.

User avatar
dougeff
Posts: 2750
Joined: Fri May 08, 2015 7:17 pm
Location: DIGDUG
Contact:

Re: Out of date tools?

Post by dougeff » Wed Mar 29, 2017 8:13 pm

Apparently the link is broken for the download but I am checking out your tutorials
Try it again.
nesdoug.com -- blog/tutorial on programming for the NES

User avatar
AlterAnubis
Posts: 19
Joined: Wed Mar 29, 2017 3:11 pm

Re: Out of date tools?

Post by AlterAnubis » Wed Mar 29, 2017 8:32 pm

Ah, now it works. Thank you! :lol:

Post Reply