Search found 25 matches
- Sat Mar 05, 2011 1:03 pm
- Forum: NESemdev
- Topic: Solving NEStress errors
- Replies: 10
- Views: 9254
- Sat Mar 05, 2011 11:39 am
- Forum: NESemdev
- Topic: Solving NEStress errors
- Replies: 10
- Views: 9254
- Sat Mar 05, 2011 10:26 am
- Forum: NESemdev
- Topic: Solving NEStress errors
- Replies: 10
- Views: 9254
- Sun Dec 26, 2010 11:11 pm
- Forum: NESemdev
- Topic: Solving NEStress errors
- Replies: 10
- Views: 9254
Sorry for the awkward question and change of subject, but it's all in the same boat, my awful PPU emulation haha. If you stop SMB with a debugger is it looping on reads of $2002? If so then it's either looking for sprite 0 hit ($40) or VBLANK ($80) set. If sprite 0 hit isn't working correctly SMB u...
- Sat Dec 25, 2010 10:18 pm
- Forum: NESemdev
- Topic: Solving NEStress errors
- Replies: 10
- Views: 9254
Cheers Dwedit, that's helpful, I was unsure about how the latched value works exactly. I just thought, since my emulator fails every sprite test in NEStress, it might be a good idea to mention those too. First of all, can anyone tell me what might be the cause of sprites not showing or flickering du...
- Sat Dec 25, 2010 8:45 pm
- Forum: NESemdev
- Topic: Solving NEStress errors
- Replies: 10
- Views: 9254
Solving NEStress errors
I'll get down to brass tax here, my emulator sucks and I was thinking about abandoning its development in favour of another emulator I'm working on. However, I feel that the very least I can do is get it to a reasonably decent standard, and since I got Blargs CPU test (nestest.nes) working 100%, I w...
- Thu Jul 22, 2010 2:55 am
- Forum: NESemdev
- Topic: Fixing Nestest failiures
- Replies: 22
- Views: 11394
My emu finally passed all the tests :D http://img31.imageshack.us/img31/3746/36322957.png Thanks so much for all the help, this is a major mile stone for me as alot of the games are booting and playing fine, and of course, thanks for writing the nestest Blargg. Now, the other instruction tests are r...
- Wed Jul 21, 2010 8:57 pm
- Forum: NESemdev
- Topic: Fixing Nestest failiures
- Replies: 22
- Views: 11394
As stated on the Wiki, it's best to get nestest passing first. Yes, I will get the last two tests fixed (hopefully) first before I move on to other test roms. As for my PPU emulation, the only problem (optimistically) is that incorrect data is been written to the nametables. As you said though, i w...
- Wed Jul 21, 2010 11:53 am
- Forum: NESemdev
- Topic: Fixing Nestest failiures
- Replies: 22
- Views: 11394
- Tue Jul 20, 2010 9:32 pm
- Forum: NESemdev
- Topic: Fixing Nestest failiures
- Replies: 22
- Views: 11394
Hi Blargg Both logs are basically in the exact same format now, and I'm actually making some great progress since my first post, I now pass 10 of the 13 tests and lots of games that didn't boot before are starting to work. http://img822.imageshack.us/img822/7799/39851074.png Something I realised is ...
- Tue Jul 20, 2010 6:44 pm
- Forum: NESemdev
- Topic: Fixing Nestest failiures
- Replies: 22
- Views: 11394
a u8 - u8 is always >= 0 I beg to differ, in C++ if you to the sum 10 - 15, you will get -5, unless you typecast the result of course. For example, this will evaluate as true. if (10-15 < 0) As for the nestest log, I will show you the first part that isn't the same. (ignoring scanline and small cyc...
- Tue Jul 20, 2010 5:26 pm
- Forum: NESemdev
- Topic: Fixing Nestest failiures
- Replies: 22
- Views: 11394
Ok, i think i got the CPX flags problem fixed. void NesMainClass::_CMP(u8 cmpReg, u8 toCmp, int cycles) { cpuCycles += cycles; // Is the Negative/Sign bit set? (TestBit(cmpReg-toCmp, 7)) ? SET_N_FLAG : CLR_N_FLAG; // Is the result zero? (cmpReg-toCmp == 0) ? SET_Z_FLAG : CLR_Z_FLAG; // Should we set...
- Tue Jul 20, 2010 5:19 pm
- Forum: NESemdev
- Topic: Fixing Nestest failiures
- Replies: 22
- Views: 11394
@pdq I have already done this, and I actually have programmed my emulator to output an identicaly formatted log file to the nestest.log file. Although, the contents is different at this point obviously. @James To make things clearer, take this for example (but you're right lol) regs->P = (TestBit(re...
- Tue Jul 20, 2010 7:34 am
- Forum: NESemdev
- Topic: Fixing Nestest failiures
- Replies: 22
- Views: 11394
Fixing Nestest failiures
Hi everyone Here is a screenshot of the nestest.nes rom completed in my emulator http://img44.imageshack.us/img44/7392/55517763.png As you can see, many of the tests fail, but the test numbers that are indicated are mostly all just general failiures, such as "SBC # Failiure", so it's diffi...
- Sun Apr 25, 2010 10:32 am
- Forum: NESemdev
- Topic: i need help on writing a nes emu.
- Replies: 14
- Views: 11115