Jump to content



Photo
- - - - -

A Farsi Add-in For Classpad


  • Please log in to reply
55 replies to this topic

#1 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 17 August 2006 - 03:24 PM

Hi!

:unsure:
Does anybody have a Farsi add-in for ClassPad?

Is someone building one?

Is someone going to build one?

Regards.

#2 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 24 August 2006 - 08:09 PM

Well, introducing the first Farsi add-in for CASIO ClassPad 300: Now you can write Farsi on ClassPad!

Farsi Negar فارسی‌نگار
('Farsi Negar' means Farsi-Writer)

Thanks to: Brian Maguire, Kilburn, Orwell.

You can download it from here (GeoCities).

Of course this is the first version, so the program is veeery simple (it is good for nothing).
Note: Read the 'ReadMe-Fast.html' file before using the add-in.

Here is a sample screenshot:
Posted Image

Nice day.

#3 omegavirus

omegavirus

    Casio Freak

  • Members
  • PipPipPipPip
  • 150 posts
  • Gender:Male
  • Location:Morelia, M?xico

  • Calculators:
    ClassPad 300

Posted 25 August 2006 - 04:36 AM

Well, introducing the first Farsi add-in for CASIO ClassPad 300: Now you can write Farsi on ClassPad!

Farsi Negar فارسی‌نگار
('Farsi Negar' means Farsi-Writer)

Thanks to: Brian Maguire, Kilburn, Orwell.

You can download it from here (GeoCities).

Of course this is the first version, so the program is veeery simple (it is good for nothing).
Note: Read the 'ReadMe-Fast.html' file before using the add-in.

Nice day.


Nice work! you have been making it for some time, congratulations you made it!!!

I'll check it!!!

#4 far2055

far2055

    Casio Addict

  • Members
  • PipPipPip
  • 67 posts
  • Gender:Male
  • Location:Iran
  • Interests:Robotics - Programming - Mathematics - Physics - Computer <br />ANN ( Artificial Neural Network )<br />QBasic Lover-->before-->now-&gt;*CPLua&quot; Lover.

  • Calculators:
    classpad 300

Posted 25 August 2006 - 03:22 PM

:D :lol2: Really nice work. really thanks to all.

#5 far2055

far2055

    Casio Addict

  • Members
  • PipPipPip
  • 67 posts
  • Gender:Male
  • Location:Iran
  • Interests:Robotics - Programming - Mathematics - Physics - Computer <br />ANN ( Artificial Neural Network )<br />QBasic Lover-->before-->now-&gt;*CPLua&quot; Lover.

  • Calculators:
    classpad 300

Posted 26 August 2006 - 09:04 AM

oh!

there is a little bug! the horizontal slider doesn't work correctly in editing mode.



یک مشکل کوچیک تویه لغزنده افقی هست. وقتی متن از پنجره خارج بشه با حرکت دادن لغزنده متن به هم می ریزه.

باز هم متشکر به خاطره برنامه خوبت.

به امید موفقیت بیشتر. :)

#6 betoe

betoe

    UCF Spanish Translator

  • [Legends]
  • PipPipPipPipPipPipPip
  • 846 posts
  • Gender:Male
  • Location:Guadalajara/Mazatlan, Mexico.
  • Interests:Electronics, SW development, automotive. Swim->bike->run

  • Calculators:
    Algebra FX2.0 (R.I.P.), Classpad 300

Posted 27 August 2006 - 09:33 PM

Good work, congratulations.

#7 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 28 August 2006 - 07:22 AM

Thanks for your support! :)
If someone who doesn't speak Farsi wanted to check the add-in, the Farsi message at the start is this: 'Please turn your ClassPad off and on'.

About the horizontal scroll bar: There was nothing wrong with it on my ClassPad! Does anyabody else has this problem too?
The bug can also be because of the OS: What is your OS version?

#8 far2055

far2055

    Casio Addict

  • Members
  • PipPipPip
  • 67 posts
  • Gender:Male
  • Location:Iran
  • Interests:Robotics - Programming - Mathematics - Physics - Computer <br />ANN ( Artificial Neural Network )<br />QBasic Lover-->before-->now-&gt;*CPLua&quot; Lover.

  • Calculators:
    classpad 300

