Search found 248 matches

by Bisqwit
Fri May 25, 2012 3:06 am
Forum: NESemdev
Topic: About the scanline -1
Replies: 15
Views: 5899

Re: About the scanline -1

Zepper wrote:Plus, about the cycle 328, I get a "passed" only on cycle 338. Could someone else confirm it?
I observed the same about that test.
by Bisqwit
Wed May 23, 2012 1:19 pm
Forum: NESdev
Topic: Palette fading techniques
Replies: 17
Views: 9445

I guess I don't understand why creating your own arranged 2d array of colors wont work. If you pre-calculate the table then most of the math goes away, right? Such precalculated arrays might require too much space for some purposes. In any case, here's a little comparison between two algorithms. On...
by Bisqwit
Wed May 23, 2012 12:26 pm
Forum: NESdev
Topic: Palette fading techniques
Replies: 17
Views: 9445

The problem with angular palette fades suggested by many here is that fades between monochrome and colored do not work at all.
by Bisqwit
Wed May 23, 2012 12:23 pm
Forum: NESdev
Topic: Palette fading techniques
Replies: 17
Views: 9445

For example if you use color $20, then with your sequence it will become $20, $20, $00, $00, which is not what you want since you probably wanted sometihng like $20, $10, $00, $0f. Actually Simon's Quest partially solves this problem by setting palette[x] into min(origpalette[x], (origpalette[x] &a...
by Bisqwit
Wed May 23, 2012 11:36 am
Forum: NESdev
Topic: Palette fading techniques
Replies: 17
Views: 9445

Palette fading techniques

A common trick in NES games is to fade a palette to black, and back, by progressively ANDing the correct palette values with a bitmask such as 3F, 2F, 1F and 0F. An example of such game is Simon's Quest, as shown in the screenshot below. This algorithm is cheap and easy to implement. However, it is ...
by Bisqwit
Tue May 08, 2012 2:54 am
Forum: NESemdev
Topic: Planning a test for BRK and IRQ concurrency glitch
Replies: 23
Views: 30209

I'm guessing you didn't see this: http://nesdev.com/bbs/viewtopic.php?t=8688 based on your attempts to find out how this actually works on the 6502. They actually discuss why the BRK/IRQ concurrency issue exists, as a hardware design. Just thought I'd make sure you saw that, sorry if you already ha...
by Bisqwit
Mon Apr 30, 2012 3:14 am
Forum: NESemdev
Topic: Test: ppu_read_buffer [VERIFICATION PENDING]
Replies: 24
Views: 18747

Yeah, I finally saw the Kinkade painting. With the latest ROM, I get no Untested, but I get the same failed test numbers: Failed tests: 67 Failed tests: 67 63 Failed tests: 67 52 51 50 7 Feature request: Press a button to view the Kinkade painting again after test completion Allright, interesting. ...
by Bisqwit
Sun Apr 29, 2012 1:05 am
Forum: NESemdev
Topic: Emulator programming challenge
Replies: 17
Views: 6653

I wrote one just recently in 386 assembler, runs on DOS. Renders alternatively in paletted mode (256x240 onto 320x240 Mode-X without scaling), or using NTSC filtering with correct borders & aspect ratio to 320x240 truecolor, or with regular palette & gamma-corrected dithering in 320x240 Mode...
by Bisqwit
Sat Apr 28, 2012 1:21 pm
Forum: NESemdev
Topic: Test: ppu_read_buffer [VERIFICATION PENDING]
Replies: 24
Views: 18747

For the record, my current WIP emulator actually passes the test. But I think it may be too large presently to be featured in that manner, with its savestate and multimapper support code. But thanks for the idea.
by Bisqwit
Sat Apr 28, 2012 1:06 pm
Forum: NESemdev
Topic: Test: ppu_read_buffer [VERIFICATION PENDING]
Replies: 24
Views: 18747

Allright.. Will do. (And will edit this post when done.) Now what do I use the extra 8k for... That's like more than enough space to fit an emulator ;-) EDIT: Test updated. For now, the 4th bank is just going to be empty. Whimper, I felt particularly clever when I managed to reduce the graphics from...
by Bisqwit
Sat Apr 28, 2012 12:13 pm
Forum: NESemdev
Topic: Test: ppu_read_buffer [VERIFICATION PENDING]
Replies: 24
Views: 18747

BRK executed where should not! PC=1B00, AXYSP=00/00/05/FB/37 So it failed immediately upon landing in the supposedly VROM-loaded code. You mentioned VROM. Three CHR banks are not a power of two; might that have something to do with it? I know it's not a power of two. Does PowerPak have a problem co...
by Bisqwit
Sat Apr 28, 2012 6:44 am
Forum: NESemdev
Topic: Test: ppu_read_buffer [VERIFICATION PENDING]
Replies: 24
Views: 18747

What. 534 cd source/ 535 git commit . -m 'Fix BRK debugging' 536 cd .. 537 cd .. 538 git archive HEAD ppu_read_buffer > test.tar 539 cd t 540 tar xvf ../test.tar 541 kzip -r /WWW/src/nes_tests/ppu_read_buffer.zip `find -type f|sed 's/^..//'` 542 zip -9 /WWW/src/nes_tests/ppu_read_buffer.zip `find -t...
by Bisqwit
Sat Apr 28, 2012 5:14 am
Forum: NESemdev
Topic: Test: ppu_read_buffer [VERIFICATION PENDING]
Replies: 24
Views: 18747

Results from new version, again depending on reset: BRK? BRK executed where should not! 01010100ar01011D7800000100 [...] Are you making sure to wait for $2002 bit 7 to be set a couple times? If you don't, reset might cause the PPU to ignore writes for a frame. I'm using Blargg's framework, which in...
by Bisqwit
Sat Apr 28, 2012 1:46 am
Forum: NESemdev
Topic: Test: ppu_read_buffer [VERIFICATION PENDING]
Replies: 24
Views: 18747

Regarding the sprite-0 hits, this test only expects shed-size accuracy on the timings (about 60 scanlines). Timings are not the issue, it's whether the DMA uploaded correct data or not. EDIT: I updated the test, removing the fail-barrier before test 73. So now it should be possible to get results fo...
by Bisqwit
Fri Apr 27, 2012 3:27 pm
Forum: NESemdev
Topic: Test: ppu_read_buffer [VERIFICATION PENDING]
Replies: 24
Views: 18747

tepples wrote:Feature request: When more than three sequential tests are untested (e.g. 73 74 75 76 77 78), display them with a dash between them (e.g. 73-78).
Implemented as requested.