How to use 1800 tiles using sgdk?

SGDK only sub forum

Moderator: Stef

Post Reply
greatkreator
Very interested
Posts: 158
Joined: Sat May 12, 2012 7:37 pm
Location: Ukraine

How to use 1800 tiles using sgdk?

Post by greatkreator » Tue Jul 10, 2012 2:36 pm

How to use 1800 tiles using sgdk?
Without sgdk is OK as well.
Any ideas are appreciated.

mic_
Very interested
Posts: 265
Joined: Tue Aug 12, 2008 12:26 pm
Location: Sweden
Contact:

Post by mic_ » Tue Jul 10, 2012 2:50 pm

The same way you'd use any number of tiles..? Or is 1-800-TILES the name of some application?

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Tue Jul 10, 2012 4:58 pm

I guess the question is how to put 1800 tiles of graphics into the VRAM, which could be problematic with SGDK, as there are gaps in the VRAM between nametables and stuff. It also involves using nametables of minimal size (32x32), i.e. H32 video mode.

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Tue Jul 10, 2012 5:58 pm

1800 tiles is almost the entire VRAM, as Shiru said you have to set APLAN and BPLAN to 32x32 size.
SGDK provides a default video memory scheme but free feel to you to modify it according to your needs...

Post Reply