Posted 28 August 2006 - 10:22 AM

The bug can also be because of the OS: What is your OS version?


My classpad OS version is 02.20.3000

#9 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 28 August 2006 - 12:26 PM

Congratulations, very nice add-in. :)
You should integrate the Farsi keyboard in the CP keyboard (add a "far" tab), I know it's possible (look for CPKeyboardManager class here: http://www.cpsdk.com...topic.php?t=119 )

And, a simple question, how did you do the links between letters?

#10 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 30 August 2006 - 07:45 AM

My classpad OS version is 02.20.3000

I have no idea why this happens in your CP. :s Please answer some more questions maybe I could find a bug or something:
1. (Again) Does anybody else has this problem?
2. Does the text return to its original state when you save and re-open the file?
3. Does the cursor move to an unexpected position when you type? e.g you type something at the start of the line and the cursor goes to the end of the line.

You should integrate the Farsi keyboard in the CP keyboard (add a "far" tab), I know it's possible

AFAIK it is impossible: http://www.cpsdk.com...wtopic.php?t=68

And, a simple question, how did you do the links between letters?

Actually there are four characters for each of the Farsi letters in the font, which represent the four styles of the Farsi letters. With each key press, the add-in checks to see which style of the letter should be entered (according to the position of the cursor), and then the correct character is entered.
If you didn't understand the descriptions, tell me (I myself didn't understand them ;) ).

About the start-up screen:
I rechecked the source code and I think that the add-in is bug-free (except the scroll-bar).
So... Here is the way you can use the add-in without restarting your CP:
When you start the add-in, click on that boring message, then press [Clear], and you see a message box. Answer 'yes', and then you can use the add-in. :)
Remember, however, that there may be unrecognized bugs, so you are using the above way at your own risk.

#11 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 30 August 2006 - 08:48 AM

Not possible huh? :D

Posted Image

Just define a CPKeyboardManager class in a header:

// File CPKeyboardManager.h

#ifndef CP_KEYBOARD_MANAGER_H
#define CP_KEYBOARD_MANAGER_H
#include "peg.hpp"

///////////////////////////
//
// IDs for built-in keyboards
//

enum KeyboardTab {
   KEYBOARD_MA = 0, // Must be 0 based index
   KEYBOARD_ABC,
   KEYBOARD_CAT,
   KEYBOARD_2D
};

///////////////////////////////////////////////////
// Base class for any soft keypad

class CPKeyboardManager : public PegNotebook
{
   public:
	  CPKeyboardManager(const PegRect &Rect);
	  virtual ~CPKeyboardManager();
	  void Draw(void);

	  void AddEditButtons();

   // Change the current keyboard
   void SetKeyboard(UCHAR uTab)   { SelectTab(uTab); }

   // Query the current keyboard
   UCHAR GetKeyboard()			{ return GetCurrentPage(); }
	  

   protected:
	  PegRect GetMyRectFromAppRect(PegRect rect);
	  void ForwardMessageToCurrentThing(PegMessage &Mesg);
};

///////////////////////////////////////////////////
// Built-in soft keypad

class CPKeypad: public CPKeyboardManager
{
public:
   CPKeypad(const PegRect &Rect); // Rect:  should be retreived from CPMainFrame::BottomAppRectangle()
						   //		The keypad manager will automatically expand this
							//		area.
};

#endif

And in PegAppInitialize:

CPMainFrame *mw = new CPMainFrame(Rect);

...

CPKeyboardManager* keyb = mw->Keypad();
keyb->ResetNumTabs(5);
keyb->SetTabString(4, "far");
	
CPWindow *win = new CPWindow(keyb->mReal,FF_NONE);

// Add buttons to CPWindow* win

keyb->SetPageClient(4,win);

There is just one problem: how can you manually set the tab width? As you add one more tab, this one will be hidden by the Edit buttons, and it's not good. (look at the red rectangle on the screenshot) :unsure: But i'm sure it can be easily fixed. ;)

