Jump to content



Most Liked Content


#56005 We Have Been Hacked

Posted by flyingfisch on 19 November 2012 - 10:49 AM

Posted Image
  • MicroPro, Casimo, naib864 and 2 others like this


#60058 Try To Hack Your Classwiz Models!

Posted by Hikari Calyx on 12 October 2015 - 10:35 AM

Well, I'm from Baidu fx-ES(MS) bar which is a community to discuss calculators. My ID is jyx8151 there.

 

I'm going to introduce how to hack your Casio ClassWiz Models.

Right now, It should be available in these models:

fx-570EX, fx-991EX, fx-82CN X, fx-350CN X, fx-95CN X, fx-991CN X, fx-530AZ, fx-JP500, fx-JP700, fx-JP900, fx-570AR X, fx-991AR X, fx-92 Speciale College, fx-92B Speciale College, fx-87DE X, fx-991DE X, fx-570SP X Iberia, fx-991SP X Iberia.

If you don't have these models, you may use an emulator. It's available on Casio World Education Website for 90-day-trial except for fx-82/350/95/991CN X and fx-JP500/700/900.

Unfortunately, you can't hack fx-82/85/350EX, fx-82/95AR X, fx-82/350SP X Iberia, fx-95CN X VerB right now because Casio fixed this leak.

It may also work on fx-570VN PLUS, fx-915ES, fx-995ES.

 

The basic tutorial to hack is making an empty box on the screen:

