Serial Number
22 posts
• Page 1 of 3 • 1, 2, 3
Serial Number
Hi
Is it possible to read the serial number of a fx9860 gII calculator with an Add-In?
Canta
Is it possible to read the serial number of a fx9860 gII calculator with an Add-In?
Canta
- SimonLothar
- Senior Member
-
- Posts: 605
- Joined: Sat Sep 15, 2012 6:59 am
- Location: Krautland ****
- Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400
Re: Serial Number
canta fx wrote:Hi
Is it possible to read the serial number of a fx9860 gII calculator with an Add-In?
Canta
What do you mean? The serial number on the sticker at the calculator's back or the calculator ID?
I'll be back!
Re: Serial Number
SimonLothar wrote:What do you mean? The serial number on the sticker at the calculator's back or the calculator ID?
Yes the serial number on the sticker or any other fixed number/code with which you can differ multiple calculators.
- SimonLothar
- Senior Member
-
- Posts: 605
- Joined: Sat Sep 15, 2012 6:59 am
- Location: Krautland ****
- Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400
Re: Serial Number
canta fx wrote:SimonLothar wrote:What do you mean? The serial number on the sticker at the calculator's back or the calculator ID?
Yes the serial number on the sticker or any other fixed number/code with which you can differ multiple calculators.
That would be the calculator ID, which is 8 bytes starting at 0x8000FFD0.
But there seems to be no relationship between calculator ID and the serial-number on the sticker
I'll be back!
Re: Serial Number
Ok, then the ID is what I was looking for. How can i read the
?8 bytes starting at 0x8000FFD0
- SimonLothar
- Senior Member
-
- Posts: 605
- Joined: Sat Sep 15, 2012 6:59 am
- Location: Krautland ****
- Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400
Re: Serial Number
canta fx wrote:Ok, then the ID is what I was looking for. How can i read the?8 bytes starting at 0x8000FFD0
Try something like this
memcpy( (void*)0x8000FFD0, (void*)workbuffer, sizeof( workbuffer ) );
f. i. with
char workbuffer[8]
I'll be back!
- gbl08ma
- Senior Member
- Posts: 141
- Joined: Wed May 16, 2012 2:50 pm
- Location: Portugal
- Calculators: Casio fx-CG20
Re: Serial Number
Do you know where one can find such a ID on the Prizm?
- SimonLothar
- Senior Member
-
- Posts: 605
- Joined: Sat Sep 15, 2012 6:59 am
- Location: Krautland ****
- Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400
Re: Serial Number
gbl08ma wrote:Do you know where one can find such a ID on the Prizm?
8 bytes starting at 0x8001FFD0.
I'll be back!
- gbl08ma
- Senior Member
- Posts: 141
- Joined: Wed May 16, 2012 2:50 pm
- Location: Portugal
- Calculators: Casio fx-CG20
Re: Serial Number
Thank you! On the emulator those bytes are all set to 0xFF, on my real calculator it really is something more random. This is great for using as a password hash salt in case one wants to develop something password protected in an add-in. Also great for developing serial key systems and limiting add-in execution to a few select calculators, not that I'll be using it that way 

- Canta
- Junior Member
- Posts: 17
- Joined: Sun May 27, 2012 4:38 pm
- Location: Germany
- Calculators: Casio fx-9860GII
Re: Serial Number
ok, that would be great if i had the skills to make it work. How does it work correctly?
- Code: Select all
#include "fxlib.h"
#include "stdlib.h"
unsigned int key;
char buffer[3];
char workbuffer[8];
memcpy( (void*)0x8000FFD0, (void*)workbuffer, sizeof( workbuffer ) );
int AddIn_main(int isAppli, unsigned short OptionNum)
{
sprintf(buffer,"%d",workbuffer);
locate(1,4);
Print((unsigned char*)buffer);
while(1){
GetKey(&key);
}
return 1;
}
- Code: Select all
C2500 (E) Illegal token "("
C2131 (E) No type nor storage class
CC2500 (E) Illegal token "void"
C2500 (E) Illegal token "sizeof"
22 posts
• Page 1 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 24 guests