PDA

View Full Version : g3n0lite slideshow: Delay between slides



GeeZuZz
30-06-2003, 03:24 PM
Does someone know how to change the delay between the slides in the slide show?

Romeo26222
30-06-2003, 10:20 PM
look thats what I got but in german and I can't understand it..if you can translate it and post it here in english this will be fine


schaut, wo g3n0lite die funktion 'own_scroll_in_bitmap' erstellt
steht ja im log window..
im hexeditor steht dann glaub B5 FF 20 54....
das 16. byte, also das nach dem 01 38 (muesste 02 sein)
gibt an, um wieviel pixel das bild reingeschoben werden soll...
default is wie gesagt 2, aenderts auf 1 wenns bei eurem handy zu schnell
vorbeisausst oder auf 3 oder 4 wenns zu langsam geht


die pause nach der slideshow koennt ihr auch veraendern
bytes 45 u. 46 in funktion 'own_draw_slideshow' muessten 20 03 sein....
02 kleiner > laengere pause
02 groesser machen > kuerzere pause

NokDoc
30-06-2003, 10:43 PM
Originally posted by Romeo26222
look thats what I got but in german and I can't understand it..if you can translate it and post it here in english this will be fine



Here U go...

I hope I did it correct. :)

Look, Where G3n0lite places the function 'own_scrol_ in_bitmap' is in the log text window.

In hexeditor there are I think B5FF2054
The 16th byte, or the one after the 0138, has to be 02, and is an indicator for the nr of pixels which need to be inserted.

Default is like as said 2, change to 1 when rushes by too fast, or on 3 or 4 if it is too slowly.

U can also change the break after the slideshow.
Bytes 45 and 46 in the function 'own_draw_slideshow' have to be 20 03,,,
02 to a smaller value > longer pause
02 to a bigger value > shorter pause

Good Luck

NokDoc

Romeo26222
30-06-2003, 10:46 PM
thanx NocDok but if you don't mind to explain this tutorial because i can't understand all of it

ang_panday
01-07-2003, 09:43 AM
the routine own_scrol_ in_bitmap decrements the coordinates of the slides by 2 pixels..

if you decreasse it by 1 instead of 2 you it will make your slide go slower but if your try to decrease it by 4 it will go twice its speed..

..

NokDoc
01-07-2003, 03:28 PM
Hi,

I only translated it.

I dono about that slide show routines myself.

Sorry

NokDoc

GeeZuZz
02-07-2003, 12:16 AM
I found that post too, but didn't understand it quite...

I understood the first part, but i'm not sure there was any difference. Anyway, it did not slow it down much...

But the second part was what i didn't understand.


die pause nach der slideshow koennt ihr auch veraendern
Does he mean, the pause after the slideshow is finished, or the pause between the frames?


own_draw_slideshow' have to be 20 03
What part here does he mean should be changed? the first? (20 to 10 e.g) or the last one? (03 to 01?)
"02 to a smaller value > longer pause" -> 01 must be the longest pause?

ang_panday
03-07-2003, 11:58 AM
in the routine you should find SUB R0, 2... which is 3802 in hex
replace it with SUB R0, 1 or 3801 in hex..

there is also a technique
where you must increase the MOV R0 command to create a pause to your slides..

instead of MOV R0,#54(0x2054) make it MOV R0,#64(0x2064) perhaps...


this will create a pause between the slide for you..