#12 far2055

far2055

    Casio Addict

  • Members
  • PipPipPip
  • 67 posts
  • Gender:Male
  • Location:Iran
  • Interests:Robotics - Programming - Mathematics - Physics - Computer <br />ANN ( Artificial Neural Network )<br />QBasic Lover-->before-->now-&gt;*CPLua&quot; Lover.

  • Calculators:
    classpad 300

Posted 30 August 2006 - 10:28 AM

I have no idea why this happens in your CP. :s Please answer some more questions maybe I could find a bug or something:

2. Does the text return to its original state when you save and re-open the file?
3. Does the cursor move to an unexpected position when you type? e.g you type something at the start of the line and the cursor goes to the end of the line.


explaining the problem (sorry that i have to explain in farsi ;) ):
ba salam.
hich moshkeli dar zaman edit kardan vojood nadare, hamechiz dorost kar mikone.
moshkel faghat zamani pish miyad ke az mode edit be mode view (ya har chize dige ke esmesh hast) taghire halat midam.
save va re-open ro ham emtehan kardam va hamchenin matn haye motefavet ro emtehan kardam vali in moshkel baz-ham hast.
man fekr mikonam in moshkel bi ertebat be matni hast ke type mishe. ya az classpad man hast ya az codi ke baraye slider neveshteh shode.
man ghablan khodam barnameh farsi saz neveshtam va fekr mikonam age moshkel az code slider bashe ehtemalan slider 1 character kam ba chap ya be rast baste be in ke slider ro be kodoom taraf mizani bere (albate ba dokme-haye jahat dare slider) , matn ro jabeja mikone.
masalan matne zir ro behesh dadam:
با سلام خدمت همه دوستان گرامی. در مورد خطای پیش آمده

bade az mode edit kharej misham (toye mode edit slider dorost kar mikone (pas shayad OS moshkel nadashte bashe.))
va be mode view miram. bad slider ro 1 harf be samte chap mizanam bere ( ba dokme haye jahat dare slider)
matn injoori mishe:
با سلام خدمت همه دوستان گرامی ی
va baz ham agar tekrar konam ی faghat varede safhe mishe.
bad az chan bar tekrar in joori mishe:
رامی ی ی ی ی ی ی ی ی ی ی ی ی
hala slider be entehaye samte chap reside , be samte rast bar migardam ( na ba keshidane slider ba dokme jahat dar)
in joori mishe:
با با با با با با با رامی ی ی ی ی ی
va be avale jomle ke mirese in joori mishe:

بلا با با با با با با با با با با با با رامی
albate لا arabi na balke hamoon ببا hast ke bejaye dandoone dovom yek ا gharar gerefte bashe.
--------------------------------------------
dobare varede mode edit misham (slider dar samte rast yani ebtedaye jomleh hast).
az mode edit be view bar mogardam , jomle dorost mishe.
in bar khode badane slider ro ba keshidan be chap va rast ja be ja mikonam.
slider ro az samte rast be samte chap ta enteha mikesham va in joori mishe:
امی لام خدمت همه دوستان گرامی
ke baz ham لا arabi nist balke لا chasban be ghablesh boodeh.
slider dan samte chap hast vali hanooz jomle ba yek be ham rikhtegi dar ebteda hanooz dar ebteda gharar dare.
slider ro be entehaye rast bar migardoonam jomle kamel va dorost mishe.
slider ro be vasat mibaram in joori mishe:
دوستان گرامیهمه دوستان گرامی
slider ro ta enteha be chap mibaram:
امیهمه دوستان گرامیستان گرامی
slider be vasat:
با سلام خدمت هامیهمه دوستان
albate ه (vasate jomle chasbideh be alef) 'he' akhar naboodeh balke 'he' aval hast.
--------------------------------------------------
yek nokte digar in ke:
ager slider dar entehaye samte chap bashe va be tore kamel be entehaye samte rast keshideh beshe jomle be tore sahih namayesh dadeh mishavad.
vali agar ebteda slider be miyaneh keshideh beshe va bad be samte rast jomleh be ham rikhteh mishe.
--------------------------------------------------
dar enteha man bazham nazare khodam ro migam ke shayad kamelan eshebah bashe:
chon slider dar mode edit kamelan dorost kar mikoneh vali dar mode view moshkel dare pas moshkel az OS nemitooneh bashe.
agar ehtemalan shoma code slider ro baraye mode edit aval neveshteh bashid va sepas baraye mode view copy kardeh bashid (bedoone taghir) ehtemal dare be khatere tafavot-haye in do mode, code moshkel dar shodeh bashe.
albate bayad begardim bebinim ke aya kase digari ham chenin moshkeli dare ya na.
fekr konam bayad az behnoud ham beporsim.
-------------------------------------------------
be har hal baz ham moteshaker az barname khoobet.
movafagh bashi.
man ehtemalan baraye 1 hafte ya bishtar be forum sar nemizanam.
khodahafez
-----------------------------------------------------
end of explanation in fingilish! (farsi written in english). :D



