Register

WSC & FVM 1.0 - Oncalc C Compiler for fx9860

Topics on released projects. Only the author of a program should start a topic on it.
Junior Member
Posts: 5
Joined: Sat Jun 02, 2012 2:20 pm
Location: China

Postby wudy.f89 » Sun Jun 10, 2012 7:26 am

now it only supports MINI size font, please wait for next version.

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

Postby helder7 » Sat Jun 23, 2012 11:33 am

Wudy.f89 released version 1.2 with many improvements!

[youtube]http://www.youtube.com/watch?v=hYX4jxW6Z2E[/youtube]

Changelog - 21-06-2012 version 1.2
- Add a simple pre-processor (now the #include)
- Add file manipulation and plotting functions
- Add to the bond strength rewind functions
- Add an optimized technology, test data, maximum speed increased by 10%
- Fixed some errors in the parameter passing
- Fix array initialization can only occur once error
- Fixed the error of the multidimensional array address
- Others...

Download version 1.2: http://www.casiopeia.net/forum/downloads.php?view=detail&df_id=24

The documentation was also updated: http://wiki.planet-casio.com/en/WSC_and_FVM
SiO2 + CaCO3 ----------> CaSiO3 + CO2

User avatar
Posts: 89
Joined: Thu Apr 05, 2012 3:16 pm
Location: Akron, OH, USA
Calculators: Casio fx-9750GII, Casio fx-CG10

Postby flyingfisch » Wed Jun 27, 2012 12:04 am

Can it parse BASIC programs like BASIC2?

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

Postby helder7 » Wed Jun 27, 2012 12:06 am

flyingfisch wrote:Can it parse BASIC programs like BASIC2?


no :p it cant, only C
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Junior Member
Posts: 3
Joined: Thu Jun 07, 2012 5:34 pm
Location: Germany

Postby hanitux » Fri Jun 29, 2012 2:34 pm

helder7 wrote:no :p it cant, only C


Hallo wudy and helder,

thank you wudy for making it possible to use the fx-9860 with ansi-C.

Is it possible in the new version to choose another font size for the I/O of my c-progs?

I would like to use my old vector-calculation program that was written in BASIC for my Casio FX-850P

on the fx-9860GII. Instead of using the Casio-Basic on the fx-9860GII I would prefeer to change the

language into C, so I can use the PC for editing and testing. The SDK doesn't work well for me

because of the problems with the I/O. I don't like syscalls and assembler and it is for me not easy to undestand

that simple input of numbers is so difficult.
Attachments
VEKTOR.zip
(0 Bytes) Downloaded 709 times

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

Postby helder7 » Tue Jul 03, 2012 3:55 am

hanitux if you use fx9860 sdk, you can use printxy (normal) or printmini (small) to put text/strings on screen and is more easy do dev than dev on-calc.

In this thread: Casio Basic to SDK you can find some code exemples like a "Hello world", is very useful for you start!

Good luck!
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Junior Member
Posts: 5
Joined: Sat Jun 02, 2012 2:20 pm
Location: China

Postby wudy.f89 » Thu Jul 05, 2012 2:11 pm

helder7 wrote:hanitux if you use fx9860 sdk, you can use printxy (normal) or printmini (small) to put text/strings on screen and is more easy do dev than dev on-calc.
Good luck!


WSC also has this two functions, but the function printf only support small font, i will add the new feature to next version!

I recommend http://www.casiopeia.net/forum/downloads.php?view=detail&df_id=28. you can add it to your 9860SDK project, than you can use function printf as usual

Junior Member
Posts: 5
Joined: Sat Jun 02, 2012 2:20 pm
Location: China

Postby wudy.f89 » Wed Jul 11, 2012 9:13 am

hanitux wrote:Is it possible in the new version to choose another font size for the I/O of my c-progs?


Yes, you can use big font for the I/O now! I released the new version!
download:
http://www.casiopeia.net/forum/downloads.php?view=detail&df_id=24

What's new:
* 2012 – 07– 11 version 1.3
- Add functions about overclock, RTC, file finding, call fvm program
( They are cpuspeed, readrtc, setrtc, findfirst, findnext, findclose, exefvm, getfvmmsg )
- Add bitwise function
( They are bitand, bitor, bitxor, bitnot, shiftl, shiftr )
- Add hexadecimal constant supporting
- Add big font for IO interface( see Notice & Tips )
- Optimize the source code of FVM( thanks to chuxianbing )
- Cancel automatic initialization for the random number seed
( now you should set the seed of rand() by yourself with srand(), you can use RTC functions )
- Fix bug( optimizing error )
- Others

Junior Member
Posts: 3
Joined: Thu Jun 07, 2012 5:34 pm
Location: Germany

Postby hanitux » Wed Jul 11, 2012 5:36 pm

Hallo wudy,

now it works. Thank you very much.

Hugh9860

Postby Hugh9860 » Tue Jul 17, 2012 1:53 am

Hi,

This project looks most interesting. I managed to get some simple programs working with it. very cool!

However, may i request the following "C" language features,

operators "<<" and ">>"
binary "&"

thanks and please keep sending any updates.

-- hugh.

PreviousNext

Return to Released Projects

Who is online

Users browsing this forum: No registered users and 6 guests