1. 1[÷][(][(]1, along with 13 square roots, 1.

2. Move the cursor to the end.

3. Alpha[∫] or Alpha[x^3] in order to input a colon ":", then input another square root.

4. For fx-82/350/95CN X VerA and fx-991CN X VerA/VerB, press [=] twice, then syntax error. Press left, and delete others but leave the empty box alone.

5. For fx-991CN X VerC and other models , press [CALC],[=], and you may get the same result.

6. After you get an empty box, press left to make the cursor is at the left of box, then press right, then you may see the cursor won't move.

7. Then you can input anything in order to hack the calculator. For more details, I'll edit this post later. If you find the empty box won't appear, please make a reply and tell me your models and version in diagnostic mode.

 

7178_561B8A800.jpg<br/>92C9_561B8A810.jpg<br/>831B_561B8A810.jpg<br/>CEE9_561B8A810.jpg<br/>​

 

P.S. Only Chinese and Vietnamese Casio Calculators have an anti-counterfeit label. To get the sum and Px info, press MENU when CY-2xx appears.


  • anon34, Heinrich-Frederica, TyphousCrane654 and 1 other like this


#55057 آموزش Cplua

Posted by MicroPro on 22 June 2012 - 09:36 AM

سلام دوباره به همه و بریم سراغ قسمت else.

در کد قبلی فرض کنید میخوایم اگر x منفی باشه برامون Nagative چاپ کنه. این کار رو با یک قسمت else انجام میدیم:

x = tonumber( input() )
 if x > 0 then
   print("Positive")
else
   print("Negative")
end
print("Program finished")
با اجرای برنامه بالا، اگر عددی که میدیم مثبت باشه، شرط x > 0 رو بررسی میکنه و چون درست هست Positive چاپ می‌کنه، بعد از روی قسمت else میپره تا به end مربوط به بلوک if برسه و بعد Program Finished رو چاپ میکنه. اما اگه عدد منفی باشه: شرط x > 0 رو بررسی می‌کنه، چون این دفعه این عبارت منطقی صدق نمی‌کنه، چیزای بعد از if رو اجرا نمی‌کنه بلکه نگاه می‌کنه اگر قسمت else توی برنامه داشته باشیم (که اینجا داریم)، اون بخش رو اجرا می‌کنه. پس برامون Negative رو چاپ می‌کنه و از if خارج میشه و Program Finished هم همیشه چاپ میشه.

خوب حالا اگر یه نفر عدد صفر رو وارد کنه برنامه‌ی بالا چیکار میکنه؟ خودتون امتحان کنید. میبینم که Negative چاپ میشه. چرا؟ خوب معلومه اول شرط x > 0 بررسی میشه، ولی چون 0 بزرگتر از 0 نیست، این شرط غلطه بنابراین قسمت else رو اجرا میکنه.

توی بسیاری از موارد برنامه نویسی جاهایی هست که بیشتر از دو تا انتخاب داریم. مثل این جا اگه بخوایم در صورت وارد کردن عدد 0 عبارت Zero چاپ بشه، در حقیقت توی یه تصمیم سه حالته هستیم. در این مواقع هست که پای elseif هم وسط میاد:

x = tonumber( input() )
if x > 0 then
   print("Positive")
elseif x == 0 then
   print("Zero")
else
   print("Negative")
end
print("Program finished")
برنامه‌ی بالا نشون میده که هر تعداد بخوایم میتونیم حالت‌های مختلف برای تصمیم‌گیری داشته‌باشیم. توی کد بالا عبارت elseif x == 0 then هم به عنوان یکی از بخش‌های if نوشته شده. اگر کاربر عدد صفر رو وارد کنه، اول شرط x > 0 بررسی میشه که غلط هست پس برنامه میره جلو ببینه elseif یا else نوشتیم یا نه. چون elseif رو میبینه، شرط x == 0 (بخوانید:‌اگر ایکس برابر صفر باشد) رو بررسی میکنه و میبینه صدق می‌کنه، پس عبارات بعدشو اجرا می‌کنه یعنی Zero رو نشون میده و بعد به خارج از بلوک if میره و Program Finished رو چاپ میکنه. توجه کنید که اگر 0 وارد کنیم دیگه Negative رو چاپ نمیکنه چون که در یک بلوک if فقط محتوای یک بخش if یا elseif یا else اجرا میشه، به عبارت بهتر فقط یک تصمیم میتونه گرفته بشه و بعد از اجرای اون تصمیم (که اینجا مثبت بودن یا صفر بودن یا «در غیر اینصورت» بودن هست) اجرای برنامه از بعد از end مربوط به اون بلوک if از سرگرفته میشه.

نکته‌ای که اینجا هست اینه که در چک کردن شرط «اگر ایکس برابر صفر باشد» چرا بجای یک علامت مساوی دو تا گذاشته‌ایم؟ جواب: زیرا این دو علامت با هم فرق می‌کنند. = علامت انتساب هست مثلا فلان مقدار را بریز توی x ولی == علامت منطقی تساوی هست و توی شرطها همیشه باید از == استفاده کرد و استفاده از = موجب خطا میشه.


مثال دیگه: برنامه‌ای بنویسید که نمره‌های درخشان یک دانشجو رو بگیره، اگر بین 0 تا 10 باشه عبارت Fail رو نشون بده، بین 10 تا 15 عبارت Bad و بین 15 تا 20 عبارت Good. اگر نمره بین این عددها نباشه پیغام Error رو چاپ کنه.

x = tonumber(input())
 if 0 < x and x <= 10 then
   print "Fail"
 elseif 10 < x and x <= 15 then
   print "Bad"
 elseif 15 < x and x <= 20 then
   print "Good"
 else
   print "Error"
 end
با نگاه کردن به کد بالا طرز کارشو کشف کنید. در ضمن در x <= 10 اون علامت کوچکترمساوی هست. فقط یه نکته که باید توجه کنید اینه که برای چک کردن این که x بین دو تا عدد هست مثلا اینجوری if 0 < x <= 10 then نمیتونیم بنویسیم. بلکه باید مثل بالا if 0 < x and x <= 10 بنویسیم (که then درستش هم توی ریاضیات همین هست).


مثال دیگه: برنامه بنویسید که اسم یه آدم رو بگیره که اسامی شامل ali, jack, sara, mary هست. سپس جنسیت شخص مورد نظر رو چاپ کنه.

name = input()
 if name=="ali" or name=="jack" then
   print "Male"
 else if name=="sara" or name=="mary"
   print "Female"
 else
   print "I don't know"
 end
خوب در مثال قبل‌تری and رو دیده بودید، در این مثال or رو می‌بینیم که همون معنایی رو میده که شما به ذهنتون خطور میکنه. میگه «اگر نام برابر ali باشد یا نام برابر jack باشد آنگاه...». یک اشتباه که معمولاً برنامه‌نویسهای مبتدی می‌کنند ولی ما به عنوان مدعی‌های برنامه‌نویسی نمی‌کنیم، این هست که به جای شرط بالا می‌نویسند:

if name == "ali" or "jack" then ...
عبارت بالا کاملاً اشتباه هست! اگر کسی میخواد بدونه بگه ولی در حالت عادی توضیح نمیدم که چرا اشتباهه چون اگه بخوام بگم احتمالا مثل قبل پنج تا پاراگراف توضیح مینویسم ولی همهش مبهم بنابراین...


تا حالا از عملگرهای > و < و == توی شرطها استفاده کرده بودیم ولی کل عملگرها اینها هستند:

==  مساوی
 >   بزرگتر
 <   کوچکتر
 >=  بزرگتر یا مساوی
 <=  کوچکتر یا مساوی
 ~=  نا مساوی

در ضمن if و هر بلوک دیگه رو میشه توی زبان‌های برنامه نویسی تودرتو کرد. مثال پیچیده: فرض کنید یه استاد دانشگاه میخواد نمره‌های پایان ترم دانشجوهاشو رد کنه. اگر دانشجویی قبول شده باشه استاد 2 نمره اضافی بهش میده، اما اگر دانشجویی رد شده باشه در صورتی که اون دانشجو از دانشجوهای مورد علاقه استاد یعنی ali و sara باشه بهش 5 نمره ارفاق بکنه ولی از بقیه 2 نمره کم کنه! این برنامه باید اسم دانشجو و نمره شو بگیره و نمره نهایی رو پرینت کنه

name = input("Student name:")
 grade = tonumber(input("Student grade:"))
 if grade > 10 then
   grade = grade + 2
 else
   if name=="ali" or name=="sara" then
	 grade = grade + 5
   else
	 grade = grade - 2
   end
 end
 print("Final grade is ", grade)
تو کد بالا نام و نمره رو در دو خط اول میگیریم، اگر نمره بزرگتر از 10 باشه یعنی دانشجو قبول شده باشه دو نمره به نمره اش اضافه میکنیم. اما اگر نمره اش زیر 10 باشه، در صورتی که نامش جزو نامهای مورد علاقه استاده هست 5 نمره میده و در غیر اینصورت 2 نمره هم کم میکنه و به التماس های اون‌ها توجهی نمیکنه و در آخر هم نمره‌ی نهایی رو چاپ میکنه.

همون طور که میبیند درون قسمت else اولین if،‌ یه if دیگه با else و end مربوط به خودش گذاشتیم که کاملا درست هست. (گرچه در این مثال میتونستیم اون رو به صورت elseif ادامه‌ی همون if اول بنویسیم ولی همه جا نمیشه این کار رو کرد).

تورفتگیهایی که در کد میگذاریم (مثلا محتوای اولین if را با دو space میبریم جلو و محتوای دومین if را با تعداد بیشتری فاصله میبریم جلو) در کد اختیاری هستند. ولی شدیداً توصیه میشود که آنها را بگذارید چون اگه نگذارید شش ماه بعد برگردید به کد خودتون نگاه کنید هیچی ازش نمیفهمید در صورتی که اگر تورفتگیها را رعایت کنید کد بسیار خواناتر میشه.


و اما تمرین توی خونه! برنامه ای بنویسید که مقدار a و b و c یک معادله درجه دوم به فرم ax2+bx+c=0 رو بگیره، ریشه‌های اون رو محاسبه و چاپ کنه!

راهنمایی: صورت سوال بالا برای نوشتن این برنامه کافیه، ولی خوب الگوریتم اون رو اینجا توضیح میدیم: اول a و b و c رو می‌گیریم و دلتا رو محاسبه می‌کنیم. حالا یهه if میخوایم که اگر دلتا بزرگتر از صفر باشه دو تا ریشه رو حساب کنه و نشون بده، اگر صفر باشه خوب یه ریشه داریم و اگر منفی باشه هم مثلا بگه «ریشه حقیقی ندارد». توی محاسبات هم که باید جذر دلتا رو حساب کنید از تابع math.sqrt استفاده کنید.


اگر داریم روی if اینقدر مانور میدیم علتش اینه که از پایه‌ای ترین چیزها هست و if رو بلد باشیم بلوک‌های for و while هم راحت میشن. خدا بخواد از این پایه ای ها رد بشیم سرعت جلو رفتن آموزش خیلی بالاتر میره.


جلسه بعد: for و while

  • saeed511, Ata.H.D, farahmand and 1 other like this


#64705 Functional BASE-N mode on the FX82AU-PLUS II V2

Posted by FX82_Calc4Life on 22 September 2026 - 09:27 AM

Functional BASE-N mode on the FX82AU-PLUS II V2

 --- 

 

I (and friends) have discovered a method to unlock a functional BASE-N mode on the Casio FX82AU-PLUS II V2, with functional base conversions. It is also a possible method of showing "images" (or rather, a 16x4 text with full, none and top/bottom half block characters) using a corrupted/glitched SHIFT-3 menu. All methods/information is listed below. (THIS IS PURELY FOR EDUCATIONAL PURPOSES. IF THESE METHODS ARE USED FOR INAPPROPRIATE OR CHEATING, I AM NOT RESPONSIBLE FOR ANY HARM/PROBLEMS CAUSED).

 

Method to unlock:

1. In COMP / MathIO, type Pol(0,1 and enter.

2. Next, type Ans÷9 and spam ABS until you are unable to.

3. Press enter, AC, LEFT, AC, UP and delete everything except for the theta symbol (looks like o).

4. Store this into A (or any other variable).

5. Enter VERIF / LineIO and type A (or the variable you chose).

6. Press enter and press the left arrow.

7. Start carefully spamming √ and Ans in the exact pattern. Continue until it wraps around to A=0 (roughly 200-300 characters after).

8. Press AC, Left and Enter.

9. Wait until Stack Error / Syntax Error / Dimension Error (if it crashes or shows a different thing similar to what happens with . Ans, redo the process) appears.

10. Press left arrow, and very quickly do the next instructions (if done too slowly, it will fail and enter a glitchy Matrix mode)

11. Press 1, delete it and enter MathIO.

12. If it does not show MatAns and i (or similar, I forgot), then continue, else feel free to explore / redo.

13. Press AC, and press either x2, x☐, log( or ln(

14. Enter MathIO and AC.

15. Congratulations, you have entered BASE-N on a calculator not supposed to have it. 

 

Research found:

- Shift+3, down and 3 and Shift+3, down and left seem to show the characterised forms of data entered somewhere between the second A=0 (around 100 characters after the start) and roughly 80 characters beyond. We are currently experimenting with this, and have managed to get characters to show and other cool things.

- Shift+3, left and down seems to be a glitchy version of the above research, and disappears once BASE-N is properly entered (can be accessed before step 14)

- There are methods of obtaining illegal characters in the BASE-N mode, such as obtaining MatC (or was it MatA/B, I forgot) with a key combination involving Shift+3, left, down and I think 9, 8, 7 and 6.

- using . Ans allows us to gain nearly raw access to the frame buffer, although it strangely duplicates. We have managed to get a functional 24x8 image showing using it and the illegal character point (referenced in other fx82-au plus II hacking topics).

- Pressing Enter with Mat(A/B/C/Ans) or Vct(A/B/C/Ans) appears to enter a very glitched, table like mode.

 

Please note that this is the first time that I have ever posted on these forums. It would be nice to have advice or feedback, or just other people commenting on this with cool things they have found. If there are any mistakes, please let me know.


  • MallsOfCongress, FX82_Calc4Life and Codev-Unified like this


#63836 Review of the Casio fx-5800P

Posted by akuzmicich on 15 July 2021 - 10:53 PM

A couple of people asked me to review the humble Casio fx-5800P. Although it has some limitations its a great option for a day to day calculator if you don't need CAS or graphing. I wonder why Casio chose to only put it on the market in a small set of countries?

 

 

ps. Hlib2 if you read this I tried to follow a couple of your suggestions in the video.


  • Tritonio, MJim and Hlib2 like this


#63476 Calculator`s styling

Posted by Hlib2 on 03 September 2020 - 02:58 PM

An attractive appearance and a convenient, easy-to-read keyboard are important criteria for any calculator. I made an attempt to analyze the evolution of attitudes to this topic among various manufacturers.
1) These are classic representatives of calculators for high-paying consumers of the early 90`s: hp-48gx(~$1000)/ti-85(~$550). Approximate retail prices are given in the modern equivalent for 1993. For such a price, the manufacturer did not spare the paint for the letterings.
31529580_m.png

2) ti-85/fx-2.0. In 1999, CASIO released the fx-2.0 model(~$300 in modern equivalent). Note the size of the labels for x^2, 10^x and e^x on the left and right. This extravagance on the right did not extend further to arcsin, arccos etc. But in general, the inscriptions are quite satisfactory.
31529603_m.png

3) fx-2.0/graph25 from CASIO. The quality of the paint above the keys in graph25 is slightly better than in fx-2.0. However, to compensate for the cost, the letterings are either thinner or smaller. Visual perception has deteriorated.
31529631_m.png

4) graph25/fx-9850gb+. It seems that the price of paint exceeds the price of gold. According to some distributors, modern buyers can`t afford an extra $1 for the beauty in one calculator, so here we see another masterpiece of design thought.
31529640_m.png

5) ti-83+/ti-83+SE. Texas Instruments took care too of low-income engineers and students, saving on design. In the "Silver Edition"(sic!) the LCD was also "optimized" (by reducing its quality).
31529666_m.png

6) fx-991 classwiz(brand new)/(used). After several months of using the device in the production room and after a dozen wipes with a dry cloth from dirt, the inscriptions above the keys became unreadable. And then my talent as a graphic designer was awakened ...
31529667_m.png
  • piu58, MJim and ReinXXL like this


#63162 Vintage 1976 Casio fx-102 Scientific calculator review

Posted by MJim on 26 February 2020 - 04:59 AM

INTRODUCTION

I don't have that many truly old scientific calculators, and none using the old VFD display technology, so I was pretty interested to check out this old Casio Scientific fx-102 from 1976.  Accordingly this is one of the very first consumer calculators that had built in fraction support, which came as a bit of a surprise since I thought the fraction feature was something that came about well after the introduction of LCD based scientific calculators.

One price quoted for the fx-102 in 1976 is £23, which in todays 2020 money would equate to nearly ~£149 pounds.  This was pretty cheap for a scientific calculator back then (the programmable fx-201P was £60 in 1976 which is about the cost of a fairly high end smartphone at ~£388).

 

BUILD QUALITY

Well considering the age of this machine and the condition that it is in, top marks all around.  It doesn't look too far off from being new despite it's age of 40+ years.

It is however very big and bulky, and much larger than my fx-82 which was released only half a decade later.  With TN LCD displays already being in production at the time, offering lower power consumption and a smaller size, it isn't surprising that VFD displays eventually disappeared.

Front of the fx-102:

Spoiler

 

Rear of the fx-102:

Spoiler

 

 

POWER CONSUMPTION

The devices uses 4xAA batteries, and a power consumption figure of 0.4W is printed on the calculator.  However I did do a few tests using a fluke multimeter:

Power on current draw peak: ~43mA

Power off current draw peak: ~100mA (not sure why, switching off seems to draw more current).

Idle (Radians mode) displaying 0 average: 39.98mA (Min: 37.76mA, Max: 44.72mA)
Idle (Radians mode) displaying 8888 8888 88 average: 46.68mA (Min: 40.26mA, Max: 50.02mA)
Calculation current peak: ~50mA (Hard to measure without a function that works continuously).
Calculation voltage average: 5.72V (Min: 5.64V, Max: 5.95V)
Calculated peak power: 5.95V * 0.05A = 0.30W

Switching between different modes (Rad->Deg->Grad->SD) did not effect the current draw.

So I guess the 0.4W figure is fairly honest.  I can't locate a manual for the fx-102, but the fx-101 which has a 0.45W drain states a lifespan of 25 hours for alkaline batteries, but with the measured figures and the battery specs (Varta AA longlife alkaline) 30-40 hours doesn't seem all that unrealistic if the fx-102 can make use of all of the available battery capacity.


DIGITS/PRECISION

It is a 12 digit VFD, but it never seems to use the left most digit.  Normally, this calculator seems to handle up to 10 digits for both entry and accuracy.  This also means that for numbers big/small enough to require an exponent you actually only have 8 digits of precision, so a good deal of precision is lost once a number transitions to scientific notation, as the last 2 digits are lost in order to display the exponent.

Below is a list of the precision of different functions that I worked out from trial and error (the last digit will be +/-1 in most cases):
10 digits for independent memory (including M+ and M- operation)
10 digits for basic arithmetic (+,-,*,/)
10 digits for 1/x
10 digits for fractions
10 digits for DMS -> Decimal conversion

10 digits for pi constant (3.141592654)
10 digits for statistics functions

9 digits for square root
8 digits for base10 log, natural log, natural exponential, base10 exponent (Hidden 9th digit for rounding)
8 digits for trig functions: sin, cos, tan, arcsin, arccos, arctan (Hidden 9th digit for rounding)
8 digits for x^y function (2 steps, finds natural log of x, multiplies by y then finds e^(y*ln(x)) - Hidden 9th digit for rounding).

Having functions calculate with less precision than the displayable 10 digits does cause problems however.  For example, with the [x^y] function 2^32 should equal 4,294,967,296; which can also fit on the display of the fx-102 without any issue, but since only 8 digits are used, the last 2 digits are truncated returning 2^32 = 4,294,967,200.  One way to work around these problems is to avoid using x^y for any numbers greater than 8 digits, but this is rather inconvenient.  You could also break it down into smaller parts 2^24 * 2^8, but this requires not only doing the same equation twice over, but also storing the result in memory for each part and then finally multiplying the result at the end.

 

CONSTANT CALCULATION MODE

You can multiply or divide by a constant by either pressing the multiplication/division key twice in succession.  

This isn't quite as developed as later Casio models like the D-series (eg fx-100D, fx-115D, fx-991D), where you can also use add and subtract for constants (both real and complex) in addition to using [x^y] and [x^1/y] as constant functions (you specify y, and once set as constant, you can automatically execute these functions by entering for the x-value followed by [=]).  It still can be useful however:

For example if you were looking to find circumference of several circles with radius's of 1, 3 & 7.9 metres:
2×[pi] ×× {enter radius}
 6.283 185 308
1[=]
 6.283 185 308
3[=]
 18.84955592
7[.]9[=]
 49.63716393
 
Likewise, if you wished to find the radius from a given circumference of 6, 1, & pi metres:
2×[pi] ÷÷ {enter circumference}
 6.283 185 308
6[=]
 0.954 929 658
1[=]
 0.159154943
[pi]
 0.5

Only the [1/x], [Ab/c] and memory storage keys ( [MC], [MR], [M-], [M+]) can be used while remaining in constant mode.  Be aware though that if you want to store the result from a constant calculation, you need to enter the number and then press [M+] or [M-] key instead of pressing [=] then [M+]/[M-].  This saves an extra step, showing you the result in addition to storing it, but carries the disadvantage of not seeing the result first before storing it.


TIPS AND TRICKS

Use the [x^y] button instead of ln button for natural logs
The x^y function is odd in that it returns the natural log of the value for x you enter first, before you enter the value for y to complete the function.  However the natural log returned after entering x's value is of a higher 10 digit precision then the built in ln button! Since you can interrupt this calculation, use [x^y] instead of ln.  

Use the multiplication constant function for squares
Unfortunately the fx-102 is missing the squared function, and so squaring numbers is cumbersome, for example, 5^2: 5[x^y]2[=].  You can also use the constant function for multiplication and division instead: 5^2: 5××[=].

Now it's just as many key-presses to use [x^y], so you might ask why.  A good reason is that the [x^y] function has at best 8 digits of precision, while basic arithmetic operations including constant mode have 10 digits of precision (+/- 1 digit), so you get a more precise result for the same number of presses.

Alternatively, use statistics mode for squares
Switch to S.D mode, and then take advantage of the sum squared function:
5^2: 5[=][M+]
This has the advantage of requiring just 3 button presses, but since you need to switch to statistics mode, it isn't particularly practical. 

 

If however you are doing pythagorus type equations, statistics mode can actually save a bit of work, for example:

"The main tent pole in a conical tent is 3 metres high, and the radius of tent floor is 5 metres.  What is the length of the tent fabric stretching from from the tent pole to the floor?"
d = sqrt(3^2 + 5^2)

{switch to statistics mode}
3[=] 5[=] [M+]
 34
{switch to any other mode, GRAD being closest}
[sqrt]
 5.83095189
8 steps required
 
If we performed this in any other mode:
3[x^y]2[=][M+] 5[x^y]2[=][M+] [MR][sqrt]
 5.83095189
12 steps required


FRACTION FEATURE

I was already aware that Casio's fraction feature has 2 implementations, old and new.  The older version as found on my fx-100D (c1992) is only able to display fractions while all calculations are also in fraction form.  The newer version as found on my fx-991W (c1998) adds the ability to convert decimals to fractions (as long as the number of digits that make up the fraction including fraction marks don't exceed 10).

The Casio fx-102 is using a version of the older implementation, although it is restricted to only using 3 digits for each component of the fraction.  Furthermore, it is also limited to 10 digits total, including fraction marks, eg 123+45/678 (which will simplify to 123+15/226).  It does work pretty well however, so you can happily continue to add/subtract/multiply/divide in fraction form as long as doing so doesn't exceed 3 digits for any value and 8 digits total for improper fractions.

Unfortunately, this feature comes with a pretty big downside, and that is that any calculation involving fractions can not be stored in memory.  As long as any calculation has at one time made use of the fraction feature, you are unable to store that number, even if the fraction was used several calculations ago.  Since there are no brackets (or stack), this can make working with fractions problematic, as at no time can you store part of the result of an equation temporarily; for example for the equation  1/2*sin(30) + 1/4*sin(60), it is actually impossible to solve using fractions since you are unable to store the answer to the first part (1/2*sin(30)) before working on the second part.


QUICK TEARDOWN

For the age of the calculator I thought the soldering and traces were relatively neat.  There are two, single-sided PCB's, one for most of the important electronics the other for the keyboard.  Both boards are connected by several flat, copper wires.  I've opened this calculator up twice now, and these types of connectors make me rather nervous (I trashed my old SH3 fx-9750G2 by breaking something similar).  

Overhead view of the two PCB's:

Spoiler


Unfortunately while I know some basics, I'm not particular knowledgable on electronic circuits.  I don't know how VFD's (Vacuum fluorescent display) work, but a quick google suggests they need 2 different voltages, A lower voltage (3V) for the filament (heater) and a higher voltage (12V to 30V) for the segments themselves.  Since this works off 4xAA batteries I'm guessing that there is some sort of DC-DC voltage booster.  While looking at the photograph of the motherboard I noticed that there was actually a 3rd PCB just to the left of the Hitachi HD36130 CPU, my guess here would be that this is the DC-DC convertor that provides the higher voltage for the VFD display.

Main board:
Spoiler


They keyboard PCB looks fairly neatly soldered as well, although it's not hard to spot the repair that was done at some time in the past.  Pressing a button looks to short that button to ground.  There are 4 separate metal plates for the buttons, each with tabs that contact one of the 5 flat copper pads seen on the front of the keyboard PCB.  The 5th copper pad appears to connect to a metal spring which connect the metal face on the calculator to ground.  I've always wondered why older Casio calculators do this, would be interesting to get some insight.

Keyboard PCB rear:
Spoiler


Keyboard PCB front:
Spoiler
You can clearly see the 5 copper pads here.  For each button, a wire link is used as a contact surface.

Keyboard & Front cover inside:
Spoiler


Keyboard buttons and springs:
Spoiler
The same piece of sheet metal is shaped into springs for each button.  The plastic buttons use a different coloured plastic to make up the label on the button.  I've seen this on other Casio's and I guess it is pretty common for calculators, but it does seems to be a great way to provide label wear resistance.

CONCLUSION

Realistically this isn't the sort of scientific calculator I can see myself using in the modern age.  The next oldest calculator I have is the original Casio fx-82 from 1982 (6 years later), which is far more compact, much more energy efficient (0.4W vs 0.0007W, or nearly 600 times less power!) as well as adding much needed stacks in the form of parenthesis, rectangular to polar and polar to rectangular conversions, more constant operations and other functionality.  It doesn't however have the fraction key and it is slower, but considering the rate of progress with calculator technology today, it must of been crazy to witness the changes from the late 1970's to early 1980's.

While the fx-102 may not have much utility in modern times, it does still however provide an interesting insight into the evolution of some of the core Casio features that are standard on later models.  It has the same direct entry system and the early independent memory works much the same way even in modern calculators (M+/M-).  The core fraction entry and display is pretty much unchanged, though the fraction button will toggle between fraction and decimal display, rather than remaining stuck in decimal display.  The exponential button is pretty much unchanged, and the Sexagesmial conversion just added the ability to convert from Decimal back to DMS.  Finally the constant function would get a few enhancements and stick around for a little over 20 years, when it was finally mothballed with the introduction of the W-series S-VPAM models in 1998.


 


  • Tritonio, secutor and Hlib2 like this


#61776 CASIO fx-5800P, still going strong!

Posted by secutor on 20 June 2018 - 10:08 AM

Don't underestimate this little calculator. Except for graphics and string manipulations, the Casio Basic included has most of the features - including Getkey and Locate - found in the more expensive models. It has even a few features lacking from the graphics calculators:

To prompt for input, the normal way is:
"N"?-->N
Will display N? and store the input in variable N.

Casio fx-5800P also allows this:
"N"?N
Will display N? but also shows the variable N. If no change, then you can press EXE right away. Very handy!

It has a FILE key on the keyboard making it easy to run any program outside Program Mode. With my Casio fx-CG50 I have to switch to Linear Mode, then retrieve the Prog command from the catalog and finally type the program name on the keyboard enclosed in quotation marks. Very awkward.

Often used programs and formulas can also be added to a favorite List, another useful feature.

I also like the CALC and SOLVE keys available to quickly enter an equation and solve for any variable:
E.g. BMI=weight (kg)/height (m)^2

 

Type B-W/H^2, press SOLVE key, enter W and H, highlight B and press SOLVE again. Done!

The single AAA battery lasts one year if calculator is used 1 hour a day. It draws only 0.12W.

The biggest drawback is that it might be too slow for some. The same prime factorization program used on both the fx-5800P and fx-CG50 gives me:
N=6666666667 (19 x 1627 x 215659)

 

fx-5800P: 25.4 s
fx-CG50: 2.5 s

 

N.B. Casio fx-5800P gives the same precedence to multiplication, division and implicit multiplication. That's why

 

6/2(1+2) = 9

 

If you try this with a newer CASIO calculator (or one with updated firmware), you will get

 

6/2(1+2) = 1

 

As Casio now gives higher precedence to implicit multiplication, so it treats the above expression as:

 

6/(2(1+2))

 

The calculator was introduced in 2007, I really hope Casio could upgrade it with a faster processor, more memory and a PC-link.

 


  • Lonewolf, Tritonio and liarazaxse like this


#60412 FX-82/-83GT/-115/-991ES PLUS Hacking

Posted by SopaXorzTaker on 21 August 2016 - 05:27 PM

The following list was written by user202729 and serves as the guide to this forum thread.

 

 

 

Tutorial about ROP.

Javascript code to help with writing hackstring.

Character map image. Alternative version. Also available in the Javascript code above.

Scrolling text demonstration with video.

Calculator font.

How to enter a hackstring (991ES+) (less detailed version)

Hackstring used to dump the ROM. No longer needed now as we already have the ROM.

Datasheet contains some information about the hardware.

Hardware description: Part 1, part 2.

  * KI/KO ports (keyboard).
  * Timer: Part 1, part 2.
  * LCD screen.

Variable byte representation (no English translation this time).


High-level functions:

  * getkey

There are some outdated information about "real address" and "emulator address". Now we had the real ROM of the calculator that is not necessary.


  • flyingfisch, Viliami and anon34 like this


#60381 Casio Fx-9860G Sdk Tutorials (2016 Avaiable)

Posted by Viliami on 09 August 2016 - 06:55 AM

The Fx-9860gii SDK uses C by default (it also supports C++, SH4A and SH3 ASM), the SDK just uses the standard C with some extra functions for I/O and drawing. 

 

 

In the "fxlib.h" header file, there are a bunch of Bdisp functions, these functions deal with drawing pixels to the screen and clearing them.

e.g Bdisp_PutDisp_DD() is the function used to draw a pixel to the screen and Bdisp_AllClr_DD() is the function used to clear all the pixels from the screen.

 

There is a good tutorial created by Fez and reformatted by Helder7 about the Bdisp functions and basic I/O over here: http://www.casiopeia...php?f=20&t=1420

 

You can also download the official Casio docs on the fxlib library over here: http://edu.casio.com...greement.html#2

 

 

Here is a hello world program, most of this is auto-generated by the SDK when you create a new project:

/*****************************************************************/
/*                                                               */
/*   CASIO fx-9860G SDK Library                                  */
/*                                                               */
/*   File name : [ProjectName].c                                 */
/*                                                               */
/*   Copyright (c) 2006 CASIO COMPUTER CO., LTD.                 */
/*                                                               */
/*****************************************************************/

#include "fxlib.h"

//****************************************************************************
//  AddIn_main (Sample program main function)
//
//  param   :   isAppli   : 1 = This application is launched by MAIN MENU.
//                        : 0 = This application is launched by a strip in eACT application.
//
//              OptionNum : Strip number (0~3)
//                         (This parameter is only used when isAppli parameter is 0.)
//
//  retval  :   1 = No error / 0 = Error
//
//****************************************************************************

int AddIn_main(int isAppli, unsigned short OptionNum)
{
    Bdisp_AllClr_DDVRAM();          // clear screen
    PrintXY(1,1,"Hello World!",0);  // print "Hello World!" to the VRAM
    Bdisp_PutDisp_DD();             // copy pixels from the VRAM to the actual display
    return 1;
}




//****************************************************************************
//**************                                              ****************
//**************                 Notice!                      ****************
//**************                                              ****************
//**************  Please do not change the following source.  ****************
//**************                                              ****************
//****************************************************************************


#pragma section _BR_Size
unsigned long BR_Size;
#pragma section


#pragma section _TOP

//****************************************************************************
//  InitializeSystem
//
//  param   :   isAppli   : 1 = Application / 0 = eActivity
//              OptionNum : Option Number (only eActivity)
//
//  retval  :   1 = No error / 0 = Error
//
//****************************************************************************
int InitializeSystem(int isAppli, unsigned short OptionNum)
{
    return INIT_ADDIN_APPLICATION(isAppli, OptionNum);
}

#pragma section


As you can see from above, there is no main() function, unlike standard C our entry point to the program isn't the main() function, it is the AddIn_Main() function.


  • flyingfisch, frankmar98 and saeedgolabli like this


#59479 Casio Prizm Mandelbrot Explorer

Posted by ProgrammerNerd on 11 September 2014 - 11:41 PM

The Mandelbrot fractal is quite a sight.
Such wonder and amazement that can be found while viewing the Mandelbrot fractal can now be had on the Casio Prizm graphing calculator.
In addition this program can also be compiled for the PC assuming SDL is installed.
Just run make and it will be up and running.
There is very little difference in function between the PC version and the casio prizm version, the resolution is higher but that is it.

The controls are
Left, right, up, down moves the window in that direction
Menu key or ESC on the PC, exits to the menu or exits the program (PC)
F1 sets maximum iterations to 65535
F2 sets the maximum iterations to 224 (this is the default upon starting the program)
F3 toggles deep mode which is on by default. This means you can zoom in deeper with a slight performance hit.
I do not notice the difference
1 subtracts one from the maximum iterations
2 adds one to the maximum iterations
3 subtracts ten from the maximum iterations
4 adds ten to the maximum iterations
5 subtracts 100 from the maximum iterations
6 adds 100 to the maximum iterations
Shift zooms in
Alpha (ALT on PC) zooms out
Source code https://github.com/C...-Prizm-Explorer
Binary https://github.com/C.../mandelbrot.g3a
Screen shots (from the PC version which gets very similar output differing only in resolution).
CWM8Ekp.png
0pNWIZX.png
Anyways if you have any bug report(s), feature request(s), pull request(s), patch(es) or whatever relates to this I would be happy to hear about them.


  • MicroPro, flyingfisch and Viliami like this


#57683 Using The Sdk

Posted by preb on 10 February 2013 - 06:26 PM

There are tutorials to write programs in Casio-Basic on here. Just use the search bar to find them :)
  • MicroPro, flyingfisch and abdelrahmanmostafa like this


