It is currently Wed Dec 12, 2018 2:43 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Tue Dec 04, 2018 3:15 pm 
Offline

Joined: Sun Dec 02, 2018 3:14 pm
Posts: 4
Hi new to the forums and jumping into the deep end. I downloaded wla dx for linux but have no idea what I'm doing and can't seem to get anything working. If anybody could walk me through setting things up I'd appreciate it

I look forward to hearing back from you folks


Top
 Profile  
 
PostPosted: Tue Dec 04, 2018 9:57 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 2352
Location: DIGDUG
What system are you targeting? If NES, I suggest a different assembler.

There's some very basic example code here

https://github.com/vhelin/wla-dx/tree/master/examples

And some documents

http://www.villehelin.com/wla-README.html

Have any experience working in assembly?

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Wed Dec 05, 2018 9:33 pm 
Offline

Joined: Sun Dec 02, 2018 3:14 pm
Posts: 4
Yes. I plan on coding in assembly for nes on linux. From what I've looked at it was the best choice because it was for linux, didn't use wine, and relied solely on assembly for programming. If there's better for what I'm looking for that's great. But from what I was looking at wla dx would be fine I just have no idea what I'm doing and the read me etc isn't helping much. I don't get how it works

And no. I have no experience in assembly or any programming language. Thought it'd be a good place to start. Thanks for the reply


Top
 Profile  
 
PostPosted: Wed Dec 05, 2018 9:41 pm 
Offline
User avatar

Joined: Tue Jun 24, 2008 8:38 pm
Posts: 2124
Location: Fukuoka, Japan
On linux, it would be better to use ca65, which allows to write code in assembler and C, if wanted.

Since you do not know assembler, I would not suggest to jump directly in nes coding since the platform itself as a lot of intricacies that requires a lot of understanding before being able to code. Having to learn both at the same time will be a burden. In that case, it would be better to first learn the assembler, which can done in it raw form with a site like this one:

https://skilldrick.github.io/easy6502/

It allows to test directly in the webpage with it simulator so it perfect to learn the language.

While learning, you can start to read on how to use the tools. Once you understand the basics, you can use both knowledge (6502/tools) to start to learn the nes.

If you want to learn both at the same time, be my guess but prepare yourself for a world of hell since you don't have a background in programming and it will be quite intimidating :lol:

Good luck!


Top
 Profile  
 
PostPosted: Wed Dec 05, 2018 9:51 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 20854
Location: NE Indiana, USA (NTSC)
For debugging an NES program, you'll pretty much have to use either Wine or Mono: Wine to run FCEUX or Mono to run Mesen.


Top
 Profile  
 
PostPosted: Sat Dec 08, 2018 1:29 pm 
Offline

Joined: Sun Dec 02, 2018 3:14 pm
Posts: 4
Thanks for the suggestions. I still want to use wla dx and I looked around and it seems like some folks use it so maybe I'll just wait or I'll figure out on my own. Thanks


Top
 Profile  
 
PostPosted: Sat Dec 08, 2018 5:29 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 2352
Location: DIGDUG
On my linux computer, I compiled cc65 from source. You can use just the ca65 assembler, which comes with it.

For understanding an assembly program, you should look for some simple example code. Lots of people started with Nerdy Nights tutorials for NES.

The syntax will be slightly different for wla, so you won't be able to assemble the source files without slight modification.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Tue Dec 11, 2018 8:20 pm 
Offline

Joined: Sun Dec 02, 2018 3:14 pm
Posts: 4
Thanks for all the suggestions folks but my problem is a simple fix of just getting it compiled I guess? Something about compiling unix.sh for the binaries but I have no idea what I'm doing. And in unix.sh there's stuff for make file in it so am I make filing this or am I using gcc? And after I compile it does it make a program or am I using note pad or something like that? Like... what is this thing? I unzipped everything and now I just have a bunch of files and folders but what is this and how do I get it running from there? Thank you


Top
 Profile  
 
PostPosted: Tue Dec 11, 2018 9:16 pm 
Offline
User avatar

Joined: Thu Mar 31, 2016 11:15 am
Posts: 441
Read the INSTALL file.

Run from your terminal:
Code:
 cmake -G "Unix Makefiles"

Then run:
Code:
make install

This builds the assembler as an executable binary. You then run that binary to assemble your code into a NES ROM.

Though you really ought to try CA65 instead.


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 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:  
Powered by phpBB® Forum Software © phpBB Group