qq1122 发表于 2025-7-28 15:24:36

[En]5800p: The exception and functional upgrade of fx-5800p

本帖最后由 qq1122 于 2025-7-31 11:10 编辑



This is a translation and some additions of BCX74687's post. For original post please see this.
The operating instructions were from the translator (qq1122). Preface and some comments are from BCX74687.
Reproductions are allowed, but Don't use this for bussiness.
This post is also avaliable on Casio-planet.
中文版请参见两斤时间的这个帖子
语言翻译不一定100%准确。Language translations may not be 100% accurate.



Casio's fx-5800P, which was released in 2006, has been in production for nearly 20 years.This not only reflects the important position of fx-5800P in the fields of engineering and education, but also exposes the gradual decline of the calculator business, especially on engineering.
The fx-5800P was once developed a computer connection cable and program around 2018, which is also a great breakthrough in engineering, but because the calculator connection cable is very expensive and difficult to buy, this upgrade has gradually been forgotten by people.
Until today, we launched another attack on fx-5800P, successfully found the abnormality of the calculator and completed the functional upgrade.
Important Note: Function upgrade requires the cost of clearing your programs.
If you want to try, a backup is strongly recommended, such as transferring your programs to another calculator.



If you want to let your calculator act abnormally, the first thing is to overflow.The following is the overflow process:
1. and enter the PROGRAM mode,then select NEW and create a new formula, I named it OUTTEST
2. In the formula editing interface, press then press until it is full and you can't input anything more
3. Return to COMP mode, (setup), to Adjust lineIO, and find the previous formula(OUTTEST), , a "syntax error" appears, , press until it cannot be typed
4. and the overflow is succeeded!
The following are two small abnormalities:
1. Lock the machine: (press the p button to recovery)
Replace the second in the fourth step with [=], and your calculator is locked.
2. Strange errors: (will be mentioned later)
After the fourth step, [=], , (if you don't change mode through ) The entire machine will be abnormal, and executing the program will produce some strange errors.
The abnormality may delete your programs!
If this happens, do not use to shut down and save the progress.
Just press the p button on the back (thanks to casio's memory protection) and the program will be restored.

Effect :
https://www.cncalc.org/data/attachment/forum/202507/19/150142xho6jjtovvoohwoy.jpeg



in TABLE and RECUR]
Enter a operator which includes a box in TABLE and RECUR's MathIO mode and press to save it into the memory,
ignore the error, and switch to COMP mode ,then adjust lineIO. Enter TABLE or RECUR again then the box will also appears,
(you can delete other items and only leave the box. Press twice, and there will be a Syntax Error, the box is saved into memory again, to enter COMP, and select to adjust MathIO, to return to TABLE, and only leave the box there.)
and it can also overflow according to the operations above.
https://www.cncalc.org/data/attachment/forum/202507/20/162355weekcav794x4199i.jpeg



People who have studied other casio calculators must be familiar with character converters. It is based on the conversion between double-byte characters and single-byte characters.
After our research, fx-5800P also has double-byte characters (the character table is in the attachment), so a character converter naturally came into being.
But this converter only supports double-byte characters conversion to single-byte characters, so we also calls it a 'one-way character converter'.
The following is the instructions for converting characters:
1. Input the box. There are currently two ways:
i) Under COMP and lineIO ((setup)), call a boxed fmla (formula)
ii) In TABLE (MODE7) or RECUR (MODE6) mode. The operations are above.
*you can delete other items and only leave the box
2. Make sure that your box is at the end (that is, there are no characters behind the box)
i) Convert a character:
move the cursor to the front of the box, , enter a character you need to convert, , the converted characters will appear behind the box.
ii) Convert two characters:
move the cursor to the front of the box, , enter two characters you need to convert (the result will be the second character) ,
,
enter another character you need to convert (the result will be the first character), , then the converted two characters will appear behind the box.
Effect :
https://www.cncalc.org/data/attachment/forum/202507/19/152747a0kcodzhxcicdxgx.jpeg
*This one-way converter can also be used on CNX and CNCW. But the disadvantage is that it can only convert double-byte characters to single-byte characters.
*Characters that can be converted include: # ' & @ , etc., see the comparison table for details:
https://www.cncalc.org/data/attachment/forum/202507/26/153019eas8wxx82slc64wl.png
Currently, according to our findings, symbol ' may be used for comments, while symbols & and ' appear in built-in formula names, symbol ~ appear in fmla trans of self-test.
No use of # has been found yet.




