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.
I have tried to put a SMB-hack onto a cart now...
I have tried atleast 10 times, and every time I get graphical glitches, mostly vertical lines every inch or so across the screen, and sometomes also vertical ones...
Some one told me it´s bacuase of a bad solder-job on the chr-eprom... but I dont belive him.... I have tried more than 6different carts, and alot of different eproms.. the PRG always work fine.. but the graphics is fucked...
I think there should be something wrong with one of your data lines - maybe the problem is just the *crappy* connector that is inside the NES. If all other games works fine and that this games never works fine, then it's likely a problem either your soldering or something, I can't think of anything else sorry.
I think if you've tried 6 different carts, and different chips and the only thing that remains constant is the console itself, your problem is probably in the console. Have you tried testing it on another console? The vertical lines you describe sound to me like a problem I get a lot with pretty much any NES game that isn't making good contact within the connector. So I really think your problem lies in the NES not communicating correctly with the cart. This could be happening because of bad soldering (or perhaps bad solder? I don't even know if that's ever a real issue), but it could definitely be because of a bad connector, like Bregalad was saying. The NES connector is among the worst (if not the worst) in world history, so I wouldn't be surprised if that was it.
I don't believe your problem is a software issue (I'm sure the hack should work on real hardware), simply because it sounds way too much like something that always happens to me when games start to glitch on hardware. You should also make sure you've correctly dumped the graphical data to the CHR chip. Other than that, I'm not really a NES hardware expert at all, so I can't really think of anything.
It depends on the hack, too. That's the only game I can ever recall seeing the iNES "trainer" get used on, and that's also what a lot of SMB hacks were based on - that same hacked ROM. I found that out because of Super ASCII Brothers. When put on a cart it sort of worked, but in a glitchy 'minus world' with no escape.
Last edited by Memblers on Fri Mar 26, 2010 12:40 pm, edited 1 time in total.
Starting at 0-1 means it was based on a "bad dump" ripped from a pirate cartridge that needs memory to be initialized to zero.
You can use the game's continue feature (A+START) to start at World 1-1 if that happens.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
Thank you all for your answers and speculations about my problem, I was just about to give up my project when.....
a good friend of mine asked to see my CHR-file... and when he checked the sprites they were all fucked up.. sort of!
So for som reason I have managed to do something wrong when repeating the Chr data
I used Notepad to do it, maybe I´ll have to use a hex-editor insetad! My friend repeated it for me and now it works all fine!