It is currently Fri Feb 15, 2019 10:25 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Flowing palette demo
PostPosted: Thu Jun 17, 2010 12:42 am 
Offline
User avatar

Joined: Mon Sep 27, 2004 8:33 am
Posts: 3715
Location: Central Texas, USA
After days of non-stop work on this, I think it's ready for some exposure (no source yet, as it's still not cleaned up as much as I'd like). NTSC only:

flowing_palette.zip

It works beautifully on my NTSC front-loader NES. I'm not sure it'll work on emulators; if someone has a PowerPak and can verify that an emulator matches what you see on your NES, please post which emulator you used.

All graphics are generated by manually setting $2006 and $2007. After initialization, all code is cycle-timed, as this is the only way to get a stable image with this technique. I had been working so many days non-stop on this that I wanted to go ahead and release it, before I got the new PPU timing technique working that will eliminate the need for cycle timing everything, since that will require a big rewrite.


Last edited by blargg on Thu Jun 17, 2010 8:33 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 1:32 am 
Offline
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7664
Location: Chexbres, VD, Switzerland
MAN THIS IS AMAZING !!

_________________
Life is complex: it has both real and imaginary components.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 5:09 am 
Offline
User avatar

Joined: Tue Feb 13, 2007 9:02 pm
Posts: 147
Location: Richmond, VA
Really incredible, blargg, thanks for sharing. I haven't checked on real hardware yet, but it looks great in Nestopia (OSX).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 6:11 am 
Offline

Joined: Sun Dec 27, 2009 2:38 am
Posts: 44
Location: Western Australia
I will test it now on my PowerPak and use FCEU (0.98.12-3 from the debian testing repos).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 6:17 am 
Offline
User avatar

Joined: Tue Jun 24, 2008 8:38 pm
Posts: 2206
Location: Fukuoka, Japan
Could only test it on nestopia. Interesting effect. Hope I can see it on the real thing someday. good work.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 6:21 am 
Offline

Joined: Sun Dec 27, 2009 2:38 am
Posts: 44
Location: Western Australia
Bad news. Looks like interference(let me dig some batteries up and take a picture). Is this what it is suppose to look like?

Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 6:29 am 
Offline

Joined: Sun Dec 27, 2009 2:38 am
Posts: 44
Location: Western Australia
Sorry about excellent photography and my CRT(why the black bar is there). If the screenshot of FCEU looks a little off it is because I could not be bothered finding out how to take screenshots(do not bother with emulators any more).

Image

I will take my NES to the lounge TV (LCD) for a much better picture.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 6:48 am 
Offline

Joined: Sun Dec 27, 2009 2:38 am
Posts: 44
Location: Western Australia
Took another picture and here it is.

Image

http://www.megaupload.com/?d=4Y46H370[/img]


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 7:17 am 
Offline
User avatar

Joined: Mon Sep 27, 2004 8:33 am
Posts: 3715
Location: Central Texas, USA
Argh, I found a minor bug that caused the scrolling to sometimes stop when changing directions. Fixed now. Apparently I did need those three CLCs :)

Screenshots don't really do any justice to this, as it's so dynamic. Apparently some emulators don't either. It also won't work on non-NTSC NES, so it's not worth trying. If someone wants to do a video capture from an NTSC NES and put on YouTube, that would be great. Until someone has verified that any emulators reproduce how it looks on a NES, it's best to assume thatthey don't emulate it correctly (if all you have is an emulator, you can't really tell whether it's emulating correctly).

danntor, are you using an NTSC NES?


Last edited by blargg on Thu Jun 17, 2010 7:19 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 7:19 am 
Offline

Joined: Sun Dec 27, 2009 2:38 am
Posts: 44
Location: Western Australia
Would have been nice if you said NTSC only. Still very good when I could see it actually work.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 7:21 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 4135
Looks great on Nestopia and Nintendulator.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 7:59 am 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 11165
Location: Rio de Janeiro - Brazil
danntor wrote:
Bad news. Looks like interference(let me dig some batteries up and take a picture). Is this what it is suppose to look like?

Image

FCEU doesn't emulate properly the behavior blargg is using here (the PPU rendering the color pointed by PPUADDR when rendering is turned off).

Interesting demo. Must have been pretty tough to code... Is it supposed to flicker horizontally before the vertical distortion starts? Maybe you did that so that the colors would blend better? I haven't seen it on the NES yet, but on my PC this looks a bit strange.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 8:05 am 
Online
User avatar

Joined: Sun Sep 19, 2004 9:28 pm
Posts: 3854
Location: A world gone mad
Damn, this looks like something off the Amiga (raster-effect-like stuff).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 11:12 am 
Offline
Site Admin
User avatar

Joined: Mon Sep 20, 2004 6:04 am
Posts: 3649
Location: Indianapolis
Cool! I was gonna say, the previous version you posted of this was the coolest NES palette demo ever (before it disappeared), but it's even better now.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 1:19 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 21093
Location: NE Indiana, USA (NTSC)
blargg wrote:
If someone wants to do a video capture from an NTSC NES and put on YouTube, that would be great.

Done.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 7 hours


Who is online

Users browsing this forum: Google Adsense [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group