Register

Search found 141 matches

Return to advanced search

gbl08ma
Mon Jul 15, 2013 11:51 am
 
Forum: Casio Prizm SDK
Topic: Bfile and system errors
Replies: 29
Views: 92002

Re: Bfile and system errors

Ah OK, understood it now. I disabled the timer and I am now doing intensive tests on the calendar events functions of my add-in, which usually caused errors when the filesystem is not optimized. Surprise surprise, I have added/copied/moved/edited/deleted a lot already, and there are no errors so far...
gbl08ma
Mon Jul 15, 2013 10:54 am
 
Forum: Casio Prizm SDK
Topic: Bfile and system errors
Replies: 29
Views: 92002

Re: Bfile and system errors

I know :) I meant the buffer that is in RAM which you use to give WriteFile the contents to write to the test file. You can download a test version of my refreshed Utilities add-in here: http://tny.im/GH Inside of the ZIP file there's a folder called src with the source code. Entry point is in main....
gbl08ma
Sun Jul 14, 2013 9:27 pm
 
Forum: Casio Prizm SDK
Topic: Bfile and system errors
Replies: 29
Views: 92002

Re: Bfile and system errors

I don't know the timer number, since I provide a 0 to the Timer_Install call so that it automatically chooses a timer number, then I store that number in memory and use it to start the timer. I am using one single timer to check chronometers completion, and this timer starts running right at the beg...
gbl08ma
Sun Jul 14, 2013 9:56 am
 
Forum: Casio Prizm SDK
Topic: Bfile and system errors
Replies: 29
Views: 92002

Re: Bfile and system errors

I wonder if the size of the g3a and its position in memory influence anything. I think your code actually failed to produce any move of the add-in file in flash, because the g3a was probably the first file to be put in the calc (so it should have come first in the flash), and all those files your ad...
gbl08ma
Sat Jul 13, 2013 10:03 am
 
Forum: Casio Prizm SDK
Topic: Bfile and system errors
Replies: 29
Views: 92002

Re: Bfile and system errors

Even more interesting than disabling auto-optimization, would be to get its effects mitigated: it would be optimal if the filesystem could still be optimized, but the static add-in memory location would be automatically adjusted to the correct one after optimization (so that the target doesn't becom...
gbl08ma
Sat Jul 13, 2013 12:14 am
 
Forum: Casio Prizm SDK
Topic: Bfile and system errors
Replies: 29
Views: 92002

Re: Bfile and system errors

I too have thought of building such a small test program. But I thought I should ask first so that if someone knew the reason of these errors it would save me the work. Just in case it is relevant, I'm always manipulating files inside a folder (one level, not more). It's hard to debug because the ta...
gbl08ma
Fri Jul 12, 2013 9:05 pm
 
Forum: Casio Prizm SDK
Topic: Bfile and system errors
Replies: 29
Views: 92002

Re: Bfile and system errors

I know it's hard to find the problem without looking at the code, but I have limited internet access right now (only on the phone) and the project is already quite big (over 300 KB of code, and maybe over 10K lines). I will post the code later, but note that I'm not using miniSDK but rather GCC with...
gbl08ma
Fri Jul 12, 2013 1:54 pm
 
Forum: Casio Prizm SDK
Topic: Bfile and system errors
Replies: 29
Views: 92002

Bfile and system errors

I am rewriting my Utilities add-in and this time I am pretty sure there are no memory leaks. This add-in heavily uses the storage memory (it writes and deletes files in a short period of time). Of course, because of this heavy usage, the filesystem gets slower and needs optimization. When it is opti...
gbl08ma
Thu Jun 20, 2013 4:26 pm
 
Forum: Calculator Hacking/Modding Discussions
Topic: Random notes about the Casio Prizm OS
Replies: 0
Views: 6959

Random notes about the Casio Prizm OS

I had a note on my computer with a few things I found about the OS when I was playing around with random syscalls and INSIGHT on the emulator, and I thought it was a waste to have it sitting here when perhaps other people may find some of its contents curious or even useful. So I posted that note he...
gbl08ma
Thu Jun 20, 2013 4:02 pm
 
Forum: Casio fx-9860 SDK
Topic: Serial Number
Replies: 21
Views: 56875

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-...
PreviousNext

Return to advanced search