Search found 92 matches

by bleubleu
Thu Aug 30, 2018 7:09 pm
Forum: NESdev
Topic: Collision: Preventing it VS. Fixing it when it happens
Replies: 7
Views: 3064

Re: Collision: Preventing it VS. Fixing it when it happens

Thanks man, that makes a lot of sense!

-Mat
by bleubleu
Thu Aug 30, 2018 6:38 pm
Forum: NESdev
Topic: Collision: Preventing it VS. Fixing it when it happens
Replies: 7
Views: 3064

Collision: Preventing it VS. Fixing it when it happens

Hi. I was wondering. Some games like Mario pushes the player out of the wall when they detect that he's inside it (afaik). I would be more tempted to prevent the collision in the first place. What are the pros and cons of both options? Seems like for a simpler (less physics-based game) prevent colli...
by bleubleu
Thu Aug 30, 2018 1:23 pm
Forum: NESdev
Topic: Mesen Debugger - Feedback/Feature Requests? (2018 edition)
Replies: 201
Views: 106418

Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

Yeah, I'd like to request the same thing! I run in to this a lot when doing large scale refactors or setting up little test projects. I think Sour answered this. There's an option for this already (although it might not be as obvious as it should be) - if you turn on "Break on CPU crash" in the deb...
by bleubleu
Thu Aug 30, 2018 7:05 am
Forum: NESdev
Topic: Mesen Debugger - Feedback/Feature Requests? (2018 edition)
Replies: 201
Views: 106418

Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

The ultimate would be to have 2 options (if applicable): - Show in CPU memory - Show in ROM/RAM memory (useful when a bank isn't currently mapped). I just added these to the label list's context menu (you can also assign shortcut keys for these). Also, I've added "View in cpu memory", "View in [prg...
by bleubleu
Thu Aug 30, 2018 6:45 am
Forum: Homebrew Projects
Topic: Untitled adventure game, Milestone 1: Scrolling and tools.
Replies: 39
Views: 19292

Re: Untitled adventure game, Milestone 1: Scrolling and tool

With the MMC3 at my disposal, I wouldn't think twice about using IRQs to mask the top and bottom 8 scanlines by disabling background rendering and using blank patterns for sprites, or vice versa. EDIT: Just wanted to make it clear hat I'm not trying to be a dick or anything, I'm just pointing out t...
by bleubleu
Wed Aug 29, 2018 4:29 pm
Forum: Homebrew Projects
Topic: Untitled adventure game, Milestone 1: Scrolling and tools.
Replies: 39
Views: 19292

Re: Untitled adventure game, Milestone 1: Scrolling and tool

I suppose I'll ask, have you plans to share these tools? I totally get it if you're not, just curious. No pressure. When I release something (or get tired or coding it) ill totally dump the code somewhere. In the meantime it is still too much of a WIP to release anything. It looks OK in animated GI...
by bleubleu
Wed Aug 29, 2018 4:28 pm
Forum: Homebrew Projects
Topic: Untitled adventure game, Milestone 1: Scrolling and tools.
Replies: 39
Views: 19292

Re: Untitled adventure game, Milestone 1: Scrolling and tool

Using vertical mirroring and assuming an overscan of 8px on the top and bottom of the screen, that leaves us with 16px to hide all of the attributes defects. The problem with the assumption that TVs will cleanly hide 8 scanlines at the top and at the bottom is that... they won't, you'll find all so...
by bleubleu
Wed Aug 29, 2018 9:50 am
Forum: Homebrew Projects
Topic: Untitled adventure game, Milestone 1: Scrolling and tools.
Replies: 39
Views: 19292

Re: Untitled adventure game, Miletone 1: Scrolling and tools

dougeff wrote:Are you sure you didn't mean "milestone"? BTW, you can edit the title by editing the first post in a thread.
Oops. Fixed thanks!
by bleubleu
Wed Aug 29, 2018 8:50 am
Forum: Homebrew Projects
Topic: Untitled adventure game, Milestone 1: Scrolling and tools.
Replies: 39
Views: 19292

Untitled adventure game, Milestone 1: Scrolling and tools.

Hi. I've been working on-and-off since the spring on a little zelda-like adventure game. I thought id share what i have so far, maybe that will start a discussion, maybe not at all. I've mostly been working on the foundations of the engine and tools. I have zero gameplay element, that will come next...
by bleubleu
Fri Aug 24, 2018 5:59 pm
Forum: NESdev
Topic: Mesen Debugger - Feedback/Feature Requests? (2018 edition)
Replies: 201
Views: 106418

Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

Hi. Im getting a crash when setting a condition breakpoint. I simply set the expression to "a > 20" and i get this crash: Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Mesen.GUI.InteropE...
by bleubleu
Thu Aug 09, 2018 5:04 pm
Forum: NESdev
Topic: Mesen Debugger - Feedback/Feature Requests? (2018 edition)
Replies: 201
Views: 106418

Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

Cool, thanks!

Let me know if you need testing.

-Mat
by bleubleu
Thu Aug 09, 2018 1:13 pm
Forum: NESdev
Topic: MMC3: What happens if a bank switch is interrupted by NMI?
Replies: 22
Views: 5394

Re: MMC3: What happens if a bank switch is interrupted by NM

The Curse of Possum Hollow has two shadow registers: $8000 bank and $A000 bank. They are always set through one subroutine that copies them to registers 6 and 7, called mmc3_restore_bank , in this order: Oh thanks. I didn't consider the scanline IRQ could also interfere. Wouldnt simply shadowing th...
by bleubleu
Thu Aug 09, 2018 12:02 pm
Forum: NESdev
Topic: MMC3: What happens if a bank switch is interrupted by NMI?
Replies: 22
Views: 5394

Re: MMC3: What happens if a bank switch is interrupted by NM

Oh thank you guys. I get it now. For some reason I always though bank swap always required a pair of writes (8000 + 8001) but that's not the case. The value of the 8000 persists until it is modified, so that's the only value that you need to shadow (and restore at the end of NMI) to prevent that cas...
by bleubleu
Thu Aug 09, 2018 11:44 am
Forum: NESdev
Topic: MMC3: What happens if a bank switch is interrupted by NMI?
Replies: 22
Views: 5394

MMC3: What happens if a bank switch is interrupted by NMI?

Hi. Hypothetical scenario. Let's say I do this a bank switch: lda xxx sta $8000 ; NMI triggers here lda yyy sta $8001 And the NMI triggers between the 8000/8001. Lets say the NMI also does bank switches for audio and other things. Lets also assume the NMI is being nice and pushing/popping all regist...
by bleubleu
Wed Aug 08, 2018 7:39 pm
Forum: NESdev
Topic: Mesen Debugger - Feedback/Feature Requests? (2018 edition)
Replies: 201
Views: 106418

Re: Mesen Debugger - Feedback/Feature Requests? (2018 editi

Hi. I've been enjoying 0.9.6 so far. Such a good tool for development. One tiny feature that I keep wanting to have would be to be able to jump to the memory viewer by right clicking on a Label in the debugger. I use debug info, so pretty much every symbol is there and often I am "what does this thi...