s5vi's Motorola p2k phone page
February 05, 2012, 06:42:12 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Over 30000 member ! Under heavy spammer attack ! Cleaning in progress !
V-6.0.0 with CDMA support is available now.
To become VIP: you can do it via PayPal: http://www.el-co.hu/p2k05/paypal.html
 
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Please about reserve  (Read 3288 times)
0 Members and 1 Guest are viewing this topic.
growr
Newbie
*
Offline Offline

Posts: 1


« on: November 20, 2006, 07:31:21 pm »

hallo, please about copy sets quirewise on phone in major component "a" by mistake here over p2k commander abandon all files from phone( at least to start phone without problem ), much thanks for answered. Sad Sad Sad is it Motorola e398.
« Last Edit: November 20, 2006, 07:34:26 pm by growr » Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #1 on: November 20, 2006, 07:50:35 pm »

Did you mean: throw a warning message if someone want to copy files into "/a" ? (just like /a==the root of filesystem)
Logged

gorgoyle
VIP
Newbie
*****
Offline Offline

Posts: 40

483022234
Email
« Reply #2 on: December 25, 2006, 03:17:41 pm »

- check free space and prompt for confirmation if it isn't before try copying
- allow to set ANY (senseless or not) Attributes on a file from 00x-FFx, because MIDlet-Permission to access FileSystem seems to be set there!!! Short: provide a'la linux chmod and chown for P2K
- mouse-scrolling
- remember last directory on pc and best on phone, too
- add function "dump filesystem" on dump fs on /a to file a.fs_dump"
- you can't distinguish between file and directory by symbol - you must know it Sad
-PLZ! Change to use a higher-leveled language than asm! pleeeease! Let only "performance-critical parts" (are there any?) in asm and the rest of program-structure make in something other!
- disable entering a file like an empty directory or try to start an on that system associated application like paint for *.ico
- not only enable to enter a path but change the path to the entered one!
-when using P2K, at place where you can enter /a, place /b next to, if there any.
[p2k:]
/a
/b


- i'm shure it's fun to port to linux but that's OS of my favor
« Last Edit: December 25, 2006, 04:05:38 pm by gorgoyle » Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #3 on: December 25, 2006, 07:38:44 pm »

- Actually ready-to-publish version 3.3.4 is can remember local folder.
- Attributes as hex value is easy to implement , i will do it soon.

thanks for your suggestions....
Logged

gorgoyle
VIP
Newbie
*****
Offline Offline

Posts: 40

483022234
Email
« Reply #4 on: December 31, 2006, 01:13:03 pm »

What do you think about NASM?
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #5 on: December 31, 2006, 02:35:18 pm »

Nasm is great for multiplatform developments.
do you think porting to linux?
sorry this is quite hard, because i used win32api frequently
now source is open. there is a way to marry some filemanager to p2k.
in linux also available moto4lin C source (using libusb)

or create little commandline proggy (like p2kcopy)
Logged

gorgoyle
VIP
Newbie
*****
Offline Offline

Posts: 40

483022234
Email
« Reply #6 on: December 31, 2006, 03:56:20 pm »

I try to port to C++ the api first.
Problem is that i need tutorial stuff for assembler as for nasm as well.
In NASM-doc are described different ways of giving arguments to a function. MS and Linux works different. Do u use MS-Style?

At moment i'm wraping  asm-functions in c-functions and next is to "guess" which types of argument are given and wraping asm-calls to C-Style.

I would greatly enjoy a better documentation of the code.

I heard from logo that u are trying to finish FSAC_clear but ..
It's sending the right Code or need the right time-window or ..?
I suggest to write a peace of code using brute force for finding the right settings

Suggestion:
Can p2k-commander use a virtual file-system for minimize access to phone for reading out the entries in fs? Or something like checking if any operation success and only update the dir-structure in memory? [ ] enable suggest no other actor on fs

Did u rcv schematic?
« Last Edit: December 31, 2006, 08:45:10 pm by gorgoyle » Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #7 on: January 01, 2007, 12:11:56 pm »

Yes i used MS style parameter passing via stack (just like C )

i have another project (p2kcopy) http://www.el-co.hu/smf/index.php/topic,41.0.html
there is you can find my dll, whicj contains core p2k funcs, and you can call them from C
Currently suspended, i work on p2k05 , core will be changed in few days (rizr z3,E2,V2 maxxx)
then i will detach this stuff into a dll

FSAC clear is for delete some files from phone , just like master-clear in the phone menu
parameters are grabbed from radiocomm, i will collect them

I havent experience with VFS
Actually i get filelist into a  mem buff
After changes on fs, i actualize the mem image , and no need to re-read from phone
you can find in source: smartrefresh

thanks for your interest, its very exciting to talk with you as a developer and not a simple user......
Logged

gorgoyle
VIP
Newbie
*****
Offline Offline

Posts: 40

483022234
Email
« Reply #8 on: January 06, 2007, 12:48:30 pm »

I try to port in that way:
-wrap asm-function to c-wrapped functions (what arguments?)
-change asm-calls to asm-wrapped c-function-calls
-analyzing right was code really do (i'm an asm-newbie *g*)

I'm working on moto4lin by learning C++.
I've no experience with gui-kits like gtk or qt'n.
Do you have interest  in double-wrapped c-source of asm?
Changing function-cores will be more difficult than wrapping
function and function-calls.

In moto4lin-source is a simple String send to phone to switch it in P2k-Mode. That's something like P2k-Commmander should make it self. So i don't need to start RSD-Lite.. (if RSD-Lite has switched it can terminated!)
« Last Edit: January 06, 2007, 01:25:27 pm by gorgoyle » Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #9 on: January 06, 2007, 02:11:29 pm »

p2kc CAN switch phone to p2kmode by sending AT+MODE=8 srting to the COM port

you must run RSD lite to achieve this?   strange
it will be enough if you can select p2k phone from the drive list combobox

moreover if P2kautostart is enabled and sit in the tray. you should do nothing onlyplug the phone
if set to p2k mode is auto and run p2kc is auto (these setting are in p2kautostart config menu)
p2kautotsart will find the phone set it to p2kmode and run p2kc

these will not work only if you use the latest p2k driver:
http://www.el-co.hu/smf/index.php/topic,66.0.html

Logged

gorgoyle
VIP
Newbie
*****
Offline Offline

Posts: 40

483022234
Email
« Reply #10 on: January 07, 2007, 12:12:31 pm »

a log clear button and enlargeble log screen
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!

Bad Behavior has blocked 48 access attempts in the last 7 days.



Google visited last this page January 17, 2012, 01:59:20 pm