#57532 Introduce Yourself

Posted by flyingfisch on 04 February 2013 - 10:32 PM

Name: Daniel, just call me Hyuji.

Birthday: 15 Feb

Age: 17(For now...)

Hobbies: Biking, Video Games (RPGs), Anime & Manga, Mathematics, Computers, Music(Rap)

Where you got your username: I'm lazy so I just took some grouped letters on the keyboard, that made sense, into a username. If you look on a QWERTY keyboard, you will see the letter H-Y-U-J-I all grouped together for easy typing. My password follows a similar principal.


O.o You sure you want to say that much about your password?

Anyway, welcome to UCF!

Hope you enjoy your stay. In the meantime, Ice Cream!

Posted Image
  • MicroPro, Casimo and naib864 like this


#57387 Like Own Post

Posted by Casimo on 31 January 2013 - 04:39 PM

It is possible to like the own posts. Is this a bug or a feature? I would say bug because you can incrase your like counter this way or bump your post in the most liked - section :P .
  • Casimo, naib864 and CalcLoverHK like this


#31796 Casio Basic Tutorial

Posted by huhn_m on 28 November 2005 - 05:03 PM

Part 13: Advanced Variables

Those of you who know other programming languages have probably seen a big problem in what you have read so far, what if you need more than 28 variables in your game? A long time ago (in a calc far, far away), when I was first learning to program I was making little games like Example 1 of this tutorial. But then I started trying to make some more complex games and I ran into a problem, I needed more variables and there were none to be found! Eventually I found the answer: Lists and Matrices.

