Results 1 to 9 of 9

Thread: G3nolite2.0 scripts

  1. #1

    Lightbulb G3nolite2.0 scripts

    @all
    i have 3410 and i whant to inject to my menu a slide show routine. can any one give a opinon of this code.
    Code:
    Name = update_screen
    Code  =  B5F01C051C0E20002154F751FC0B1C311C28BDF0
    BL     =  0x0a -> to_screen
    this is from a script that inject in a 3310 a slideshow and i think it wotk fine with 3410 but when run scripts it says variable to_screen unkown.
    how can i declare this variable??
    this variable must be implemented by nokia???
    in another scrips i found this variable MALLOC is this the keyword for pointers???
    can any one hlp??
    there is any way to reverse engineering the code to see the asm source??
    i know only asm and i whant hlp
    thx

  2. #2
    Join Date
    Mar 2002
    Location
    Netherlands
    Posts
    3,163
    Hi,

    G3n0lite does know how to search some predefined names for the most common types.

    Those U not have there, or it cannot find, U have to define Urself in the gsc script to use them.

    U possibly need to search and define a pattern in 3410 style for the 'to_Screen' function as it is in a 3410, while it not seems to find it.

    Look at the stuff with the [PATTERN] in the demo script files.

    ps, MALLOC is 'just' a name I guess, which I think mean Memory Allocation.

    NokDoc
    U can checkout anytime U like, but U can never leave!

  3. #3

    Question

    thx sir.
    i found the hex for to_screen function in 3410 and i made a gsc with all routines for making my own slideshow in 3410 but i have one prblem now
    HOW CAN CREATE MY OWN 5E0 ID??.For what pattern should i search??
    MALLOC is like /setfaid routine
    look at this result from g3nolite from 3310 v5.45 for better understanding my ideea
    Code:
    
    ----------------------------------
     searching for the malloc/eeprom routines
    ----------------------------------
    n_malloc: 0009A5D0
    read_eeprom: 000F0100
    write_eeprom: 000F00D0
    calc_eeprom_chk: 00088102
    
    ----------------------------------
    patching to_screen for inverted display
    ----------------------------------
    invert_1: 000843EA
    invert_2: 0008440A
    send_lcd_data: 001309FC
    Can u help my with the start and the and adress of the function in a nokia 3310 flash??like g3nolite does when he is locate a specific function
    maybe i'll find this code in my 3410 and finally i'll have my own call display timer.
    in mr yak script MALLOC variable is defined in those routines.[malloc/eeprom routines]

  4. #4
    Join Date
    Mar 2002
    Location
    Netherlands
    Posts
    3,163
    Hi,

    Nothing to do with faid, Alloc is reserving memory in ram.

    The problem is, in Ur 3410 the pattern which should find it, doesnot find it.

    Possibly while it differs too much from regular types.

    If U know where that specific function is in Ur 3410, U can copy some bytes from there and create Ur own Alloc3410 pattern.

    The part U look at, is in the [CODE] area, from there these functions from patterns are being called.

    05E0: Once U know one function start address, it doesn't seems hard to find the whole table too I hope?

    Seach for that address+1, like eg: 0FAC00 > search for '002FAC01'

    NokDoc
    U can checkout anytime U like, but U can never leave!

  5. #5

    Talking

    sir can u help me with 3310 pattern for alloc???
    beacuse i don't know where to search.
    and regarding 5e0 table i'll try tommanrow and i'll informe u
    THX FOR REPLAY

  6. #6

    Exclamation

    sir if i don't find the 5e0 table in 3410 can u tell me can i use *#sim0clock# to launch my slideshow???

  7. #7
    Join Date
    Mar 2002
    Location
    Netherlands
    Posts
    3,163
    Hi,

    Alloc pattern for 3410:
    B5F04932220A700A2110180DD10025013513112801001F05
    FFFFFF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

    3310-633 Alloc is at 9a5d0

    Task table 3310-633 starts at 123028.
    Task table 3410-530 starts at 2a77b8.

    How to use *#sim0clock# is been shown many times before.

    Please study those examples.

    NokDoc
    Last edited by NokDoc; 11-05-2004 at 03:20 PM.
    U can checkout anytime U like, but U can never leave!

  8. #8
    thx sir but i a same error in my call_duration script can u help me
    variable MALLOC not known
    variable PRINT_TEXT not known
    variable FREE not known
    i'll atch the script with my mod for 3410 maybe u'll give me an ideea
    when try to search the pattern g3nolite is crashes.
    Attached Files Attached Files

  9. #9
    Join Date
    Mar 2002
    Location
    Netherlands
    Posts
    3,163
    Hi,

    DEMO: In nHexR I wanted to add a function which used an existing function called 'delay'


    [CODE]
    Name = nHexR
    Code = B5FF2009.....
    BL = 0x42 -> DELAY

    G3n0lite didn't find that, I got wrong BL values, so I defined my own delay:

    [PATTERN]
    name = delay
    pattern = 084046c046c046c046c046c046c046c046c046c046c046c03801d1f246f7
    mask = ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
    searchback = N

    >> To activate the active search for it, I added this too:

    loc: delay = delay

    Do the same things for the functions U experienced Ur errors with.

    I hope the example was clear, while I ain't making the file for U.

    NokDoc
    U can checkout anytime U like, but U can never leave!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. *** GSC scripts for g3n0lite ***
    By ShadoW2004 in forum DCT 3 Flashing / Upgrading / Modding
    Replies: 21
    Last Post: 13-07-2004, 07:19 PM
  2. complete manual for g3n0lite v2.0 scripts .GSC
    By asgaardro in forum G3n0lite & MADos section
    Replies: 1
    Last Post: 19-03-2004, 04:50 AM
  3. Next version of Genolite!!
    By Tracid in forum DCT 3 Flashing / Upgrading / Modding
    Replies: 35
    Last Post: 11-02-2004, 12:29 PM
  4. Help with new menu and scripts...plz
    By submasta in forum DCT 3 Flashing / Upgrading / Modding
    Replies: 5
    Last Post: 12-10-2003, 01:16 AM
  5. OTA Scripts..
    By nidoh in forum 55XX / 52XX / 62xx / 63 xx / 71xx / 72xx [Closed]
    Replies: 1
    Last Post: 19-03-2003, 03:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •