#13621 - beetlefeet - Thu Dec 18, 2003 4:19 pm
Hi, I'm a GBA Newbie.
I'm using gfx2gba to get a map into mode 0 bg 0. I'm using the code from Johnathan Harbour's book at http://www.jharbour.com/ (Thanks! Eagerly awaiting the rest of the chapters) (it's the Scrolling background example at the start of chapter 6).
Anyway I'm sure the code isn't the problem. (unless something to do with the map size).
Basically the map is 512x160 pixels. When I show it the rows are in the wrong order. I get a full 512 length row as 2 shorter rows so i get an interleaved effect. [Images not permitted - Click here to view it]
Now I seem to remember something about the tilemap being divided into sectors but I can't find it again. How can I get gfx2gba to output the map in the right order?
Or if that isn't the problem what else is there to try?
I'm using gfx2gba to get a map into mode 0 bg 0. I'm using the code from Johnathan Harbour's book at http://www.jharbour.com/ (Thanks! Eagerly awaiting the rest of the chapters) (it's the Scrolling background example at the start of chapter 6).
Anyway I'm sure the code isn't the problem. (unless something to do with the map size).
Basically the map is 512x160 pixels. When I show it the rows are in the wrong order. I get a full 512 length row as 2 shorter rows so i get an interleaved effect. [Images not permitted - Click here to view it]
Now I seem to remember something about the tilemap being divided into sectors but I can't find it again. How can I get gfx2gba to output the map in the right order?
Or if that isn't the problem what else is there to try?