A new programmer joins TakeFlight

Casimo from UCF has joined our programming team to help provide you with outstanding calculator programs for fx9860 Power Graphic 2 series.

He has several projects under way, including a black and white port of Aspirin,  ZipMe (a .zip compression tool for fx9860s), a Tetris game, and a version of LuaFX that works with Power Graphic 2 calcs. All are compatible with the Power Graphic 2 calcs.

Please give him a warm welcome!

Advertisements

Aspirin for PRIZM

I have made a port of Aspirin for the PRIZM in LuaZM.

Objective:
Use arrow keys to manoeuvre to the target without hitting the obstacles.

Bugs:
None, of course. Then again, if you happen to notice any random features, please let me know!

Screenshots:

Download

Why the TI-84C is not worth the money

The past six months have seen many fickle Casio fans turning their efforts eyes and money towards a new calculator, the TI-84C.

Why this calculator is no better than any other casio rejects (aka, TI calcs):

  • The 84+CSE has only 21KB of user RAM. While there are 128KB available for assembly programmers, TI-Basic users and such are stuck with even less RAM than before. The Casio PRIZM, on the other hand, has approx. 50KB of RAM, plus 16MB of storage space.
  • The 15MHz z80 processor. Much slower than the PRIZM’s SH-4A (58MHz). Remember that we’re dealing with color here, and 15MHz just doesn’t cut it.
  • The screen is capable of 16-bit color, but the calculator itself isn’t. Refreshing the whole screen once with just 8-bit color takes 2 seconds. This is unacceptable.
  • The lack of a good C compiler. At this point there is no way to program in anything other than BASIC or Assembly. The PRIZM comes with support for C, native support for BASIC, and third-party languages like LuaZM.

In reviewing this calculator, we are forced to realize that this is nothing more than another over-priced, under-powered, excuse for a calculator from who else but, Texas Instruments.

More Information:

Our Protest Banner:

[url="http://casio.clrhome.org/2013/02/why-ti-84c-is-not-helping-programming.html"][img]http://img.removedfromgame.com/imgs/1-anti-84c.png[/img][/url]

Merry Christmas!

Merry Christmas everyone!

Tutorial: Cool fading text in LuaZM

Just thought I’d make a little tutorial. This one is an easy way to make a nice fading text effect for a splash screen.

OK, so to start out, let’s define some function variables. I like to make them local because it is faster, but you can do whatever you want or just use them in their full size (zmg.*)

So, we’ll be needing, quite obviously, I hope, the zmg.drawText command. We are also going to need zmg.drawRectFill (for drawing the background), zmg.fastCopy, and zmg.makeColor.

fastCopy = zmg.fastCopy
drawRectFill = zmg.drawRectFill
makeColor = zmg.makeColor
drawText = zmg.drawText

OK, so now that we have our function variables, let’s create a variable with our color information in it.

color = {bg=makeColor(0,0,0),fg=makeColor(0,0,0)}

Let’s scrutinize that line of code a little. we are making the variable color an array, same as if I did color = {}. Inside is where the fun stuff happens. the bg= part let’s me get that variable by typing color.bg instead of color[1]. The makeColor part is simply converting RGB to 5-6-5 color, which would look something like this 0x0000.

You might be wondering why color.fg and color.bg are the same color. The reason for that is we want the text to fade in from the background, so color.fg is going to start out the same color as the background.

Now let’s dive into the real meat of the program.

First let’s make a loop to put everything in.

while exit~=1 do
end

That part shouldn’t require too much explanation. Basically its just making a loop that won’t break until exit==1.

So let’s put in our drawText command.

while exit~=1 do
drawRectFill(x,y,SCREEN_WIDTH,SCREEN_HEIGHT,color.bg)
drawText(1,1,"Hello World",color.fg,color.bg)
end

The first function is just going to draw a giant filled rectangle so we can have a colored (in this case, black) background.

The next function is drawText(). I made the x and y variables 1 but you can make them whatever you want. Our string is Hello World, but again, you can make it anything your heart desires. The last two arguments are (you guessed it!) the foreground and background colors.

“Hey,that code”, you say, “is going to do absolutely nothing!” And you’re absolutely right. So let’s go change it a little.

First, we have to put a little variable called i in there. This is how we are going to change the amount of blue is in color.fg. So, go ahead and put this right under color = { …

i = 0

And now let’s use that variable. Put this right before end at the bottom of the program.

i = i+1

Now let’s update color.fg. So go ahead and put this right after i = i+1.

color.fg = makeColor(0,0,i)

Lastly, let’s make the program break when i>255.

if i>255 then exit=1 end

So there you go! That’s the basic code, but you can go ahead and play around with it.

So, all the code, all together:

fastCopy = zmg.fastCopy
drawRectFill = zmg.drawRectFill
makeColor = zmg.makeColor
drawText = zmg.drawText
color = {bg=makeColor(0,0,0),fg=makeColor(0,0,0)}
i = 0

while exit~=1 do
drawRectFill(x,y,SCREEN_WIDTH,SCREEN_HEIGHT,color.bg)
drawText(1,1,"Hello World",color.fg,color.bg)
i = i+1
color.fg = makeColor(0,0,i)
if i>255 then exit=1 end
end

Our new watermark

I made a watermark for TakeFlight Prod.

Tell us what you think of it!

Color classpad announced

Helder7 was looking at international patents a while back and predicted a color classpad. Turns out, he was right!

The fx-CP400, comes which a large touch-panel color liquid crystal display (LCD) for easy viewing and operability with the incredible resolution of 320×528. We really need a screen upgrade, the old classpad screen quality was not the best.

This calculator will competing with the Nspire CX CAS.

The new Classpad model will be available in various countries starting in early summer 2013.

Casio just published the announcement on its Asia Website a few hours ago, but it seems that the other sites do not have an announcement up yet.

Helder made a table comparing it to other calcs, shown below.

Apparently will be more powerful than the prizm… kind of obvious, since the classpad has always been casio’s high-end calc.

Source: Casiopeia.net