NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: MMC 3 conversion - runs on all but LoopyNES.  
Posted byAnonymous
Posted on9/14/03 6:31 PM
From IP68.75.22.48  



No joy with the irq: jmp irq. The stack is still corrupt on entry. This is definitely being caused by a BRK, according to the LoopyNes debugger, but I can't trace it back to where the BRK occurs!

Can BRK occur in other instances besides a brk instruction, such as a stack over/underflow, etc., either on the hardware itself, or in the LoopyNes emulator? I'm thinking the 6502 is probably pretty lenient on its bounds checking, i.e, no abnormal state indicated on stack over/underflow, but I figured I'd ask anyway. I don't have much experience with 6502, but I've done x86 asm before, program for a living, and pick up these things like nothing. In fact, I've come from playing with a SMB level editor with little knowledge of NES hardware to where I am now in 1 week, just by digesting every tech doc I can find, and making small demos to test the parts that are unclear.

The demos I've made include walking through the tutorial from Just Another Vision Studios, and enhancing it to include a static background and collision detection with the edges of the "playfield", and some menuing demos that doubled as testbeds for rom bankswitching for MMC's 1, 3, and 5, which I used to fill in the gaps in the tech docs I've found on those mappers. I even got the backgrounds stable on LoopyNES! This BRK problem is the first thing I've needed to go outside my own research for.

BTW, the NESDev site has been a great resource for all this learning!
Maybe I'll dig into my assembly listing for SMB and try to find a nice routine in $e000-$ffff that can be moved into my $9cc4-$9fff range, trying your other suggestion...



-
Entire Thread
Subject  Posted byPosted On
*MMC 3 conversion - runs on all but LoopyNES.  Anonymous9/14/03 3:53 PM
.*Re: SMB MMC 3 conversion - update  phoenix9/26/03 04:28 AM
.*MMC 3 conversion of SMB  phoenix9/17/03 04:22 AM
.*Update  Anonymous9/14/03 9:09 PM
.*Re: MMC 3 conversion - runs on all but LoopyNES.  Memblers9/14/03 5:14 PM
...Re: MMC 3 conversion - runs on all but LoopyNES.  Anonymous9/14/03 6:31 PM
...*Re: MMC 3 conversion - runs on all but LoopyNES.  Memblers9/14/03 9:22 PM
....*Re: MMC 3 conversion - runs on all but LoopyNES.  Anonymous9/15/03 03:31 AM
....*Re: MMC 3 conversion - runs on all but LoopyNES.  loopy9/15/03 01:28 AM
.....*Re: MMC 3 conversion - runs on all but LoopyNES.  Anonymous9/16/03 00:35 AM
......*Re: MMC 3 conversion - runs on all but LoopyNES.  loopy9/16/03 01:01 AM
.......*Re: MMC 3 conversion - runs on all but LoopyNES.  Anonymous9/16/03 04:33 AM
.......*Re: MMC 3 conversion - runs on all but LoopyNES.  hcs9/16/03 03:43 AM
.....*Re: MMC 3 conversion - runs on all but LoopyNES.  Anonymous9/15/03 03:15 AM
..*Re: MMC 3 conversion - runs on all but LoopyNES.  Anonymous9/14/03 5:57 PM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo