It is currently Tue Feb 19, 2019 4:33 am

All times are UTC - 7 hours



Forum rules





Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Wed Apr 23, 2014 10:17 am 
Offline

Joined: Thu Oct 05, 2006 6:29 am
Posts: 911
For those of you that haven't seen it already, Ferris of elix recently released a new SNES demo called "nu": http://www.youtube.com/watch?v=wi-NxM1EaXM (there's a link in the video description to where you can download the ROM).


Top
 Profile  
 
PostPosted: Wed Apr 23, 2014 1:10 pm 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 3141
Location: Tampere, Finland
Cool.

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi


Top
 Profile  
 
PostPosted: Wed Apr 23, 2014 2:36 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 7214
Location: Canada
Neato!


Top
 Profile  
 
PostPosted: Wed Apr 23, 2014 4:24 pm 
Offline

Joined: Wed May 19, 2010 6:12 pm
Posts: 2813
Is that running on real hardware?


Top
 Profile  
 
PostPosted: Wed Apr 23, 2014 6:33 pm 
Offline

Joined: Tue Aug 06, 2013 12:07 pm
Posts: 36
This is fantastic, great work!


Top
 Profile  
 
PostPosted: Wed Apr 23, 2014 7:30 pm 
Offline

Joined: Wed May 19, 2010 6:12 pm
Posts: 2813
If they create an NTSC version, they would have to squash the picture down to 184 lines for both DMA reasons and aspect ratio reasons.


Top
 Profile  
 
PostPosted: Wed Apr 23, 2014 7:59 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 8141
Location: Seattle
psycopathicteen wrote:
If they create an NTSC version, they would have to squash the picture down to 184 lines for both DMA reasons and aspect ratio reasons.
<goes and runs it in no$sns, watches the debugger> Oh, hey, I was wondering why the ROM's contents looked so patterned.

Actually, I think the pixel aspect ratio is currently the NTSC aspect... at least assuming those circles at the beginning are supposed to be "proper" circles.

Now to figure out how to get a SPC out of this...


Top
 Profile  
 
PostPosted: Wed Apr 23, 2014 8:32 pm 
Offline
User avatar

Joined: Sun Sep 19, 2004 9:28 pm
Posts: 3866
Location: A world gone mad
Very, very cool. Still pondering the methodology, but in the end just chose to enjoy what I witnessed.

As for the SPC: could just ask the dude.


Top
 Profile  
 
PostPosted: Thu Apr 24, 2014 1:21 am 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 3141
Location: Tampere, Finland
lidnariq wrote:
Oh, hey, I was wondering why the ROM's contents looked so patterned.

It's a video?

Well put together nevertheless.

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi


Top
 Profile  
 
PostPosted: Thu Apr 24, 2014 7:31 am 
Offline

Joined: Thu Feb 07, 2013 1:15 am
Posts: 116
Location: Sweden
The visuals just being "streamed" from ROM is a bit of a let down, but hey; who's anyone to complain when no one else put out a decent SNES demo in over a decade. (:

Also, the really impressive piece of code here is the custom SPC music system, and it sounds damn good too.


Top
 Profile  
 
PostPosted: Thu Apr 24, 2014 10:03 am 
Offline

Joined: Wed May 19, 2010 6:12 pm
Posts: 2813
So it is like the Bad Apple demo on the Sega Genesis. I thought it was real-time polygon engine, with updating the entire screen 50 frames per second, making use of the extended vblank time PAL consoles have.

I would like to see someone make a polygon engine for the SNES. With planar format you can blit 8 pixels at a time.


Last edited by psycopathicteen on Thu Apr 24, 2014 4:24 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Thu Apr 24, 2014 11:29 am 
Offline

Joined: Sun Dec 02, 2012 8:17 am
Posts: 501
Location: East Texas
why won't this work on NTSC consoles?


Top
 Profile  
 
PostPosted: Thu Apr 24, 2014 12:38 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 8141
Location: Seattle
Time. It's running a 224 scanline image on a PAL console, so there are 312-224=88 scanlines to transfer data. On NTSC, there's only 262-224=38 scanlines

DMA goes at 2.7MHz, right? If so, I think that works out to PAL has enough time to transmit 15kB of data, while NTSC only affords 6.5kB.


Top
 Profile  
 
PostPosted: Sat Apr 26, 2014 8:02 am 
Offline

Joined: Wed Jul 09, 2008 8:46 pm
Posts: 255
I dumped the .spc file, being a SPC set ripper at heart. No streaming data, that's for sure. Also, the 65C816 ASM to my knowledge is microscopic.

I suspect the SPC application is self-running. I attempted a music modifier, just for fun, and I have no clue if any commands were implemented. Therefore, I suspect the music program is self-running.

The solution was very simple: just dump the SPC the usual way through emulator (for me, that means pressing the dump button, and when the sound starts playing, that usually means I get the music).


Attachments:
nu by elix spc.zip [44.88 KiB]
Downloaded 90 times
Top
 Profile  
 
PostPosted: Sat Apr 26, 2014 11:04 am 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 8141
Location: Seattle
I got around to taking a gander shortly before you posted ... they actually made it really easy.
The first 256 bytes of the SPC's memory aren't touched.
Then memory from SNES 0x018000-0x01FEFF (or ROM 0x8000-0xFEFF) is transferred to SPC 0x100-0x7FFF, and memory from SNES 0x028000-0x02FFFF (or ROM 0x10000-0x17FFF) is transferred to SPC 0x8000-0xFFFF, and then the entry point given by the SPC uploader to the SPC is 0x300.

It does implement at least one command (having played with vspcplay): writing to $2140 with nonzero stops playback, and writing with 0 restarts from the beginning. (Reading back from $2140 returns 1 while playing and 0 otherwise)


Last edited by lidnariq on Sun Jan 18, 2015 7:14 pm, edited 1 time in total.

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

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 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