#10250 - Omega81 - Sun Aug 31, 2003 5:30 pm
This may sound stupid but how how do you do it? I mean I know the procedure, but I guess what I want to know is how the palatte register comes into it. When I want to plot the pixel do I send an entry from the palatte register or just a number from 0-256?
thanks
_________________
Keep it real, keep it Free, Keep it GNU
#10253 - Omega81 - Sun Aug 31, 2003 6:56 pm
thank Cyberman. I was wondering why you are multipling Y by 120 surely you mean Y*240 right?
I understand the general architecture of the GBA just wasn't sure how to deal with writing 8bit to a 16bit screen, currently, I was writeing a pixel colour to the x,y location by...
Plotpixel(x,y,((color<<8)|color));
basically converting the bit color to a 16bit color if two halves both the same value. your method is different though. I will try that and see what happens.
thanks again.
_________________
Keep it real, keep it Free, Keep it GNU