Jump to content



Photo
- - - - -

[casio C] Bitmaps In File


  • Please log in to reply
3 replies to this topic

#1 LordNPS

LordNPS

    Casio Freak

  • Members
  • PipPipPipPip
  • 173 posts
  • Gender:Male
  • Location:Porto/Portugal (makes me sad having to write this but....) /Europe
  • Interests:CG<br />Programming<br />Chess<br />Weapons<br />Porn<br />Explosives and rocketry<br />Calculators<br />History( mainly WW2 history)<br />

  • Calculators:
    FX 9860 SD


Posted 04 February 2007 - 07:53 PM

hey, how do you get a bitmap into your g1a ?
Sure you can define it, and them use Bdisp_write_DD/VRAM in the data structure with a pointer to it , however, if you do not want to have to wirte 1's and 0's in order to convert a bitmap... how do you get a .bmp in a g1a file, in the DATA part of the file? isn't any kind of converter in the sdk? or I can just include them manually...

#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 04 February 2007 - 08:00 PM

BMP files are designed for the Windows and OS/2 operating systems. You'll have to convert your bitmap manually into bytes (decimal or hex form) and use the Bdisp_WriteGraph_VRAM/DD() functions.

#3 LordNPS

LordNPS

    Casio Freak

  • Members
  • PipPipPipPip
  • 173 posts
  • Gender:Male
  • Location:Porto/Portugal (makes me sad having to write this but....) /Europe
  • Interests:CG<br />Programming<br />Chess<br />Weapons<br />Porn<br />Explosives and rocketry<br />Calculators<br />History( mainly WW2 history)<br />

  • Calculators:
    FX 9860 SD


Posted 04 February 2007 - 08:06 PM

Thats what I feared....
Well, it's a shame them.
I thought I could kind of include files in the G1A...
Getting things to work with this compiler is though...
there are always problems...
ohh, hows your port of MCL doin? Thought you would have to do most of that through assembler, writing a compiler, that is.

#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 04 February 2007 - 08:21 PM

Thats what I feared....
Well, it's a shame them.
I thought I could kind of include files in the G1A...
Getting things to work with this compiler is though...
there are always problems...


When I find the time, I'll write a BMP to Casio C Code utility....

ohh, hows your port of MCL doin? Thought you would have to do most of that through assembler, writing a compiler, that is.


I've just begun porting MLC. If I speed up development, I post screenshots within a couple days and probably release a Beta by the end of this week.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users