Jump to content



Photo
- - - - -

Print Text On A Greyscale Buffer


  • Please log in to reply
6 replies to this topic

#1 k3v

k3v

    Casio Fan

  • Members
  • PipPip
  • 40 posts
  • Gender:Male
  • Location:Australia

  • Calculators:
    Casio Classpad 300 Plus \
    2 x Casio Fx-9860AU \
    Casio CFX-9850GB Plus \

Posted 21 March 2008 - 04:48 AM

Ive searched around but i cant find anything that can help.

How do you draw text/numbers/variables on a greyscale buffer?

#2 kucalc

kucalc

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly

    Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 21 March 2008 - 05:07 AM

You could plot pixel by pixel or use the VRAM as one of the grayscale buffers.

#3 k3v

k3v

    Casio Fan

  • Members
  • PipPip
  • 40 posts
  • Gender:Male
  • Location:Australia

  • Calculators:
    Casio Classpad 300 Plus \
    2 x Casio Fx-9860AU \
    Casio CFX-9850GB Plus \

Posted 21 March 2008 - 05:43 AM

Wow quick reply ^_^

So theres no printf type command? I found on MarioCE some pseudo VRAM2Buffer method... but yeah..

#4 kucalc

kucalc

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1422 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming: C/C++, Fortran, LISP, COBOL 85 Standard, PHP, x86 and SH3 Assembly

    Computer graphics

  • Calculators:
    fx-9860G / fx-7400G Plus / Algebra FX 2.0+ / fx-9770G / CFX-9850G / CFX-9850GB+ / TI-89 / TI-nSpire

Posted 21 March 2008 - 05:43 PM

No, there's no printf function.

#5 k3v

k3v

    Casio Fan

  • Members
  • PipPip
  • 40 posts
  • Gender:Male
  • Location:Australia

  • Calculators:
    Casio Classpad 300 Plus \
    2 x Casio Fx-9860AU \
    Casio CFX-9850GB Plus \

Posted 22 March 2008 - 05:38 AM

heh, thought the topic would be moved lulz..

So theres no text command at all? Wow that really sucks... So how can i get text on a greyscale buffer? How does the VRAM as a buffer work? Is it relatively simple?

#6 Fez

Fez

    Casio Freak

  • Members
  • PipPipPipPip
  • 162 posts
  • Gender:Male
  • Location:Australia

  • Calculators:
    Casio fx-9860G AU

Posted 24 March 2008 - 10:26 AM

i only know a very small amount of grayscales. But i think it means printing to the VRAM and then copying the VRAM to a buffer.

Correct me if im wrong XD

#7 k3v

k3v

    Casio Fan

  • Members
  • PipPip
  • 40 posts
  • Gender:Male
  • Location:Australia

  • Calculators:
    Casio Classpad 300 Plus \
    2 x Casio Fx-9860AU \
    Casio CFX-9850GB Plus \

Posted 24 March 2008 - 11:56 AM

LOL!

I mean how do i do it, what are the commands and how much of a conversion it would take... Cuz im running out of time for the competition... And it sounds like i would have to rework the graphics to half draw with greyscale commands, and half draw to VRAM... And then flip between them... And even if it works like that it would end up with text in grey (harder to read) because it would only be on one of the buffers... lulz could allways use VRAM for both buffers but that would be slow eh?

No numbers on screen isnt a tragedy, but still kinda sucks - No Score... Lulz the games still to simple to remove a "scoring" component...

Kucalc (or anyone else who's 1337) please help me lulz...


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users