It is currently Mon Nov 20, 2017 2:20 pm

All times are UTC - 7 hours



Forum rules


Related:



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: SNES Newbie
PostPosted: Thu Nov 16, 2017 1:20 pm 
Offline
User avatar

Joined: Thu Nov 16, 2017 10:42 am
Posts: 2
Hello!

I have recently taken an interest in programming for the SNES, and I've gotten to know the basics of the console's architecture.
I've messed with sprites, backgrounds, tile collision, and simple horizontal-DMA effects, but I feel like I don't know enough to advance further into a large project for the console. (I actually made a few small projects for SNES with PVSNESLib years ago but I had no idea how the console worked since you work with a higher level language and I didn't bother looking at any documentation at the time.)

Here's a video I made showcasing what I've been messing around with using the WLA-DX cross assembler and I'm quite happy with its progress so far. (Of course, the code needs some cleaning up. :roll:)

https://www.youtube.com/watch?v=ttLVtmIrmyo

I'd like to know more about what things are, the terminologies behind them, and how they work; Great example is "metasprite". I've heard this term quite a few times while lurking around here on the forums and I'm not sure what it is. I know the general purpose of OAM and how there's a low and high table (512 bytes for low and 32 for high?) but never heard of metasprites until visiting the forum.

I Think I understand GP-DMA well enough to utilize it for simple tasks like transferring, let's say, a tile into VRAM.
SPC700 is by far the most complicated thing I'm having trouble understanding, and will definitely need a few pointers to guide me in the right direction.

Responses and resources are definitely appreciated!


Top
 Profile  
 
 Post subject: Re: SNES Newbie
PostPosted: Thu Nov 16, 2017 1:56 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19236
Location: NE Indiana, USA (NTSC)
"Metasprite" means a single cel of animation made out of multiple entries in the OAM. For example, in Super Mario World, Mario's cels are roughly 16x32 pixels in size made of two 16x16 pixel sprites. Sprites in a metasprite need not be aligned corner-to-corner; Yoshi's, for instance, are offset somewhat to put his head forward of his body.

For SPC700, when starting, you'll want to use a third-party engine. Right now, the most complete engine available for homebrew is probably SNES GSS.


Top
 Profile  
 
 Post subject: Re: SNES Newbie
PostPosted: Thu Nov 16, 2017 1:58 pm 
Offline
User avatar

Joined: Thu Sep 15, 2016 6:29 am
Posts: 382
Location: Denmark (PAL)
A metasprite is not a hardware thing, but a common concept in game programming.
It's basically a sprite made out of multiple smaller hardware sprites. So one way to define a metasprite is with a bunch of data that your code knows how to interpret when writing to the sprite buffer.

Similar terminology is used with metasprites = a collection of smaller sprites, and a common way to compress larger pieces of level data in a simple manner.

edit: tepples beat me to it, for some reason the forum didn't warn me as it usually does :)


Top
 Profile  
 
 Post subject: Re: SNES Newbie
PostPosted: Thu Nov 16, 2017 3:28 pm 
Offline
User avatar

Joined: Thu Nov 16, 2017 10:42 am
Posts: 2
Ah, okay, makes a ton of sense.
Thanks, guys!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: blurayno, Yahoo [Bot] and 6 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