PDA

View Full Version : To AdriPSX author...


Iori
March 23rd, 2002, 16:53
Hi, I'm Iori, member of Eternal SPU plugin development project.
I found some problems in AdriPSX ILE 1.0.0...

* plugin initialize & shutdown method illegally...

XXX is all kind of plugins: GPU, SPU, CDR, PAD...

PSEmu Pro:
XXXinit() -> XXXopen() ... (emu playing) ... XXXclose() -> XXXshutdown()

AdriPSX:
XXXinit() -> XXXopen() ... (emu playing) ... XXXshutdown() -> XXXclose()


* Internal BGM's tempo very slow...

This problem occurred ePSXe 1.5.0 too, but corrected 1.5.1.

A cause the problem is "system clock rootcounter(Base address:$1f801120)".
System clock rootcounter frequency is 33868800Hz. (case 1/8 mode:33868800 / 8 = 4233600Hz)
If internal clock of AdriPSX is different from real PSX, then this problem occer.

System clock gain 33868800Hz...
NTSC mode:about 60 VSYNC (accurate:4500000 / 286 / 525 * 2 = 59.9400599...)
PAL mode:about 50 VSYNC


* XA sound function:SPUplayADPCMchannel()...

xa_decode_t.freq ... real CD-XA's sample rate, 18900 or 37800
xa_decode_t.nbits ... real CD-XA's bit rate, 4 or 8
xa_decode_t.stereo ... 0:mono or 1:stereo
xa_decode_t.nsamples ... mono:4032 or stereo:2016

xa_decode_t.left_y0,left_y1,right_y0,right_y1 ... don't use SPU plugin.

And, XA sound very buggy...XA decode routine issues?

Xeven
March 23rd, 2002, 16:58
Im wondering why Iori doesn't have an emu author profile.?

Roor
March 23rd, 2002, 17:02
Hmmm... I never run SHUTDOWN for any plugin :P
I'll add it ;)

In XA, I decoded all as MONO, always in the same rate...
XA in Eternal (at least in my slow PC), is played very slowly... like with pauses.

Really, I haven't tested it very much.

Please, stay in contact, so I can fix my emu to work fine with your plugin ;)

Thanks a lot.

Roor.

Shiori
March 23rd, 2002, 17:05
Just wanted to say Eternal 1.2 rocks, particularly with Tokimeki Memoriaru 2. :) I hope you see this. :p

Betamax
March 23rd, 2002, 21:07
Originally posted by Xeven
Im wondering why Iori doesn't have an emu author profile.?

Good point... I'll see if I can change it.

Weird. Where's the stars?

Xeven
March 24th, 2002, 03:37
i think he has to login again for the stars to appear.. :p

Iori
March 24th, 2002, 15:17
> Im wondering why Iori doesn't have an emu author profile.?
They ware a bother to change...

> I'll add it
Ok, I see.
Shutdown methods are very important for all plugins and stable emulation.
(may only our SPU plugins...)
Especially Win9x and use DirectX, OpenGL...

> In XA, I decoded all as MONO, always in the same rate...
May I help your XA decode routine(Xa.c) revise?

> Please, stay in contact, so I can fix my emu to work fine with your plugin
Ok, there is my email address in Eternal SPU plugin's Readme.

> Just wanted to say Eternal 1.2 rocks, particularly with Tokimeki Memoriaru 2.
Thanks.

Roor
March 26th, 2002, 20:53
Well, about my XA decoding rutine... I haven't touched it for som time, as current one is done in full asm, and is kinda difficult to edit.
Maybe... if I return to my old C rutine....