It is currently Mon Nov 19, 2018 4:54 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sun Mar 19, 2006 1:01 am 
Offline
User avatar

Joined: Sun Mar 19, 2006 12:37 am
Posts: 223
Location: San ANto, TX
Hello Everyone,
Im very new to the programming the NES Console. After Extensive serching on the internet. I have Found no information on how to install NESASM. Im running an XP right now but have tried on a 98 without sucess. Ive tried the MagicKit and everytime i run the app an MS-DOS comes up momentarly. Same thing happens when i try and run the bob frost version with Nbasic. Well here are my questions?

1. WHat hell is MS-DOS? Does the NESASM have its own GUI or is it in DOS style and do i have to type commands on the prompt to use it?

2. What locations do i have to install the Magickit or NESASM in?

3. On the Bob Frost Website it says the Nbasic version needs Cygwin.dll to run. Where do i install this file?

4. What are bin win32 directories??

5. Can i compile it in BloodShed C/C++ Assembler, using the sources(e.g. XXXXX.h, XXXXX.c)

6. HOw can i run the NESASM in an 6502sdk?

I know these are alot of questions, but hopfully to the experiance it is nothing. Some one Please help me ive been reading on 6502 ASsembly and NES Documents for Quite sometime and i want to experimanet and learn more by running my own code.

THanks,
EL


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 1:41 am 
Offline
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7576
Location: Chexbres, VD, Switzerland
- NESAsm isn't a very good assembler.
- I'm not sure if I undertand it proprely, but if you don't know what MS-DOS is I can do nothing for you.

NESAsm doesn't need to be "installed" or anything. Its a raw DOS programm. Run it through a DOS command window. If you have Windows, you have DOS anyway. You can get it from "Start -> Programms -> Accesories".

_________________
Life is complex: it has both real and imaginary components.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 2:12 am 
Offline
User avatar

Joined: Sun Mar 19, 2006 12:37 am
Posts: 223
Location: San ANto, TX
So What assembler do you use? Can you suggest something in an GUI environment, for i have no experiance with a DOS environment. the 6505sdk has a GUI support. But i keep running into errors when i run the famous Junkdemo.ams? HOw would i import/export .chr files and such?


Top
 Profile  
 
 Post subject: What about neshla?
PostPosted: Sun Mar 19, 2006 2:19 am 
Offline
User avatar

Joined: Sun Mar 19, 2006 12:37 am
Posts: 223
Location: San ANto, TX
So how about Neshla?

How i "install" it?

It comes with these files:
neshla-20050417-src-win32

neshla-20050417-bin-win32

What does this mean: bin-win32, src-win32?

Sorry So many questions i just hope someone out there can help me with there expertice. Regardless of how easy it, it pretty freakin confusing to me?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 2:47 am 
Offline
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7576
Location: Chexbres, VD, Switzerland
Those files are most probably compressed files, with "bin" = binary files (so the programm) and "scr" = source, so the code.

I use WLA-DX. A lot of people seems to prefer CA65. Nesasm is okay if you're a very begginer, but keep in mind it is an assembler that target beginers.

I think all of these but HLA runs under dos. For an unknown reason, a lot of freewere is only available under DOS. Maybe the don't want to pay Visual C++ for windows or whatever.

_________________
Life is complex: it has both real and imaginary components.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 4:22 am 
Offline
User avatar

Joined: Sun Mar 19, 2006 12:37 am
Posts: 223
Location: San ANto, TX
WHere do i extract the bin files and scr files?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 4:48 am 
Offline
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7576
Location: Chexbres, VD, Switzerland
Where you want.

_________________
Life is complex: it has both real and imaginary components.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 12:27 pm 
Offline
User avatar

