Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unreal Speccy Portable - ZX Spectrum Emulator
04-24-2013, 11:57 AM
Post: #1
Wink Unreal Speccy Portable - ZX Spectrum Emulator
Hi all)

Tested my ports of USP.

Works great in windows version (video-sound is perfect).
[Image: BH48c9cCQAE6mJK.png:large]
[Image: BH48AWJCUAEPPpc.png:large]

But crashed in iOS (returning to desktop).
And shows black screen on Android.
Find all posts by this user
Quote this message in a reply
04-29-2013, 11:29 AM
Post: #2
RE: Unreal Speccy Portable - ZX Spectrum Emulator
so, where to post bugreport(s) about iOS & Android versions failure?
Find all posts by this user
Quote this message in a reply
04-29-2013, 12:12 PM
Post: #3
RE: Unreal Speccy Portable - ZX Spectrum Emulator
it doesnt work even with raw framebuffer?
Find all posts by this user
Quote this message in a reply
04-29-2013, 07:24 PM
Post: #4
RE: Unreal Speccy Portable - ZX Spectrum Emulator
How to enable raw framebuffer and what is it?)
Find all posts by this user
Quote this message in a reply
04-29-2013, 07:56 PM
Post: #5
RE: Unreal Speccy Portable - ZX Spectrum Emulator
You must download the latest build from here http://buildbot.orphis.net/ppsspp/ and is in graphics>next page>raw framebuffer
Find all posts by this user
Quote this message in a reply
04-30-2013, 08:03 AM
Post: #6
RE: Unreal Speccy Portable - ZX Spectrum Emulator
@sfageas

I tried latest build with display raw buffer enabled on android, but still got black screen.
Find all posts by this user
Quote this message in a reply
04-30-2013, 09:13 AM
Post: #7
RE: Unreal Speccy Portable - ZX Spectrum Emulator
indeed it doesn't work on phones
Find all posts by this user
Quote this message in a reply
04-30-2013, 10:59 AM
Post: #8
RE: Unreal Speccy Portable - ZX Spectrum Emulator
Strange, but when i turn debug stats on, the most active syscall is sceKernelLibcGettimeofday.

[Image: BJGPhS-CcAEEryr.png]

But it called twice or once per frame (depends on emulator speed).

There is a source code: https://code.google.com/p/unrealspeccyp/...eo.cpp#178
Find all posts by this user
Quote this message in a reply
04-30-2013, 11:15 AM
Post: #9
RE: Unreal Speccy Portable - ZX Spectrum Emulator
i dont know if this has something to do


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
04-30-2013, 11:35 AM
Post: #10
RE: Unreal Speccy Portable - ZX Spectrum Emulator
is there the same log file on Android/iOS?
Find all posts by this user
Quote this message in a reply
04-30-2013, 04:47 PM (This post was last modified: 04-30-2013 04:48 PM by xsacha.)
Post: #11
RE: Unreal Speccy Portable - ZX Spectrum Emulator
(04-30-2013 10:59 AM)djdron Wrote:  Strange, but when i turn debug stats on, the most active syscall is sceKernelLibcGettimeofday.
But it called twice or once per frame (depends on emulator speed).
Well it is quite odd that it's stuck in sceKernelLibcGettimeofday. This function is only implemented on Windows.

Here is the function:
Code:
u32 sceKernelLibcGettimeofday(u32 timeAddr)
{
#ifdef _WIN32
    union {
        s64 ns100; /*time since 1 Jan 1601 in 100ns units */
        FILETIME ft;
    } now;

    struct timeval
    {
        u32 tv_sec;
        u32 tv_usec;
    };

    timeval *tv = (timeval*)Memory::GetPointer(timeAddr);
    DEBUG_LOG(HLE,"sceKernelLibcGettimeofday()");

    GetSystemTimeAsFileTime (&now.ft);
    tv->tv_usec = (long) ((now.ns100 / 10LL) % 1000000LL);
    tv->tv_sec = (long) ((now.ns100 - 116444736000000000LL) / 10000000LL);
#endif
    return 0;
}
Find all posts by this user
Quote this message in a reply
04-30-2013, 06:47 PM
Post: #12
RE: Unreal Speccy Portable - ZX Spectrum Emulator
with v0.7.6-297-ge698af9 emulator working on phones too after the sceKernelLibcGettimeofday implement
Find all posts by this user
Quote this message in a reply
04-30-2013, 08:24 PM
Post: #13
RE: Unreal Speccy Portable - ZX Spectrum Emulator
Wow, cool!) It works!!!
Sound has some distortions, but with frames skipping it almost perfect.

But what about iOS version?) It's crashed to desktop.
Find all posts by this user
Quote this message in a reply
04-30-2013, 08:46 PM
Post: #14
RE: Unreal Speccy Portable - ZX Spectrum Emulator
maybe ios still haven't updated to last build
Find all posts by this user
Quote this message in a reply
04-30-2013, 10:09 PM
Post: #15
RE: Unreal Speccy Portable - ZX Spectrum Emulator
I think there is another bug.
It's crashed at all, not showing black screen.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: