Symbian emulator? (Emulation MSX Fora)MSX Resource Center MRC MEGA Challenge - Develop an MSX2 game and win!           
            
English Nederlands Español Português Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 145 gasten en 0 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Emulation - Symbian emulator?

Ga naar pagina ( Vorige pagina 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 Volgende pagina )
Schrijver

Symbian emulator?

jr
msx addict
Berichten: 310
Geplaatst: 01 Oktober 2003, 13:31   
...which makes me wonder if there would be any point in creating a KSS codec for Series 60... but don't look this way =)
Latok
msx master
Berichten: 1680
Geplaatst: 01 Oktober 2003, 13:42   
And emulating only the PSG? Would that work?
jr
msx addict
Berichten: 310
Geplaatst: 01 Oktober 2003, 14:05   
Quote:

And emulating only the PSG? Would that work?



Well, now it's PSG and SCC(+). I didn't even try using the MIDI codec in Series 60...

The main problem with current phones (based on Symbian OS 6.1) is that audio streaming is not too well supported - handling the stream takes a lot of overhead which results in bursts of audio output. This is no problem if you are streaming a WAV for example, that has all the data in place. But in an emulator you need to be running the machine emulation at the same time to produce the input to generate the audio data in the first place. Now because the stream handling eats up processing time the machine emulation is not running at a constant speed anymore which then results in variation in the audio generation speed as well - which in turn can be heard as changing tempo =/
karloch

msx addict
Berichten: 389
Geplaatst: 01 Oktober 2003, 19:22   
I was just wondering if couldn't be possible to code the sound part of the emulator in ASM, so in that way would speed up. The problem is if somebody would like to do that...

Definitly, sound plays a basic role in MSX. ^^
jr
msx addict
Berichten: 310
Geplaatst: 02 Oktober 2003, 09:43   
Yes it would be possible to code everything in assembler =) That would of course speed things up but it would not remove the problem with the audio stream handling -- in Symbian OS 6.1 applications cannot get direct access to the DSP (or even to the sound driver) so you would anyway be talking to the same media server process from your assembler code and it is exactly this communication which is not suitable for the emulator use case...
Latok
msx master
Berichten: 1680
Geplaatst: 02 Oktober 2003, 10:44   
JR, do you think the Nokia3650 or 7650 could be firmware upgraded with a new version of Symbian OS in the future?
jr
msx addict
Berichten: 310
Geplaatst: 02 Oktober 2003, 11:54   
Why would you think I would know anything about that?

Ok, seriously, I know that this will not be possible.
jr
msx addict
Berichten: 310
Geplaatst: 03 Oktober 2003, 11:54   
I'm going to delay 0.95 a bit -- I implemented a feature for toggling screen refresh on and off in the emulator to enable better sound quality (of course without screen updates then) and I found out that first of all yes that would give the system enough power to handle the sound but I also noticed that the timing system I've been using isn't really working so the system actually starts running too fast =)

So I'll try to find a solution to limiting the system speed to 100% first and if I manage to tackle this it looks a bit brighter for the sound support then -- at least then you can listen to the music if you freeze the screen...
Latok
msx master
Berichten: 1680
Geplaatst: 03 Oktober 2003, 11:58   
Whatever you do, it's great, jr!! And take your time
karloch

msx addict
Berichten: 389
Geplaatst: 03 Oktober 2003, 14:39   
Quote:

Whatever you do, it's great, jr!! And take your time

Put that words in my mouth as well ^^
jr
msx addict
Berichten: 310
Geplaatst: 10 Oktober 2003, 12:36   
Okay, it finally seems that there is no way to synchronize the emulation (and thus also the sound) correctly in current phones. This is because the highest accuracy in timing available for applications is 1/64s, at least in the currently available phones. That makes it a bit hard to sync to 50Hz for example since the exact time needed to emulate the machine for one vsync cannot be predicted and the Symbian OS system clock only gives you 1/64s accuracy. This means that in a delay loop you could then decide to wait one or zero clock ticks and there is a huge difference in which one you choose.

There is an undocumented function call in the kernel interface that would provide access to a high precision timer but unfortunately this does not seem to work in the current phones - it is only working in the Symbian OS emulator on PC. Too bad. With this function call I have everything running ever-so-smoothly in the Symbian OS emulator so if the function would work on the phone... well, you know.

So far I've been lucky to have the emulation running at approximately right speed but in reality it is not synchronized at all meaning that if the phone had more CPU power the emulation would be running too fast.

So if anyone knows any good algorithm to still achieve synchronization with the timer limitations that the system has, I would be happy to implement it. Or if someone knows of a way to access high precision timer on the phone, I would be more than happy to take advantage of it.
GuyveR800
msx guru
Berichten: 3048
Geplaatst: 10 Oktober 2003, 15:57   
Scrap the 50Hz, nobody uses it anyway...
Just sync the emulator to 64Hz, no problem with that. Audio can just be delayed one frame and everybody is happy
Just my 2 cents...
karloch

msx addict
Berichten: 389
Geplaatst: 10 Oktober 2003, 16:04   
Quote:

Scrap the 50Hz, nobody uses it anyway...
Just sync the emulator to 64Hz, no problem with that. Audio can just be delayed one frame and everybody is happy
Just my 2 cents...

I agree, just sync to 64Hz would be nice. Everybody prefer 60Hz than 50Hz, so 64Hz is almost ideal.
karloch

msx addict
Berichten: 389
Geplaatst: 11 Oktober 2003, 12:01   
I guess that you guys know about the Goboy, a Gameboy Color emulator for the Series 60 as well... It was running pettry fine, just like the fMSX, only a few games slowdown... The developers (the guys from WildPalm) have released a new version, the version 1.3 of the emulator, that features sound in emulation. I haven't tested it because sound support is only for registred users, but the source code of the emulator is available from their page. Maybe that it could be interesting for you Jr.

This is the URL: www.wildpalm.co.uk/GoBoy7650.html

jr
msx addict
Berichten: 310
Geplaatst: 12 Oktober 2003, 16:23   
I had a look at Goboy and it seems they don't synchronize at all, at least in the provided source code all timing functions were empty. I think GB emulation does not need as much CPU power as MSX since their source code was not even using direct screen access but instead wasting a lot of time talking with the Symbian OS Window Server.

I also checked what the C64 emulator does for timing and also there in the source code you can find usleep() implementation which does nothing. Other than that it seems to use this 64Hz timer and treat it as a millisecond timer even if that's not what it provides. Oh well.

So no help there but I'll continue the work anyway...
 
Ga naar pagina ( Vorige pagina 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 Volgende pagina )
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Association.