Page 239 of 299

Re: lekt player

Posted: Thu Apr 16, 2015 8:10 am
by sbgk
I set input buffer and length to 0.
when doing syscall need to move stack to allow for return, the other way is just to move the offsets which is what I've done

http://stackoverflow.com/questions/1835 ... 1-x64-mode

Re: lekt player

Posted: Thu Apr 16, 2015 10:35 am
by lekt
yes, tried and syscall works if substract rsp before, result correctly returned. but error in next instruction after syscall, seems it writes data in stack area where stack variables needed.

Re: lekt player

Posted: Thu Apr 16, 2015 12:07 pm
by sbgk
lekt wrote:yes, tried and syscall works if substract rsp before, result correctly returned. but error in next instruction after syscall, seems it writes data in stack area where stack variables needed.
instead of sub rsp, 80 at the start of my function I do sub rsp, 88

and then add 8 onto the rsp locations eg mov QWORD PTR [rsp+40], rsi instead of mov QWORD PTR [rsp+32]

seems to work

push rax/pop rax also worked without the above changes, but prefer not to use push/pop.

Re: lekt player

Posted: Fri Apr 17, 2015 12:10 am
by jesuscheung
lekt wrote:
goon-heaven wrote:...Having some difficulty getting server2012 to sound as listenable as my current R2 setup. My earlier comment was a recall of when I initially moved over to R2. Seems I've moved R2 forward since then..
Tweaks I've applied to R2 seem blocked in R1, but I'm optimistic I will crack it.
don't hurry switch to ws2012, i also want try win8.1/ws2012R2 sound, maybe will install win8.1. of course if JC also can use win8.1/ws2012R2 then our team all in one course.

@JC: can you do this use with win8.1/ws2012R2 ? have heard you say it not better, but i thing its system dll more advantage than old. maybe we will try discover somethings from it syscall.
i am ready if you are ready with 8.1
prefer
en_windows_8.1_with_update_x64_dvd_4065090
non-pro win8.1 sounds better

----
no wait maybe enterprise 8.1 is better for me can rearm 270 days

Re: lekt player

Posted: Fri Apr 17, 2015 2:55 am
by lekt
jesuscheung wrote:i am ready if you are ready with 8.1
prefer
en_windows_8.1_with_update_x64_dvd_4065090
non-pro win8.1 sounds better

----
no wait maybe enterprise 8.1 is better for me can rearm 270 days
alright, JC. think will try at weekend, need backup data, many good things in C:\ drive.

Re: lekt player

Posted: Fri Apr 17, 2015 3:01 am
by lekt
sbgk wrote:instead of sub rsp, 80 at the start of my function I do sub rsp, 88

and then add 8 onto the rsp locations eg mov QWORD PTR [rsp+40], rsi instead of mov QWORD PTR [rsp+32]

seems to work

push rax/pop rax also worked without the above changes, but prefer not to use push/pop.
some calls works for me. 2 new functions replaced with syscall.

do with parameters...
.........
sub rsp, 8
syscall
add rsp, 8

rsp must be align 8 (and only, not align 16 as stack of user function).

Re: lekt player

Posted: Sat Apr 18, 2015 10:28 am
by sbgk
lekt wrote:
sbgk wrote:instead of sub rsp, 80 at the start of my function I do sub rsp, 88

and then add 8 onto the rsp locations eg mov QWORD PTR [rsp+40], rsi instead of mov QWORD PTR [rsp+32]

seems to work

push rax/pop rax also worked without the above changes, but prefer not to use push/pop.
some calls works for me. 2 new functions replaced with syscall.

do with parameters...
.........
sub rsp, 8
syscall
add rsp, 8

rsp must be align 8 (and only, not align 16 as stack of user function).
haven't tried that, would think align 16 is also align 8

Re: lekt player

Posted: Sat Apr 18, 2015 10:30 am
by sbgk
what do you think of this thread about a recent windows update ?

http://jplay.eu/forum/index.php?/topic/ ... d-quality/

I'm using win 10 which seems to update every few days

Re: lekt player

Posted: Sat Apr 18, 2015 12:33 pm
by lekt
after windows update all things seems better, almost applications run faster. think .NET, com+, kernel, drivers,... .dll, .sys have updating with new versions, registry also rewriten. in my case sound more power/energy but lost organic. i update after 3-6 months once, and need adjust windows services status back to old. windows update changes system resource distribution for different components. i think sometimes not good for sound.

Re: lekt player

Posted: Sun Apr 19, 2015 6:29 am
by jesuscheung
lekt wrote:.... need adjust windows services status back to old....
me2! default status seems best. am trying different ways to prevent services running even though their startup type = auto