SNES map DMA packets

Discussion of hardware and software development for Super NES and Super Famicom. See the SNESdev wiki for more information.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
Oziphantom
Posts: 1565
Joined: Tue Feb 07, 2017 2:03 am

SNES map DMA packets

Post by Oziphantom »

I've been thinking about the map export. Making a simple 2D array is probably not what people need. It would be better to store lines and columns in DMA reads packets, so you can just set the DMA and go.

What address inc setup to people use for these tasks?
psycopathicteen
Posts: 3140
Joined: Wed May 19, 2010 6:12 pm

Re: SNES map DMA packets

Post by psycopathicteen »

Horizontal uses increment by 1, verticle uses increment by 32. Both need increment when $2119 is written to.
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: SNES map DMA packets

Post by tepples »

Is this converter that emits baked DMA packets intended for use with horizontal-only or vertical-only scrolling? Because if you're doing more than 2-way scrolling, these packets are going to be redundant at best, storing both vertical and horizontal copies of the same map. At worst, they'll be useless, as a vertical update to a 64x32 map has to wrap around the seam.
Oziphantom
Posts: 1565
Joined: Tue Feb 07, 2017 2:03 am

Re: SNES map DMA packets

Post by Oziphantom »

well you can have limited 8way, in that it fits within the 2 screens -super mario 3, raiden style etc

it wouldn't be the only way to export data, just might be something else nice to have.
Post Reply