how can i protecte my 9860
19 posts
• Page 2 of 2 • 1, 2
- marmot
how can i protecte my 9860
What you can do is put a password on it. Like this
"Password"?->P
P != 12345=>Stop
!= is the unequal sign on your calculator
12345 can be any password
Stop is not a valid command in C and therefore can't be used with the SDK.
Stop *is* a valid command in basic (programs in the program menu).
However the code could be adapted to suit the SDK as well.
I still think the best way to stop transfers is to disable the 3 pin port. (ie blue-tac)
- alias4399
how can i protecte my 9860
An "in program" password can be implemented like this:
This example password is "F1 F2 F3 F4 F5" as in the first 5 F-Keys...
Hope that helps
This example password is "F1 F2 F3 F4 F5" as in the first 5 F-Keys...

- Code: Select all
"Enter Password:"
// These 'time-delays' are included because of the speed of the 9860
// tweak if necessary, if removed the program will be very difficult to use
For 1->T to 300
Next
Do
Getkey->A
LpWhile A = 0
Locate 1,2,"*"
For 1->T to 300
Next
Do
Getkey->B
LpWhile B = 0
Locate 2,2,"*"
For 1->T to 300
Next
Do
Getkey->C
LpWhile C = 0
Locate 3,2,"*"
For 1->T to 300
Next
Do
Getkey->D
LpWhile D = 0
Locate 4,2,"*"
For 1->T to 300
Next
Do
Getkey->E
LpWhile E = 0
Locate 5,2,"*"
If ((A = 79) And (B = 69) And (C = 59) And (D = 49) And (E = 39)) // F1 F2 F3 F4 F5
Then "Access Granted!"
ClrText
Else Stop
IfEnd
Hope that helps

- helder7
- Senior Member
- Posts: 369
- Joined: Tue Jan 03, 2012 11:24 pm
- Calculators: Casio Afx 1.0, Casio fx-9860GII SD, Casio Classpad 330, Casio fx-CG20, Casio Classpad fx-CP400
@ nagarajan, try the code now, and then tell me if it worked or not, so I can fix the other bugged codes with the & # symbols
SiO2 + CaCO3 ----------> CaSiO3 + CO2
19 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 52 guests