Search found 12114 matches

by tokumaru
Thu Jan 20, 2022 11:08 am
Forum: Newbie Help Center
Topic: Some sprite are disappearing and I have no idea why.
Replies: 5
Views: 232

Re: Some sprite are disappearing and I have no idea why.

In your other thread I mentioned sprite flickering vs. sprite dropout. What you're seeing here is sprite dropout. The tank uses lower-numbered OAM slots, so it gets higher priority over the other sprites, and when the PPU finds more than 8 sprites in a scanline, it only draws the 8 with highest prio...
by tokumaru
Wed Jan 19, 2022 1:54 pm
Forum: Newbie Help Center
Topic: How to delete / unload sprite? (nes 6502)
Replies: 4
Views: 153

Re: How to delete / unload sprite? (nes 6502)

Do note that most games do not bother with deleting specific sprites though, since they don't statically allocate OAM slots to specific objects. In the vast majority of games, OAM slots start "empty" (Y > 239) every frame, and the function that draws meta-sprites uses OAM slots as needed, ...
by tokumaru
Sun Jan 16, 2022 6:37 am
Forum: phpBB Issues
Topic: Difficulty logging in while using 4G
Replies: 7
Views: 585

Re: Difficulty logging in while using 4G

I haven't noticed any problems anymore! Thanks for looking into it!
by tokumaru
Mon Jan 03, 2022 6:08 am
Forum: Newbie Help Center
Topic: 8x16 and whatever else unreg wants to know
Replies: 1605
Views: 524362

Re: 8x16 and whatever else unreg wants to know

Well, there are legitimate reasons to directly change the PC value like that, such as beginning a new bank or assembling code that will run at an address different from where it's stored (i.e. code that will be copied to RAM), but in these cases you'd normally use a constant address, not one based o...
by tokumaru
Sun Jan 02, 2022 4:38 pm
Forum: NES Hardware and Flash Equipment
Topic: Need advice buying a NES-101 and a flash cart
Replies: 39
Views: 1214

Re: Need advice buying a NES-101 and a flash cart

The problem with flash carts in general is that while the console is 100% authentic hardware, a flash cart never is. Like Fiskbit said, the menus will temper with the power on state and the mappers will be, at most, as accurate as the reverse engineering efforts made thus far permit. Flash carts are...
by tokumaru
Sun Jan 02, 2022 10:38 am
Forum: NES Hardware and Flash Equipment
Topic: Need advice buying a NES-101 and a flash cart
Replies: 39
Views: 1214

Re: Need advice buying a NES-101 and a flash cart

When it comes to buying hardware, where you are in the world can play a big part in it, since getting a specific version/revision might mean paying import taxes, inflated shipping fees, and stuff like that. If you're in Europe, right off the bat you're gonna have to choose between PAL or NTSC. If yo...
by tokumaru
Fri Dec 31, 2021 6:18 pm
Forum: phpBB Issues
Topic: Difficulty logging in while using 4G
Replies: 7
Views: 585

Re: Difficulty logging in while using 4G

Does your IP address periodically change while you're using 4G? You might be hitting a security feature that wants your IP address to stay the same. My IP address probably does change if I'm moving around, but even just standing on the same place for an extended period and trying to start a new NES...
by tokumaru
Fri Dec 31, 2021 4:13 pm
Forum: phpBB Issues
Topic: Difficulty logging in while using 4G
Replies: 7
Views: 585

Difficulty logging in while using 4G

I've been having a really hard time logging in while on 4G... I keep receiving a message saying "The submitted form was invalid. Try submitting again.", and after several tries sometimes it works, but if I try to post I get logged out again and the whole thing starts over. Is anyone else e...
by tokumaru
Thu Dec 30, 2021 6:21 pm
Forum: Newbie Help Center
Topic: 8x16 and whatever else unreg wants to know
Replies: 1605
Views: 524362

Re: 8x16 and whatever else unreg wants to know

I'm glad you managed to fix it. BTW, looking at asm6's documentation for the BASE directive, it explicitly says that "The same can also be accomplished by assigning the '$' symbol directly (i.e. '$=9999')", so yeah, that just changes the PC without inserting any padding, so you were just s...
by tokumaru
Thu Dec 30, 2021 6:08 pm
Forum: Newbie Help Center
Topic: 8x16 and whatever else unreg wants to know
Replies: 1605
Views: 524362

Re: 8x16 and whatever else unreg wants to know

In this case, I think DSB would be the best directive to use. It's the one that most closely matches the effects of including a block of data (via INCBIN, INCLUDE, DB, etc.), except you're just generating multiple copies of the same value. In my programs, I generally avoid manipulating the program c...
by tokumaru
Thu Dec 30, 2021 4:45 pm
Forum: Newbie Help Center
Topic: 8x16 and whatever else unreg wants to know
Replies: 1605
Views: 524362

Re: 8x16 and whatever else unreg wants to know

Maybe $= works like BASE and not like ORG. Could check the source code to be sure. Why do you need to skip 16 bytes anyway?
by tokumaru
Wed Dec 29, 2021 9:48 am
Forum: Newbie Help Center
Topic: 8x16 and whatever else unreg wants to know
Replies: 1605
Views: 524362

Re: 8x16 and whatever else unreg wants to know

Have you tried building a stripped down version of the ROM without any of the code or data, just the header and the bank organization stuff? If you can reproduce the problem that way, the error might be easier to find.
by tokumaru
Sun Dec 19, 2021 4:54 pm
Forum: General Stuff
Topic: Record video from Mesen successfully?
Replies: 6
Views: 386

Re: Record video from Mesen successfully?

I can successfully record video in Mesen using the lossless video codec that comes with DOSBOX. I don't remember its name right now, but it shows up in a separate folder after you install DOSBOX and you can just right-click the .inf file and select "install".
by tokumaru
Sun Dec 19, 2021 4:43 pm
Forum: NESdev
Topic: Structuring enemy behavior
Replies: 9
Views: 674

Re: Structuring enemy behavior

What I personally like to do, not only for enemies, but for all objects, even player characters, is give each one a set of handler subroutines, which the engine calls at specific moments to make them function and interact with each other. Each object has at least one initialization handler, which ta...
by tokumaru
Tue Dec 14, 2021 11:56 pm
Forum: Newbie Help Center
Topic: 8x16 and whatever else unreg wants to know
Replies: 1605
Views: 524362

Re: 8x16 and whatever else unreg wants to know

Any ideas about what could be wrong? Like Pokun said, better double check all the ORG, BASE and PAD directives you have... Hopefully they'll be all in a single file where you can easily tell the order in which they're processed. Now that I think of it, ALIGN may be a better directive than ORG or PA...