Joined: Sun Jun 05, 2005 2:04 pm
Posts: 2150
Location: Minneapolis, Minnesota, United States
I asked these questions when I first stepped into the world of programming the NES. It took me like 3 months to realize that you don't install NESASM, or any 6502 assembler, pretty much. And it also took me that long to realize that the DOS window isn't supposed to stay up for more than half a second. Open the program in the command prompt, then when you have some NESASM source code, type: nesasm something.asm , and it will assemble. Something.asm of course, being whatever the name of the NESASM source code is.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 12:58 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 20783
Location: NE Indiana, USA (NTSC)
nineTENdo: Before you reply to this topic, please look at this set of Google results and read one of the pages to which it links.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 1:04 pm 
Offline
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7576
Location: Chexbres, VD, Switzerland
The fact is that it is up to everyone to organize their computer. You can store your files where you want in your harddisk. Most commercial softwares need particular system instalation and have a default repertory to install in (usually C:\program files\...) but you usually can change this to another repertory.
Myself, I put all big programms in the "program files" repertory, and all small ones have their own repertory or set of repertories.

I know that, I installed about 15 programms on my new computer today :wink:

_________________
Life is complex: it has both real and imaginary components.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 1:06 pm 
Offline
User avatar

Joined: Wed Nov 10, 2004 6:47 pm
Posts: 1849
Command Prompt != DOS. Just because a program operates through a console and uses a command prompt doesn't make it a DOS program. Many Windows (and Linux, BSD, etc for that matter) programs operate through a command prompt -- that doesn't mean they're all DOS programs.

That aside -- rather than opening up a command prompt and typing out a bunch of crap every time you want to assemble something, you might want to get familiar with creating batch files. I don't know a whole lot about them myself -- just the bare minimum to assemble stuff.

Adding on to Celius' example... rather than opening the command prompt and typing that in every time -- open up notepad or another plain text editor and type that line into notepad -- then save it as "assemble.bat" or something of that sort. Make sure you actually save it as "*.bat" and not "*.bat.txt" (notepad might automatically append the .txt extension) -- and put that ni the same folder as your assembler and source files. Then when you want to assemble, simply double-click on the .bat file and it will do all the command-prompt stuff for you. If you want the window to remain open so you can see any errors or stuff the assembler spit out, simply put "pause" on a new line in the bottom on the .bat file.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 1:45 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 20783
Location: NE Indiana, USA (NTSC)
First of all, make sure that "Hide file extensions" is turned off. This will make it easier to create and recognize batch files and other specialized text files while also making it easier to recognize executable trojans. If you haven't already done this, here are instructions for the U.S. English version of Microsoft Windows 2000 Professional (which may differ per operating system):
  1. Start > Settings > Control Panel > Folder Options
  2. Select the View pane.
  3. In Advanced Settings, under Files and Folders, make sure that "Hide file extensions for known file types" is unchecked.

Pedants note: I linked to "DOS tutorial" because the basics of the Windows command prompt are similar enough to those of PC DOS and MS-DOS, even though the NT command prompt of Windows 2000 and Windows XP do not run on top of DOS, and there are more well-known DOS tutorials than Windows NT command prompt tutorials.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 3:54 pm 
Offline
User avatar

Joined: Sun Jun 05, 2005 2:04 pm
Posts: 2150
Location: Minneapolis, Minnesota, United States
I always have a .bat file to assemble my games. It's so much easier. But you always have to make sure you put "pause" at the end, so you can see how your game assembles. I just suggested the command prompt for beggining assembly.


Top
 Profile  
 
 Post subject: Makefiles
PostPosted: Sun Mar 19, 2006 7:31 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 20783
Location: NE Indiana, USA (NTSC)
Batch files are good.

But once your project gets to a certain level of complexity, on forum.gbadev.org they even recommend against using batch files, instead preferring to make a script for GNU Make.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 20, 2006 6:27 am 
Offline
User avatar

Joined: Sun Mar 19, 2006 12:37 am
Posts: 223
Location: San ANto, TX
OK so let me get this straight. NESASM is not really GUI Supported and it merly assembles all my files im using (.CHR,.ASM) into a final .NES file. And i simply write my code using NotePAD or Word PAD.

P.S. i noticed on the Junkdemo there only two files JUnkdemo.asm and JUnkdemo.chr. In the future as my games get more complex with there be any more files to add.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC - 7 hours


Who is online

Users browsing this forum: Google [Bot] and 4 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