Omnimaga

Calculator Community => Casio Calculators => Topic started by: ralphdspam on March 20, 2013, 07:12:23 pm

Title: I need help wit the Prizm. I'm completely lost.
Post by: ralphdspam on March 20, 2013, 07:12:23 pm
Hi, everyone.

I'm pretty confused about programming the Casio Prizm.  

I successfully compiled the Hello World test program, but I can't really do more than that.  I'm pretty much a noob at pointers in C.  

How exactly do I plot a pixel to the screen?  I know that vram is at 0xA8000000.  How do I make a pointer to it and copy a color
What is the format of the 16-bit colors?

Thank you so much for helping me.  :)

EDIT: Alright.  I managed to plot pixels on the screen.  Is there a way of disabling the annoying border?
Title: Re: I need help wit the Prizm. I'm completely lost.
Post by: Juju on March 21, 2013, 03:15:33 pm
What is the format of the 16-bit colors?
5 bits red, 6 bits green and 5 bits blue.

EDIT: Alright.  I managed to plot pixels on the screen.  Is there a way of disabling the annoying border?
I think it's advanced coding or something. You might want to set it to black or the same as background color.
Title: Re: I need help wit the Prizm. I'm completely lost.
Post by: flyingfisch on March 24, 2013, 03:39:46 pm
EDIT: Alright.  I managed to plot pixels on the screen.  Is there a way of disabling the annoying border?

Use directDrawRect. ;)