SGDK only sub forum
- Posts: 36
- Joined: Sat Mar 31, 2018 1:09 pm
Stef wrote: ↑
Tue Jan 16, 2018 1:00 pm
To release some VRAM in the tilemap allocation.
Megadrive allow 32x32, 32x64, 64x32 (default since SGDK 1.31), 64x64 (defaut in SGDK < 1.31), 128x32, 32x128 tilemap size
But almost time 64x32 is enough to do whatever you want and allow to store more tile data in VRAM =)
Of course you can change the VRAM setup if you want =)
I had this same doubt.. I thought the screen virtual area 64x64 was standard for mega drive.
Nice to know about it.
- Posts: 49
- Joined: Sat Mar 21, 2009 4:24 pm
- Location: Sheffield, England
Random question but have you any plans to incorporate bank switching within SGDK??
Would be mighty helpful!!
Glad to see you are still active!!
To be this good takes ages, To be this good takes Stef, Kanedafr, ChillyWilly & everyone who has helped me discover what hardwork is!
Dive into the SpritesMind!
- Very interested
- Posts: 2874
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
Of course i'm still alive ^^ Busy but alive
Adding bank switching isn't something i can really do much for it. I can eventually to register get/set operation to change the bank but except that i do not see how i can work out easily bank switching part with the compiler. It's more something you need to do manually.
- Very interested
- Posts: 754
- Joined: Thu Apr 10, 2008 3:03 pm
Well, later consoles (and some DOS programs :v) would resort to "overlays" which are chunks of code that can be loaded and unloaded as needed… I suppose that bank switching support on SGDK would require a scheme like that. And yes, this is something that needs help from the linker (to put data in overlapping regions).
It's doable, but also a pain in the ass.
Sik is pronounced as "seek", not as "sick".
Who is online
Users browsing this forum: No registered users and 2 guests