Register

Sample .C1A add-in for Classpad 330 Plus

Discuss issues related to the Classpad Software Development Kit
Senior Member
Posts: 369
Joined: Tue Jan 03, 2012 11:24 pm
Calculators: Casio Afx 1.0, Casio fx-9860GII SD, Casio Classpad 330, Casio fx-CG20, Casio Classpad fx-CP400

Sample .C1A add-in for Classpad 330 Plus

Postby helder7 » Fri Jan 18, 2013 3:55 pm

Hello Classpaders,

I found an add-in with format .C1A for Classpad 330 Plus. It is available on site Steps in Logic, who sells add-in Algy 2.

This new format has undergone some changes in the header and "footer", when compared to the old format .cpa.
Now it can hold the title in various languages, etc...

Check it! :)
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Junior Member
Posts: 10
Joined: Fri Sep 07, 2012 12:56 pm
Calculators: None

Re: Sample .C1A add-in for Classpad 330 Plus

Postby cfxm » Sun Jan 20, 2013 5:19 pm

Thanks for sharing this valuable information.

Junior Member
User avatar
Posts: 18
Joined: Sun May 20, 2012 4:05 pm
Location: France (Ain)
Calculators: Casio Cfx Series, Casio fx-9750GII, Casio fx-9860G SD, Casio Classpad 330 plus

Re: Sample .C1A add-in for Classpad 330 Plus

Postby louloux » Wed Oct 30, 2013 12:45 pm

I started to read the both cpa and c1a files with HxD. I found some information about this new file type, I'll tell you at the end of my work on this.
Administrator of the French website Planète-Casio.

Senior Member
User avatar
Posts: 605
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400

Re: Sample .C1A add-in for Classpad 330 Plus

Postby SimonLothar » Wed Oct 30, 2013 7:09 pm

You can find the C1A-header and some startup-code (which I use for C1As) here: fx_calculators_SuperH_based.chm (18)
I'll be back!

Junior Member
User avatar
Posts: 18
Joined: Sun May 20, 2012 4:05 pm
Location: France (Ain)
Calculators: Casio Cfx Series, Casio fx-9750GII, Casio fx-9860G SD, Casio Classpad 330 plus

Re: Sample .C1A add-in for Classpad 330 Plus

Postby louloux » Tue Nov 05, 2013 7:29 pm

Thanks, I'll read this !
Administrator of the French website Planète-Casio.

Junior Member
User avatar
Posts: 18
Joined: Sun May 20, 2012 4:05 pm
Location: France (Ain)
Calculators: Casio Cfx Series, Casio fx-9750GII, Casio fx-9860G SD, Casio Classpad 330 plus

Re: Sample .C1A add-in for Classpad 330 Plus

Postby louloux » Tue Nov 05, 2013 8:04 pm

Really interesting ! So do you think it's possible to modify your mini-SDK for prizm to create add-ins for the CP 330+ ?
Administrator of the French website Planète-Casio.

Senior Member
User avatar
Posts: 605
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400

Re: Sample .C1A add-in for Classpad 330 Plus

Postby SimonLothar » Wed Nov 06, 2013 11:52 am

louloux wrote:Really interesting ! So do you think it's possible to modify your mini-SDK for prizm to create add-ins for the CP 330+ ?
Actually I can use my mini-SDK to create add-ins for the CP330+. But there is not such a fine syscall-interface like with the fx9860- or the fxCG-OSes. Some important OS-functions have to be accessed via absolute addresses. I do not see a future for that kind of programming. It's even worse. It looks like the CP 400 does not support addins any more. ALGY.C2A (the only "addin" for the CP 400 I know) seems to be kinda fake. If you copy a C2A called ALGY.C2A (with proper header of course, but with an empty code range!!!) to the CP 400, the ALGY-icon occurs and surprisingly starts the ALGY-program if invoked! The ALGY-code must be embedded in the CP400-OS. Maybe there is some C3A-option on the CP 400. But that is beyond my current knowledge.
I'll be back!

Junior Member
User avatar
Posts: 18
Joined: Sun May 20, 2012 4:05 pm
Location: France (Ain)
Calculators: Casio Cfx Series, Casio fx-9750GII, Casio fx-9860G SD, Casio Classpad 330 plus

Re: Sample .C1A add-in for Classpad 330 Plus

Postby louloux » Wed Nov 06, 2013 3:13 pm

SimonLothar wrote:ALGY.C2A (the only "addin" for the CP 400 I know) seems to be kinda fake.

The C1A and C2A files are exactly the same, it proves that the C2A file is a fake.

SimonLothar wrote:I do not see a future for that kind of programming.

Without speaking of a new kind of programming, is it possible, for example, to convert the old games for this new calculator ?
Administrator of the French website Planète-Casio.

Senior Member
User avatar
Posts: 605
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400

Re: Sample .C1A add-in for Classpad 330 Plus

Postby SimonLothar » Wed Nov 06, 2013 5:00 pm

louloux wrote:Without speaking of a new kind of programming, is it possible, for example, to convert the old games for this new calculator ?
The CP 330+ is my first classpad. I have no experience with the predecessors. As they switched to the SH7305 with CP 330+, the old CPA PEG SDK is not compatible any more. But what I saw is that the CP 330+ OS still contains the embedded PEG library. If you manage to implement a proper interface (or if CASIO releases a C1A PEG SDK), I believe that you could use old source code.
I'll be back!

Junior Member
Posts: 1
Joined: Thu Jul 10, 2014 2:56 pm
Calculators: Casio Classpad fx-CP400

Re: Sample .C1A add-in for Classpad 330 Plus

Postby zicwinder » Thu Jul 10, 2014 3:42 pm

Someone made progress with ClassPad 400?
I bought one last month and this week I found an interesting "error". I edited an Algy2 .xcp Mem Save file and changed in that file, the length byte of the 2nd line of text to a smaller than real size stored in file.
After open it, the calculator displays an error message with the text "Address error". I think it may be a buffer overflow.
Do you think is possible to run code from there?

Note that to save/open files you need a license.

Next

Return to Casio Classpad SDK

Who is online

Users browsing this forum: No registered users and 3 guests