#13 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 07 September 2006 - 07:44 PM

It sounds great. But I haven't test it yet!
Do you need any help?
All of us need some Application to transfer
Farsi (Persian) text to our CP and vice versa.
Are you planning to develope your own?
I can't help u programming but
if there is any other duty, don't hesitate!

#14 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 08 September 2006 - 08:29 AM

Kilburn: Thanks! I added an extra 'Fa' tab to my keypad, and about the tab width, there must be a logical way of changing the tabs' width (as Brian did it in CP49), but as I couldn't find that :greengrin: , I made a condensed font and used it as the tabs' font.

far2055: I read your post carefully... That's not a bug, that's a big bear!!
It occures on everybody's CP and it is because of the incompatibility of the ClassPad and Right-To-Left texts. Unfortunately I can do nothing about it, :nonono: until I (or someone else, more probably) makes a RTL textbox for ClassPad.

Behnoud: I was thinking of releasing the PC version of Farsi Negar (emulator), and do sth so that when you set your PC's keyboard language to 'FA', you can write Farsi in the emulator... About the conversion of PC files, the only idea that I have for now is copy/pasting a text from Word or Notepad into the Farsi Negar emulator, but I should work on it, so I don't think such ability will be present soon... :(
If you know C++ or any other programming language, or if you have other ideas, help me please... I will be thankful. ;)

Ehem... Farsi Negar 1.1 will be ready soon... Nothing improved about RTL, textboxes, etc, but I've done something for the low speed... :nod:

#15 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 10 September 2006 - 07:48 AM

Hi... Version 1.1 is finished. Open Source!

Posted Image

If you don't have the add-in, download the Full Version.
If you already have it, you can download it separately: (If you read the information below, you don't need to download the help.)
The Add-in - Help Files - The Full Source Code

What's New?
1. I removed the startup screen. :)
2. I have added the ability of having multiple pages in one file, so when the speed becomes slow in one page, you can simply create a new, empty page and again type fast in it. Just when you felt that the add-in is running slow, click the 'Next' button and answer 'Yes' to create a new page. Read the descriptions:
Toolbar buttons:

Posted Image
1. Previous Page: Go to the previous page.
2. Go to page: Jump to the page that you select.
3. Next Page: It has two usages: 1. It shows the next page; 2. When you are in the last page, it creates a new page.
(Please let me know what do you think about the pages)

Other things:

* Current page number and number of pages in the file is displayed in the status bar, in front of the file name.
* When you want to do anything related to pages (going, coming, jumping, running, etc) you should answer the 'Save Changes?' message (except deleting).
* 'Page>Insert' inserts a page before the current page.
* 'Page>Delete' deletes the current page (without showing the 'Save Changes?' dialog).

Upgrading your files from ver1.0 to ver1.1:

If you have any serious documents written with Farsi Negar 1.0, you can not open them with 1.1. But you should open your file with ver1.0, then select all of the text and then Edit>Copy. Then go to ver1.1 and choose 'Edit>Paste'.
This is just for the current version, if I changed the file format in the future versions, I build a convertor, too. Don't worry!

