It is currently Sat Sep 22, 2018 3:04 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Bin2db help??
PostPosted: Mon Apr 24, 2006 10:40 am 
Offline
User avatar

Joined: Sun Mar 19, 2006 12:37 am
Posts: 223
Location: San ANto, TX
Does anyone know how to run this file? Is it like NESASM? What files can i proces through it?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 24, 2006 12:36 pm 
Offline
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7518
Location: Chexbres, VD, Switzerland
It is plain useless since you can use the ".incbin" directive that is way way way better. (even in nesasm)
I don't even know why someone loose his time making that programm.
xls2db taking some calculated data from exel and transfer it as .db would be a lot more usefull.

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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 24, 2006 1:57 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 20562
Location: NE Indiana, USA (NTSC)
Bregalad wrote:
I don't even know why someone loose his time making that programm.

As I said in a post in the other topic, not all assemblers for all platforms have .incbin. Perhaps the program's author was brought up on a platform whose popular assembler did not have .incbin.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 24, 2006 3:46 pm 
Offline
User avatar

Joined: Wed Nov 10, 2004 6:47 pm
Posts: 1849
I still don't know why ninetendo is still wasting his time trying to putz around with bin->db.

Seriously man.... .incbin. I'm not kidding. What's the point of having a million .db lines instead of just one .incbin line? plus if you have .db it makes it harder to edit, since you have to edit, reconvert, copy/paste to source, then reassemble. Instead of just editing and reassembling.

You're just giving yourself an extra pain in the ass here. If you already have a binary file you don't WANT to convert it to .db. .db is for stuff that ISN'T already in a binary file.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 24, 2006 4:31 pm 
Offline
User avatar

Joined: Sun Mar 19, 2006 12:37 am
Posts: 223
Location: San ANto, TX
I WISH I COULD BUT SOME HOW MY CODES DONT WORK AND I WANT TO TRY TO SEE I I CAN GET MY CODE TO WORK WITH IT. I KNOW TEPPLES YOU SAID NOT TO USE IT BUT IM TRYING TO LEARN FROM OTHER PEOPLES CODE AND TUTORIALS AND THEY ALL USE .DB. IM JUST GOING TO END UP LEARNING ON MY OWN IT SO HARD TO TRY AND DIPHER WHAT OTHERS ARE TRYING TO DO SOMETIMES. EVERYTIME I THINK I GOT THE PERFECT EXAMPLE I GET A SECTION OF CODE THAT BUMS ME IN THE ASS. IT THOSE DAMN NAMETABLES IS THE PROBLEM. AT LEAST IT MAKE ME FEEL BETTER KNOWING THAT JUST ABOUT EVERYONE HAD TROUBLE WITH IT IN THE BEGGINING.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 25, 2006 9:06 am 
Offline
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7518
Location: Chexbres, VD, Switzerland
Please turn caps off, your post isn't much readable.
If your code doesn't work, it most probably isn't because you're using .incbin instead of a large bunch of .db, that's a nonsense. By "doesn't work", you mean that the assembler refuses to assemble it or that you don't get the restults you want ?
If the assembler refuses to assemble it, make sure you incbin an existing file. You should most probably set the whole pathname after the .incbin directive.

If you get bad results when tsting your ROM (blank screen), make sure you banked your code proprely and that you don't go wrong with ROM adressing. Unless you're doing some totally unrelated error, like writing data to PPU during the frame.

If your assembler doesn't support .incbin, I'd suggest you just delete it from your computer and donwload a better one. By the way, if you're using Nesasm, my sugestion also apply.

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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 26, 2006 4:40 pm 
Offline
User avatar

Joined: Sun Mar 19, 2006 12:37 am
Posts: 223
Location: San ANto, TX
Bregalad wrote:

If your assembler doesn't support .incbin, I'd suggest you just delete it from your computer and donwload a better one. By the way, if you're using Nesasm, my sugestion also apply.


Download what? Which assemblers do support .incbin. casue if that the case i might just have found my problem.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 26, 2006 6:28 pm 
Offline
User avatar

Joined: Wed Nov 10, 2004 6:47 pm
Posts: 1849
I can't imagine many (any) NES/6502 assemblers don't support .incbin. But if they don't, it'll be pretty obvious... it'll give you an error when you assemble saying something like "error '.incbin' unknown".


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 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