Lists – A list is exactly that, a list of variables, they can be up to 255 cells long.
Here is a visual of a list with 5 cells:
[ ]
[ ]
[ ]
[ ]
[ ]
to access a cell in a list you just use List #[#] (List 11), the first # represents the number of the list and the second represents the index of the cell. You can use Lists just like you use normal variables, anything you can do with a letter variable you can do to a list, you just have to specify what list and what cell.

Some special list functions:
X->Dim List # : creates a list with X cells in it, all cells are set to 0.
Fill(X,List #) : fills a list with X.
There are others, but you probably wont use them.

Matrices – A matrix is a two dimensional list
Here is a visual of a 5x4 matrix.
[ ][ ][ ][ ]
[ ][ ][ ][ ]
[ ][ ][ ][ ]
[ ][ ][ ][ ]
[ ][ ][ ][ ]
Matrices are just like lists except that they are two dimensional, I like to use them for maps, especially tiled maps. To use a matrix use Mat (letter A~Z)[Y,X] (Mat A[1,1]), the X and Y are reversed, make sure not to confuse them.

Special Matrix functions:
{Y,X}->Dim Mat (letter) : creates a YxX matrix
Fill(#,Mat (letter)) : fills a matrix with a #
Again, there are more, but you wont need them right now.

Tip: List and Matrices are very useful for loops, since they are indexed you can loop through them or use List 1[A] so you can change what list cell you are using dynamically. Also note that you cannot do this with the number of the list.

Return to Tutorial Index
  • PsySc0rpi0n, frankmar98 and GoncaloR4mos like this


#64711 FX-82AU PLUS II 2nd Generation Hacking

Posted by Codev-Unified on 13 October 2026 - 07:57 PM

FX-82AU PLUS II 2nd Generation Hacking

Note: This is purely for educational purposes. If these methods are used for other purposes or cheating, I am not responsible for any problems or damage caused.

Base-N Mode Access

In clearer words, FX82_Calc4Life and I have found a way to access a portion of Base-N mode on the fx-82AU PLUS II 2nd Generation.

The calculator normally does not have Base-N available, but this method allows us to access a portion of Base-N mode. There are also some other glitches connected to this method, especially with the SHIFT, 3 menu.

Method 1. Reset the calculator

First, reset the calculator.

Press:

SHIFT, 9, 3, =, AC

Make sure you are starting from a clean state before continuing.

2. Enter POL(0,1)

Go into MATH IO and enter:

POL(0,1)


Press =.

3. Press the division symbol

Press the division symbol.

The display should show:

Ans ÷


4. Enter any number

Enter any number after the division symbol.

Then repeatedly press:

ABS(


Keep entering ABS( until the calculator will not allow you to enter any more ABS( functions.

5. Press the following sequence

Press:

=, AC, ↑, AC, ←

6. Check the result

You should now see the result from POL(0,1):

r = 1, φ₀ = 90


7. Store φ₀

Delete everything except the φ₀ value.

Store the φ₀ value in any variable you want.

8. Enter VERIF and LINE IO

Now enter VERIF, which is Mode 3.

Press:

MODE, 3

Then switch to LINE IO:

SHIFT, MODE, 2

9. Enter the variable containing φ₀

Enter the variable that you stored φ₀ into and press =.

10. The calculator should display Math ERROR

You should get:

Math ERROR


11. Press the left arrow and start the overflow

Press the ← arrow.

Then repeatedly enter:

√Ans


For example:

√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√Ans√ ...


12. Continue until the expression wraps around

Keep entering √Ans until the expression wraps back around to the beginning.

This should take approximately 200–300 characters.

13. Once it has wrapped around

Once the expression has wrapped back around to where you started, press:

AC, ←

14. Check the expression

You should now see the √Ans expression that you repeatedly typed earlier.

15. Trigger the error

Press = and wait approximately 5 seconds.

The calculator should display:

Stack ERROR


The next steps need to be performed quickly

The following steps need to be performed fairly quickly after the error appears.

16. Press the left arrow

Press the ← arrow.

17. Immediately press 1

Immediately enter:

1

18. Enter MATH IO

Switch back to MATH IO.

Press:

SHIFT, MODE, 1, 1

19. Press 1 two times

Press:

1, 1

20. Enter STAT mode

Now enter STAT mode.

21. Press AC

Press:

AC

22. Press one of the following keys/functions

Press any one of:

-

x²

x□

log(

ln(


23. Base-N mode

The calculator should now be in a partially functional Base-N mode.

 

 

The Glitched SHIFT, 3 Menu

Unfortunately, the SHIFT, 3 menu is glitched when accessing this state.

However, the glitch is also useful because it exposes characters and functions that normally cannot be accessed.

Some of the things available through the glitched menu are also obtainable through the basic overflow methods.

For example, we have been able to access functions such as:

MatA(

MatB(

MatC(

VctA(

VctB(

VctC(


Some of these functions work, while others can crash the calculator or cause additional glitches.

MAT / VCT Glitch

Another thing we found is that pressing = after entering one of these matrix or vector values can produce a strange table-like mode.

For example:

Mat(A)

Mat(B)

Mat©

Mat(Ans)


and:

Vct(A)

Vct(B)

Vct©

Vct(Ans)


can behave differently from the normal calculator modes.

In some cases, they appear to enter a glitched table-like interface.

 

 

Notes About This Discovery

This was one of the first things we started posting about on the forums, so there are still parts that are not completely understood.

We have been experimenting with:

  • the Base-N access method

  • the glitched SHIFT, 3 menu

  • illegal characters

  • matrix and vector functions

  • different characters around the overflow area

  • different results depending on where the characters are entered

Some combinations work, some produce different glitches, and some will crash the calculator.

I'm posting this mainly so other people can reproduce the method and experiment with it too.

Feel free to correct any mistakes or add any cool discoveries you find.

 

 

Power-Off Note

There is also something important to know about turning the calculator off while experimenting.

Pressing:

SHIFT, AC

does not turn the calculator off by itself.

To turn the calculator off, press:

ON

first, then:

SHIFT, AC

The calculator also does not turn itself off after 10 minutes, so it needs to be manually turned off.

 

 

Computation, STAT and VERIF More Hacks

Over the course of the 1.5 years we have been experimenting with the fx-82AU PLUS II 2nd Generation, we have found multiple other hacks, including computation glitches, STAT mode glitches, and VERIF overflow glitches.

Here are some of the many hacks we have discovered.

Also, credits to EnderFire09 and DaCoolCat123 for helping make these hacks possible.

 

 

Computation Hacks

There are quite a few interesting things you can do in normal computation mode.

1. Another way to get the strange result

Instead of using POL(0,1) to get the result of r = 1 φ₀ = 90, you can enter:

0▫0▫0▫


This should produce:

0°0′0″


2. Getting another strange result

Divide by any number, repeatedly enter:

ABS(


Then press:

=, AC, ↑, AC, ←

You should get:

0▫0e0e


3. Getting the internal ERROR token

Delete everything except the e or e.

This can result in a strange syntax error where the calculator only shows:

ERROR


4. Getting Eoo÷o From ERROR 

Repeat the same process again by dividing by any number, repeatedly entering ABS(, and using the same sequence:

=, AC, ↑, AC, ←

You should get:

Eoo÷o


This appears to represent ERROR in the calculator's internal token language.

The token information can be found here:

https://github.com/ilovecats4606/fx-82AU-PLUS-II-2nd/blob/main/tokentable.md

5. Token table

Me and FX82_Calc4Life are working on making a complete digital token table, including the smaller characters.

The current table is not complete yet, but we plan to post the full version once it is finished.

6. What the o means

The o in:

Eoo÷o


represents octal.

For example:

o101 = 65

in decimal.


7. Strange unit-conversion result

Enter:

1×1010


Then divide by any number and repeat the same overflow process.

You can get something like:

1m▶n mileacre▶m² mmHg▶Pa Pa▶atm


Unfortunately, the conversions themselves do not actually work.

 

 

Another POL(0,1) Computation Glitch

There is another thing you can do with POL(0,1).

First switch to MATH IO:

SHIFT, MODE, 1, 1

Then enter:

POL(0,1)


and press =.

Now divide by any number and use the same ABS( overflow process.

After that, delete everything except:

r


Press:

←

to move the cursor to the left side of r.

Then press:

SHIFT, DEL

Now press the square-root key 4 times.

Press =.

Then delete the four square roots, leaving only:

r


Press = again.

This should give a strange complicated equation.

You can then divide by any number and use the same Abs( overflow method to obtain the greater-than symbol in computation mode.

Normally, the greater-than symbol is only available in VERIF.

 

 

DISP Glitch

There is also a small DISP-related glitch.

Enter:

SHIFT, MODE, ↓, 4, 2

This changes the dots to commas.

Then enter:

POL(0,1)


The result should normally be:

r=1, φ₀=90


With the DISP change, it can become:

r=1;φ₀=90


This also allows us to obtain the k by using the same ABS( overflow process.

 

 

Basic Overflow in Computation Mode

Basic overflow can also be accessed in normal computation mode.

Press Ans, divide it by any number, and then keep stacking:

ABS(


Press = and then press the ← arrow.

The ABS( expression should now be in LINE IO format, which is useful if you want to get LINE IO formatted characters in MATH IO.

Delete everything except:

▯


Once you have the ▯, press the ← arrow once to place the cursor behind the ▯ character, then press the → arrow once.

You should now be in basic overflow in computation mode.

From here, you can keep entering fraction symbols and other functions.

Continue overflowing the expression until it wraps around to the beginning.

You can also use the VERIF basic overflow method, such as storing φ₀ or r in STAT mode Sub 0, and then spamming different characters until you start seeing the things you typed appear in computation basic overflow.

The fraction symbol, square root, and other symbols can be different in VERIF overflow because VERIF overflow uses LINE IO while normal computation can use MATH IO.

 

 

STAT Mode — Sub-mode 0

Unfortunately, we have not really found any major hackstrings in STAT mode yet, but we did find something interesting in STAT sub-mode 0.

1. Enter STAT mode

Enter:

MODE, 2

Then press AC.

About 0.5 seconds after pressing AC, press ON.

This can be difficult to do at first, but it gets easier with practice.

2. Check if it worked

If successful, you should see the STAT indicator.

You should also be able to access REG in the STAT menu with:

SHIFT, 1

If it did not work, go back to COMP mode and try again.

3. STAT sub-mode 0

If successful, you are now in STAT sub-mode 0.

4. Create the strange pattern

Enter any number that is:

  • 69 or less

  • not negative

  • not a decimal

Then enter ! followed by either ȳ or x̄.

You can get these with:

SHIFT, 1, 5, 5

for x̄

or:

SHIFT, 1, 5, 4

for ȳ.

For example:

69!x̄/69!ȳ


This can produce a strange barcode-like pattern on the display.

Note: This may damage the screen on older calculators that have already been heavily used.

You can also experiment with the STAT functions through:

SHIFT, 1, 5

using A, B, and r.

Most combinations will crash the calculator.

 

 

VERIF Hacks

There are not many VERIF hacks yet, apart from the basic overflow method.

However, there are some interesting things you can do in MATH IO.

For example, enter an equation such as:

1+1


Then press =.

The calculator should display either:

TRUE


or:

FALSE


Now divide that result by any number and use the same ABS( overflow process.

This can give you the TRUE or FALSE result in the calculator's internal language.

 

 

VERIF Overflow

The VERIF overflow is more interesting.

Using VERIF overflow, we have been able to:

  • dump ROM

  • draw images

  • access different modes supported by the calculator's chip

  • produce different calculator errors

  • experiment with different internal functions and characters

One of many errors we have been able to produce include:

Can't Solve

AC Break

Cursed Error Showing Random Characters

as well as other errors, including a glitched one depending on the function or pattern used.

Once you are already in basic overflow in VERIF, you can also experiment by repeatedly entering:

▫


 

 

Repeated ▫ Overflow 1. Spam ▫

Once you have VERIF basic overflow, repeatedly enter:

▫▫▫▫▫▫▫▫▫▫▫▫...


Keep entering it until the expression wraps around to the beginning.

2. Finish the overflow

After it wraps around, press:

AC, ←, =

This should produce a strange mode.

The exact result can vary depending on what was entered.

 

 

Experimenting With Different Characters

Once you are in VERIF basic overflow, you can experiment with different patterns.

For example:

▫Ans


or:

▫▫Ans


or:

▫AnsAns


or:

(-)Ans


etc.


There are many more combinations that can be tried.

The results vary a lot.

Some produce interesting glitches, while most of the other combinations will simply crash the calculator.

We have also found many other strange things using this like a cursed contrast menu and lots more.

The basic overflow method can also be reached by things such as storing r in STAT sub-mode 0, storing φ₀ in a variable, and then using the resulting overflow area.

There are still a lot of patterns we have not fully figured out yet.

 

 

Additional Basic Overflow Discoveries

There are also some interesting things that happen when using STAT sub-mode 0 and basic overflow.

If you store r in STAT sub-mode 0 and then use basic overflow, you can see the value of r represented as:

ref(ref(ref(ref(ref(ref(ref(ref(ref(ref(ref(ref(ref(ref(ref(ref(ref(ref(ref(ref(


This is ref( repeated 20 times.

Once you reach the M indicator and type a bit more, you will see this same thing as with any other illegal character stored into a variable.

The same goes for φ₀, which appears as:

<-sinh(,>-F-0.<-sinh(,>-F-0.


These are representations of the illegal values when they are exposed through the overflow.

 

 

Basic Overflow Corruption

Another thing you can experiment with is the basic overflow corruption.

In basic overflow, repeatedly enter:

.Ans.Ans...


until it warps back to the beginning.

Then press:

AC, ←, =

After that, keep pressing = or ←, =.

You will slowly corrupt the calculator.

As the calculator becomes more corrupted, you will slowly see pixels appearing and overlapping the .Ans pixels represented in binary.

If you then go into COMP mode, enter an equation, and press =, you will get different results depending on how much you corrupted the calculator seeing what looks like randomly scatted pixels all across the result.

 

 

Important note: All of the hacks reset the calculator once ON is pressed, except for STAT sub-mode 0.

 

 

Writing Text Using VERIF Basic Overflow

One of the more interesting things we found is that VERIF basic overflow can be used to replace the normal TRUE/FALSE text with custom text.

The maximum length we have found is 15 characters.

The basic idea is to replace the text that the calculator normally uses for TRUE or FALSE with tokens representing different characters.

 

 

1. Enter VERIF Basic Overflow

Enter VERIF basic overflow using the general overflow method.

However, do not enter the variable yet.

 

 

2. Create a 22-Character Overflow

First, create a string that is exactly 22 characters long:

1234567890123456789012


Then add a minus sign:

1234567890123456789012-


Press =.

You should get:

Syntax ERROR


 

 

3. Enter the Variable and Create Another Overflow

Now clear everything and enter the variable and use the basic overflow method.

Repeatedly enter:

.Ans


For example:

.Ans.Ans.Ans.Ans.Ans.Ans.Ans...


Continue doing this until the variable from earlier appears, such as:

A=0


or the equivalent for whichever variable you used.

Continue with the same .Ans pattern until you see the 22 characters appear.

 

 

4. Replace the 22 Characters

Now you need to replace the 22 characters.

Do not overwrite:

-

=

0


Only overwrite the original 22 characters.

After reaching the exact 22-character position after A=0, spam any number.

Once you have spammed characters far enough, you should eventually see a position where the characters change.

This changing position is what we use to place the text.

 

 

5. Using the Token Table

The calculator internally stores characters as tokens.

The token table we are currently working on is here:

Token Table

The current table is not completely accurate.

Me and FX82_Calc4Life are working on making a complete table, including the smaller characters and other characters that are harder to document.

We have already finished documenting the normal characters, while we are still figuring out the small characters, including one character that looks like a music note.

This may be difficult to document digitally because some characters are what look like strange pixels.

We will post the completed version when it is finished.

 

 

6. Example: Writing Hi.

As an example, we can write:

Hi.


The hexadecimal value for H is:

48


The internal token for H is:

->B


The problem is that ->B cannot be typed directly.

We therefore need to find the closest character that can be typed.

The closest typeable character before ->B is:

F


At the changing position, overwrite the current character to F.

Every time the cursor blinks, the position advances by one token.

Since ->B is two tokens after F, wait for the blink and then press the → arrow.

Do this twice.

You should now have:

->B


Immediately press the ← arrow before the cursor blinks again and delete the character to the left of ->B.

This keeps the ->B token in place.

Another way to do this is to rapidly spam the → arrow before the cursor blinks, then press ← and delete the character behind ->B.

 

 

7. Adding the i

We also need the letter i.

The hexadecimal value of i is:

69


Its internal token is:

Σ(


The token before it is:

log(


Wait for one cursor blink, then press ← and delete the appropriate character so that:

Σ(


is preserved.

Now put it directly after:

->B


You should have:

->BΣ(


This represents:

Hi


 

 

8. Add the Period

To add the period, place:

.


after the existing tokens.

You should now have:

->BΣ(.


which represents:

Hi.


 

 

9. Move the Text Into the Correct Position

Now delete the characters in front of the text if there is any.

Move the cursor behind the first character and keep deleting until you reach the original 22-character position.

The important part is that:

->BΣ(.


must be directly after the original 22-character position from A=0.

 

 

10. Continue the .Ans Pattern

Now we need to continue entering the .Ans pattern after the text.

The text itself needs to continue following the same .Ans pattern as if the text were not there.

The 22nd character should be Ans.

Do not overwrite the text.

You need to work out which characters are part of the pattern and which are your actual text.

For example, the pattern around the text continues according to the position the text occupies.

A simpler way to keep track of it is:

  • If the text has an odd number of characters, the pattern after the text starts with Ans

  • If the text has an even number of characters, the pattern after the text starts with .

So for:

Hi.


there are 3 characters, which is odd.

Therefore, after Hi. the pattern continues as:

Ans.Ans.Ans...


For an even number of characters, it would continue as:

.Ans.Ans.Ans…


Continue the same pattern until the overflow wraps around back to the beginning.

 

 

11. Finish the Overflow

Once the overflow wraps around back to the beginning, press:

AC, ←, =

The pattern should now appear as binary data, with:

0 = off

1 = on


This is also useful later for the image-drawing method.

 

 

12. Display the Text

Finally, press:

AC

The calculator should now show:

Hi.


in the place where the normal TRUE or FALSE text would usually appear.

 

 

Summary

The basic process is:

  1. Enter VERIF basic overflow.

  2. Do not enter the variable yet.

  3. Create a 22-character string.

  4. Add - and press =.

  5. Enter the variable and start the .Ans overflow.

  6. Continue until A=0 or the equivalent appears.

  7. Continue until the 22 characters appear.

  8. Spam characters until the changing position area appears

  9. Use the changing position area to place the characters to produce text.

  10. Create the tokens for the text you want.

  11. Move the text directly after the original 22-character position.

  12. Continue the .Ans pattern around the text.

  13. Let the overflow wrap around back to the beginning.

  14. Press AC, ←, =.

  15. Press AC.

  16. The custom text should appear where TRUE or FALSE normally would.

The maximum text length we have found is 15 characters.

One other important detail is that the next character in the pattern depends on whether the text has an odd or even number of characters.

If the text has an odd number of characters, the next character starts with Ans.

If it has an even number of characters, the next part starts with ..


 

 

Drawing Images Using VERIF Basic Overflow

This is probably one of the hardest things we have found so far.

The basic idea is to convert an image into binary, then use the values from the binary data inside the VERIF overflow.

For this example, we will make a small smiley face.

 

 

1. Enter VERIF Basic Overflow

Enter VERIF basic overflow using the usual method.

This time, do not create the 22-character overflow that was used for the text method.

Instead, enter the variable you stored the illegal character into and start entering:

.Ans


over and over.

For example:

.Ans.Ans.Ans.Ans.Ans.Ans...


Continue until you reach:

A=0


or the equivalent variable position.

 

 

2. Start the Image Position

Once you reach the A=0 position, continue using the same pattern.

The important part is that the following characters become:

A = .

= = Ans

0 = .


So the A=0 should now be replaced with:

.Ans.


 

 

3. Convert the Image to Binary

For the image, use:

0 = OFF

1 = ON


Each row of the image is represented using binary.

The hexadecimal conversion table is:

0000 = 0

0001 = 1

0010 = 2

0011 = 3

0100 = 4

0101 = 5

0110 = 6

0111 = 7

1000 = 8

1001 = 9

1010 = A

1011 = B

1100 = C

1101 = D

1110 = E

1111 = F


The image we are making is:

00000001

00000001

00101000

00101000

00101000

01000100

01111000

00000001

00000001


Each line represents one row of pixels.

 

 

4. Convert Each Row to Hexadecimal

Now convert each 8-bit binary row into hexadecimal.

The rows become:

00000001 = 01

00000001 = 01

00101000 = 28

00101000 = 28

00101000 = 28

01000100 = 44

01111000 = 78

00000001 = 01

00000001 = 01


So the hexadecimal sequence is:

01

01

28

28

28

44

78

01

01


 

 

5. Convert the Hex Values Into Tokens

Now convert each hexadecimal value into its corresponding calculator token.

For this example:

01 = mp

01 = mp

28 = (

28 = (

28 = (

44 = D

78 = 8

01 = mp

01 = mp


So the token sequence is:

mp, mp, (, (, (, D, 8, mp, mp


 

 

6. Separate Each Token

Each token needs to be separated using:

.Ans.Ans.Ans.Ans.Ans.


This is 11 characters.

The complete sequence for the smiley is therefore:

mp.Ans.Ans.Ans.Ans.Ans.mp.Ans.Ans.Ans.Ans.Ans.(.Ans.Ans.Ans.Ans.Ans.(.Ans.Ans.Ans.Ans.Ans.(.Ans.Ans.Ans.Ans.Ans.D.Ans.Ans.Ans.Ans.Ans.8.Ans.Ans.Ans.Ans.Ans.mp.Ans.Ans.Ans.Ans.Ans.mp


This is the full data that will be used to create the image.

 

 

7. Place the First mp

Go back to the position after A=0.

Continue spamming any character until you reach the changing position.

To get the first:

mp


delete the changing character.

Then press the → arrow once after the cursor blinks.

You should now have the first mp in the changing position.

 

 

8. Place the Second mp

We need two mp tokens at the start.

Once you have the first mp, delete the 13 characters before it.

Then press the → arrow to put the cursor directly after the mp.

Now enter:

.Ans.Ans.Ans.Ans.Ans.


After doing this, obtain another:

mp


and place it after the first one.

You should now have:

mp.Ans.Ans.Ans.Ans.Ans.mp


 

 

9. Move the Sequence Into Position

Now keep pressing the ← arrow to move to the beginning of the sequence.

Put the cursor directly before the first mp.

Then delete characters before:

mp.Ans.Ans.Ans.Ans.Ans.mp


until the sequence is directly after the original A=0 position.

 

 

10. Continue the Full Sequence

Now continue entering the complete pattern from earlier:

mp.Ans.Ans.Ans.Ans.Ans.mp.Ans.Ans.Ans.Ans.Ans.(.Ans.Ans.Ans.Ans.Ans.(.Ans.Ans.Ans.Ans.Ans.(.Ans.Ans.Ans.Ans.Ans.D.Ans.Ans.Ans.Ans.Ans.8.Ans.Ans.Ans.Ans.Ans.mp.Ans.Ans.Ans.Ans.Ans.mp

 

 

Continuing the Overflow

After placing the final mp, continue entering the same .Ans pattern:

.Ans.Ans.Ans.Ans.Ans.Ans.Ans.Ans.Ans...

Keep entering .Ans repeatedly until the overflow wraps all the way around back to the beginning.

Once it has wrapped around to the beginning, press:

AC, ←, =

The calculator should then display the small smiley face image.

 

 

12. Multiple Images

You will see multiple smileys appear.

According to FX82AU_Calc4Life, this is caused by the calculator's RAM.

So if you see more than one copy of the image, that is not necessarily a mistake in the image data.

 

 

Complete Example

For reference, the whole process for the smiley is:

Enter VERIF basic overflow

Do not make the 22-character text overflow.

Use:

.Ans.Ans.Ans.Ans.Ans...


until you reach:

A=0


The image starts at A=0

The positions become:

A = .

= = Ans

0 = .


Convert the image to binary

00000001

00000001

00101000

00101000

00101000

01000100

01111000

00000001

00000001


Convert binary to hexadecimal

01

01

28

28

28

44

78

01

01


Convert hexadecimal to tokens

mp

mp

(

(

(

D

8

mp

mp


Separate the tokens

Use:

.Ans.Ans.Ans.Ans.Ans.


between each token.

The final sequence is:

mp.Ans.Ans.Ans.Ans.Ans.mp.Ans.Ans.Ans.Ans.Ans.(.Ans.Ans.Ans.Ans.Ans.(.Ans.Ans.Ans.Ans.Ans.(.Ans.Ans.Ans.Ans.Ans.D.Ans.Ans.Ans.Ans.Ans.8.Ans.Ans.Ans.Ans.Ans.mp.Ans.Ans.Ans.Ans.Ans.mp


Put the sequence after A=0

Place the first mp, create the second mp, then move the entire sequence into the correct position after the original A=0.

Finish

Continue the overflow until it wraps around to the beginning, then:

AC, ←, =

The smiley should appear.

 

 

The Basic Principle

This same method can be used for other images too.

The general process is:

Image

↓

Binary

↓

8-bit rows

↓

Hexadecimal

↓

Calculator tokens

↓

.Ans separators

↓

VERIF overflow

↓

Display


The smiley above is just an example.

Other images can be created using the same principle, as long as they can be converted into the required binary data and then into the calculator's internal tokens.

Note: The separators do not have to be exactly 11 characters long. If you want to make a bigger image, you can put two tokens together instead of separating each token individually. For example, using mp mp together will produce 00000010000001. This allows you to create larger images by combining multiple 8-bit sections.


 

 

ROM Dumping

Now, finally, we can look at dumping the ROM of the fx-82AU PLUS II 2nd Generation.

The original ROM dumping method was discovered by DaCoolCat123. The method and its development were documented on Reddit, where people continued experimenting with it and refining the technique.

Original Sources

Part 2 explains that the technique uses a buffer-overflow vulnerability to produce ROM data as video/display output. The dumped data has visible flaws, but the hackstring still worked and was further experimented with.

Part 1 describes the dumped data as raw binary. The general idea is to push data from the calculator's RAM toward an area that can be displayed on the screen, allowing the output to be captured and processed.

How ROM Dumping Works

ROM dumping is different from the text and image methods described earlier. Instead of intentionally creating text or images, a carefully constructed hackstring pushes internal calculator data into an area that can be displayed.

The general process still uses the same overflow vulnerability.

Basic Setup
  1. Enter STAT sub-mode 0.

  2. Store r in a variable.

  3. Use this to obtain an illegal variable.

  4. Switch to LINE IO.

  5. Enter VERIF.

  6. Evaluate the variable.

After this, press ← to reach the overflow area. The original method then uses the overflow around the A=0 area.

The SP Offset

The original documentation identifies an SP offset of 44.

The position is measured from:

99999|A=0


The important position is 44 characters from that point.

In practice, after you reach A=0 in the basic overflow, enter 44 characters starting from the A=0 position.

After those 44 characters, enter:

->D-00%%


Replace %% with any character.

For example, the important sequence is:

A=0

12121212121212121212121212121212121212121212

->D-00%%


Do not use Ans. for this part. Use 12 or another character.

After entering ->D-00%%, continue spamming:

0


Keep doing this until you see the memory indicator.

Once the memory indicator appears, press:

AC, ←, =


This is the point where the ROM data can be produced as display output.

Why Dump the ROM?

Dumping the ROM can be useful for understanding things such as:

  • The calculator's architecture

  • How functions are implemented

  • Potentially exploitable functions

  • Creating an emulator

  • The calculator's binary

  • Disassembly

  • Internal calculator behaviour

The original Reddit documentation describes the output as raw binary, which can then be processed and potentially disassembled according to the calculator's architecture.

Problems With ROM Dumping

ROM dumping is not simple and has several problems.

Some hackstrings are extremely long, and running the process can take around 20 minutes.

There are also stability problems. Parts of the screen or video output sometimes do not move correctly, which can make the dumped data difficult to capture.

The hackstring and its offset may also need further refinement.

Another problem is the calculator's limited RAM. Large programs and additional modes are difficult to work with because there is not much memory available.

Because of these issues, getting a complete, clean ROM dump is complicated.

Raw Binary Output

The general process can be thought of like this:

ROM data

   ↓

Overflow

   ↓

Display area

   ↓

Raw binary on screen

   ↓

Capture

   ↓

Binary file

   ↓

Further analysis / disassembly


Additional ROM Dumping Information

There apparently are more ways to dump the ROM that have been discussed in Discord (I am not in the Discord). There are also many other things that can be experimented with around the overflow area by changing the characters, functions, and positions.

Screen Warning

While experimenting with basic overflow, we discovered that a line can sometimes appear across the screen after completing a hackstring. This can happen while doing different things with basic overflow.

If a line appears across the screen, be careful, we think it sets the power to DC instead of AC, which can damage the liquid crystals.

For example, this can happen when experimenting with the glitched diagnostic menu and pressing AC.

If this happens, pressing:

ON


can reset the calculator and restore its original properties.

Be careful when experimenting with basic overflow, especially when testing different characters, functions, and glitches.


Experimenting With Variables

Another thing we have been experimenting with is writing values into variables such as:

A

B

C

D


This is more complicated than the normal text-writing method.

The values do not always appear to behave like normal text. They seem to contain hexadecimal digits or other internal values.

Interestingly, A, B, and C can sometimes appear the same even when different inputs were used.

There is also odd/even behaviour in some of these experiments.

This is still being experimented with, so there is a lot that is not fully understood yet.

Other Useful Links

These can be useful when looking into the calculator's CPU, binary data, and ROM structure.

 

 

More Experiments

There are still many more things we have discovered and experimented with on the fx-82AU PLUS II 2nd Generation.

A lot of these experiments involve the basic overflow and trying different characters, functions, patterns, and positions. Some produce interesting results, while others cause glitches or crashes. There are also many results that we still do not fully understand like one where the calculator crashes and then generates a table full of errors. 

Token Table

We have also been working on documenting the calculator's internal token system.

The token table is available here:

fx-82AU PLUS II 2nd Generation Token Table

The table is not completely accurate or complete yet.

We have finished writing all the normal characters, while we are still figuring out the small characters, which are not completely done. There is also one small character that looks somewhat like a music note.

Some of these characters are difficult to document digitally because they can look like strange pixels rather than normal characters.

ilovecats4606 created the token table, and FX82_Calc4Life and I are continuing to work on expanding and improving it.

Hopefully, by the end of the year, we can have a much more complete token table.

Other Useful Resources ROM Dumping Calculator Hacking CPU / ROM Resources Credits

A lot of the discoveries in this post came from me and my friends, through experimenting with the calculator and testing different combinations.

ROM Dumping

The original ROM dumping method was discovered by DaCoolCat123. The method and its development were documented through the Reddit posts linked above.

Other Research

Thanks to:

  • FX82_Calc4Life

  • EnderFire09

  • DaCoolCat123

  • Other friends who has experimented with the fx-82AU PLUS II and shared information

Final Notes

This is a collection of the methods, experiments, and discoveries we have found while experimenting with the fx-82AU PLUS II 2nd Generation.

There are still a lot of things we do not understand yet. Some glitches are easy to reproduce, while others depend on very specific characters, positions, or sequences.

If you find something that is incorrect, missing, or incomplete, feel free to point it out. If you discover another interesting glitch, token, function, overflow method, or anything else related to the calculator, feel free to share it as well.

This is also my first forum post, so corrections and additional information are welcome.

This is purely for educational purposes. If these methods are used for other purposes or cheating, I am not responsible for any problems or damage caused.

Lastly, sorry for uploading so late.

 

 

Codev-Unified


  • Codev-Unified and chillkid like this


#64372 Need help with Casio SB-88 Cable.

Posted by NIPro on 15 May 2024 - 02:28 PM

Hi, I got the FA-123/124 SB-88 cable, but where can i get driver for this cable, I know that there is a cd that includes driver (Casio usb to rs232 //usb2kpx) and software for this cable, I didn’t receive any CD. Help is really appreciated!:)


  • fx-9750GA+ and NIPro like this


#63581 Ackermann function

Posted by piu58 on 13 November 2020 - 06:31 PM

'ProgramMode:RUN
"OPERATOR"?->F
"OPERAND"?->N
F+1->Dim List 1
F+1->Dim List 2
For 1->I To F+1
 0->List 1[I]
 1->List 2[I]
Next
-1->List 2[F+1]
Do
 List 1[1]+1->V
 1->T
 1->I
 While T=1
  If List 1[I]=List 2[I]
   Then V->List 2[I]
  Else 
   0->T
  IfEnd
  List 1[I]+1->List 1[I]
  I+1->I
 WhileEnd
LpWhile List 1[F+1]<>N+1
V


  • pan.gejt and mubarak like this


#60636 FX-82/-83GT/-115/-991ES PLUS Hacking

Posted by flyingfisch on 04 November 2016 - 01:21 PM

Hi guys,

 

Unfortunately, we can't allow linking to copyrighted material on this forum. This is because our main source of revenue for keeping the site online is Google ads, and they have a strict policy regarding copyrighted material. I've removed the illegal links from this thread.

 

I don't think any of you intended to be malicious, so I'm not issuing any bans or warnings, just letting you guys know what's going on.

 

To clarify, pictures of PCBs, "hackstrings", and discussion about reverse engineering the calculators is still allowed, it's just the copyrighted material that isn't.

 

Thank you for your cooperation, and happy hacking! :)


  • SopaXorzTaker and anon34 like this


#53505 Bode Diagram For Fx-9860g

Posted by amin_heidari on 18 December 2011 - 06:34 AM

i recently write a program to plot Bode Diagram for fx-9860g

features:
1-plot magnitude and phase
2-semi logarithmic plot
3-Generate logarithmically spaced frequency with log space function(like logspace.m in MATLAB)
4-Correct phase angles to produce smoother phase plots with unwrap function(like unwrap.m in MATLAB)
5-plot system that have Dead Time(e^(-s))


PREVIEW
Posted Image

see below link that plot a system with MATLAB and ti 89:
http://csserver.evan...bode_plots.html

i plot that system with my casio-fx 9860g(it completely look like MATLAB plot):


Posted Image
transfer function

Posted Image

Magnitude Plot from a casio fx-9860g

Posted Image

Phase Plot from a casio fx-9860g

Posted Image

Magnitude Plot from a TI-89

Posted Image

Phase Plot from a TI-89

Posted Image

Bode Plot from Octave/MATLAB (freq. in rad/s)


Email: amin_heidari66 AT yahoo.com
:rolleyes:
  • sma4t and OKKA like this