I think I explained everything... Forgive me if the post is a little long...
BTW I will probably start working on the PC version next week, so that you can type sth in PC and transfer it to ClassPad (NOT conversion, just typing).
Bye.

#16 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 10 September 2006 - 11:08 AM

The farsiNegar Emulator is best we can do for developing this Application.
Such a thing which import/export between CP & PC is really necessary!
Good luck B)

#17 far2055

far2055

    Casio Addict

  • Members
  • PipPipPip
  • 67 posts
  • Gender:Male
  • Location:Iran
  • Interests:Robotics - Programming - Mathematics - Physics - Computer <br />ANN ( Artificial Neural Network )<br />QBasic Lover-->before-->now-&gt;*CPLua&quot; Lover.

  • Calculators:
    classpad 300

Posted 14 September 2006 - 10:11 PM

There is a bug in new version :
change to view mode
again change to edit mode
exception happend! :banghead:

#18 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 16 September 2006 - 02:53 PM

OOPS... THESE BUGS EAT ME! :banghead:

Sorry your data was lost, Farbod. I shouldn't have removed the startup screen.

Redownload the file and the problem is fixed.

#19 far2055

far2055

    Casio Addict

  • Members
  • PipPipPip
  • 67 posts
  • Gender:Male
  • Location:Iran
  • Interests:Robotics - Programming - Mathematics - Physics - Computer <br />ANN ( Artificial Neural Network )<br />QBasic Lover-->before-->now-&gt;*CPLua&quot; Lover.

  • Calculators:
    classpad 300

Posted 16 September 2006 - 05:21 PM

:) No problem dear MicroPro! We can't stay alive even for one day without the bugs! :roflol:

I have an idea B) . Can you add an auto learn (and surely auto compelete) capability to your program? :blink:
It makes typing more and more easy.
A capability like "IntelliComplete" software.

#20 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 18 September 2006 - 01:08 PM

Wooooow! Auto Complete? Mmmm...

Your idea is very nice! There are some problems however:
1. If I add Auto-complete, the prog's speed becomes even less (Of course not a big problem, you can have multiple pages).
2. Writing a Farsi vocabulary is so hard... It takes time, and also it is difficult by itself. For example, this long term:
"\xEC\x56\xEC\xA4\xEC\x81\xEC\xDE"
represents a Farsi word with just four letters!
3. The vocabulary fills the memory of your ClassPad.

However I'll think about it. ;)

A QUESTION:
Do you need the '2D' tab? It is useless in the Farsi Negar's environment. I was thinking of deleting it, so that the poor 'Fa' tab gains more space.
What is you idea about it?

#21 Fabri

Fabri

    Newbie

  • Members
  • Pip
  • 21 posts
  • Location:Quito Ecuador

  • Calculators:
    Casio Classpad 300
    Casio fx 6300G

Posted 19 September 2006 - 12:33 AM

its possible to insert a calulation row or text row in a CPEditBox in SDK??

#22 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 20 September 2006 - 03:21 PM

Unfortunately no :(

#23 far2055

far2055

    Casio Addict

  • Members
  • PipPipPip
  • 67 posts
  • Gender:Male
  • Location:Iran
  • Interests:Robotics - Programming - Mathematics - Physics - Computer <br />ANN ( Artificial Neural Network )<br />QBasic Lover-->before-->now-&gt;*CPLua&quot; Lover.

  • Calculators:
    classpad 300

Posted 20 September 2006 - 07:13 PM

2. Writing a Farsi vocabulary is so hard... It takes time, and also it is difficult by itself. For example, this long term:
"\xEC\x56\xEC\xA4\xEC\x81\xEC\xDE"
represents a Farsi word with just four letters!
3. The vocabulary fills the memory of your ClassPad.


I mean just an auto learning system not a complete vocabulary!!! :blink:
For example if I use "سلام" for 3 times then automatically this word added to the vocabulary.
Or even more simple! adding words manually not automatically so speed will improve. :P

Do you need the '2D' tab? It is useless in the Farsi Negar's environment.

I don't need it too. <_<

#24 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 21 September 2006 - 09:41 AM

Very good! It's very useful, I'm building a Vietnamese tab (I try to emulate the UNICODE n the classpad, but it is impossible because of the memory).
Can SDK make a function can work in the main app.(TI supported)?

#25 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 24 September 2006 - 07:27 PM

Happy programming. ;)
With the SDK, you can execute 'Main' using an unsupported function, but no way can you build a function that runs in main (Except the standard 'FUNC' files which you can create with the 'Program' app).
What do you mean 'emulating the unicode on classpad'?

