[solved] Text Backgrounds

spectre1989
Posts: 24
Joined: Tue Jun 23, 2009 7:19 pm

Re: Text Backgrounds

Post by spectre1989 » Sat Jun 27, 2009 1:11 am

OK so firstly I stopped trying to convert the 4bpp bitmap to 8bpp, and just went with it. Secondly, got it going by using dmacopy to copy the tiles and map into memory. Lastly I read the bitmap in back to front, and now the letters are the right way up but are flipped horizontally. Is there any performance decrease to horizontally flipping the tiles using map bit 10? Unflipping the image is proving fiddly.

EDIT: Got it in the end, just had to work out how to separate each u8 into 2 nibbles so I could rearrange each row properly. Got my own printf function working, I think I can call this one solved. Cheers for all the help guys.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests