Planète Casio - Autres questions - 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 - Autres questions - Flux RSS http://www.planet-casio.com 55 50 Programmes Casio, Jeux, Cours pour Calculatrices Casio. Mon, 03 Nov 2025 18:41:49 GMT Mon, 03 Nov 2025 18:41:49 GMT contact@planet-casio.com (Planet Casio) contact@planet-casio.com (Planet Casio) 5 keydown() never true in timer function https://www.planet-casio.com/Fr/forums/topic19129--.html when i call the function through the timer it doesnt detect the keydown (works when i call the function directly) static int Timer; int TimerFunc(){ int b = 0; while(1){ clearevents(); b++; dclear(C_WHITE); dprint(0,0,C_BLACK,"%d", b); dupdate(); if(keydown(KEY_EXIT)){ return TIMER_STOP; } } } int main(void) { Timer = timer_configure(TIMER_ANY, 50000, GINT_CALL(TimerFunc)); while(1){ clearevents(); dclear(C_WHITE); drect(0,0,20,20,C_BLACK); dupdate(); if(keydown(KEY_MENU)){ return 1; } if(keydown(KEY_EXE)){ timer_start(Timer); } } } Mon, 27 Oct 2025 12:05:04 +0100 Maybe small problem https://www.planet-casio.com/Fr/forums/topic19126--.html Hi guys , im trying to make a new program main idea is 3D Engine it run (.ve) file .ve file = vertices + edges And its a text format of course , should look like : # Simple Cube V -1 -1 -1 -1 -1 1 -1 1 -1 -1 1 1 1 -1 -1 1 -1 1 1 1 -1 1 1 1 E 1 2 1 3 1 5 2 4 2 6 3 4 3 7 4 8 5 6 5 7 6 8 7 8 As you see Vertices are some (x,y,z) points, edges are some line drew between them. In the casio add-in i use some projection to turn it 2D. My problem : the code look fine, and complies well, but nothing works when transfer it to the calculater :aie: all the build code as zip file : https://drive.google.com/file/d/1b-nFsRZMBSCLV4BtiZDfp80_Kfvfmoc_/view?usp=sharing I used some AI i can't deny it :lol: , i'm a bad at C So it will be nice if anyone could help me here. Mon, 20 Oct 2025 05:22:01 +0200 Can i change a bopti image https://www.planet-casio.com/Fr/forums/topic19120--.html modify its pixels on runtime Sat, 11 Oct 2025 20:34:08 +0200 GetKey() on fx-9860giii https://www.planet-casio.com/Fr/forums/topic19115--.html GetKey() from fxsdk freezes my program does it have something to do with the SH4A cpu? Fri, 03 Oct 2025 18:28:44 +0200 Erreur de syntaxe d'un programme https://www.planet-casio.com/Fr/forums/topic19106--.html Bonjour, je dois écrire un programme pour mon école mais à chaque fois que j'essai de le lancer la calculatrice m'affiche un message d'erreur de syntaxe. Quelqu'un pourrais m'éclairer ? à noter que le curseur ce met toujours à la fin du code (sur le dernier terme donc ici sur "IfEnd") Le Programme en question : ClrList 3 1 -> M Dim List 1 -> N If N < 2 Then "Ajouter points dans STAT" "List 1 = Est" "List 2 = Nord" Stop IfEnd N + 1 -> N While M < N 0 -> List 3 M + 1 -> M WhileEnd 1 -> I For 1 -> I To 20 Step 1 Lbl 2 "Point n‘ ?" ? -> A If A = 0 Then Break Else I -> List 3 I + 1 -> I Goto 2 IfEnd Wed, 24 Sep 2025 21:22:25 +0200 are g1a addins compatible with sh3 processors? https://www.planet-casio.com/Fr/forums/topic19098--.html i made a .g1a addin for my sh4 calc, will it work for calcs with sh3 cpus? Sat, 13 Sep 2025 11:25:29 +0200 rom overflowed https://www.planet-casio.com/Fr/forums/topic19048--.html I have gotten this error when going to build c:/users/username/documents/prizmsdk-win-0.6/bin/../lib/gcc/sh3eb-elf/10.1.0/../../../../sh3eb-elf/bin/ld.exe: C:/Users/username/Documents/PrizmSDK-win-0.6/projects/example/example.bin section `.rodata' will not fit in region `rom' c:/users/username/documents/prizmsdk-win-0.6/bin/../lib/gcc/sh3eb-elf/10.1.0/../../../../sh3eb-elf/bin/ld.exe: region `rom' overflowed by 228394 bytes collect2.exe: error: ld returned 1 exit status make[1]: *** [C:/Users/username/Documents/PrizmSDK-win-0.6/toolchain/prizm_rules:84: C:/Users/username/Documents/PrizmSDK-win-0.6/projects/example/example.bin] Error 1 make: *** [Makefile:108: all] Error 2 I tried changing the rom (rx) : o = 0x00300000, l = 1024k line in the prizm.x linker script to 2048k but then nothing changed even the overflowed by 228394 bytes stayed the same does anyone know why this may be happening Sun, 07 Sep 2025 22:04:12 +0200 how do i do saving properly https://www.planet-casio.com/Fr/forums/topic19021--.html i have this code: void Save(int field[4][4]){ int savef = open("/2048s.bin", O_WRONLY | O_CREAT | O_TRUNC); write(savef, field, sizeof(int)*4*4); close(savef); } at main: while(1){ if(keypressed(KEY_MENU)){ Save(field); gint_osmenu(); return 1; } } when it gets saved sucesfully, it always loads but sometimes it restarts the whole calculator and doesnt save Tue, 02 Sep 2025 19:16:57 +0200 miss read error https://www.planet-casio.com/Fr/forums/topic19000--.html imt trying to scan a 4x4 2d array for 0s using a dynamic array, but i get a miss read error when i run it on my calculator (9860giii), it happens on the line with krealloc Pos *FreeP = NULL; int FreePItems = 0; for(int y=0; y<=3; y++){ for(int x=0; x<=3; x++){ if (field==0){ FreePItems++; FreeP = krealloc(FreeP, FreePItems*sizeof(Pos)); FreeP[FreePItems-1].x = x; FreeP[FreePItems-1].y = y; } } } Fri, 29 Aug 2025 12:12:55 +0200 how do i draw images with fxsdk https://www.planet-casio.com/Fr/forums/topic18998--.html i read the documentation in Lephenixnoir's github but dont know how i am supposed to put my image into the bopti_image_t format. i have a 9860giii Thu, 28 Aug 2025 15:56:46 +0200