#26 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 25 September 2006 - 10:40 AM

emulate 2^16 char of unicode.

#27 unique33

unique33

    Casio Freak

  • Possibly hacked
  • PipPipPipPip
  • 229 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    classpad 300 , fx5500

Posted 26 September 2006 - 09:52 PM

congratulations MicroPro Programmer .
Nice to see a Parsi addin on the classpad . :)

#28 mortezahaydari

mortezahaydari

    Casio Fan

  • Members
  • PipPip
  • 34 posts

  • Calculators:
    casio classpad-300
    casio fx-991

Posted 27 September 2006 - 09:37 AM

congratulations MicroPro Programmer .
Nice to see a Parsi addin on the classpad . :)

what is farsinegar file format ( for PC to CP ) ?

#29 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 27 September 2006 - 12:16 PM

it is an Add-in Application for CP!
We are waiting for the PC emulator too.

#30 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 07 October 2006 - 08:09 PM

Hi! Thanks Everybody!

vanhoa, if you are here: 2^16 chars wowow! But most of the chars are useless chars in CP, e.g Hebrew and Thai chars. Who needs them?

And now... Here is a trial version 1.2: I don't warranty that the program works on everybody's PC, so you are downloading the above files with the risk of wasting your time.
The emulator
This DLL (ClassPadDLLgcc.dll) is required to run the EXE file. (If you have downloaded the SDK (Dev-C++), you already have this dll. Just look in the SDK_PATH\bin folder) If you couldn't download the files, refresh your browser to download them.

THE ABOVE ARCHIVES ARE IN *.RAR FORMAT, THEY AREN'T REAL ZIPs.

HOW IT WORKS:
OK. When you put your keyboard language to 'FA', you can type Farsi in the emulator. PC->CP conversion is possible but CP->PC isn't. For PC->CP conversion, do this on your PC:
NOTE : In all of the steps below, the keyboard language of the PC should be on 'FA' mode (Press Shift+Alt).
* Run the emulator.
* Go to Windows and open the file you want, example: you open a file with NotePad. Then select the text and Edit>Copy.
* Come to the emulator and right-click and then select Edt>Paste Windows Clipboard.
* You see that some [ x ] chars are entered. Delete all of them. Choose PC>Conv & Paste. Converted! Save your file and close the emulator (DO NOT USE THE DOS WINDOW, PRESS ON/OFF to close it).
* With your CP manager, transfer the contents of the file 'save.mcs' to CP. ('save.mcs' is automatocally created on first run).

=== If you want to transfer a text from Word, you may experience problems. Try to copy it to NotePad, and then from NotePad copy it to the emulator.
=== In the options dialog, 'Neviseh' is the Farsi word for 'Character'.
=== Again I say: I'm not sure that it works.

Also please tell me is the doswnload speed acceptable?

Thanks, bye.

#31 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 18 November 2006 - 07:27 PM

Hi. I added a very primitive ClassPad>>PC conversion. Select the portion of the text you want to convert and choose PC > Conv&Copy.

http://www.geocities...pro/FaNegar.zip
(It is a RAR archive)

Could you use it?

#32 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 25 November 2006 - 05:57 PM

Please share it on Casiocalc.org.
I can't download it :banghead:

#33 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 25 November 2006 - 11:46 PM

Use proxy...

#34 far2055

