Transfer files programatically
35 posts
• Page 4 of 4 • 1, 2, 3, 4
- gbl08ma
- Senior Member
- Posts: 141
- Joined: Wed May 16, 2012 2:50 pm
- Location: Portugal
- Calculators: Casio fx-CG20
Re: Transfer files programatically
Then it is a one-way call to change some variable. Are you sure it isn't changed back, by other call, at the end of the process?
- 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: Transfer files programatically
I'm just searching for according references.gbl08ma wrote:Then it is a one-way call to change some variable. Are you sure it isn't changed back, by other call, at the end of the process?
EDIT: syscall 0x02CC sets *(unsigned char*)0x880A2B09 and *(unsigned char*)0x880A2B08 back to zero.
I'll be back!
- 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: Transfer files programatically
I just set the member directoryname to "TEST" and it worked.gbl08ma wrote:...If I want the file to go to a specific directory in the remote calc, should I specify a full file name with fls0 and everything?
strcpy( sftb.directoryname, "TEST" );
\\fls0\TEST\ has been created on the remote calculator and the file has been transmitted to \\fls0\TEST\.
I'll be back!
- gbl08ma
- Senior Member
- Posts: 141
- Joined: Wed May 16, 2012 2:50 pm
- Location: Portugal
- Calculators: Casio fx-CG20
Re: Transfer files programatically
And does 0x02CC get called at some point in the Link function?
Now I am just wondering what's the meaning of the values at these addresses.
I looked at these addresses on the emulator (OS 1.02) and they, as the region surrounding them, were completely blank (0x00). Then I looked at them on my Prizm (OS 1.04) and these addresses were 0x00 too, but the area around them was much more populated. The string "@INSIGHT" can be seen near them, which means it stores something related to the currently running add-in.
At 0x880A1C98 there is the string "SHEET", and even lower there are more junk strings.
The usage of this RAM area changed from 1.02 to 1.04... do you know what it is?
This is my attempt at doing a detailed memory map: http://www.cemetech.net/forum/viewtopic.php?t=9334
And thanks for checking directoryname usage.
Now I am just wondering what's the meaning of the values at these addresses.
I looked at these addresses on the emulator (OS 1.02) and they, as the region surrounding them, were completely blank (0x00). Then I looked at them on my Prizm (OS 1.04) and these addresses were 0x00 too, but the area around them was much more populated. The string "@INSIGHT" can be seen near them, which means it stores something related to the currently running add-in.
At 0x880A1C98 there is the string "SHEET", and even lower there are more junk strings.
The usage of this RAM area changed from 1.02 to 1.04... do you know what it is?
This is my attempt at doing a detailed memory map: http://www.cemetech.net/forum/viewtopic.php?t=9334
And thanks for checking directoryname usage.
- 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: Transfer files programatically
No.gbl08ma wrote:And does 0x02CC get called at some point in the Link function?
But it is called on entry of GetKey(), immediately after the call of Bdisp_PutDisp_DD(). Possibly signalling interactive state.
I use absolute addresses, which cannot be obtained by a syscall, only if it is of utmost importance. They are not reliable across different OS versions.
You can get the pointer 0x880A1C98 by syscall 0x1b00. This seems to be a flag, whether the built-in SpreadSheet has been called after the last reset. I wonder if it is of any use.
I'll be back!
35 posts
• Page 4 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 12 guests