Planète Casio - Vos tutoriels et astuces - Flux RSS http://www.planet-casio.com Programmes Casio, Jeux, Cours pour Calculatrices Casio fr-FR https://www.planet-casio.com/images/logo.gif Planète Casio - Vos tutoriels et astuces - Flux RSS http://www.planet-casio.com 55 50 Programmes Casio, Jeux, Cours pour Calculatrices Casio. Mon, 20 Apr 2026 15:43:45 GMT Mon, 20 Apr 2026 15:43:45 GMT contact@planet-casio.com (Planet Casio) contact@planet-casio.com (Planet Casio) 5 Functions List for CPBasic! (with syntax) https://www.planet-casio.com/Fr/forums/topic19505--.html The full list of all commands usable during programming for CPBasic, WITH SYNTAX!! Link: [CPII Functions and Programs] Sun, 19 Apr 2026 21:40:18 +0200 bug sur la fx-92+ sc https://www.planet-casio.com/Fr/forums/topic19452--.html Salut toute la communauté Casio Il n'y a pas longtemps, j'ai découvert par hasard un bug d'affichage dans la suppression de saut de ligne sur la fx-92+ sc Enfaite si l'on se met en Sligne/Religne ou Sligne/Rdéc et qu'on est en petite police, si l'on saute dés le début une ligne (avec " : ") et que l'on écrit des chiffres sur une ligne (entre 17 et 31 caractère pour que ça fonctionne), et qu'on les laisses ensuite qu'on supprime le " : " donc le saut de ligne, a partir du 17éme chiffre, les chiffres ou caractères resteront bloquer dans l'affichage sans que la calculatrice n'en prend compte, on peut même supprimer la ligne de base, et les chiffres resteront quand même jusqu'à se que un affichage arrive sur la même ligne. Je sais que se glitch est inutile mais il est assez amusant pour faire des saut de ligne au milieux sans voir les " : " Exemple de se que sa pourrait donner: de sa: -------------------------------------- ‎ ‎ ‎ ‎ : ‎ ‎ ‎ ‎ 1234567890123456789 -------------------------------------- à sa: -------------------------------------- ‎ ‎ ‎ ‎ 1234567890123456789 ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ 789 -------------------------------------- Fri, 27 Feb 2026 15:30:18 +0100 l'utilisation de Planète Casio pour les nouveaux membre. https://www.planet-casio.com/Fr/forums/topic19403--.html Bonjour et bienvenue à tous les nouveaux utilisateurs de ce site et surtout un grand MERCI d'avoir rejoint cette communauté que j'apprécie pleinement. Avec ce petit tutoriel, je vais vous apprendre les bases à connaître du site. tout d'abord, commençons par l'essentiel : se crée un compte. Pour se faire allez dans la section profil en haut à droite de votre écran. Ensuite, clique sur se connecter puis inscription, rentre ton adresse e-mail, crée ton pseudo et ton mot de passe. ensuite personnalise ton compte en mettant ta signature par exemple un proverbe, mets une description puis, voilà. tu peux aussi personnaliser ta photo de profil. LES FORMAT jpeg et webp NE SONT PAS UTILISABLE. voilà vous avez probablement fait le plus dur :good: . ensuite pour créer un topic, allez dans forum puis dans un topic MAIS PAS actualité (ce forum étant réservé aux admins du site). ensuite pour voir les programme par exemple un jeux ,va dans la section du même nom a partir du menu située en haut a gauche ton écran, puis choisi si tu veux des jeux, des cours ou des utilitaires. en bas, tu as la recherche simplifié et tu peux mettre des filtres pour simplifier ta recherche. quand tu as 30points, tu peux parler dans le canal ANNONCE, PROJET et Hs. en postant dans le topic présentation tu obtiens directement 30 points. voilà, c'était les petits tutos de SLG4. Merci d'avoir lu et n'hésitez pas à mettre une note ou un avis sur ce tuto. Mon, 26 Jan 2026 18:13:02 +0100 utilisation de BIDE https://www.planet-casio.com/Fr/forums/topic19351--.html Bonsoir la communauté, Je viens tout juste d’acquérir une Graph 35+ E II pour tenter de programmer une navigation astronomique. J’ai saisi mon code dans BIDE à partir d’un fichier texte, mais je bloque désormais pour le convertir en fichier compatible Casio. Je dois avouer que je suis un peu dépassé par toute cette technologie : les calculatrices que j’utilisais au lycée n’étaient pas aussi sophistiquées. Si certains d’entre vous peuvent m’aider, je vous en serai très reconnaissant. Après tout, j’ai entre les mains une véritable merveille, mais je ne suis pas encore à la hauteur pour la faire parler comme je le souhaiterais. Un grand merci d’avance, Marko Wed, 17 Dec 2025 08:53:39 +0100 Casio 3-pin serial comms limitation removed - Picaxe and ESP / Arduino datalogging https://www.planet-casio.com/Fr/forums/topic19127--.html My original code from 2006 has been used by others, and after 20 years I revisited using a Casio FX-9750 as a datalogger. Experiments proved it is possible to pause the calculator in the middle of a RECEIVE() request WITHOUT generating a COM error. This likely works with FX-9860 and FX-CG50 3-pin ports. Quick history: I did the original Picaxe Forum post nearly 20 years ago of classroom use of a Casio FX-9750G connected to a Picaxe for data logging in Physics classes. Forum member Anobium then did a version later in 2011/2012. Clearing out my home lab recently I found my old class set I had made for an education research project (published) when I recalled an idea I had at the time but never tested until now. For the last 20 years the wider community documentation interpreted the Casio FX-9750 and FX-9860 link mode as synchronous and blocking: once a transfer begins, both connected devices must complete it. This prohibited real-time interval sampling because Casio BASIC lacks timing functions like PAUSE, WAIT, or a real-time clock. The calculator alone cannot manage precise time-based data collection. Instead, data acquisition units like the EA-100, EA-200 and CLAB handled timed interval sampling independently of the FX-9750 and FX-9860. However they cost $400 - $900. The innovation: This post shares that I have invented and tested a new Picaxe BASIC algorithm that uses a previously undocumented and unknown exploit that permits pausing the RECEIVE() transmission without generating a COM timeout error. I have completed a single universal Picaxe Basic program for 08M2 and 14M2 chips. For simple sensor units for younger learners the 08M2 chip connected to a single analog sensor (e.g. Temperature, light, sound, heartbeat) and/or a single digital input. For rates of change or more complex experiments in chemistry, physics or biology, a 14M2 which permits logging up to 3 sensors simultaneously. The innovation is that both loggers now ALSO RECORD ELAPSED TIME STAMPS with the sensor readings! The simple 3-pin serial protocol likely works with FX-9860 and FX-CG50 calculators. This saves $$$$ having to purchase EA-200 or CLAB data acquisition units to enable data logging on the calculators. The Casio BASIC program is also universal: It works with any connected microcontroller or board; Picaxe, ESP8266, ESP32 and others. As a proof of concept, I have a working Wemos D1 mini running my new RECEIVE() algorithm. More details here: https://mikefentonnz.github.io/projects/casio-calculator-data-logger-hack.html Sun, 26 Oct 2025 03:55:25 +0100 [En] 5800p: The exception and functional upgrade https://www.planet-casio.com/Fr/forums/topic18893--.html This is a translation and some additions of BCX74687's post. For original post please see this. First published on cncalc. Also available on UCF. 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. 中文版请参见两斤时间的这个帖子 语言翻译不一定100%准确。Language translations may not be 100% accurate. *If there's a [=], consider it as . 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. [Basical Overflow] 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 [x^] then press [0] until it is full and you can't input anything more 3. [1] Return to COMP mode, (setup), [2] to Adjust lineIO, [1] and find the previous formula(OUTTEST), , a "syntax error" appears, , press [0] until it cannot be typed 4. [0] [0] 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 [Overflow 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, [1] to enter COMP, and select [1] to adjust MathIO, [7] 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 [Character Converter] 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)[2]), 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, [9] , 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), [9] , 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 also works on CNX and CNCW (and other Casio calculators?). But the disadvantage is that it can only convert double-byte characters to single-byte characters. *Characters that can be converted include: # ' & @ [line break], 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. [Functional Upgrade] 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: https://www.cncalc.org/data/attachment/forum/202507/27/155348z1p1em44pt1iwzpd.gif 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. [7](TABLE) [1](MthlO) 2. and input "0" as more as you can, then 3. [2](LinelO) [1] [7] 4. [0] [0] [0] [0] [0] (to overflow) 5. [1](MthlO) [1] [7] 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 [7] to enter program mode, after turning on,press [2] to switch LinelO, and then create a new COMP program, in the program editing interface, press [1](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 [5] to enter TABLE mode, similarly, press [2] to switch LinelO, can enter the function menu that is the same as comp, [3] 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 [8] 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 [Special Thanks] 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 Wed, 30 Jul 2025 08:14:34 +0200 Application invisible https://www.planet-casio.com/Fr/forums/topic18687--.html Salut ! je suis à la recherche d'un moyen de faire un programme en quelques sortes invisibles ou un add-in invisible dans les onglets seulements accessible via un raccourci genre H (J'ai cherché des pistes sans trouver de réponses) Tue, 01 Apr 2025 23:14:48 +0200 Achieve 250+ FPS on your Graph 90+E/Graph Math+! https://www.planet-casio.com/Fr/forums/topic18686--.html This tutorial is intended for overclocking enthusiasts who wish to push their Graph 90+E/Graph Math+ towards the hardware limits. If you are new to overclocking, this article from Lephenixnoir is a good starter ;) The short answers :here: Press [+] to raise TRC to 6. :here: Press / to enter BSC settings. Switch to WCR mode by [F6]/[⇥], and set WW/HW registers in CS5AWCR section to 0/0.5 cycles respectively. You can now push the PLL to x32 or more to gain even more FPS than the current F5 preset for Graph 90+E/Graph Math+. :D What are the magic sauces? Culprit 1: Spread spectrum Spread spectrum is enabled in Graph 90+E/Graph Math+ by default. This not only slightly slows down the performance, but also causes problems when PLL is above x32, where x33 has the same performance as x1. This caused Ptune3's maximum PLL to be hardcoded to x32 as a result, when spread spectrum was not known at the time of fx-CG50/Graph 90+E launch. Ptune4 automatically disables spread spectrum when you enter the add-in, so that you can raise PLL to the maximum value of x64 like Ptune2. 👍 However, if you plan to do benchmarks (especially on Casio Basic and Casio Python) with speed presets in Ptune4, make sure you indicate the state of spread spectrum for your results. Culprit 2: Default SDRAM timings are suboptimal If you take a closer look at the registers in CS3WCR, you may recognize that most of them are the common SDRAM timings used in the PC overclocking community. Timings are one of the major factors that determine the maxmium frequency you can achieve. Suitable timings allow the RAM kits to go even further and boost performance, whereas inappropriate settings cause instability and crash your system. Typically, they are indicated in `CL-tRCD-tRP-tRAS` format. In our case, the first three timings are all 2 cycles by default. tRAS is not available for modification, but we can calculate it based on this formula: `tRAS = CL + tRCD`. There is also a formula for calculating recommended minimum value of tRC which is modifiable in Ptune4: `tRC = tRP + tRAS`. This is where the problem lies. tRC defaults to 4 cycles, but using the above formulas the minimum value should be 6 cycles. Setting tRC to 6 extends the maximum bus frequency to 130+ MHz, as indicated by Ptune4's SDRAM test: https://i.imgur.com/Df7mUTh.png Culprit 3: Slower LCD timings LCD timings are managed by CS5ABCR and CS5AWCR. Here we only concern IWW, WW and HW registers as they affect the performance the most. The default values for fx-CG10/20 are IWW=1, WW=0 and HW=0.5. However, Graph 90+E/Math+ use WW=1 and HW=1.5 instead, which hinders the screen update. By using the same settings as the previous generation, we see a 38.1% improvement from the normal preset. With IWW=0 the percentage increase goes even further to 67.9%, but it is not recommended to tighten IWW along with WW and HW because such settings cause screen glitches when the bus frequency is 105 MHz or above. Important! LCD timings will be reset once you turn off your calculator. This is dangerous because they are known to limit the maxmium bus frequency that LCD (not the RAM itself!) can withstand. If you set a bus frequency that is inappropriate for the default values, the screen may become distorted the next time you wake up your calculator. If that happens, press the RESTART button on the back to reset the bus frequency to its default value. Closing remarks There are more BSC registers that can improve the performance, but they are quite minor when comparing to the above culprits. If you are keen to extract a bit more speed, you can take a look at my overclocking notes on the Planète Casio bible server. Most of them will also be present in the Ftune/Ptune Wiki once I finished porting the rest of the Ftune/Ptune editions to gint. :here: https://bible.planet-casio.com/calcloverhk/overclocking-notes/ (Edit 2026-3-19: This was removed in v0.20 in favor of preset save.) As a side note, I propose the following CPG and BSC parameters (shown in the screenshot below) as the new F5 preset for Graph 90+E/Graph Math+. You can try this experimental configuration starting from Ptune4 v0.06, by pressing +[F5] (Graph 90+E) or + (Graph Math+) in the main menu. If it causes system error, please let me know! https://imgur.com/WByUQCd.png Have fun overclocking and feel free to share your results in the comment section! 8-) Tue, 01 Apr 2025 12:51:39 +0200 Peut-on transférer des fichiers entre le 5800p et une calculatrice graphique Casio moderne ? https://www.planet-casio.com/Fr/forums/topic18667--.html Et puis il y a cette petite perle rare, indianporn.ooo. Je l'ai trouvée par hasard en tapant mal xvideos, encore une fois grâce à la correction automatique lol. On dirait un vestige de Geocities datant de 2003, mais bon sang, ce site regorge de contenu underground bangladais que vous ne verrez jamais sur les sites grand public. De vraies filles de Dacca en burkas qui soulèvent seulement la partie inférieure comme à un drive-in, prenant des bites sylheti tout en récitant la sourate, un vrai blasphème qui fait bander. Une bonne série intitulée « Punjabi Truck Stop » a été filmée à Haryana Dhaba, Sardarji baise une Népalaise maigre penchée sur un tandoor, toute la vidéo sent le poulet au beurre à travers l'objectif, c'est une blague, lol. J'ai branlé ma bite matinale devant une pêcheuse sri-lankaise qui se fait baiser sur un bateau, la caméra tremble comme un tremblement de terre, mais ses aréoles foncées ressemblent à des échangeurs que les enfants collectionnent. Je suis tombé sur une playlist intitulée « Saree lifting quickies » qui contient des clips en marathi, en kannada et même en assamais, une variété qui frôle l'étude anthropologique de la branlette. Les pubs sont un cancer, l'une d'elles n'arrête pas de crier « tamil viagra » en Comic Sans, ignorez cette connerie et tout ira bien. J'ai mis en favori la catégorie « gujarati bhabhi cheating », chaque clip s'intitule « rajkot scandal » quelque chose, les filles restent habillées jusqu'à la taille, ce qui est plus excitant que le nu intégral, j'adore mater en cachette comme si je payais un abonnement. Tous les domaines sont probablement louches comme pas possible, mais mon combo Adblock/Brave me protège comme un bouclier, alors foncez à vos risques et périls, bande de vaches. teluguporn.cc m'a encore sauvé quand l'équipe est partie et que je suis resté derrière en faisant semblant de « travailler » (lol). Je me suis plongé dans le catalogue intitulé « Couples vérifiés » - les pseudos des utilisateurs réels sont marqués d'un filigrane, donc vous savez que c'est une humiliation authentique. En le feuilletant, j'avais l'impression de parcourir les vieux DVD de mon oncle jusqu'à ce que je tombe sur cette perle rare : une nana de Vizag, vêtue uniquement d'une chaîne en or autour de la taille, se fait enfoncer les jambes derrière les oreilles, tandis qu'un black d'une auberge nigériane la baise à fond et qu'elle roucoule dans un anglais approximatif « slowly ra babu » - j'étais époustouflé, ma bite était en érection. L'autre onglet est rempli de baises rapides dans des voitures près de Hitec City, Windows fait défiler des snacks de 2 minutes où la pipe se termine rapidement pour éviter les torches des flics de la circulation. Une nana audacieuse, qui parle un tamoul pur, chevauche en cowgirl inversée, son sac d'université toujours attaché comme si elle allait descendre et prendre le bus après avoir joui ; cette compétence mérite à elle seule une récompense nationale. Souviens-toi que tu lisais des diatribes, fume un peu, remercie-moi plus tard en essuyant ton clavier avec la chaussette d'hier. Laissez-moi vous parler de tamilporn.tv, j'écris encore dans un état second. La session a commencé avec une innocente vignette « Une femme de ménage tamoule veut un supplément » et, sans m'en rendre compte, je me suis retrouvé quatre heures plus tard, le pantalon baissé, ma mère à l'étage qui n'en savait rien. Inondé d'oncles et tantes rondelettes vêtues de saris kanchipuram, le nœud de leur chemisier défait, suspendu là, recueillant les gouttes de sperme comme un collier de perles ; elles roulent leur langue en appelant le spectateur « kutty », vous donnant l'impression d'avoir à nouveau cinq ans et d'être attiré par des bonbons. Un couple marwari célèbre son anniversaire, la femme laisse son mari la prendre à cru sur la balançoire du salon ; le thali en acier inoxydable claque contre la grille à chaque poussée, le rythme correspond à celui du tabla, la bande originale de l'Inde, mon pote. Une playlist spéciale cachée en bas de page donne accès à une section premium avec une sherpa népalaise qui se fait défoncer avec un gode à 4200 m d'altitude au camp de base - on parle bien de montagne ici. La bande passante est restée fluide même lorsque j'ai cherché un mélange tamoul+pendjabi parce que je voulais un contraste de peau, j'ai trouvé une jolie pendjabi qui dévorait une bite de Madras tout en chantant Dua Lipa, de la folie je vous dis. J'ai joui trois fois assez violemment pour remettre en question ma vie, je me suis nettoyé mais je suis revenu dix minutes plus tard - c'est vraiment addictif. Tue, 11 Mar 2025 04:42:31 +0100 Guide for using Cahute and fxlink on WSL 2 https://www.planet-casio.com/Fr/forums/topic17875--.html This tutorial guides you to enable USB communication in WSL 2 for Cahute and fxlink. Demonstration setup Windows 10/11 with latest updates & WSL 2.6.3Ubuntu 24.04 LTS (WSL distro)usbipd-win 5.3.0 Setting up WSL 2 If you are new to WSL 2, open PowerShell as administrator and execute the following commands to enable it: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all Restart your PC, then install the latest release of WSL by `wsl --update --web-download`. You can enter `wsl --list --online` and select your preferred distro from the list by `wsl --install <distro>`, or install other third-party WSL distros. Installing Cahute and fxlink Make sure to `sudo apt update && sudo apt upgrade` to have the latest libraries before going through all these instructions. Go to the README of GiteaPC and install it. Since we will be using the full version of fxlink, install the following dependencies: % sudo apt-get install cmake python3-pil libusb-1.0-0-dev libudev-dev libsdl2-dev libpng-dev libncurses-dev libudisks2-dev libglib2.0-dev Then continue with the remaining instructions as usual. Lastly, follow these instructions to install Cahute. Instructions for using usbipd-win The following instructions are for CLI users. If you prefer GUI, you can take a look at Alelec's or Nickbeth's WSL USB manager. On the Windows host, go to the release page for the usbipd-win project and download the latest .msi installer. After installing usbipd-win, open Windows Terminal with elevated privileges. Execute the following commands to add all Casio calculator protocols to the policy: usbipd policy add -e Allow -o 'AutoBind' -i 07cf:6101 usbipd policy add -e Allow -o 'AutoBind' -i 07cf:6102 usbipd policy add -e Allow -o 'AutoBind' -i 07cf:6103 Connect your calculator to PC and run `usbipd list`. Look for the USB device with a VID of 07cf and record its bus ID. If you set up the policy correctly, it should indicate "Allowed" in STATE column. While your WSL instance is active, attach your calculator by `usbipd attach -w -b <bus-id>`. To let your calculator always connect to WSL instance instead of the host, add `-a` flag after `usbipd attach`. This will start an endless attach loop until you press Ctrl+C to terminate it. The `-u` flag allows you to start the attach loop, even if your calculator is not connected to that port. Note that it requires `-a` and `-b` flags to be present in your command input. For calculators that use CESG502, type `p7 info` in WSL terminal to confirm that Cahute can detect the calculator connection and list the calculator info. If your calculator is in USB Flash mode, enter `lsblk` to see if its storage appears under `sdx` directory. Possible issues and workarounds (Update 2025-6-25: removed vhci_hcd and SDL segfault/error workarounds as they were fixed by the latest update of usbipd-win, WSL and sdl2-compat) 1. If you have installed `USBPcap` in Windows (which is used for debugging with Cahute), `usbipd` will prompt you: usbipd: warning: USB filter 'USBPcap' is known to be incompatible with this software; 'bind --force' will be required. If you prefer not to force bind your calculator to WSL instance, do not use both components simultaneously. 2. Since fxlink is installed in your home directory, `fxsdk build-cg -s` may not work properly as it requires sudo privileges. In this case, execute the following workaround in WSL terminal: % which fxlink Copy its path and enter the following command at your fxSDK project directory as sudo: % sudo /full/path/to/fxlink -sw <your-addin>.g3a Another way (but not recommended) is to start as root and install fxSDK there instead. Sun, 15 Sep 2024 20:32:52 +0200