far2055

    Casio Addict

  • Members
  • PipPipPip
  • 67 posts
  • Gender:Male
  • Location:Iran
  • Interests:Robotics - Programming - Mathematics - Physics - Computer <br />ANN ( Artificial Neural Network )<br />QBasic Lover-->before-->now-&gt;*CPLua&quot; Lover.

  • Calculators:
    classpad 300

Posted 26 November 2006 - 11:47 AM

Hi.
Unfortunatly there is a bug with emulator.
If you past some farsi test then you will get some error and windows close your APP.
I found that if you save your work in a file first and then paste your text (using FaNegar paste not emulator) you will not get that error and Fanegar works great. :)

And a suggestion:
Please save files in flash memory not in the cla$$pad RAM. Thanks.

#35 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 26 November 2006 - 12:00 PM

Save in flash ?!? How? Tell me... A new unsupport function?

#36 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 28 November 2006 - 07:10 PM

Use proxy...

I did so.
But there are some restriction which don't allow to download
or even open some URLs!

#37 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 26 December 2006 - 06:45 AM

Please share it on Casiocalc.org.
I can't download it banghead.gif

Just wait some days, I'll upload it somewhere else so you can download it.

Hi.
Unfortunatly there is a bug with emulator.
If you past some farsi test then you will get some error and windows close your APP.
I found that if you save your work in a file first and then paste your text (using FaNegar paste not emulator) you will not get that error and Fanegar works great. smile.gif

First you should right-click and choose 'Edit>Paste Windows Clipboard', then you should click 'PC>Conv&Patse'. As far as I know this way it doesn't crash. ;)

And a suggestion:
Please save files in flash memory not in the cla$$pad RAM. Thanks.

Unfortunately it is not possible. (Or at least nobody knows how to do it)

#38 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 13 February 2007 - 07:14 AM

Hi again.

Update:
CPA: http://www.esnips.co...43f2210/FaNegar
EXE: http://www.esnips.co...ea30482/FaNegar
The DLL required for the exe: http://www.esnips.co...980eea/CPDLLGCC

I fixed some bugs and added a new option: Imagine that you convert a very long text from Win to CP. It looks like this:
یک متن بسیار بسیار طولانی که این متن اگر باعث نمایش داده‌شدن لغزنده‌ی افقی شود خواندن را مشکل می‌کند
If you go to 'Format>ArrangeLines' then the text looks like this:
یک متن بسیار بسیار طولانی
که این متن اگر باعث نمایش
داده‌شدن لغزنده‌ی افقی شود
خواندن را مشکل می‌کند


Again about the Win>>CP conversion:
* The correct way is: First right-click and choose 'Edit>PatseWindowsClipboard', then delete all of the chars, and then

choose PC>Conv&Paste.
* The unwanted chars at the start or end of the converted text are usual.
* If you use the correct way, but still windows closes your app, try to change the selection a little. For example if you

can't convert:
یک جمله‌ی ساده
try to convert
جمله‌ی ساده

Any other bugs?

PS. Behnoud: Can you download it?

#39 afshin_electronic

afshin_electronic

    Casio Addict

  • Members
  • PipPipPip
  • 50 posts

  • Calculators:
    casio classpad 300plus
    casia fx-991ms

Posted 15 February 2007 - 04:13 PM

hi,
thanks for the new version and new features!!

farsi negar has realy helped me through my exams ( by cheating )Posted ImagePosted Image

well , I found the first bug in the new version!!
I wrote a long text in cp using the Farsi Keyboard!! then I used 'Format>ArrangeLines' and got the expected result !! then I added another line in that page .. again another long text!! and I tried to use 'Format>ArrangeLines' again to make this text in the correct order too. but when I pressed 'Format>ArrangeLines' .. the third line of the previous line arrangement was gone!! and I had a missing line!!!

I dont know whether I was clear complaining the bug or not!!
if not .. tell me to explain more!!

thanks again for really helpful farsi negar!! Posted ImagePosted Image

#40 Behnoud

Behnoud

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    CP 300+ OS2.2/
    FX 3600 pv/
    FX 115 s/
    FX 602P

Posted 15 February 2007 - 07:23 PM

PS. Behnoud: Can you download it?

Yeah!
Thanks a lot!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users