Register
Page 66 of 88 FirstFirst ... 1656616263646566676869707176 ... LastLast
Results 976 to 990 of 1306
  1. #976
    DK Veteran gtmech's Avatar
    Join Date
    Jul 2010
    Location
    Hell
    Posts
    1,897
    Thanks Thanks Given 
    74
    Thanks Thanks Received 
    56
    Thanked in
    50 Posts

    Default

    Can one of you Pascal Pro's help with this simple piece of script. I need to write 4 bytes of Hex code into a dump but this piece of script wont allow hex to be written of course and I cant think what to change to allow this, any ideas guys? thanks

    procedure writekey1;
    var code: string;
    var k: integer;
    begin
    SetProgramModifiedOnly( true );
    if InBox( 'Enter', 'Code', code ) then begin
    if length( code ) < 4 then begin
    MsgBox( 'Enter 4 numbers', 'Error', MB_OK );
    end;
    k := StrToInt( code );
    SetByteHexEdit( $5E, ord(code[1]) );
    SetByteHexEdit( $5F, ord(code[2]) );
    SetByteHexEdit( $60, ord(code[3]) );
    SetByteHexEdit( $61, ord(code[4]) );
    RefreshHexEdit;
    end;
    end;

  2. #977
    DK Veteran gtmech's Avatar
    Join Date
    Jul 2010
    Location
    Hell
    Posts
    1,897
    Thanks Thanks Given 
    74
    Thanks Thanks Received 
    56
    Thanked in
    50 Posts

    Default

    noone can help?

  3. #978
    DK Veteran
    tehnosoftex's Avatar
    Join Date
    Oct 2009
    Location
    Romania
    Posts
    675
    Thanks Thanks Given 
    216
    Thanks Thanks Received 
    302
    Thanked in
    124 Posts

    Default

    Quote Originally Posted by gtmech View Post
    Can one of you Pascal Pro's help with this simple piece of script. I need to write 4 bytes of Hex code into a dump but this piece of script wont allow hex to be written of course and I cant think what to change to allow this, any ideas guys? thanks

    procedure writekey1;
    var code: string;
    var k: integer;
    begin
    SetProgramModifiedOnly( true );
    if InBox( 'Enter', 'Code', code ) then begin
    if length( code ) < 4 then begin
    MsgBox( 'Enter 4 numbers', 'Error', MB_OK );
    end;
    k := StrToInt( code );
    SetByteHexEdit( $5E, ord(code[1]) );
    SetByteHexEdit( $5F, ord(code[2]) );
    SetByteHexEdit( $60, ord(code[3]) );
    SetByteHexEdit( $61, ord(code[4]) );
    RefreshHexEdit;
    end;
    end;
    I think it must be

    SetByteHexEdit( $5E, (strtoint('$'+code[1]) ));
    instead of
    SetByteHexEdit( $5E, ord(code[1]) );
    but this is only for one digit, and a byte has 2 digits
    is more likely
    SetByteHexEdit( $5E,(strtoint('$'+code[1]+code[2])));
    Last edited by tehnosoftex; 29th May, 2013 at 11:03 AM.

  4. #979
    DK Veteran gtmech's Avatar
    Join Date
    Jul 2010
    Location
    Hell
    Posts
    1,897
    Thanks Thanks Given 
    74
    Thanks Thanks Received 
    56
    Thanked in
    50 Posts

    Default

    Thanks technosoftex, sorry I didnt explain very well but I have got it sorted out now anyway, thanks for helping

  5. #980
    Junior Member
    Join Date
    Oct 2012
    Location
    Brasil - Rondonia - Ariquemes
    Posts
    36
    Thanks Thanks Given 
    47
    Thanks Thanks Received 
    5
    Thanked in
    2 Posts

    Default

    Friends do so again in script
    not getting to
    make the code font
    CASE

    CAN SOMEONE HELP ME

    example

    handle 'A' and shows '1 '
    handle 'B' shows and '2 '
    gets' C 'and shows '3'
    gets' D 'and shows '4'
    handle 'E' and shows '5 '
    gets' F 'and shows '6'
    takes '0 'and shows '7'
    takes '1 'and shows '1'
    handle '2 'and shows '2'
    takes '3 'and shows '3'
    takes '4 'and shows '4'
    takes '5 'shows and '5'
    takes '6 'and shows '6'
    takes '7 'and shows '7'
    takes '8 'and shows '8'
    picks '9 'shows and '9'

  6. #981
    DK Veteran
    nigrou's Avatar
    Join Date
    Dec 2010
    Location
    algeria mascara
    Posts
    1,484
    Thanks Thanks Given 
    2,621
    Thanks Thanks Received 
    3,444
    Thanked in
    1,122 Posts

    Default

    slv mes amis je un upa usb et je suis reparateur radio auto
    je cherche des scripts pour decode radio auto aide moi
    merci
    Last edited by nigrou; 10th June, 2013 at 08:14 PM.

  7. #982
    DK Veteran
    teerak2uk's Avatar
    Join Date
    Apr 2009
    Location
    East Anglia
    Posts
    5,689
    Thanks Thanks Given 
    1,461
    Thanks Thanks Received 
    1,330
    Thanked in
    958 Posts

    Default

    Quote Originally Posted by nigrou View Post
    slv mes amis je un upa usb et je suis reparateur radio auto
    je cherche des scripts pour decode radio auto aide moi
    merci
    english speaking forum mate
    Oh and by the way if my post has been at all helpfull
    please press the little THANKS tab

  8. The Following User Says Thank You to teerak2uk For This Useful Post:

    nigrou (10th June, 2013)

  9. #983
    DK Veteran
    nigrou's Avatar
    Join Date
    Dec 2010
    Location
    algeria mascara
    Posts
    1,484
    Thanks Thanks Given 
    2,621
    Thanks Thanks Received 
    3,444
    Thanked in
    1,122 Posts

    Default

    plz my friends I have a upa usb and I repairer car radio
    I am looking for scripts to help me decode car radio
    thank you

  10. #984
    DK Veteran
    Join Date
    Jan 2010
    Location
    Ecuador
    Posts
    197
    Thanks Thanks Given 
    58
    Thanks Thanks Received 
    40
    Thanked in
    8 Posts

    Default

    do I need to change this for a Attiny 25 is this correcdt to use version 13????

  11. #985
    DK Veteran
    teerak2uk's Avatar
    Join Date
    Apr 2009
    Location
    East Anglia
    Posts
    5,689
    Thanks Thanks Given 
    1,461
    Thanks Thanks Received 
    1,330
    Thanked in
    958 Posts

    Default

    Quote Originally Posted by BimmerGT1 View Post
    do I need to change this for a Attiny 25 is this correcdt to use version 13????
    Yes that's correct
    Oh and by the way if my post has been at all helpfull
    please press the little THANKS tab

  12. #986
    DK Veteran gtmech's Avatar
    Join Date
    Jul 2010
    Location
    Hell
    Posts
    1,897
    Thanks Thanks Given 
    74
    Thanks Thanks Received 
    56
    Thanked in
    50 Posts

    Default

    anyone know a simple formula to convert HEX into ASCII ?

  13. #987
    Top Poster thiburco's Avatar
    Join Date
    Mar 2010
    Location
    World
    Posts
    137
    Thanks Thanks Given 
    40
    Thanks Thanks Received 
    3
    Thanked in
    3 Posts

    Default

    Pass please!!

  14. #988
    DK Veteran

    Join Date
    Nov 2009
    Location
    POLAND
    Posts
    539
    Thanks Thanks Given 
    398
    Thanks Thanks Received 
    1,244
    Thanked in
    387 Posts

    Default

    I have a problem I wrote some scripts and do not know
    which one compiler employ
    These scripts expands. UDS if available Please, link

  15. #989
    DK Veteran
    eliet2000's Avatar
    Join Date
    Sep 2011
    Location
    Pixa-Roglet / Valencia / Spain
    Posts
    1,451
    Thanks Thanks Given 
    661
    Thanks Thanks Received 
    1,076
    Thanked in
    877 Posts

    Default

    Hello fellow apparently not been able to download a utility for upa, serves the HC08, just run and now this. device installed scripts. greetings.
    Attached Files Attached Files

  16. The Following 5 Users Say Thank You to eliet2000 For This Useful Post:

    Dimoni (5th November, 2013), duckstar (5th May, 2020), martinracing (8th November, 2013), mohamedkey (31st August, 2015), Tariel (1st June, 2016)

  17. #990
    DK Veteran
    Join Date
    Jul 2009
    Location
    EU
    Posts
    145
    Thanks Thanks Given 
    19
    Thanks Thanks Received 
    6
    Thanked in
    5 Posts

    Default

    Hi to all! Does anyone have upa script for fiat pin code?

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.