Author Topic: I need help wit the Prizm. I'm completely lost.  (Read 2956 times)

0 Members and 1 Guest are viewing this topic.

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
I need help wit the Prizm. I'm completely lost.
« 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?
« Last Edit: March 20, 2013, 09:15:31 pm by ralphdspam »
ld a, 0
ld a, a

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: I need help wit the Prizm. I'm completely lost.
« Reply #1 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.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: I need help wit the Prizm. I'm completely lost.
« Reply #2 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. ;)



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0