We have been understood the Basic overflow, and the upgrade method is obvious.
In fact, this function upgrade is to enter a fusion mode (not comp mode, but also has the characteristics of comp).
These functions can be upgraded through the following instructions:
1. Pull out lowercase letters, Greek letters, subscripts, etc. in the program
2. Use program commands in Formula
3. Use constants and other instructions in baseN programs
4. Use >, <,≥, ≤, ≠, = in the table to determine whether the conditions (0 and 1) are met
There's an advanced example program by BCX74687:

But please note that these functions come at the cost of your data disappearing.
Therefore, it is recommended to prepare 2 fx-5800Ps and use a spare machine to transfer the "advanced" program to the main machine.
The instructions are as follows:
1.(TABLE)(MthlO)
2. and input "0" as more as you can, then [=][=]
3.(LinelO)
4.(to overflow)[=][=]
5.(MthlO)
6.[+]then input as more as you can
7.[=]
8.[+]then input as more as you can
9.[=]
10.[+] keep inputting and the screen will go blank
11.Once the screen goes blank, input more than 14 numbers and wait for obvious lag
*Steps 1-11 will cause the 'unmapped write'. An alternative way will be mentioned later.
12.and enter a mode
13.(OFF)
14. to turn on, the calculator automatically resets and deletes all data, but the screen just now will be recovered, and the comp mode will be merged with the mode you just selected.
Notice: Run BaseN programs and switch modes will clear the merged effect.
In step 12,
If you use to enter program mode, after turning on,press to switch LinelO,
and then create a new COMP program,
in the program editing interface, press (ALPHA), you can enter lowercase English letters, Greek letters, superscripts, etc. in your program.You can also create a new FMLA or BASE-N program, under the editing interface, can enter the function menu that is no different from COMP, and you can use program commands, stat, reg, etc. in your formula or BASE-N program.
If you use to enter TABLE mode, similarly, press to switch LinelO,
can enter the function menu that is the same as comp,
can enter the verifying symbol for judging the expression's true or false,
after the table is generated, if the expression is true, f(X)=1, and if it is not, f(X)=0.
If you use to enter EQN mode, under the equation input interface,
can enter the function menu that is the same as MAT, and <Edit Row> and <Edit Column> works normally.
*So, the essence of the eqn input interface may be a mat.




In steps 1 to 11, the following instructions also work:
(Please see the original post. Translate of this part is currently not available.)

After abnormal shutdown, the 'set version' of Fmla trans in the self-test will be available, but the calculator will crash when trying to transfer.
https://www.cncalc.org/data/attachment/forum/202507/19/185828q0o5f20at5uddlb9.jpeg

Overflow in any inputting interface (except the naming interface) :
Follow the Steps 1-11 above and cause the 'unmapped write'.
Then input any content in any input box you want to overflow.
to shut down, then input any content after booting.
Effect:
https://www.cncalc.org/data/attachment/forum/202507/19/185828q0o5f20at5uddlb9.jpeg   https://www.cncalc.org/data/attachment/forum/202507/19/185847qfzlylhddq1t1dhv.jpeg   https://www.cncalc.org/data/attachment/forum/202507/19/185911pmkkfff7q6ojkkah.jpeg




BCX74687 (1kgTime)
CALCF (for telling me how to input the "box")
Telecomadm1145 (The creator of CasioEmuMsvc, who said that the box of 5800p is "nothing")
CNCALC



艾哈迪利 发表于 2025-7-28 15:28:54

为什么不用中文

BCX74687 发表于 2025-7-28 16:24:13

good{:13_340:}

qq1122 发表于 2025-7-28 19:07:51

艾哈迪利 发表于 2025-7-28 15:28
为什么不用中文

中文版在BCX74687那里
页: [1]
查看完整版本: [En]5800p: The exception and functional upgrade of fx-5800p