Search found 141 matches
- Sat Jul 20, 2013 11:57 am
- Forum: Casio Prizm SDK
- Topic: Transfer files programatically
- Replies: 34
- Views: 101500
Re: Transfer files programatically
I think you either didn't understand what I meant, or I'm not understanding your explanation. I'm looking for a way to send a file without the user needing to select it. With the syscalls you listed, where do I provide the filename for sending? From my understanding these syscalls are for selecting ...
- Fri Jul 19, 2013 11:11 am
- Forum: Casio Prizm SDK
- Topic: Transfer files programatically
- Replies: 34
- Views: 101500
Re: Transfer files programatically
I already looked into what the syscalls near 0x1381 are, see my notes here: https://gist.github.com/gbl08ma/5823653#file-gistfile1-txt-L48 Note that I didn't test any parameters, in fact I discovered these through trial and error (on the emulator so there's no risk), because I don't have a SH4 disas...
- Thu Jul 18, 2013 2:26 pm
- Forum: Casio Prizm SDK
- Topic: Transfer files programatically
- Replies: 34
- Views: 101500
Transfer files programatically
I'd like to know if there's a way for an add-in to invoke the file transfer dialog and have a file transmitted to another calculator, without the need to tell the user to go to the Link app and choose the file manually. Basically I'm looking for a syscall or some other way to transfer a file through...
- Thu Jul 18, 2013 9:39 am
- Forum: Casio Prizm SDK
- Topic: Bfile and system errors
- Replies: 29
- Views: 92136
Re: Bfile and system errors
I changed PCALEVT to PCALEVNT (8 bytes) and now it resets even more often, like at the first or second time I try to create a event file from scratch. But I'll try another thing, which is doing a strcat of the event contents to the header before writing, so that the header never gets written "l...
- Wed Jul 17, 2013 6:27 pm
- Forum: Casio Prizm SDK
- Topic: Bfile and system errors
- Replies: 29
- Views: 92136
Re: Bfile and system errors
I added the third parameter to OpenFile, set it to zero on all the calls to it, and it still rebooted. As the thing in conversion start with MsgBox, well right now I don't think that code ever runs. It was something I added in the previous version of the add-in when deleting events was really unstab...
- Wed Jul 17, 2013 4:17 pm
- Forum: Casio Prizm SDK
- Topic: Bfile and system errors
- Replies: 29
- Views: 92136
Re: Bfile and system errors
If you delete all events on the 17th, then add a new event, then delete it again, then add a new event, you'll probably find out it will reset too at some point.
It always resets when adding, never when deleting (and I think never when editing too).
It always resets when adding, never when deleting (and I think never when editing too).
- Wed Jul 17, 2013 10:21 am
- Forum: Casio Prizm SDK
- Topic: Bfile and system errors
- Replies: 29
- Views: 92136
Re: Bfile and system errors
Here it is: http://s.lowendshare.com/6/1374052519.356.utilities.g3a (rename it to utilities.g3a in case the download has a strange filename). Note that this version doesn't use the Main Memory folder @UTILS2 but yes @UTILS. I couldn't detect any problem in this version other than the reboot when add...
- Tue Jul 16, 2013 10:55 pm
- Forum: Casio Prizm SDK
- Topic: Bfile and system errors
- Replies: 29
- Views: 92136
Re: Bfile and system errors
Bfile_FilePos_OS was renamed to Bfile_TellFile_OS in libfxcg because usually cstdio (stdio.h) has a function called "tell" which does exactly what this function does. As for 0x1DA6 having two parameters, I don't know who got to that wrong conclusion. Anyway, I fixed all the Bfile_GetFileSi...
- Tue Jul 16, 2013 9:25 pm
- Forum: Casio Prizm SDK
- Topic: Bfile and system errors
- Replies: 29
- Views: 92136
Re: Bfile and system errors
Yes there are some changes with regards to these functions in libfxcg, when compared to miniSDK. In my system Bfile_GetFileSize_OS is 0x1DA6 too. Bfile_TellFile_OS is 0x1DAB. Headers for both syscalls: int Bfile_GetFileSize_OS( int handle, int pos ); int Bfile_TellFile_OS( int handle ); The reason w...
- Mon Jul 15, 2013 9:37 pm
- Forum: Casio Prizm SDK
- Topic: Bfile and system errors
- Replies: 29
- Views: 92136
Re: Bfile and system errors
calendarProvider.cpp, line 188. It's when resuming execution of my code when returning from the Bfile_CreateEntry call that the error happens. The Bfile call itself seems to succeed, as there is an empty file where it should be after the calculator reboots. It doesn't happen always. I would say it h...